share/hedgewars/Data/Scripts/Multiplayer/Gravity.lua
changeset 9910 b0988e40e411
parent 9908 81eb25ddf594
child 9985 42cd42e44c9a
equal deleted inserted replaced
9908:81eb25ddf594 9910:b0988e40e411
    92     if delta == nil then
    92     if delta == nil then
    93         v = string.format(loc("random in range from %i%% to %i%% with period of %i msec"), div(mingravity, mln), div(maxgravity, mln), period * 40)
    93         v = string.format(loc("random in range from %i%% to %i%% with period of %i msec"), div(mingravity, mln), div(maxgravity, mln), period * 40)
    94     elseif period ~= nil then
    94     elseif period ~= nil then
    95         v = string.format(loc("changing range from %i%% to %i%% with period of %i msec"), div(mingravity, mln), div(maxgravity, mln), period * 40)
    95         v = string.format(loc("changing range from %i%% to %i%% with period of %i msec"), div(mingravity, mln), div(maxgravity, mln), period * 40)
    96     else
    96     else
    97         v = div(gravity, mln) .. "%"
    97         v = gravity .. "%"
    98     end
    98     end
    99 
    99 
   100     ShowMission(loc("Gravity"),
   100     ShowMission(loc("Gravity"),
   101                 loc("Current setting is ") .. v,
   101                 loc("Current setting is ") .. v,
   102                 loc("Setup:|'g=150', where 150 is 150% of normal gravity") .. "|"
   102                 loc("Setup:|'g=150', where 150 is 150% of normal gravity") .. "|"