share/hedgewars/Data/Scripts/Multiplayer/Mutant.lua
changeset 10857 6ef0fb6cd3bb
parent 10044 33e64afccd3b
child 10872 0ad3c53992d2
equal deleted inserted replaced
10856:d080b8d4c114 10857:6ef0fb6cd3bb
    19 
    19 
    20 --]]
    20 --]]
    21 
    21 
    22 HedgewarsScriptLoad("/Scripts/Locale.lua")
    22 HedgewarsScriptLoad("/Scripts/Locale.lua")
    23 HedgewarsScriptLoad("/Scripts/Tracker.lua")
    23 HedgewarsScriptLoad("/Scripts/Tracker.lua")
       
    24 HedgewarsScriptLoad("/Scripts/Params.lua")
    24 
    25 
    25 --[[
    26 --[[
    26     MUTANT SCRIPT
    27     MUTANT SCRIPT
    27 
    28 
    28     To Do:  -Clean-up this fucking piece of code
    29     To Do:  -Clean-up this fucking piece of code
   605         AddVisualGear(GetX(gear), GetY(gear), vgtBigExplosion, 0, false)
   606         AddVisualGear(GetX(gear), GetY(gear), vgtBigExplosion, 0, false)
   606         trackDeletion(gear)
   607         trackDeletion(gear)
   607     end
   608     end
   608 end
   609 end
   609 
   610 
       
   611 function onParameters()
       
   612     parseParams()
       
   613     winScore = tonumber(params["winscore"]) or winScore
       
   614 end
       
   615 
   610 --[[
   616 --[[
   611 S T A R R I N G
   617 S T A R R I N G
   612     prof - Coding, implementing and evangelism
   618     prof - Coding, implementing and evangelism
   613     vos  - Initial idea and script improvements
   619     vos  - Initial idea and script improvements
   614     mikade - Moving the `how to play` into the game so that people know `how to play`, and whitespace :D
   620     mikade - Moving the `how to play` into the game so that people know `how to play`, and whitespace :D