Skip to content

Make level's triggers dynamic (pre-work for multitown)#8555

Open
yuripourre wants to merge 1 commit intodiasurgical:masterfrom
yuripourre:dynamic-triggers
Open

Make level's triggers dynamic (pre-work for multitown)#8555
yuripourre wants to merge 1 commit intodiasurgical:masterfrom
yuripourre:dynamic-triggers

Conversation

@yuripourre
Copy link
Copy Markdown
Collaborator

Populate level triggers by using a std::vector<TownTrigger> ActiveTownTriggers

Instead of hardcoding the triggers in a level, we use a vector to store the triggers (with position and where the tile will take the player to eg: Cathedral, Caves, Hell, etc.

The reason for that is so it can be modified by lua scripts in the future.

@yuripourre yuripourre self-assigned this May 2, 2026
@yuripourre yuripourre added the pr size:medium Pull Requests that add less than 100 lines label May 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr size:medium Pull Requests that add less than 100 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant