share/hedgewars/Data/Scripts/Multiplayer/Gravity.lua
changeset 12814 b4e20bb485f9
parent 11894 dd3cbbde7876
equal deleted inserted replaced
12813:d6c75b27db58 12814:b4e20bb485f9
   183     else
   183     else
   184         v = loc("Gravity: 100%") .. "|" ..
   184         v = loc("Gravity: 100%") .. "|" ..
   185             loc("Script parameter examples:") .. "|" ..
   185             loc("Script parameter examples:") .. "|" ..
   186             loc("“g=150”, where 150 is 150% of normal gravity.") .. "|" ..
   186             loc("“g=150”, where 150 is 150% of normal gravity.") .. "|" ..
   187             loc("“g=50, g2=150, period=4000” for gravity changing|from 50 to 150 and back with period of 4000 ms.") .. "|" ..
   187             loc("“g=50, g2=150, period=4000” for gravity changing|from 50 to 150 and back with period of 4000 ms.") .. "|" ..
   188             loc("Set period to negative value for random gravity.") .. "| |"
   188             loc("Set period to negative value for random gravity.")
   189     end
   189     end
   190     Goals = v
   190     Goals = v
   191 
   191 
   192     if script2_onGameInit ~= nil then
   192     if script2_onGameInit ~= nil then
   193         script2_onGameInit()
   193         script2_onGameInit()