Page 1 of 1

typo in DISTRESS_TRAPPED_MINER means you lose no drone

Posted: Wed Dec 11, 2013 5:43 am
by jep
I'm playing with modding and I noticed something in the vanilla data:

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>
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.

Re: typo in DISTRESS_TRAPPED_MINER means you lose no drone

Posted: Wed Dec 11, 2013 3:25 pm
by Matthew
Thank you sir!

Re: typo in DISTRESS_TRAPPED_MINER means you lose no drone

Posted: Thu Dec 12, 2013 2:14 pm
by aaaaaa50
I may be wrong, but I believe that it's been said that the artillery beam doesn't get a blue option in this event. Possibly because it's not included in WEAPONS_BEAM_DAMAGE I guess.

Re: typo in DISTRESS_TRAPPED_MINER means you lose no drone

Posted: Thu Dec 12, 2013 9:37 pm
by Matthew
That's a fair point. I'll flag the flagship beam as a beam weapon.

Re: typo in DISTRESS_TRAPPED_MINER means you lose no drone

Posted: Thu Dec 26, 2013 3:03 pm
by RAD-82
Concerning blue options with the COMBAT_BEAM drone, I never see these in my game. I know it should be there for DISTRESS_TRAPPED_MINER and ROCK_STARSHIP_MINE. When I compared it to other events that use drones, I noticed they only specified drone types, not the actual drones or drone lists.

I thought I've seen the options in YouTube videos for beam drones before, but now I'm not quite sure if I did.