LuaAPI.wiki
changeset 1657 899707a349b3
parent 1656 a262e8d3380d
child 1658 65f6dd2bf801
equal deleted inserted replaced
1656:a262e8d3380d 1657:899707a349b3
   101 The !GameFlags are used to store simple boolean settings of the game.
   101 The !GameFlags are used to store simple boolean settings of the game.
   102 You can read/modify them using the [LuaAPI#GameFlags_functions GameFlags-Functions].
   102 You can read/modify them using the [LuaAPI#GameFlags_functions GameFlags-Functions].
   103 
   103 
   104 || *Identifier* || *Description (active state)* ||
   104 || *Identifier* || *Description (active state)* ||
   105 || `gfOneClanMode` || Used when only one clan is in the game. This game flag is primarily used for training missions. ||
   105 || `gfOneClanMode` || Used when only one clan is in the game. This game flag is primarily used for training missions. ||
   106 || `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. ||
   106 || `gfMultiWeapon` || Shooting any weapon enters multi-shot mode with infinite shots. The remaining shots counter for weapons like shotgun is suppressed. Intended for target practice missions, not recommended for anything else. ||
   107 || `gfSwitchHog` || Free hog switching at turn start ||
   107 || `gfSwitchHog` || Free hog switching at turn start ||
   108 || `gfDivideTeams` || Each clan will start in its own side of the terrain. No effect if `gfPlaceHog` is active. ||
   108 || `gfDivideTeams` || Each clan will start in its own side of the terrain. No effect if `gfPlaceHog` is active. ||
   109 || `gfBorder` || An indestructible border is active around the map. ||
   109 || `gfBorder` || An indestructible border is active around the map. ||
   110 || `gfBottomBorder` || There is an indestructable border at the bottom of the map. ||
   110 || `gfBottomBorder` || There is an indestructable border at the bottom of the map. ||
   111 || `gfShoppaBorder` || The terrain edge will be replaced by a decorative black/yellow “danger stripe”. This has no gameplay effect. ||
   111 || `gfShoppaBorder` || The terrain edge will be replaced by a decorative black/yellow “danger stripe”. This has no gameplay effect. ||