Questions here: an inquiry thread! [Updated Sep 15th, 2014]

Discuss and distribute tools and methods for modding. Moderator - Grognak
Lightwavers
Posts: 29
Joined: Thu Aug 06, 2015 4:45 am

Re: Questions here: an inquiry thread! [Updated Sep 15th, 2014]

Postby Lightwavers » Thu Sep 24, 2015 1:53 am

The mod now does not crash on start, but once I push continue, it just loads a normal event for the starting sector, and none of the XML I put in sees the light of day. Anyone know the cause?

Code: Select all

<event name="START_GAME_EVENT">
   <text>Start beacon wormhole variation mod.</text>
   <choice>
      <text>Investigate the wormhole that formed close to the jump beacon.</text>
      <event load="START_WORMHOLE"/>
   </choice>
   <choice>
      <text>You decide that there are enough dangers in the galaxy without unknown wormholes adding to them.</text>
   </choice>
</event>
<eventList name="START_WORMHOLE">
<event>
      <text>You navigate towards the wormhole using your impulse engines. As you get there, it appears that it is too unstable to safely go through.</text>
      <choice hidden="true">
         <text>Disable the safety checks and go through it anyway.</text>
         <event load="UNSAFE_WORMHOLE"/>
      </choice>
      <choice hidden="true">
         <text>Try to investigate the wormhole without putting your mission at risk.</text>
         <event load="CAUTIOUS_WORMHOLE"/>
      </choice>
      <choice hidden="true">
         <text>Consult your crew.</text>
         <event load="CONSULT_WORMHOLE"/>
      </choice>
</event>
<eventList name="UNSAFE_WORMHOLE">
   <event>
      <text>The wormhole sucks your ship into its infinite depths. Who knows what will happen next?</text>
      <choice>
         <text>Continue...</text>
      </choice>
      <secretSector/>
   </event>
   <event>
      <text>The wormhole sucks your ship up violently. As you and the crew are immobilized by your suit's safety measures, you can hear vicious impacts across the hull.</text>
      <choice>
         <text>Continue...</text>
      </choice>
      <damage amount="1" system="RANDOM"/>
      <damage amount="0" system="RANDOM" effect="fire"/>
      <damage amount="2" system="RANDOM" effect="fire"/>
      <damage amount="1" system="RANDOM" effect="breach"/>
      <damage amount="2" system="RANDOM" effect="breach"/>
      <damage amount="1" system="RANDOM" effect="random"/>
      <damage amount="0" system="room" effect="random"/>
      <damage amount="0" system="room" effect="random"/>
      <damage amount="18"/>
      <secretSector/>
   </event>
   <event>
      <text>As you shoot through the wormhole, multiple small mineral heavy asteroids shatter almost ineffectively against your ship's hull, providing you with a nice amount of scrap.</text>
      <choice>
         <text>Continue...</text>
      </choice>
      <autoReward level="HIGH">scrap_only</autoReward>
      <secretSector/>
   </event>
   <event>
      <text>The wormhole violently implodes, sending your ship careening through space, heavily damaged.</text>
      <choice>
         <text>Continue...</text>
      </choice>
      <damage amount="1" system="RANDOM"/>
      <damage amount="0" system="RANDOM" effect="fire"/>
      <damage amount="2" system="RANDOM" effect="fire"/>
      <damage amount="1" system="RANDOM" effect="breach"/>
      <damage amount="2" system="RANDOM" effect="breach"/>
      <damage amount="1" system="RANDOM" effect="random"/>
      <damage amount="0" system="room" effect="random"/>
      <damage amount="0" system="room" effect="random"/>
      <damage amount="18"/>
   </event>
