Moral Bonus! problem

Users who are viewing this thread

bjorne.

Sergeant Knight
Well. I got this problem. I tried to add new goods in game. So you could eat em' and gain moral bonus fro them.


But the problem was that when I added them ingame they were like wheat or ale. It gives no morale bonus. and it want be consumable. And I have the consumable flag and the food flag. And popularity on 40 and food number on 50 . so where did I do wrong?

Please help. And make it in .txt language if you can.. Thanks again!
 
Darwin said:
i think you should search in the scripts
and i would change to the module system, its MUCH easier :wink:

No it isn't! well maybe it is but it isn't easier enough to use it instead of the text files.
And I will prove it to you all someday.

 
I think if you check in module constants, you can find the food_consumable_start or whatever.  Just make sure that you put the new food items in the middle of the foods, rather than the end, otherwise, it'll just seem like a normal itm.   




I think.
 
Dudro said:
I think if you check in module constants, you can find the food_consumable_start or whatever.  Just make sure that you put the new food items in the middle of the foods, rather than the end, otherwise, it'll just seem like a normal itm.   




I think.

okey, I'll try to figure something out
 
Dudro said:
I think if you check in module constants, you can find the food_consumable_start or whatever.  Just make sure that you put the new food items in the middle of the foods, rather than the end, otherwise, it'll just seem like a normal itm.   

That's right.

The food that you can eat starts with smoked fish and ends with whatever is before wine.
So you could either change the constants in constants.py or you could squeeze the food in between the fish and the wine.

The constants looks like this:

food_begin = "itm_smoked_fish"
food_end = "itm_wine"
 
Back
Top Bottom