Добавлено: Пт Апр 17, 2015 23:08
Заголовок сообщения:
Thanks. (I assume you don't know the answer to my other questions?)
I noticed something odd in defender.var entry 89
/89
Name: Стая гноллов;
Illustration: 167
Power: 0
GoldCost: 0
GemGost: 0
GoldPayment: -1
GemPayment: 0
Building: 0
Initiative: 1
Karma: 0
LootPoss: 10
LootNum: 1
NoDismiss: 0
...
Resource: (0)
Units:
Unit1: 25, 7, 2
Unit2: 26, 7, 4;
...
Ability: 0
Param1: 0
Param2: 0;
Units 25 and 26 are not gnolls.
Perhaps that defender is never accessible in-game? (How can I know for sure?)
Again, I say this as a programmer, in my opinion, unused/ignored entries should be set to obviously invalid values (or deleted when it is possible).
Looking more closely at defender.var, it now seems like there are many invalid entries.
I'm looking at entries where Power=GoldCost=GemPayment=0
30 Local Militia
31 Vassal
32 Retinue
35 Nomadic Tribe
37 Elven Guards
38 Dwarven Patrol
42 Orcish Patrol
43 Goblins
44 Clan of Centaurs
45 Halflings
66 Inquisition
67 Medusas
68 Lizardmen
77 Barbarians
78 Alvari Patrol
89 Gnoll Pack
92 Winged Watch
97 Ratmen
Could someone tell me, for each of the above, if they are valid or invalid?
EDIT:
By the way, what does "Power" mean for guard.var?
And what does GoldPayment=-1 mean? Gain 1 gold per turn?
Regards.