</eventList>
<event name="CAUTIOUS_WORMHOLE">
   <event>
      <text>As you start to navigate towards the wormhole, scans indicate that it is about to fade away. You may not reach it in time.</text>
      <choice hidden="true">
         <text>Detonate your fuel reserves in order to reach it.</text>
         <item_modify>
            <item type="fuel" min="-12" max="-8"/>
         </item_modify>
         <event>
         <text>Your ship accelerates at terrifying speeds, and the detonation damages your ships hull, but you made it to the wormhole just as it is about to fade away.</text>
         <choice>
            <text>Continue...</text>
         </choice>
         <event>
         <damage amount="10"/>
         </event>
         <event load="UNSAFE_WORMHOLE"/>
      </choice>
      <choice hidden="true">
         <text>Continue at your current speed.</text>
         <event load="FIFTY_FIFTY_WORMHOLE"/>
      </choice>
      <choice hidden="true">
         <text>Sell the data you collected about the wormhole to nearby scientists.</text>
         <item_modify>
            <item type="fuel" min="1" max="5"/>
            <item type="missiles" min="2" max="7"/>
            <item type="drones" min="0" max="4"/>
            <item type="scrap" min="12" max="113"/>
         </item_modify>
         <modifyPursuit amount="1"/>
         <text load="SELL_WORMHOLE_DATA"/>
         <event>
         <choice>
            <text>Continue...</text>
         </choice>
         </event>
</event>
<textList name="SELL_WORMHOLE_DATA"/>
   <text>The transfer takes some time, but the scientists arrange to deliver supplies for your valuable information.</text>
   <text>The scientists tell you your data is worthless, but are sympathetic to the Federation cause and deliver some valuable supplies to your ship.</text>
   <text>After finding a research station that is not infested with rebels or pirates, you deliver your data at a steep discount to the scientists within, as you do not have the time to bargain.</text>
   <text>You are relieved to find scientists so close your location, and as they deliver some supplies, they also mention that the rebel fleet is closer than you thought.</text>
   <text>You accidentally deliver the information to a rebel research station, but they are in no position to fight back, promising not to reveal your location and even sending you some supplies, "for your trouble."</text>
   <text>The scientists you find are unaffiliated with either side, and turn out to have advanced sensors that render your data obsolete. However, they do give you some pity supplies for your journey.</text>
   <text>It turns out one of your crew knows someone who will pay for the data you have, and you arrange a shady deal.</text>
   <text>You paint some temporary pirate markings onto your hull and dock at a nearby black market. Soon you have a deal.</text>
</textList>
<eventList name="FIFTY_FIFTY_WORMHOLE">
<event>
   <text>Your engines are much too slow to get anywhere near the wormhole before it fades away, and you decide to continue with your mission.</text>
   <choice>
      <text>Continue...</text>
   </choice>
</event>
<event>
   <text>The wormhole's deterioration is slower than you had first though, you get to it just as it is about to dissappear.</text>
   <choice>
      <text>Continue...</text>
      <event load="UNSAFE_WORMHOLE"/>
   </choice>
</event>
</eventList name="CONSULT_WORMHOLE">
   <event>
      <text>Your crew unanimously votes that the risk is worth it. Your ship heads towards the wormhole...</text>
      <choice>
         <text>Continue...</text>
      </choice>
      <event load="UNSAFE_WORMHOLE"/>
   </event>
   <event>
      <text>After a while, your crew finds out a way to retrieve a strange weapon from another dimension.</text>
      <choice>
         <text>Continue...</text>
      </choice>
      <weapon name="CRYSTAL_BURST_2"/>
      <modifyPursuit amount="1"/>
   </event>
   <event>
      <text>Your crew figures out how to fill your cargo hold to the brim with fuel from unexplainable materials within the wormhole.</text>
      <choice>
         <text>Continue...</text>
      </choice>
      <item type="fuel" min="20" max="30"/>
   </event>
   <event>
      <text>As your crew is consulting, a huge amount of metal ejects from the wormhole. The ship is slightly the worse for wear, but you are able to harvest a lot of the metal.</text>
      <choice>
         <text>Continue...</text>
      </choice>
      <damage amount="0" system="RANDOM" effect="fire"/>
      <damage amount="0" system="RANDOM" effect="fire"/>
      <damage amount="0" system="RANDOM" effect="fire"/>
      <damage amount="0" system="room" effect="fire"/>
      <damage amount="3"/>
      <item_modify>
               <item type="scrap" min="24" max="120"/>
      </item_modify>
   </event>
   <event>
      <text>Your crew elects to stay away from the wormhole, but sends an array of probes through it. They pop in at random locations around the sector, revealing the whole area to your sensors.</text>
      <choice>
         <text>Continue...</text>
      </choice>
      <reveal_map/>
   </event>
