Latest change in the RPG has been externalizing both events and items into files that are loaded at startup. Now it's far easier for me to make complex events of when <X> happens then trigger <Y>. (And those can be compounded such that <X> and <Y> must happen to do <Z>.)
Every character and item in the game can have a tag. And events can be triggered based on the state of objects with a certain tag.
Here is the tutorial externalized...
And here is the first quest externalized...
The tags are assigned in the character list loaded at startup...
And here is the item list...
So that's what it looks like in the data files; what does it look like in the game?
No comments:
Post a Comment