typo in DISTRESS_TRAPPED_MINER means you lose no drone

Discuss problems related to FTL here. If you are having a problem or experiencing a bug PLEASE READ THE "MUST READ" POST.
Post Reply
jep
Posts: 78
Joined: Mon Dec 02, 2013 3:19 am

typo in DISTRESS_TRAPPED_MINER means you lose no drone

Post 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.
User avatar
Matthew
Site Admin
Posts: 966
Joined: Thu Apr 19, 2012 9:31 am

Re: typo in DISTRESS_TRAPPED_MINER means you lose no drone

Post by Matthew »

Thank you sir!
Matthew Davis, Subset Games Developer - If you're looking for tech support, you'll get help faster emailing directly, contact info here
aaaaaa50
Posts: 260
Joined: Thu Apr 11, 2013 9:08 pm

Re: typo in DISTRESS_TRAPPED_MINER means you lose no drone

Post 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.
First ever AE-exclusive ship mod: The Extra Features!
Ye Olde and Outdated Pre-AE Ship Mod Recommendation List!
User avatar
Matthew
Site Admin
Posts: 966
Joined: Thu Apr 19, 2012 9:31 am

Re: typo in DISTRESS_TRAPPED_MINER means you lose no drone

Post by Matthew »

That's a fair point. I'll flag the flagship beam as a beam weapon.
Matthew Davis, Subset Games Developer - If you're looking for tech support, you'll get help faster emailing directly, contact info here
User avatar
RAD-82
Posts: 795
Joined: Sat Nov 09, 2013 12:16 am

Re: typo in DISTRESS_TRAPPED_MINER means you lose no drone

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