</eventList>
Last edited by Lightwavers on Thu Sep 24, 2015 4:14 am, edited 3 times in total.
Lightwavers
Posts: 29
Joined: Thu Aug 06, 2015 4:45 am

Re: Questions here: an inquiry thread! [Updated Sep 15th, 2014]

Postby Lightwavers » Thu Sep 24, 2015 3:18 am

Also, on Slipstream whenever a mod fails to load, it will say something like "error on line #, column #". When I checked the lines in Notepad++, they do not match. How do I find out what line/column Slipstream is referring to? It would help a LOT, as then I can simply check the line and column it asks and fix it immediately.
WhiteWeasel
Posts: 248
Joined: Sun Apr 13, 2014 4:36 am

Re: Questions here: an inquiry thread! [Updated Sep 15th, 2014]

Postby WhiteWeasel » Thu Sep 24, 2015 3:31 am

Mispost, sorry.
Last edited by WhiteWeasel on Thu Sep 24, 2015 4:12 am, edited 1 time in total.
Image
User avatar
RAD-82
Posts: 796
Joined: Sat Nov 09, 2013 12:16 am

Re: Questions here: an inquiry thread! [Updated Sep 15th, 2014]

Postby RAD-82 » Thu Sep 24, 2015 4:02 am

Chrono Vortex wrote:

Code: Select all

<mod:findName type=shipBlueprint" name="PLAYER_SHIP_HARD">
   <artillery power="1" room="15" start="false" weapon="TIB_EMP" img="room_artillery_blue_2x2right" />
</mod:findName>

This is what I tried and it's not working. I'm guessing there needs to be a tag like <mod:addvalue> or something.

Code: Select all

<mod:findName type=shipBlueprint" name="PLAYER_SHIP_HARD">
   <mod:findLike type="systemList">
      <mod-append:artillery power="1" room="15" start="false" weapon="TIB_EMP" img="room_artillery_blue_2x2right" />
   </mod:findLike>
</mod:findName>


edit:
Lightwavers wrote:The mod now does not crash on start, but once I push continue, it just loads a normal event for the starting sector, and none of the XML I put in sees the light of day. Anyone know the cause?

Code: Select all

{stuff with a lot of errors}


I don't know what to say. There are a lot of errors there. I'd rather just fix it myself, but I don't have time at this moment.
Image
Junkyard has FTL mods, mostly ships and a few other things.
User avatar
Chrono Vortex
Posts: 275
Joined: Thu Jun 25, 2015 8:51 pm

Re: Questions here: an inquiry thread! [Updated Sep 15th, 2014]

Postby Chrono Vortex » Thu Sep 24, 2015 5:05 am

RAD-82 wrote:

Code: Select all

<mod:findName type="shipBlueprint" name="PLAYER_SHIP_HARD">
   <mod:findLike type="systemList">
      <mod-append:artillery power="1" room="15" start="false" weapon="TIB_EMP" img="room_artillery_blue_2x2right" />
   </mod:findLike>
</mod:findName>

Should that work if it's applied to a modded ship? Because I just tried installing it after the modded ship I intend to use it with and it didn't work. Everything else is working perfectly, I checked.
ImageImageImageImageImageImageImageImage
User avatar
RAD-82
Posts: 796
Joined: Sat Nov 09, 2013 12:16 am

