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
Would've loved to do that, but probably not possible in this case due to engine limitations, but if anyone can suggest a workaround for that I'd be all for it.
difficult to figure out at first glance what this is in the nested tooltip, but I'm not sure how easy it would be to change or what would make it more transparent. Also I'm not sure how many people use the tooltips that much. I'll think on it and see if I can provide an idea to make it more transparent.
This could be expanded with events that give temporary bonuses and maluses to your resource magnitude. All in all I think it would make for a far more elegent system that is easier to understand and fit better into the CK3 framework overall (sadly it would ake a lot of things you allready did obsolete , which I know sucks but I think overall it's worth thinking about)
For example having 3 Woodcutters (weach of them providing a 1 magnitude Wood) gices us Wood 3 , thus giving us cheaper Wood buildings (and the option for cheaper archers or embarkment, which would fit the tech theme nicly as well)
Overall it's super flexible compared to a fixed resource.
1- Scripted values can be called directly from the UI, so you could do away with the variables that store the yearly resource incomes completely. Just use `[Character.MakeScope.ScriptValue('buildings_production_techpoints_all')|V0]` in the tooltip.
2- The scripted values are currently implemented very oddly, to my eyes. You could just use `every_directly_owned_province` and then `if has_building_with_flag, add = tiered_modifier` (pseudocode, obviously). I'm not entirely sure how the current code works out, but based on what I've seen while playing, there's a bug in the calculation somewhere. I've done it for myself for fun, and the code's here if you would like to look at/use it: https://pastebin.com/qYW8xcsd
3- There's two yearly events that are exact copy-pastes of each other, with one running yearly on everyone, and the other running yearly on players only. I *think* this means players earn double resources, but I haven't finished testing out whether `random_yearly_everyone_pulse` truly runs on everyone or just on AI, but I'm assuming everyone or they'd've named it AI. Either way, you can remove one of those events completely, and the other one can be optimized pretty heavily. I did this one, myself, as well, and it's here if you'd like: https://pastebin.com/tNfs4dDQ
Sorry if I stepped on your toes with any of this, I just remembered getting annoyed at people always coming to me with problems and never any solutions when I was maintaining my own mods, so I always try to take a crack at any bugs/suggestions before I report them.
1) Thats a good suggestion.
2) I assumed that it was not as efficient what I did, but if this works then this is really nice. With this method mentioned concerning the resource I was not sure whether it would be added accordingly with your method but I'll test it out. Ultimately I was happy to get it working at some point, there were quite some different things I tried without them working.
3) Oh right, the problem is the event firing for the AI is not set to triggered precisely every yera, if I understood that correctly. I should've excluded the playable characters from that.
If everyone should use the resource system the event is in fact necessary because the non playable characters need it.
The solution is not very polished though.
I was also struggling to get scopes right for building bonuses concerning special tiered characters or the AI, that did not really work out as intended, maybe you have some insight here as well.
3) I've been testing it since last night, and it seems to be added correctly every time it's added, but I've had trouble with it being added and I'm not sure why. Since the UI is always up-to-date with the amount that should be handed out during the event, I can rule out the game thinking I should receive 0 resources, but there's definitely some years where I haven't received anything. I wonder if it's a vanilla bug and the yearly pulse event just doesn't fire for every character every year...
Scopes can be super confusing, especially since pdx has updated the engine to this half-context, half-object oriented language, but I don't see any reason you wouldn't be able to treat individual characters differently. If you have discord and want to trade ideas, my handle is Ginger#0825
1. Instead of having unlocked all buildings lots, make it depend on the amount of development you have. Or at least the type of holding/size of holding. Now you can build everything, but it would be better if you had to strategically choose where to build what and have certain provinces be focused on one thing.
2. Make armies use some kind of equipment, or require when you build them to use some kind of equipment like weapons. So you need blacksmiths to craft weapons to build armies (and also maybe maintain them).
3. Map mode for resources, where can you harvest wood or iron? Spread out resources.
4. Special unit types that are made from special buildings, like horses/camels from stables?
5. Creating new holdings should require resources
6. Put a cap on resources, requiring you to build storage buildings to increase it
7. In the tech window show us the bonuses for the next tech on mouseover, not having to also mouseover the little name of the tech in the tooltip to see them.
8. Restrict some buildings based on terrain type. Example forestry is and can be built on plains where there are no trees. I did not test if you can actually build them in the desert, but I hope not. I saw some sawmills in desert mountains in Morocco however.
I'm also confused by some of the building requirements, as in some counties I was able to build farms when they weren't previously shown on the list.