Since the beginning of this month, I've been using RABCDAsm to finish cataloging Caravaneer 2's items, industries, towns, etc. Meanwhile, I've also noticed a few people want to mod the game.
This time, I'm posting the code to enable all industries in a town:
pushstring "possibleIndustries" pushbyte 1 pushbyte 2 pushbyte 3 pushbyte 4 pushbyte 5 pushbyte 6 pushbyte 7 pushbyte 8 pushbyte 9 pushbyte 10 pushbyte 11 pushbyte 12 pushbyte 13 pushbyte 14 pushbyte 15 pushbyte 16 pushbyte 17 pushbyte 18 pushbyte 19 pushbyte 20 pushbyte 21 pushbyte 22 pushbyte 23 pushbyte 24 pushbyte 25 pushbyte 26 pushbyte 27 pushbyte 28 pushbyte 29 pushbyte 30 pushbyte 31 pushbyte 32 pushbyte 33 pushbyte 34 pushbyte 35 pushbyte 36 pushbyte 37 pushbyte 38 pushbyte 39 pushbyte 40 pushbyte 41 pushbyte 42 pushbyte 43 pushbyte 44 pushbyte 45 pushbyte 46 newarray 46
Where[]
File: Data\Presets.class.asasm
Section: town_presets
How[]
Overwrite each town's possible_industries section with this code. There are 83 towns (including special locations) in the game, beginning with Smerd at 0 and ending with Valentingrad at 82.