Code: Select all
<eventList name="TSCRAP">
<event load="TRAPPED_METALCRATE_1"/>
<event name="TRAPPED_METALCRATE_1"/>
<text>You come across a medium sized metal crate, drifting in space. It looks to be air tight. What do you do?</text>
<choice hidden="true">Take it.
<text>The moment you place the crate inside your ship. The top bursts upwards as two mantis bandits jump out and yell out.</text>
<event load="TRAPPED_METALCRATE_2"/>
</choice>
<choice hidden="true">
<text>Leave it.</text>
</choice>
<event name="TRAPPED_METALCRATE_2"/>
<text>THIS SHIP IS OURS MEATBAG~!</text>
<boarders min="2" max="2" class="mantis"/>
</event>
</eventList>
It's kinda a mess. Even having an extra "/" at the end of <event name="TRAPPED_METALCRATE_1"/> means it won't work correctly. Plus every <choice> needs an <event> inside; even if it's just a dummy empty event.
I'm not sure what you're trying to do. You load events a lot more than you need to. If you're trying to make a crate that has multiple things happen when you open it, you could do something like this:
Code: Select all
<event name="TRAPPED_METALCRATE_1">
<text>You come across a medium sized metal crate, drifting in space. It looks to be air tight. What do you do?</text>
<choice hidden="true">
<text>Take it.</text>
<event load="TRAPPED_METALCRATE_2"/>
</choice>
<choice hidden="true">
<text>Leave it.</text>
<event/>
</choice>
</event>
<eventList name="TRAPPED_METALCRATE_2">
<event>
--whatever you want to happen 50% of the time ---
</event>
<event>
--The other thing that can happen 50% of the time ---
</event>
</eventList>