share/hedgewars/Data/Scripts/Multiplayer/Construction_Mode.lua
changeset 12943 3feab46234dd
parent 12942 ca23981ec219
child 12944 712ae7ff8c3d
equal deleted inserted replaced
12942:ca23981ec219 12943:3feab46234dd
  1232 		placedExpense = 15
  1232 		placedExpense = 15
  1233 	elseif cat[cIndex] == "Sticky Mine Placement Mode" then
  1233 	elseif cat[cIndex] == "Sticky Mine Placement Mode" then
  1234 		pMode = {loc("Sticky Mine")}
  1234 		pMode = {loc("Sticky Mine")}
  1235 		placedExpense = 20
  1235 		placedExpense = 20
  1236 	elseif cat[cIndex] == "Structure Placement Mode" then
  1236 	elseif cat[cIndex] == "Structure Placement Mode" then
  1237 		pMode = {loc("Healing Station"), loc("Bio-Filter"), loc("Weapon Filter"), loc("Reflector Shield"), loc("Respawner"),loc("Teleportation Node"),loc("Generator"),loc("Construction Station"),loc("Support Station")}
  1237 		pMode = {
       
  1238 			loc("Support Station"),
       
  1239 			loc("Construction Station"),
       
  1240 			loc("Healing Station"),
       
  1241 			loc("Teleportation Node"),
       
  1242 			loc("Weapon Filter"),
       
  1243 
       
  1244 			loc("Bio-Filter"),
       
  1245 			loc("Reflector Shield"),
       
  1246 			loc("Respawner"),
       
  1247 			loc("Generator"),
       
  1248 		}
  1238 	end
  1249 	end
  1239 
  1250 
  1240 
  1251 
  1241 
  1252 
  1242 
  1253 
  1637 				loc("Use the structure placer to place structures.")
  1648 				loc("Use the structure placer to place structures.")
  1638 				, 4, 5000
  1649 				, 4, 5000
  1639 				)
  1650 				)
  1640 
  1651 
  1641 	SetAmmoTexts(amCMStructurePlacer, loc("Structure Placer"), loc("Construction Mode tool"), loc("Build one of multiple different structures|to aid you in victory, at the cost of energy.") .. "| |" ..
  1652 	SetAmmoTexts(amCMStructurePlacer, loc("Structure Placer"), loc("Construction Mode tool"), loc("Build one of multiple different structures|to aid you in victory, at the cost of energy.") .. "| |" ..
       
  1653 	loc("Support Station: Allows placement of crates.") .. "|"..
       
  1654 	loc("Construction Station: Allows placement of|    girders, rubber, mines, sticky mines|    and barrels.")  .. "|" ..
  1642 	loc("Healing Station: Heals nearby hogs.")  .. "|" ..
  1655 	loc("Healing Station: Heals nearby hogs.")  .. "|" ..
       
  1656 	loc("Teleportation Node: Allows teleportation|    between other nodes.")  .. "|" ..
       
  1657 	loc("Weapon Filter: Dematerializes all ammo|    carried by enemies entering it.")  .. "|" ..
  1643 	loc("Bio-Filter: Aggressively removes enemies.")  .. "|" ..
  1658 	loc("Bio-Filter: Aggressively removes enemies.")  .. "|" ..
  1644 	loc("Weapon Filter: Dematerializes all ammo|    carried by enemies entering it.")  .. "|" ..
       
  1645 	loc("Reflector Shield: Reflects enemy projectiles.")  .. "|" ..
  1659 	loc("Reflector Shield: Reflects enemy projectiles.")  .. "|" ..
  1646 	loc("Respawner: Resurrects dead hogs.")  .. "|" ..
  1660 	loc("Respawner: Resurrects dead hogs.")  .. "|" ..
  1647 	loc("Teleportation Node: Allows teleportation|    between other nodes.")  .. "|" ..
       
  1648 	loc("Generator: Generates energy.")  .. "|" ..
  1661 	loc("Generator: Generates energy.")  .. "|" ..
  1649 	loc("Construction Station: Allows placement of|    girders, rubber, mines, sticky mines|    and barrels.")  .. "|" ..
  1662 	" |" ..
  1650 	loc("Support Station: Allows placement of crates.") .. "| |" ..
       
  1651 
  1663 
  1652 	loc("Left/right: Choose structure type").."|"..
  1664 	loc("Left/right: Choose structure type").."|"..
  1653 	loc("1-5, Precise + 1-4: Choose structure type").."|"..
  1665 	loc("1-5, Precise + 1-4: Choose structure type").."|"..
  1654 	loc("Cursor: Build structure"))
  1666 	loc("Cursor: Build structure"))
  1655 
  1667 
  1659 	end
  1671 	end
  1660 
  1672 
  1661 	SetAmmoTexts(amCMCratePlacer, loc("Crate Placer"), loc("Construction Mode tool"),
  1673 	SetAmmoTexts(amCMCratePlacer, loc("Crate Placer"), loc("Construction Mode tool"),
  1662 		loc("This allows you to create a crate anywhere|within your clan's area of influence,|at the cost of energy.") .. "|" ..
  1674 		loc("This allows you to create a crate anywhere|within your clan's area of influence,|at the cost of energy.") .. "|" ..
  1663 		txt_crateLimit ..
  1675 		txt_crateLimit ..
  1664 		loc("Up/down: Choose crate type") .. "|" .. 
  1676 		loc("Up/down: Choose crate type") .. "|" ..
  1665 		loc("Left/right: Choose crate contents") .. "|" ..
  1677 		loc("Left/right: Choose crate contents") .. "|" ..
  1666 		loc("|Cursor: Place crate"))
  1678 		loc("|Cursor: Place crate"))
  1667 	SetAmmoTexts(amCMObjectPlacer, loc("Object Placer"), loc("Construction Mode tool"),
  1679 	SetAmmoTexts(amCMObjectPlacer, loc("Object Placer"), loc("Construction Mode tool"),
  1668 		loc("This allows you to create and place mines,|sticky mines and barrels anywhere within your|clan's area of influence at the cost of energy.").."|"..
  1680 		loc("This allows you to create and place mines,|sticky mines and barrels anywhere within your|clan's area of influence at the cost of energy.").."|"..
  1669 		loc("Up/down: Choose object type|1-5/Switch/Left/Right: Choose mine timer|Cursor: Place object")
  1681 		loc("Up/down: Choose object type|1-5/Switch/Left/Right: Choose mine timer|Cursor: Place object")