Skip to content

Second Event editor update#1603

Draft
Johannes-callidus wants to merge 124 commits into
Keriew:masterfrom
Johannes-callidus:flexible-house-models
Draft

Second Event editor update#1603
Johannes-callidus wants to merge 124 commits into
Keriew:masterfrom
Johannes-callidus:flexible-house-models

Conversation

@Johannes-callidus

@Johannes-callidus Johannes-callidus commented Nov 14, 2025

Copy link
Copy Markdown
Collaborator

This will over time extend to a second event editor rework.
What it currently changes:

  • Adds action to change the model data of a house e.g. water, entertainement, eductation ... requirements
  • Adds powers to formulas in form of the '^' symbol and makes random values include the max as a possible value
  • Refinement for building model window
  • Refactoring of some model related functions
  • Fixes latrines house evolve texts
  • Clamping values for some data types
  • New function: text_draw_centered_without_bounds which drwas centered but is not left aligned when it's bigger then box_width but does if it's bigger then window bounds.
  • Fix issues with import and export windows offseting some buttons
  • Fix a bunch of bugs related to model data notably when setting to value always setting to 0
  • Maybe some bugs
  • Increases savegame and scenario versions
  • Reworks the way action and condition tooltips are displayed
  • Adds copying events
  • And more

@Johannes-callidus
Johannes-callidus marked this pull request as draft November 14, 2025 14:52
@Johannes-callidus
Johannes-callidus marked this pull request as ready for review November 18, 2025 21:48
@Miguelinileugim

Copy link
Copy Markdown

whoops I accidentally found the latrines evolution bug myself and submitted my own fix! I'll keep it up just in case but yours probably fixes that and a hundred things more, neat!

@Miguelinileugim

Copy link
Copy Markdown

I want this merged so I can play with it 😭

@Johannes-callidus

Johannes-callidus commented Nov 19, 2025

Copy link
Copy Markdown
Collaborator Author

There is a test build public on Commissar mareks discord https://discord.com/channels/1314140775805620234/1440462387382587485

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.

4 participants