Re: Questions here: an inquiry thread! [Updated Sep 15th, 2014]

Postby RAD-82 » Thu Sep 24, 2015 6:01 am

Chrono Vortex wrote:Should that work if it's applied to a modded ship? Because I just tried installing it after the modded ship I intend to use it with and it didn't work. Everything else is working perfectly, I checked.

Define didn't work. Based on the code, you don't start with the system.

Did you check the XML Sandbox to see if it was added to the shipBlueprint?

Did you go to a store that sold artillery and it didn't add it to your ship?

Did an event try to add the artillery system to the ship and fail?
Image
Junkyard has FTL mods, mostly ships and a few other things.
User avatar
Chrono Vortex
Posts: 275
Joined: Thu Jun 25, 2015 8:51 pm

Re: Questions here: an inquiry thread! [Updated Sep 15th, 2014]

Postby Chrono Vortex » Thu Sep 24, 2015 6:17 am

RAD-82 wrote:Did you check the XML Sandbox to see if it was added to the shipBlueprint?

Not yet, but I did run it through the profile editor.

RAD-82 wrote:Did you go to a store that sold artillery and it didn't add it to your ship?

Yep.

RAD-82 wrote:Did an event try to add the artillery system to the ship and fail?

After the first two it didn't seem necessary to bother with that.
ImageImageImageImageImageImageImageImage
User avatar
RAD-82
Posts: 796
Joined: Sat Nov 09, 2013 12:16 am

Re: Questions here: an inquiry thread! [Updated Sep 15th, 2014]

Postby RAD-82 » Thu Sep 24, 2015 6:56 am

Lightwavers wrote:The mod now does not crash on start, but once I push continue, it just loads a normal event for the starting sector, and none of the XML I put in sees the light of day. Anyone know the cause?

Code: Select all

{stuff}

This seems a bit different than when I last saw it. Anyways, I tried to fix what I found here.

Code: Select all

<event name="START_GAME_EVENT">
   <text>Start beacon wormhole variation mod.</text>
   <choice>
      <text>Investigate the wormhole that formed close to the jump beacon.</text>
      <event load="START_WORMHOLE"/>
   </choice>
   <choice>
      <text>You decide that there are enough dangers in the galaxy without unknown wormholes adding to them.</text>
      <event/>
   </choice>
</event>

<eventList name="START_WORMHOLE">
   <event>
      <text>You navigate towards the wormhole using your impulse engines. As you get there, it appears that it is too unstable to safely go through.</text>
      <choice hidden="true">
         <text>Disable the safety checks and go through it anyway.</text>
         <event load="UNSAFE_WORMHOLE"/>
      </choice>
      <choice hidden="true">
         <text>Try to investigate the wormhole without putting your mission at risk.</text>
         <event load="CAUTIOUS_WORMHOLE"/>
      </choice>
      <choice hidden="true">
         <text>Consult your crew.</text>
         <event load="CONSULT_WORMHOLE"/>
      </choice>
   </event>
</eventList>

