# HG changeset patch # User Wuzzy # Date 1557841973 -7200 # Node ID 7b597da60fda2d5cba15b1c4a0da9446f20138ec # Parent 59ed712057a6d5c2ad70d36f819052f2d0270ac5 Flying Saucer training: Make Grenade Drop Target a bit easier diff -r 59ed712057a6 -r 7b597da60fda share/hedgewars/Data/Missions/Training/Basic_Training_-_Flying_Saucer.lua --- a/share/hedgewars/Data/Missions/Training/Basic_Training_-_Flying_Saucer.lua Tue May 14 13:46:30 2019 +0200 +++ b/share/hedgewars/Data/Missions/Training/Basic_Training_-_Flying_Saucer.lua Tue May 14 15:52:53 2019 +0200 @@ -112,7 +112,8 @@ MessageTime = 6500, Message = loc("Now dive just one more time and collect the next crate.") .. "|" .. loc("Tip: Don't remain for too long in the water, or you won't make it."), - Ammo = { [amJetpack] = 2 }, } + Ammo = { [amJetpack] = 2 }, + Respawn = { X = 1968, Y = -1, FaceLeft = true }, } -- The Grenade Drop Target local BoomTarget = 8 @@ -242,6 +243,9 @@ if Barrels[2] == nil then Barrels[2] = AddGear(1648, 463, gtExplosives, 0, 0, 0, 0) end + if Barrels[3] == nil then + Barrels[3] = AddGear(1513, 575, gtExplosives, 0, 0, 0, 0) + end for i=1,#Barrels do SetHealth(Barrels[i], 1) @@ -519,6 +523,9 @@ Barrels[2] = nil AddCaption(loc("Kaboom!"), capcolDefault, capgrpMessage) end + if Gear == Barrels[3] then + Barrels[3] = nil + end end