Wiki / events.xml structure
Posted: Fri Dec 14, 2012 9:04 am
Can anyone head to FTLwiki.com and fix the events structure wiki there? It's not very clear information, making life hard. Also, does anyone know how to use <ship hostile="false"/> with an eventlist load? or how to load an eventlist correctly after the end of combat? ie:
<event name="blah surrender"> <!-- surrender event out of a ship load -->
______<text>barf, blah.</text>
______<choice hidden="true">
___________<text> yes, blarf </text>
___________<event>
_________________<ship hostile="false"/>
_________________<event load="barfarama"/>
___________</event>
______</choice>
______<choice>
___________<text> nope </text>
___________<event/>
______ </choice>
</event>
<eventList name="barfarama">
________<event>
_____________<text> I see, excellent </text>
_____________<autoReward level="RANDOM">weapon</autoreward>
________</event>
________<event>
________ etc etc etc
.... I cannot get this to work no matter what I try. There needs to be multiple outcomes to surrender events with different auto rewards. RIght now I'm using a gigantic eventList because I cannot get the above to work. can anyone help?
<event name="blah surrender"> <!-- surrender event out of a ship load -->
______<text>barf, blah.</text>
______<choice hidden="true">
___________<text> yes, blarf </text>
___________<event>
_________________<ship hostile="false"/>
_________________<event load="barfarama"/>
___________</event>
______</choice>
______<choice>
___________<text> nope </text>
___________<event/>
______ </choice>
</event>
<eventList name="barfarama">
________<event>
_____________<text> I see, excellent </text>
_____________<autoReward level="RANDOM">weapon</autoreward>
________</event>
________<event>
________ etc etc etc
.... I cannot get this to work no matter what I try. There needs to be multiple outcomes to surrender events with different auto rewards. RIght now I'm using a gigantic eventList because I cannot get the above to work. can anyone help?