I am trying to create a new skill: Quarrying (attached zip)
I am receiving some errors whilst compiling.
To create Quarrying I copied the pre-existing Mining package. The compiling errors occur when I change some (but not all) calls to SKILLID_MINING to the new SKILLID_QUARRYING. I receive this error message when compiling:
Three calls to SKILLID_QUARRYING must be changed back to SKILLID_MINING (on lines 159, 175 and 120) otherwise I continue to receive these compiling errors. A single call to SKILLID_QUARRYING remains on Line 192.Variable SKILLID_QUARRYING has not been declared on line 159.
Error compiling statement at C:\zh\pkg\std\quarrying\quarrying.src, Line 159
Error in function 'MineForOre', File: C:\zh\pkg\std\quarrying\quarrying.src, Line 159
Error in function 'MineForOre' .
File: C:\zh\pkg\std\quarrying\quarrying.src, Line 159
Compilation Summary:
Compiled 1 script in 227 ms.
1 of those script had errors.
Note: I am unsure of the exact method for creating new skills. It's possible there are some global settings I have overlooked?
It's been many years since I operated Zulu Hotel Factions and Paradiso, but I'm just getting back into the game again! Thanks in advance.