Skip to content

Second Event editor update#1603

Draft
Johannes-callidus wants to merge 62 commits intoKeriew:masterfrom
Johannes-callidus:flexible-house-models
Draft

Second Event editor update#1603
Johannes-callidus wants to merge 62 commits intoKeriew:masterfrom
Johannes-callidus:flexible-house-models

Conversation

@Johannes-callidus
Copy link
Copy Markdown
Collaborator

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

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
  • 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
Copy link
Copy Markdown
Collaborator Author

Johannes-callidus commented Nov 19, 2025

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

@Johannes-callidus Johannes-callidus marked this pull request as draft February 20, 2026 14:43
@Johannes-callidus Johannes-callidus changed the title Action to change house model data Second Event editor update Feb 20, 2026
@crudelios
Copy link
Copy Markdown
Collaborator

Is this ready for review?

@Johannes-callidus
Copy link
Copy Markdown
Collaborator Author

No, it isn't yet. I'm currently working on copying events and selected conditions and actions. Copying events is already possible but not the selected.

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.

3 participants