-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Event triggers #1166
base: master
Are you sure you want to change the base?
feat: Event triggers #1166
Conversation
Great idea! I'll have a look when I have the time. |
Also, if you don't mind I'll just look into this after #1169 is merged. |
No problem, I'll rebase once #1169 is merged. |
9be117d
to
f71a717
Compare
@crudelios Rebased, incorporated the condition group and other changes, and tested. |
f71a717
to
302c1d0
Compare
Rebased after c2c958b (Fix importing of malformed event xml files). |
Oops, new recent conflict in translation file! Can you fix so I check this please? |
Added event trigger for building caught fire Added event trigger for building collapse poor maintenance
302c1d0
to
673162c
Compare
@crudelios Rebased on latest |
Added event trigger for building caught fire
Added event trigger for building collapse poor maintenance
This allows for events to trigger their checks on events other than the start of a new game month.
Currently added trigger types include: Building catching fire, building being constructed, building deleted by player, etc.
Also adds the concept of 'context'.
For these new types of triggers, this is the type of building that is involved.
I.e. You can do things like fire off an event when the player places a specific type of building.
Or when a specific type of building (or even any type) catches fire.
Should support redoing the tutorials completely with events only.