Add rubber duck to (Balanced) Random Weapon, Construction Mode, HedgeEditor
authorWuzzy <almikes@aol.com>
Sun, 09 Apr 2017 20:54:33 +0200
changeset 12207 2de020695c20
parent 12206 1e3ab1e634f8
child 12208 9a4831b23cd1
Add rubber duck to (Balanced) Random Weapon, Construction Mode, HedgeEditor
share/hedgewars/Data/Scripts/Multiplayer/Balanced_Random_Weapon.lua
share/hedgewars/Data/Scripts/Multiplayer/Construction_Mode.lua
share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua
share/hedgewars/Data/Scripts/Multiplayer/Random_Weapon.lua
--- a/share/hedgewars/Data/Scripts/Multiplayer/Balanced_Random_Weapon.lua	Sun Apr 09 00:51:26 2017 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Balanced_Random_Weapon.lua	Sun Apr 09 20:54:33 2017 +0200
@@ -1,10 +1,10 @@
 HedgewarsScriptLoad("/Scripts/Locale.lua")
 HedgewarsScriptLoad("/Scripts/Tracker.lua")
 
-local weapons = { amGrenade, amClusterBomb, amBazooka, amBee, amShotgun, amMine, amDEagle, amDynamite, amFirePunch, amWhip, amPickHammer, amBaseballBat, amMortar, amCake, amSeduction, amWatermelon, amHellishBomb, amDrill, amBallgun, amRCPlane, amSniperRifle, amMolotov, amBirdy, amBlowTorch, amGasBomb, amFlamethrower, amSMine, amKamikaze }
+local weapons = { amGrenade, amClusterBomb, amBazooka, amBee, amShotgun, amMine, amDEagle, amDynamite, amFirePunch, amWhip, amPickHammer, amBaseballBat, amMortar, amCake, amSeduction, amWatermelon, amHellishBomb, amDrill, amBallgun, amRCPlane, amSniperRifle, amMolotov, amBirdy, amBlowTorch, amGasBomb, amFlamethrower, amSMine, amKamikaze, amDuck }
 
---                      G,C,B,B,S,M,D,D,F,W,P,B,M,C,S,W,H,D,B,R,S,M,B,B,G,F,S,K
-local weapons_values = {1,1,1,2,1,1,1,2,1,1,1,2,1,3,1,3,3,2,3,3,1,1,2,1,1,2,2,1}
+--                      G,C,B,B,S,M,D,D,F,W,P,B,M,C,S,W,H,D,B,R,S,M,B,B,G,F,S,K,D
+local weapons_values = {1,1,1,2,1,1,1,2,1,1,1,2,1,3,1,3,3,2,3,3,1,1,2,1,1,2,2,1,1}
 
 local airweapons = { amAirAttack, amMineStrike, amNapalm, amDrillStrike }
 
--- a/share/hedgewars/Data/Scripts/Multiplayer/Construction_Mode.lua	Sun Apr 09 00:51:26 2017 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Construction_Mode.lua	Sun Apr 09 20:54:33 2017 +0200
@@ -987,6 +987,8 @@
 
 				{amBirdy,		"amBirdy",			0, 7*placeholder}
 
+				{amDuck,		"amDuck",			0, 1*placeholder}
+
 				}
 
  utilArray =
--- a/share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua	Sun Apr 09 00:51:26 2017 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua	Sun Apr 09 20:54:33 2017 +0200
@@ -364,6 +364,7 @@
 				{amKnife,	"amKnife",		54},
 
 				{amBirdy,	"amBirdy",		40},
+				{amDuck,	"amDuck",		57},
 
 				}
 
--- a/share/hedgewars/Data/Scripts/Multiplayer/Random_Weapon.lua	Sun Apr 09 00:51:26 2017 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Random_Weapon.lua	Sun Apr 09 20:54:33 2017 +0200
@@ -12,7 +12,7 @@
             amBaseballBat, amTeleport, amMortar, amCake, amSeduction,
             amWatermelon, amHellishBomb, amDrill, amBallgun, amRCPlane,
             amSniperRifle, amMolotov, amBirdy, amBlowTorch, amGasBomb,
-            amFlamethrower, amSMine, amHammer }
+            amFlamethrower, amSMine, amHammer, amDuck }
 
 -- List of weapons that attack from the air
 local airweapons = { amAirAttack, amMineStrike, amNapalm, amDrillStrike }