# HG changeset patch # User Wuzzy # Date 1518259617 -3600 # Node ID 50dd4f88daf42ffe5f1cf09aac476de9c173f099 # Parent 7ea62261c4818d8b2e710e18c8d8f9055f7db27a Always remove mine strike in Construction Mode diff -r 7ea62261c481 -r 50dd4f88daf4 ChangeLog.txt --- a/ChangeLog.txt Sat Feb 10 10:19:28 2018 +0100 +++ b/ChangeLog.txt Sat Feb 10 11:46:57 2018 +0100 @@ -21,6 +21,7 @@ + Construction Mode: Remember all selections + Construction Mode: Add subtle glow to healing station + Construction Mode: Change message colors + * Construction Mode: Remove mine strike if added by weapon scheme (it's broken) A Space Adventure: + Precise Shooting: Display collected ammo diff -r 7ea62261c481 -r 50dd4f88daf4 share/hedgewars/Data/Scripts/Multiplayer/Construction_Mode.lua --- a/share/hedgewars/Data/Scripts/Multiplayer/Construction_Mode.lua Sat Feb 10 10:19:28 2018 +0100 +++ b/share/hedgewars/Data/Scripts/Multiplayer/Construction_Mode.lua Sat Feb 10 11:46:57 2018 +0100 @@ -154,6 +154,8 @@ -- WEAPON CRATES -- Weapons which shouldn't be aded: -- Air attack, napalm, drillstrike: Overwritten weapons for the Construction Mode tools +-- Mine strike: Is currently broken +-- Piano strike: Hog is resurrected by respawner local atkArray = { {amBazooka, 2*costFactor}, --{amBee, 4*costFactor}, @@ -1482,16 +1484,23 @@ function initialSetup(gear) - -- engine already placed hogs in fort mode + -- Engine already placed hogs in fort mode if not fortMode then FindPlace(gear, false, clanBoundsSX[GetHogClan(gear)], clanBoundsEX[GetHogClan(gear)],true) end - -- for now, everyone should have this stuff + + -- Add core ammo AddAmmo(gear, amCMStructurePlacer, 100) AddAmmo(gear, amSwitch, 100) AddAmmo(gear, amSkip, 100) + -- Remove the other special Construction Mode tools + AddAmmo(gear, amCMObjectPlacer, 0) + AddAmmo(gear, amCMCratePlacer, 0) + + -- Mine strike is broken + AddAmmo(gear, amMineStrike, 0) end function onGameStart()