share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua
changeset 12012 06afe8535b1c
parent 12011 6540fcfad01c
child 12014 9937075bbfd5
equal deleted inserted replaced
12011:6540fcfad01c 12012:06afe8535b1c
   457 				{"Bushi","Tatsujin","Itami","Arashi","Shinobi","Ukemi","Godai","Kenshi","Ninpo"},
   457 				{"Bushi","Tatsujin","Itami","Arashi","Shinobi","Ukemi","Godai","Kenshi","Ninpo"},
   458 				"R","japan","Default","octopus","Castle"
   458 				"R","japan","Default","octopus","Castle"
   459 				},
   459 				},
   460 
   460 
   461 				{
   461 				{
   462 				"Pokemon",
   462 				"Pokémon",
   463 				{"poke_ash","poke_charmander","poke_chikorita","poke_jigglypuff","poke_lugia","poke_mudkip","poke_pikachu","poke_slowpoke","poke_squirtle","poke_voltorb"},
   463 				{"poke_ash","poke_charmander","poke_chikorita","poke_jigglypuff","poke_lugia","poke_mudkip","poke_pikachu","poke_slowpoke","poke_squirtle","poke_voltorb"},
   464 				{"Ash","Charmander","Chikorita","Jigglypuff","Lugia","Mudkip","Pikachu","Slowpoke","Squirtle","Voltorb"},
   464 				{"Ash","Charmander","Chikorita","Jigglypuff","Lugia","Mudkip","Pikachu","Slowpoke","Squirtle","Voltorb"},
   465 				"FR","cm_pokemon","Default","pokeball","Castle"
   465 				"FR","cm_pokemon","Default","pokeball","Castle"
   466 				},
   466 				},
   467 
   467 
   527 				"Desert Storm",
   527 				"Desert Storm",
   528 				{"war_desertofficer","war_desertgrenadier1","war_desertmedic","war_desertsapper1","war_desertgrenadier2","war_desertgrenadier4","war_desertsapper2","war_desertgrenadier5"},
   528 				{"war_desertofficer","war_desertgrenadier1","war_desertmedic","war_desertsapper1","war_desertgrenadier2","war_desertgrenadier4","war_desertsapper2","war_desertgrenadier5"},
   529 				{"Brigadier Briggs","Lt. Luke","Sgt. Smith","Corporal Calvin","Frank","Joe","Sam","Donald"},
   529 				{"Brigadier Briggs","Lt. Luke","Sgt. Smith","Corporal Calvin","Frank","Joe","Sam","Donald"},
   530 				"F","cm_birdy","Default","Grave","Castle"
   530 				"F","cm_birdy","Default","Grave","Castle"
   531 				},
   531 				},
   532 
       
   533 				-- don't forget new additions need to be added to:
       
   534 				--pMode = {"Clowns","Street Fighters","Cybernetic Empire","Color Squad","Fruit","The Police","The Ninja-Samurai Alliance","Pokemon","The Zoo","The Devs","The Hospital"}
       
   535 				-- but maybe we can just get the size of this array and automatically generate a list instead
       
   536 
       
   537 
   532 
   538 				{
   533 				{
   539 				"The Hospital",
   534 				"The Hospital",
   540 				{"doctor","nurse","war_britmedic","war_desertmedic","war_germanww2medic"},
   535 				{"doctor","nurse","war_britmedic","war_desertmedic","war_germanww2medic"},
   541 				{"Dr. Blackwell","Dr. Drew","Dr. Harvey","Dr. Crushing","Dr. Jenner","Dr. Barnard","Dr. Parkinson","Dr. Banting","Dr. Horace","Dr. Hollows","Dr. Jung"},
   536 				{"Dr. Blackwell","Dr. Drew","Dr. Harvey","Dr. Crushing","Dr. Jenner","Dr. Barnard","Dr. Parkinson","Dr. Banting","Dr. Horace","Dr. Hollows","Dr. Jung"},
  1386 	elseif cat[cIndex] == loc("Goal Mode") then
  1381 	elseif cat[cIndex] == loc("Goal Mode") then
  1387 		pMode = {loc("Victory Condition: Destroy"),loc("Losing Condition: Destroy"),loc("Victory Condition: Collect")}
  1382 		pMode = {loc("Victory Condition: Destroy"),loc("Losing Condition: Destroy"),loc("Victory Condition: Collect")}
  1388 	elseif cat[cIndex] == loc("Hog Identity Mode") then
  1383 	elseif cat[cIndex] == loc("Hog Identity Mode") then
  1389 		pMode = {loc("Soldier"),loc("Grenadier"),loc("Sniper"),loc("Pyro"),loc("Ninja"),loc("Commander"),loc("Chef"),loc("Engineer"),loc("Physicist"),loc("Trapper"),loc("Saint"),loc("Clown")}
  1384 		pMode = {loc("Soldier"),loc("Grenadier"),loc("Sniper"),loc("Pyro"),loc("Ninja"),loc("Commander"),loc("Chef"),loc("Engineer"),loc("Physicist"),loc("Trapper"),loc("Saint"),loc("Clown")}
  1390 	elseif cat[cIndex] == loc("Team Identity Mode") then
  1385 	elseif cat[cIndex] == loc("Team Identity Mode") then
  1391 		pMode = {"Clowns","Street Fighters","Cybernetic Empire","Color Squad","Fruit","The Police","The Ninja-Samurai Alliance","Pokemon","The Zoo","The Devs","Mushroom Kingdom","Pirates","Gangsters","Twenty-Twenty","Monsters","The Iron Curtain","The Hospital"}
  1386 		pMode = {loc("Clowns"),loc("Street Fighters"),loc("Cybernetic Empire"),loc("Color Squad"),loc("Fruit"),loc("The Police"),loc("The Ninja-Samurai Alliance"),loc("Pokémon"),loc("The Zoo"),loc("The Devs"),loc("Mushroom Kingdom"),loc("Pirates"),loc("Gangsters"),loc("Twenty-Twenty"),loc("Monsters"),loc("The Iron Curtain"),loc("Desert Storm"),loc("The Hospital")}
  1392 	elseif cat[cIndex] == loc("Health Modification Mode") then
  1387 	elseif cat[cIndex] == loc("Health Modification Mode") then
  1393 		pMode = { {100, "set"}, {125, "set"}, {150, "set"}, {200, "set"}, {300, "set"}, {1000, "set"},
  1388 		pMode = { {100, "set"}, {125, "set"}, {150, "set"}, {200, "set"}, {300, "set"}, {1000, "set"},
  1394 			{"-100", "mod"}, {"-10", "mod"}, {"-1", "mod"}, {"+1", "mod"}, {"+10", "mod"}, {"+100", "mod"},
  1389 			{"-100", "mod"}, {"-10", "mod"}, {"-1", "mod"}, {"+1", "mod"}, {"+10", "mod"}, {"+100", "mod"},
  1395 			{1, "set"}, {10, "set"}, {15, "set"}, {20, "set"}, {25, "set"}, {30, "set"}, {40, "set"}, {50, "set"}, {75, "set"}, 
  1390 			{1, "set"}, {10, "set"}, {15, "set"}, {20, "set"}, {25, "set"}, {30, "set"}, {40, "set"}, {50, "set"}, {75, "set"}, 
  1396 } 
  1391 } 
  3375 
  3370 
  3376 	clearAmmo(gear)
  3371 	clearAmmo(gear)
  3377 
  3372 
  3378 	if pro == loc("Sniper") then
  3373 	if pro == loc("Sniper") then
  3379 
  3374 
  3380 		SetHogName(gear,"Sniper")
  3375 		SetHogName(gear,loc("Sniper"))
  3381 		SetHogHat(gear, "Sniper")
  3376 		SetHogHat(gear, "Sniper")
  3382 		SetHealth(gear, 50)
  3377 		SetHealth(gear, 50)
  3383 		AddAmmo(gear, amSniperRifle, 100)
  3378 		AddAmmo(gear, amSniperRifle, 100)
  3384 		AddAmmo(gear, amDEagle, 100)
  3379 		AddAmmo(gear, amDEagle, 100)
  3385 
  3380