share/hedgewars/Data/Scripts/Multiplayer/Continental_supplies.lua
changeset 13506 36f3f77e9b1b
parent 13379 4dd503978c0a
child 13643 690cc84e9fd6
equal deleted inserted replaced
13505:69f0f437c75a 13506:36f3f77e9b1b
  1015 --wt=yes			allow to search for weaponsets on hog names
  1015 --wt=yes			allow to search for weaponsets on hog names
  1016 --spec=off		disable specials (will make stuff unbalanced)
  1016 --spec=off		disable specials (will make stuff unbalanced)
  1017 --cont=no		remove the pre-defined continents
  1017 --cont=no		remove the pre-defined continents
  1018 
  1018 
  1019 --for custom made continent, follows the same standards as the globalism one. You can make your continent with <Name>~<Information>~<Weapons>. Take the weapons generated from globalism, if you want a GUI :P
  1019 --for custom made continent, follows the same standards as the globalism one. You can make your continent with <Name>~<Information>~<Weapons>. Take the weapons generated from globalism, if you want a GUI :P
  1020 --weapons=<ammo><types>, ammo = ascii[116(1 ammo) to 125(inf ammo)] types = ascii[36(Grenade), 37(Clusterbomb) to 90(knife)] see http://hedgewars.org/kb/AmmoTypes
  1020 --weapons=<ammo><types>, ammo = ascii[116(1 ammo) to 125(inf ammo)] types = ascii[36(Grenade), 37(Clusterbomb) to 90(knife)] see https://hedgewars.org/kb/AmmoTypes
  1021 --ex "Own continent~this continent rocks!~tZ}$" will get 1 knife and inf grenades
  1021 --ex "Own continent~this continent rocks!~tZ}$" will get 1 knife and inf grenades
  1022 function onParameters()
  1022 function onParameters()
  1023 
  1023 
  1024 	local searchfor="wt=yes"
  1024 	local searchfor="wt=yes"
  1025 	local match=string.find(ScriptParam,searchfor, 1)
  1025 	local match=string.find(ScriptParam,searchfor, 1)