typo in DISTRESS_TRAPPED_MINER means you lose no drone
Posted: Wed Dec 11, 2013 5:43 am
I'm playing with modding and I noticed something in the vanilla data:
From my own mistake of copying it (wouldn't you know it was the first drone example I saw), the item type="drone" min="-1" max="-1" part (using "drone" instead of "drones") means it will never subtract a drone part off for that Beam Drone choice.
Not a big deal and you probably already caught it when doing AE. But just thought I'd mention it.
Code: Select all
<event name="DISTRESS_TRAPPED_MINER" unique="true">
<text>You arrive at the distress beacon near a small asteroid belt and find a ship with pirate markings partially crushed between two large rocks. It must have been illegally mining the belt without proper equipment.</text>
<distressBeacon/>
<choice hidden="true">
<text>Try to dislodge the ship by shooting at the rocks.</text>
<event load="DISTRESS_TRAPPED_MINER_SHOOT"/>
</choice>
<choice hidden="true">
<text>Destroy and loot the ship. They're just pirates.</text>
<event load="DISTRESS_TRAPPED_MINER_LOOT"/>
</choice>
<choice hidden="true" req="WEAPONS_BEAM_DAMAGE"> <!-- JUSTIN - TO DO - List of beam weapons-->
<text>(Beam Weapon) Carefully cut the ship out.</text>
<event>
<text>You use your beam to make a few precision cuts in the asteroid. The ship gives a quick burst of thrust and the rock crumbles away. They thank you and offer some of the resources they have collected.</text>
<autoReward level="MED">standard</autoReward>
</event>
</choice>
<choice hidden="true" req="COMBAT_BEAM">
<text>(Beam Drone) Have your drone cut the ship out.</text>
<event>
<text>You program the drone to work carefully around the trapped ship. In a short time it allows the ship to easily slip out of its cage. They thank you and offer some of the resources they have collected.</text>
<autoReward level="MED">standard</autoReward>
<item_modify>
<item type="drone" min="-1" max="-1"/>
</item_modify>
</event>
</choice>
</event>
Not a big deal and you probably already caught it when doing AE. But just thought I'd mention it.