Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
"Native" with this mod?
I do want to clean up the coding at some point, but now I'm basically out of time to do that with college starting.
Star - I understand, the easiest way would be to edit the colors in TweakMB. Once you change colors, a new game is required to see the color change.
Shogun - I'm sorry, new job and going to college. My free time is screeching to a half for awhile. The source code is available if you'd like to though.
I am just wondering if its possible to make custom troops with this mod. Would be awesome.
(assign, "$g_player_party_morale_modifier_food", 0),
and the 4 and 5th line below that are the two numbers you'll want to modify. Module_Scripts.py of course. I think I'm understanding your question.
/////////////////
find the line
script_get_player_party_morale_values
///////////
Below that look for
(assign, "$g_player_party_morale_modifier_food", 0),
(try_for_range, ":cur_edible", food_begin, food_end),
(call_script, "script_cf_player_has_item_without_modifier", ":cur_edible", imod_rotten),
(item_get_slot, ":food_bonus", ":cur_edible", slot_item_food_bonus),
(val_mul, ":food_bonus", 300),
(val_div, ":food_bonus", 2),
/////////////
Edit the 300 and 2 =)