Skip to content

Conversation

@miconficker
Copy link

Changes

  • Treasury support; changed gold to treasury_or_gold
  • Spending limit choices + GUI (Maybe should´ve named it savings instead)
  • 6 limit options
  • changed gold check logic for spend limit
  • new files: spending_graphics.txt (optional), spending_effects.txt, spending_defaults.txt
  • tested in-game with celestial gov´t

Notes

  • spending limit options can be reduced if needed
  • spending_graphics.txt completely optional. I just wanted to see the inactive choices. Could delete this completely and remove show_as_unavailable from the limit choices.
  • gui could use some work

@Iceons
Copy link
Owner

Iceons commented Dec 5, 2025

Really good work, looking to update it sometime later on today GMT time, only thing I'm really going to change is the description of the amounts to give a gold value so people are more informed about what each option means

@miconficker
Copy link
Author

Thanks! You can also make it static if you prefer it that way. :)

@Iceons
Copy link
Owner

Iceons commented Dec 11, 2025

Right now I've made it dynamic to scale with peoples kingdoms so

1~ Month of income might be shown as 52g or 410g for example by using "magic_build_manager.0002.tiny_limit:0 "Set Tiny Limit (~1 month: [ROOT.ScriptValue('tiny_gold_value')|0] gold)""

Working through some other issues that have crept up on CK3tiger, mainly try to get it to stop spamming me with unknown token treasury_or_gold and unknown token remove_treasury_or_gold

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants