equal
deleted
inserted
replaced
251 elseif gear == deviceCrate.gear then |
251 elseif gear == deviceCrate.gear then |
252 if band(GetGearMessage(gear), gmDestroy) ~= 0 then |
252 if band(GetGearMessage(gear), gmDestroy) ~= 0 then |
253 PlaySound(sndShotgunReload) |
253 PlaySound(sndShotgunReload) |
254 AddCaption(loc("Anti-Gravity Device Part (+1)"), GetClanColor(GetHogClan(CurrentHedgehog)), capgrpAmmostate) |
254 AddCaption(loc("Anti-Gravity Device Part (+1)"), GetClanColor(GetHogClan(CurrentHedgehog)), capgrpAmmostate) |
255 deviceCrate.collected = true |
255 deviceCrate.collected = true |
256 if deviceCrate.collector == nil then |
256 deviceCrate.collector = CurrentHedgehog |
257 deviceCrate.collector = CurrentHedgehog |
|
258 if deviceCrate.collector == nil then |
|
259 AddCaption("XXXXX", 0xFF0000FF, capgrpMessage2) |
|
260 end |
|
261 end |
|
262 -- Spawn rope crate |
257 -- Spawn rope crate |
263 SpawnUtilityCrate(ropeCrate.x, ropeCrate.y, ropeCrate.name) |
258 SpawnUtilityCrate(ropeCrate.x, ropeCrate.y, ropeCrate.name) |
264 end |
259 end |
265 end |
260 end |
266 end |
261 end |