hedgewars/uWorld.pas
changeset 5022 d2a2f6c9b236
parent 4976 088d40d8aba2
child 5149 9aa840fdf922
equal deleted inserted replaced
5021:ca09bfa0414c 5022:d2a2f6c9b236
   125 // add custom goals from lua script if there are any
   125 // add custom goals from lua script if there are any
   126 if LuaGoals <> '' then g:= LuaGoals + '|';
   126 if LuaGoals <> '' then g:= LuaGoals + '|';
   127 
   127 
   128 // check different game flags (goals/game modes first for now)
   128 // check different game flags (goals/game modes first for now)
   129 g:= AddGoal(g, gfKing, gidKing); // king?
   129 g:= AddGoal(g, gfKing, gidKing); // king?
       
   130 g:= AddGoal(g, gfTagTeam, gidTagTeam); // tag team mode?
   130 
   131 
   131 // other important flags
   132 // other important flags
   132 g:= AddGoal(g, gfForts, gidForts); // forts?
   133 g:= AddGoal(g, gfForts, gidForts); // forts?
   133 g:= AddGoal(g, gfLowGravity, gidLowGravity); // low gravity?
   134 g:= AddGoal(g, gfLowGravity, gidLowGravity); // low gravity?
   134 g:= AddGoal(g, gfInvulnerable, gidInvulnerable); // invulnerability?
   135 g:= AddGoal(g, gfInvulnerable, gidInvulnerable); // invulnerability?