<eventList name="UNSAFE_WORMHOLE">
   <event>
      <text>The wormhole sucks your ship into its infinite depths. Who knows what will happen next?</text>
      <choice>
         <text>Continue...</text>
         <event>
            <secretSector/>
         </event>
      </choice>
   </event>
   <event>
      <text>The wormhole sucks your ship up violently. As you and the crew are immobilized by your suit's safety measures, you can hear vicious impacts across the hull.</text>
      <damage amount="1" system="random"/>
      <damage amount="0" system="random" effect="fire"/>
      <damage amount="2" system="random" effect="fire"/>
      <damage amount="1" system="random" effect="breach"/>
      <damage amount="2" system="random" effect="breach"/>
      <damage amount="1" system="random" effect="random"/>
      <damage amount="0" system="room" effect="random"/>
      <damage amount="0" system="room" effect="random"/>
      <damage amount="18"/>
      <choice>
         <text>Continue...</text>
         <event>
            <secretSector/>
         </event>
      </choice>
   </event>
   <event>
      <text>As you shoot through the wormhole, multiple small mineral heavy asteroids shatter almost ineffectively against your ship's hull, providing you with a nice amount of scrap.</text>
      <autoReward level="HIGH">scrap_only</autoReward>
      <choice>
         <text>Continue...</text>
         <event>
            <secretSector/>
         </event>
      </choice>
   </event>
   <event>
      <text>The wormhole violently implodes, sending your ship careening through space, heavily damaged.</text>
      <damage amount="1" system="random"/>
      <damage amount="0" system="random" effect="fire"/>
      <damage amount="2" system="random" effect="fire"/>
      <damage amount="1" system="random" effect="breach"/>
      <damage amount="2" system="random" effect="breach"/>
      <damage amount="1" system="random" effect="random"/>
      <damage amount="0" system="room" effect="random"/>
      <damage amount="0" system="room" effect="random"/>
      <damage amount="18"/>
      <choice>
         <text>Continue...</text>
         <event/>
      </choice>
   </event>
</eventList>

<eventList name="CAUTIOUS_WORMHOLE">
   <event>
      <text>As you start to navigate towards the wormhole, scans indicate that it is about to fade away. You may not reach it in time.</text>
      <choice hidden="true">
         <text>Detonate your fuel reserves in order to reach it.</text>
         <event>
            <text>Your ship accelerates at terrifying speeds, and the detonation damages your ships hull, but you made it to the wormhole just as it is about to fade away.</text>
            <item_modify>
               <item type="fuel" min="-12" max="-8"/>
            </item_modify>
            <damage amount="10"/>
            <choice>
               <text>Continue...</text>
               <event load="UNSAFE_WORMHOLE"/>
            </choice>
         <event>
      </choice>
      <choice hidden="true">
         <text>Continue at your current speed.</text>
         <event load="FIFTY_FIFTY_WORMHOLE"/>
      </choice>
      <choice hidden="true">
         <text>Sell the data you collected about the wormhole to nearby scientists.</text>
         <event>
            <text load="SELL_WORMHOLE_DATA"/>
            <item_modify>
               <item type="fuel" min="1" max="5"/>
               <item type="missiles" min="2" max="7"/>
               <item type="drones" min="0" max="4"/>
               <item type="scrap" min="12" max="113"/>
            </item_modify>
            <modifyPursuit amount="1"/>
            <choice>
               <text>Continue...</text>
               <event/>
            </choice>
         </event>
      </choice>
   </event>
</eventList>

<textList name="SELL_WORMHOLE_DATA"/>
   <text>The transfer takes some time, but the scientists arrange to deliver supplies for your valuable information.</text>
   <text>The scientists tell you your data is worthless, but are sympathetic to the Federation cause and deliver some valuable supplies to your ship.</text>
   <text>After finding a research station that is not infested with rebels or pirates, you deliver your data at a steep discount to the scientists within, as you do not have the time to bargain.</text>
   <text>You are relieved to find scientists so close your location, and as they deliver some supplies, they also mention that the rebel fleet is closer than you thought.</text>
   <text>You accidentally deliver the information to a rebel research station, but they are in no position to fight back, promising not to reveal your location and even sending you some supplies, "for your trouble."</text>
   <text>The scientists you find are unaffiliated with either side, and turn out to have advanced sensors that render your data obsolete. However, they do give you some pity supplies for your journey.</text>
   <text>It turns out one of your crew knows someone who will pay for the data you have, and you arrange a shady deal.</text>
   <text>You paint some temporary pirate markings onto your hull and dock at a nearby black market. Soon you have a deal.</text>
</textList>

