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
i have this mod and Skidvar`s Vanilla Scripts enabled but if i move my leader to any town i dont get a dilemma ...
i am playing sparta in normal campaign, gameis on recent patch version
scripting.game_interface:trigger_custom_dilemma(character:faction():name(), "move_capital_greek", "payload { set_capital "..character:region():name().."; money -5000; }", "", true)
The payload is defined like that.
First option sets capital, and removes 5k cash. Second option does nothing.
You just have to create the dilemma on the dilemma tables and the options on the cdir_events_dilemma_choice_details
I also wish there'd be a public order\corruption debuff the further away a region was from your capital. I'm just not sure how practical it is to implement.
I might have to build a distance to capital array with all provinces. And then populate it when capital changes or on loading a game. Then run through the players' owned regions and apply the effect to the province. How to tell distance to capital is the issue. All regions neighbouring the capital get a distance of 1. Then all regions neighbouring the 1's and not neighbouring the cap get a 2, and then all regions neighbouring a 2 but not a 1 nor the cap get a 3, and so on. hmm... might actually do it after all.
Thanks mate! I've gonne ahead and added compatibility will your scripts. I implemented the capital script fully as i might change it in the future.
I also didn't even think about letting it trigger only for province capitals. Think that makes sense, indeed.
Btw, I had a look at your mod also and it looks nice.
Tough I might want to make changes to your script like only allowing the trigger in province capitals or changing the price. As long as you're cool with it ofc.
@ tya: Read the description: enter (or conquer and enter) a city with your faction leader and have 5000 gold. (make sure you have both mods enabled - so, also Vanilla Scripts)