LuaAPI.wiki
changeset 1629 1068da1c7ada
parent 1593 fb9756c246e5
child 1631 50432569b972
equal deleted inserted replaced
1628:893c8b5bf7e7 1629:1068da1c7ada
    98 The !GameFlags are used to store simple boolean settings of the game.
    98 The !GameFlags are used to store simple boolean settings of the game.
    99 You can read/modify them using the [LuaAPI#GameFlags_functions GameFlags-Functions].
    99 You can read/modify them using the [LuaAPI#GameFlags_functions GameFlags-Functions].
   100 
   100 
   101 || *Identifier* || *Description (active state)* ||
   101 || *Identifier* || *Description (active state)* ||
   102 || `gfOneClanMode` || Used when only one clan is in the game. This game flag is primarily used for training missions. ||
   102 || `gfOneClanMode` || Used when only one clan is in the game. This game flag is primarily used for training missions. ||
   103 || `gfMultiWeapon` || Shooting any weapon enters multi-shot mode with infinite shots. The remaining shots counter for weaoons like shotgun is suppressed. For target practice missions, not recommended for anything else. ||
   103 || `gfMultiWeapon` || Shooting any weapon enters multi-shot mode with infinite shots. The remaining shots counter for weaoons like shotgun is suppressed. Intended for target practice missions, not recommended for anything else. ||
   104 || `gfSwitchHog` || Free hog switching at turn start ||
   104 || `gfSwitchHog` || Free hog switching at turn start ||
   105 || `gfDivideTeams` || Each clan will start in its own side of the terrain ||
   105 || `gfDivideTeams` || Each clan will start in its own side of the terrain. No effect if `gfPlaceHog` is active. ||
   106 || `gfBorder` || An indestructible border is active around the map. ||
   106 || `gfBorder` || An indestructible border is active around the map. ||
   107 || `gfBottomBorder` || There is an indestructable border at the bottom of the map. ||
   107 || `gfBottomBorder` || There is an indestructable border at the bottom of the map. ||
   108 || `gfShoppaBorder` || The terrain edge will be replaced by a decorative black/yellow “danger stripe”. This has no gameplay effect. ||
   108 || `gfShoppaBorder` || The terrain edge will be replaced by a decorative black/yellow “danger stripe”. This has no gameplay effect. ||
   109 || `gfSolidLand` || The terrain is indestructible. ||
   109 || `gfSolidLand` || The terrain is indestructible. ||
   110 || `gfLowGravity` || The gravity is low. ||
   110 || `gfLowGravity` || The gravity is low. ||
   114 || `gfKarma` || Attackers share the damage they deal to enemies. ||
   114 || `gfKarma` || Attackers share the damage they deal to enemies. ||
   115 || `gfArtillery` || Hedgehogs can’t walk. ||
   115 || `gfArtillery` || Hedgehogs can’t walk. ||
   116 || `gfRandomOrder` || The game is played in random order. ||
   116 || `gfRandomOrder` || The game is played in random order. ||
   117 || `gfPlaceHog` || Placement mode: At the beginning of the round, all hedgehogs are placed manually first. ||
   117 || `gfPlaceHog` || Placement mode: At the beginning of the round, all hedgehogs are placed manually first. ||
   118 || `gfKing` || King Mode: One hedgehog per team becomes their king, if the king dies, the team loses. ||
   118 || `gfKing` || King Mode: One hedgehog per team becomes their king, if the king dies, the team loses. ||
   119 || `gfSharedAmmo` || Teams in the same clan share their ammo. ||
   119 || `gfSharedAmmo` || Teams in the same clan share their ammo. Takes precedence over `gfPerHogAmmo`.  ||
   120 || `gfDisableGirders` || No girders will be created in random maps ||
   120 || `gfDisableGirders` || No girders will be created in random maps ||
   121 || `gfDisableLandObjects` || No land objects will be created in random maps ||
   121 || `gfDisableLandObjects` || No land objects will be created in random maps ||
   122 || `gfAISurvival` || Computer-controlled hedgehogs will be revived after they die. ||
   122 || `gfAISurvival` || Computer-controlled hedgehogs will be revived after they die. ||
   123 || `gfInfAttack` || Attacks don’t end the turn. ||
   123 || `gfInfAttack` || Attacks don’t end the turn. ||
   124 || `gfResetWeps` || The weapons will be reset to the initial state each turn. ||
   124 || `gfResetWeps` || The weapons will be reset to the initial state each turn. ||
   125 || `gfPerHogAmmo` || Each hedgehog has its own weapon stash. ||
   125 || `gfPerHogAmmo` || Each hedgehog has its own weapon stash. No effect if `gfSharedAmmo` is active. ||
   126 || `gfDisableWind` || There is no wind. ||
   126 || `gfDisableWind` || There is no wind. ||
   127 || `gfMoreWind` || There is always strong wind. ||
   127 || `gfMoreWind` || There is always strong wind. ||
   128 || `gfTagTeam` || Tag Team: Teams in the same clan share their turn time. ||
   128 || `gfTagTeam` || Tag Team: Teams in the same clan share their turn time. ||
   129 || `gfResetHealth` || The health of all living hedgehogs is reset at the end of each turn. ||
   129 || `gfResetHealth` || The health of all living hedgehogs is reset at the end of each turn. ||
   130 
   130