<eventList name="FIFTY_FIFTY_WORMHOLE">
   <event>
      <text>Your engines are much too slow to get anywhere near the wormhole before it fades away, and you decide to continue with your mission.</text>
      <choice>
         <text>Continue...</text>
         <event/>
      </choice>
   </event>
   <event>
      <text>The wormhole's deterioration is slower than you had first though, you get to it just as it is about to dissappear.</text>
      <choice>
         <text>Continue...</text>
         <event load="UNSAFE_WORMHOLE"/>
      </choice>
   </event>
</eventList>

<eventList name="CONSULT_WORMHOLE">
   <event>
      <text>Your crew unanimously votes that the risk is worth it. Your ship heads towards the wormhole...</text>
      <choice>
         <text>Continue...</text>
         <event load="UNSAFE_WORMHOLE"/>
      </choice>
   </event>
   <event>
      <text>After a while, your crew finds out a way to retrieve a strange weapon from another dimension.</text>
      <weapon name="CRYSTAL_BURST_2"/>
      <modifyPursuit amount="1"/>
      <choice>
         <text>Continue...</text>
         <event/>
      </choice>
   </event>
   <event>
      <text>Your crew figures out how to fill your cargo hold to the brim with fuel from unexplainable materials within the wormhole.</text>
      <item_modify>
         <item type="fuel" min="20" max="30"/>
      </item_modify>
      <choice>
         <text>Continue...</text>
         <event/>
      </choice>
   </event>
   <event>
      <text>As your crew is consulting, a huge amount of metal ejects from the wormhole. The ship is slightly the worse for wear, but you are able to harvest a lot of the metal.</text>
      <damage amount="0" system="random" effect="fire"/>
      <damage amount="0" system="random" effect="fire"/>
      <damage amount="0" system="random" effect="fire"/>
      <damage amount="0" system="room" effect="fire"/>
      <damage amount="3"/>
      <item_modify>
         <item type="scrap" min="24" max="120"/>
      </item_modify>
      <choice>
         <text>Continue...</text>
         <event/>
      </choice>
   </event>
   <event>
      <text>Your crew elects to stay away from the wormhole, but sends an array of probes through it. They pop in at random locations around the sector, revealing the whole area to your sensors.</text>
      <reveal_map/>
      <choice>
         <text>Continue...</text>
         <event/>
      </choice>
   </event>
</eventList>


@Chrono Vortex:
Sorry, but I can't see where the problem is.
Image
Junkyard has FTL mods, mostly ships and a few other things.
User avatar
Chrono Vortex
Posts: 275
Joined: Thu Jun 25, 2015 8:51 pm

Re: Questions here: an inquiry thread! [Updated Sep 15th, 2014]

Postby Chrono Vortex » Thu Sep 24, 2015 7:42 am

RAD-82 wrote:Sorry, but I can't see where the problem is.

I can add it on to the ship mod directly and it works just fine, I guess I'll have to do that. Weird.
ImageImageImageImageImageImageImageImage
Lightwavers
Posts: 29
Joined: Thu Aug 06, 2015 4:45 am

Re: Questions here: an inquiry thread! [Updated Sep 15th, 2014]

Postby Lightwavers » Thu Sep 24, 2015 12:54 pm

RAD-82 wrote:
Lightwavers wrote:The mod now does not crash on start, but once I push continue, it just loads a normal event for the starting sector, and none of the XML I put in sees the light of day. Anyone know the cause?

Code: Select all

{stuff}

This seems a bit different than when I last saw it. Anyways, I tried to fix what I found here.

Code: Select all

<event name="START_GAME_EVENT">
   <text>Start beacon wormhole variation mod.</text>
   <choice>
      <text>Investigate the wormhole that formed close to the jump beacon.</text>
      <event load="START_WORMHOLE"/>
   </choice>
   <choice>
      <text>You decide that there are enough dangers in the galaxy without unknown wormholes adding to them.</text>
      <event/>
   </choice>
</event>

