Remove kamikaze and piano strike from CTF and Control
authorWuzzy <Wuzzy2@mail.ru>
Fri, 07 Jun 2019 15:08:06 +0200
changeset 15129 a41b8b154f74
parent 15128 40537955de63
child 15130 13e7d4eccb67
Remove kamikaze and piano strike from CTF and Control
share/hedgewars/Data/Maps/Control/map.lua
share/hedgewars/Data/Scripts/Multiplayer/Capture_the_Flag.lua
--- a/share/hedgewars/Data/Maps/Control/map.lua	Fri Jun 07 11:55:49 2019 +0200
+++ b/share/hedgewars/Data/Maps/Control/map.lua	Fri Jun 07 15:08:06 2019 +0200
@@ -341,6 +341,9 @@
 		AddAmmo(hhs[h], amTardis, 0)
 		-- Resurrector is pointless, all hogs are already automatically resurrected.
 		AddAmmo(hhs[h], amResurrector, 0)
+		-- Remove suicidal weapons as they might wipe out the team
+		AddAmmo(hhs[h], amKamikaze, 0)
+		AddAmmo(hhs[h], amPiano, 0)
 	end
 
 	ShowMission(missionName, missionCaption, missionHelp, 0, 0)
--- a/share/hedgewars/Data/Scripts/Multiplayer/Capture_the_Flag.lua	Fri Jun 07 11:55:49 2019 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Capture_the_Flag.lua	Fri Jun 07 15:08:06 2019 +0200
@@ -527,6 +527,9 @@
 	for h=1, numhhs do
 		-- Hogs are resurrected for free, so this is pointless
 		AddAmmo(hhs[h], amResurrector, 0)
+		-- Remove suicidal weapons as they might wipe out the team
+		AddAmmo(hhs[h], amKamikaze, 0)
+		AddAmmo(hhs[h], amPiano, 0)
 	end
 
 	updateScores()