<eventList name="START_WORMHOLE">
   <event>
      <text>You navigate towards the wormhole using your impulse engines. As you get there, it appears that it is too unstable to safely go through.</text>
      <choice hidden="true">
         <text>Disable the safety checks and go through it anyway.</text>
         <event load="UNSAFE_WORMHOLE"/>
      </choice>
      <choice hidden="true">
         <text>Try to investigate the wormhole without putting your mission at risk.</text>
         <event load="CAUTIOUS_WORMHOLE"/>
      </choice>
      <choice hidden="true">
         <text>Consult your crew.</text>
         <event load="CONSULT_WORMHOLE"/>
      </choice>
   </event>
</eventList>

<eventList name="UNSAFE_WORMHOLE">
   <event>
      <text>The wormhole sucks your ship into its infinite depths. Who knows what will happen next?</text>
      <choice>
         <text>Continue...</text>
         <event>
            <secretSector/>
         </event>
      </choice>
   </event>
   <event>
      <text>The wormhole sucks your ship up violently. As you and the crew are immobilized by your suit's safety measures, you can hear vicious impacts across the hull.</text>
      <damage amount="1" system="random"/>
      <damage amount="0" system="random" effect="fire"/>
      <damage amount="2" system="random" effect="fire"/>
      <damage amount="1" system="random" effect="breach"/>
      <damage amount="2" system="random" effect="breach"/>
      <damage amount="1" system="random" effect="random"/>
      <damage amount="0" system="room" effect="random"/>
      <damage amount="0" system="room" effect="random"/>
      <damage amount="18"/>
      <choice>
         <text>Continue...</text>
         <event>
            <secretSector/>
         </event>
      </choice>
   </event>
   <event>
      <text>As you shoot through the wormhole, multiple small mineral heavy asteroids shatter almost ineffectively against your ship's hull, providing you with a nice amount of scrap.</text>
      <autoReward level="HIGH">scrap_only</autoReward>
      <choice>
         <text>Continue...</text>
         <event>
            <secretSector/>
         </event>
      </choice>
   </event>
   <event>
      <text>The wormhole violently implodes, sending your ship careening through space, heavily damaged.</text>
      <damage amount="1" system="random"/>
      <damage amount="0" system="random" effect="fire"/>
      <damage amount="2" system="random" effect="fire"/>
      <damage amount="1" system="random" effect="breach"/>
      <damage amount="2" system="random" effect="breach"/>
      <damage amount="1" system="random" effect="random"/>
      <damage amount="0" system="room" effect="random"/>
      <damage amount="0" system="room" effect="random"/>
      <damage amount="18"/>
      <choice>
         <text>Continue...</text>
         <event/>
      </choice>
   </event>
</eventList>

<eventList name="CAUTIOUS_WORMHOLE">
   <event>
      <text>As you start to navigate towards the wormhole, scans indicate that it is about to fade away. You may not reach it in time.</text>
      <choice hidden="true">
         <text>Detonate your fuel reserves in order to reach it.</text>
         <event>
            <text>Your ship accelerates at terrifying speeds, and the detonation damages your ships hull, but you made it to the wormhole just as it is about to fade away.</text>
            <item_modify>
               <item type="fuel" min="-12" max="-8"/>
            </item_modify>
            <damage amount="10"/>
            <choice>
               <text>Continue...</text>
               <event load="UNSAFE_WORMHOLE"/>
            </choice>
         <event>
      </choice>
      <choice hidden="true">
         <text>Continue at your current speed.</text>
         <event load="FIFTY_FIFTY_WORMHOLE"/>
      </choice>
      <choice hidden="true">
         <text>Sell the data you collected about the wormhole to nearby scientists.</text>
         <event>
            <text load="SELL_WORMHOLE_DATA"/>
            <item_modify>
               <item type="fuel" min="1" max="5"/>
               <item type="missiles" min="2" max="7"/>
               <item type="drones" min="0" max="4"/>
               <item type="scrap" min="12" max="113"/>
            </item_modify>
            <modifyPursuit amount="1"/>
            <choice>
               <text>Continue...</text>
               <event/>
            </choice>
         </event>
      </choice>
   </event>
</eventList>

<textList name="SELL_WORMHOLE_DATA"/>
   <text>The transfer takes some time, but the scientists arrange to deliver supplies for your valuable information.</text>
   <text>The scientists tell you your data is worthless, but are sympathetic to the Federation cause and deliver some valuable supplies to your ship.</text>
   <text>After finding a research station that is not infested with rebels or pirates, you deliver your data at a steep discount to the scientists within, as you do not have the time to bargain.</text>
   <text>You are relieved to find scientists so close your location, and as they deliver some supplies, they also mention that the rebel fleet is closer than you thought.</text>
   <text>You accidentally deliver the information to a rebel research station, but they are in no position to fight back, promising not to reveal your location and even sending you some supplies, "for your trouble."</text>
   <text>The scientists you find are unaffiliated with either side, and turn out to have advanced sensors that render your data obsolete. However, they do give you some pity supplies for your journey.</text>
   <text>It turns out one of your crew knows someone who will pay for the data you have, and you arrange a shady deal.</text>
   <text>You paint some temporary pirate markings onto your hull and dock at a nearby black market. Soon you have a deal.</text>
</textList>

<eventList name="FIFTY_FIFTY_WORMHOLE">
   <event>
      <text>Your engines are much too slow to get anywhere near the wormhole before it fades away, and you decide to continue with your mission.</text>
      <choice>
         <text>Continue...</text>
         <event/>
      </choice>
   </event>
   <event>
      <text>The wormhole's deterioration is slower than you had first though, you get to it just as it is about to dissappear.</text>
      <choice>
         <text>Continue...</text>
         <event load="UNSAFE_WORMHOLE"/>
      </choice>
   </event>
</eventList>

<eventList name="CONSULT_WORMHOLE">
   <event>
      <text>Your crew unanimously votes that the risk is worth it. Your ship heads towards the wormhole...</text>
      <choice>
         <text>Continue...</text>
         <event load="UNSAFE_WORMHOLE"/>
      </choice>
   </event>
   <event>
      <text>After a while, your crew finds out a way to retrieve a strange weapon from another dimension.</text>
      <weapon name="CRYSTAL_BURST_2"/>
      <modifyPursuit amount="1"/>
      <choice>
         <text>Continue...</text>
         <event/>
      </choice>
   </event>
   <event>
      <text>Your crew figures out how to fill your cargo hold to the brim with fuel from unexplainable materials within the wormhole.</text>
      <item_modify>
         <item type="fuel" min="20" max="30"/>
      </item_modify>
      <choice>
         <text>Continue...</text>
         <event/>
      </choice>
   </event>
   <event>
      <text>As your crew is consulting, a huge amount of metal ejects from the wormhole. The ship is slightly the worse for wear, but you are able to harvest a lot of the metal.</text>
      <damage amount="0" system="random" effect="fire"/>
      <damage amount="0" system="random" effect="fire"/>
      <damage amount="0" system="random" effect="fire"/>
      <damage amount="0" system="room" effect="fire"/>
      <damage amount="3"/>
      <item_modify>
         <item type="scrap" min="24" max="120"/>
      </item_modify>
      <choice>
         <text>Continue...</text>
         <event/>
      </choice>
   </event>
   <event>
      <text>Your crew elects to stay away from the wormhole, but sends an array of probes through it. They pop in at random locations around the sector, revealing the whole area to your sensors.</text>
      <reveal_map/>
      <choice>
         <text>Continue...</text>
         <event/>
      </choice>
   </event>
</eventList>


@Chrono Vortex:
Sorry, but I can't see where the problem is.


Thanks! I changed it some, thinking I'd found a way to fix it, with no result. I'll try to compare this to my original stuff to see what I had wrong. :)