home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-08-20 | 24.6 KB | 672 lines | [TEXT/R*ch] |
- /* Definitions of all the tables in Xconq GDL.
- Copyright (C) 1991, 1992, 1993, 1994 Stanley T. Shebs.
-
- Xconq is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version. See the file COPYING. */
-
- DEF_UT_TABLE("accident-damage", ut_accident_damage,
- "damage from an accident",
- utaccidentdamage, constaccidentdamage, 0, 0, 9999)
-
- DEF_UT_TABLE("accident-hit-chance", ut_accident_hit,
- "chance to be hit in given terrain type, as .01% chance",
- utaccidenthit, constaccidenthit, 0, 0, 9999)
-
- DEF_UT_TABLE("accident-vanish-chance", ut_accident_vanish,
- "chance to vanish in given terrain type, as .01% chance",
- utaccidentvanish, constaccidentvanish, 0, 0, 9999)
-
- DEF_UU_TABLE("acp-for-retreat", uu_acp_retreat,
- "extra acp available when retreating",
- uuacpretreat, constuuacpretreat, -9999, 0, 9999)
-
- DEF_UT_TABLE("acp-night-effect", ut_acp_night_effect,
- "effect of night on acp",
- utacpnighteffect, constutacpnighteffect, 0, 100, 9999)
-
- DEF_UU_TABLE("acp-occupant-effect", uu_acp_occ_effect,
- "effect of occupants on acp",
- uuacpocceffect, constuuacpocceffect, 0, 100, 9999)
-
- DEF_UT_TABLE("acp-to-add-terrain", ut_acp_to_add_terrain,
- "the acp needed by a type of unit to add a type of terrain",
- utacptoaddterrain, constutacptoaddterrain, 0, 0, 9999)
-
- DEF_UU_TABLE("acp-to-attack", uu_acp_to_attack,
- "acp needed by a type of unit to attack another type",
- uuacptoattack, constuuacptoattack, 0, 1, 9999)
-
- DEF_UU_TABLE("acp-to-be-fired-on", uu_acp_to_be_fired_on,
- "acp used up by a type of unit when fired on by another type",
- uuacptobefiredon, constuuacptobefiredon, 0, 1, 9999)
-
- DEF_UU_TABLE("acp-to-build", uu_acp_to_build,
- "acp needed by a type of unit to work on another type",
- uuacptobuild, constuuacptobuild, 0, 0, 9999)
-
- DEF_UU_TABLE("acp-to-capture", uu_acp_to_capture,
- "acp needed by a type of unit to capture another type",
- uuacptocapture, constuuacptocapture, 0, 0, 9999)
-
- DEF_UU_TABLE("acp-to-change-type", uu_acp_to_change_type,
- "acp needed by one type of unit to change to another type",
- uuacptochangetype, constuuacptochangetype, 0, 0, 9999)
-
- DEF_UU_TABLE("acp-to-create", uu_acp_to_create,
- "acp needed by one type of unit to create another type",
- uuacptocreate, constuuacptocreate, 0, 0, 9999)
-
- DEF_UU_TABLE("acp-to-defend", uu_acp_to_defend,
- "acp used up by a type of unit to defend against another type",
- uuacptodefend, constuuacptodefend, 0, 1, 9999)
-
- DEF_UU_TABLE("acp-to-enter-unit", uu_acp_to_enter,
- "acp needed by one type of unit to enter another type",
- uuacptoenter, constuuacptoenter, 0, 1, 9999)
-
- DEF_UM_TABLE("acp-to-load", um_acp_to_load,
- "",
- umacptoload, constumacptoload, 0, 0, 9999)
-
- DEF_UT_TABLE("acp-to-remove-terrain", ut_acp_to_remove_terrain,
- "acp needed to remove a type of terrain",
- utacptoremoveterrain, constutacptoremoveterrain, 0, 0, 9999)
-
- DEF_UM_TABLE("acp-to-produce", um_acp_to_produce,
- "",
- umacptoproduce, constumacptoproduce, 0, 0, 9999)
-
- DEF_UU_TABLE("acp-to-repair", uu_acp_to_repair,
- "acp needed by one type of unit to repair another type",
- uuacptorepair, constuuacptorepair, 0, 0, 9999)
-
- DEF_UU_TABLE("acp-to-research", uu_acp_to_research,
- "acp needed by one type of unit to research another type",
- uuacptoresearch, constuuacptoresearch, 0, 0, 9999)
-
- DEF_UU_TABLE("acp-to-toolup", uu_acp_to_toolup,
- "acp needed by one type of unit to toolup another type",
- uuacptotoolup, constuuacptotoolup, 0, 0, 9999)
-
- DEF_UM_TABLE("acp-to-unload", um_acp_to_unload,
- "",
- umacptounload, constumacptounload, 0, 0, 9999)
-
- DEF_TT_TABLE("adjacent-terrain-effect", tt_adj_terr_effect,
- "effect of adjacent terrain on another",
- ttadjterreffect, constttadjterreffect, -1, -1, 0)
-
- DEF_UT_TABLE("alter-terrain-range", ut_alter_range,
- "distance at which a unit can alter terrain",
- utalterrange, constutalterrange, 0, 0, 9999)
-
- DEF_UT_TABLE("altitude-max", ut_alt_max,
- "how high unit can go in the terrain",
- utaltmax, constutaltmax, -9999, 0, 9999)
-
- DEF_UT_TABLE("altitude-min", ut_alt_min,
- "how low unit can go in the terrain",
- utaltmin, constutaltmin, -9999, 0, 9999)
-
- DEF_UU_TABLE("attack-range", uu_attack_range,
- "maximum distance at which a unit may attack",
- uuattackrange, constuuattackrange, 0, 1, 9999)
-
- DEF_UU_TABLE("attack-range-min", uu_attack_range_min,
- "minimum distance at which a unit may attack",
- uuattackrangemin, constuuattackrangemin, 0, 0, 9999)
-
- DEF_UT_TABLE("attack-terrain-effect", ut_attack_terrain_effect,
- "effect of terrain on an attack's hit chance",
- utattackterraineffect, constutattackterraineffect, 0, 100, 9999)
-
- DEF_UT_TABLE("attrition", ut_attrition,
- "base chance to lose hp in given terrain type",
- utattrition, constutattrition, 0, 0, 9999)
-
- DEF_UM_TABLE("base-consumption", um_base_consumption,
- "basic amount of supply consumption in each turn",
- umbaseconsumption, constumbaseconsumption, 0, 0, 9999)
-
- DEF_UM_TABLE("base-production", um_base_production,
- "basic amount of supply production",
- umbaseproduction, constumbaseproduction, 0, 0, 9999)
-
- DEF_UU_TABLE("bridge", uu_bridge,
- "whether an assault can cross to a unit on impassable terrain",
- uubridge, constbridge, 0, 0, 0)
-
- DEF_UU_TABLE("build-range", uu_build_range,
- "max distance between unit and unit being worked on",
- uubuildrange, constuubuildrange, 0, 0, 9999)
-
- DEF_UU_TABLE("can-enter-independent", uu_can_enter_indep,
- "true if the type can enter an indep of some other type",
- uucanenterindep, constuucanenterindep, 0, 0, 1)
-
- DEF_UU_TABLE("capture-chance", uu_capture,
- "base chance for one type of unit to capture another type",
- uucapture, constuucapture, 0, 0, 100)
-
- DEF_TM_TABLE("change-on-exhaustion-chance", tm_change_on_exhaust,
- "chance that terrain will change type if no more of material",
- tmchangeonexhaust, consttmchangeonexhaust, 0, 0, 100)
-
- DEF_TT_TABLE("coating-depth-max", tt_coat_max,
- "max depth of coating type over another type of terrain",
- ttcoatmax, constttcoatmax, 0, 0, 9999)
-
- DEF_TT_TABLE("coating-depth-min", tt_coat_min,
- "min depth of coating type over another type of terrain",
- ttcoatmin, constttcoatmin, 0, 0, 9999)
-
- DEF_UM_TABLE("consumption-as-occupant", um_consumption_as_occupant,
- "effect of being an occupant on base consumption",
- umconsumptionasoccupant, constumconsumptionasoccupant, 0, 100, 9999)
-
- DEF_UM_TABLE("consumption-on-creation", um_consumption_on_creation,
- "amount of material used by any creator to create a type of unit",
- umconsumptiononcreation, constumconsumptiononcreation, 0, 0, 9999)
-
- DEF_UM_TABLE("consumption-per-attack", um_consumption_per_attack,
- "amount of material used up by an attack action",
- umconsumptionperattack, constumconsumptionperattack, 0, 0, 9999)
-
- DEF_UM_TABLE("consumption-per-build", um_consumption_per_build,
- "amount of material used up by a build action",
- umconsumptionperbuild, constumconsumptionperbuild, 0, 0, 9999)
-
- DEF_UM_TABLE("consumption-per-move", um_consumption_per_move,
- "amount of material used up by a move action",
- umconsumptionpermove, constconsumptionpermove, 0, 0, 9999)
-
- DEF_UM_TABLE("consumption-per-repair", um_consumption_per_repair,
- "amount of material used up by any repair action on a type of unit",
- umconsumptionoperrepair, constconsumptionperrepair, 0, 0, 9999)
-
- DEF_UU_TABLE("control-chance", uu_control,
- "base chance that a unit can control another",
- uucontrol, constuucontrol, -1, 0, 100)
-
- DEF_UU_TABLE("control-chance-at", uu_control_at,
- "base chance that a unit can control another in the same cell",
- uucontrolat, constuucontrolat, -1, 0, 100)
-
- DEF_UU_TABLE("control-chance-adjacent", uu_control_adj,
- "base chance that a unit can control another in an adjacent cell",
- uucontroladj, constuucontroladj, -1, 0, 100)
-
- DEF_UU_TABLE("control-range", uu_control_range,
- "distance out to which a unit can control another unit",
- uucontrolrange, constuucontrolrange, -1, 0, 9999)
-
- DEF_UU_TABLE("cp-on-creation", uu_creation_cp,
- "completeness point of the unit when first created",
- uucreationcp, constuucreationcp, 0, 1, 9999)
-
- DEF_UU_TABLE("cp-per-build", uu_cp_per_build,
- "completeness points added by one build action",
- uucpperbuild, constuucpperbuild, 0, 1, 9999)
-
- DEF_UU_TABLE("create-range", uu_create_range,
- "max distance between unit and unit being created",
- uucreaterange, constuucreaterange, 0, 0, 9999)
-
- DEF_UU_TABLE("cxp-per-capture", uu_cxp_per_capture,
- "combat experience gained from attempting to capture",
- uucxppercapture, constuucxppercapture, 0, 0, 9999)
-
- DEF_UU_TABLE("cxp-per-combat", uu_cxp_per_combat,
- "combat experience gained from attack or defense",
- uucxppercombat, constuucxppercombat, 0, 0, 9999)
-
- DEF_UU_TABLE("damage", uu_damage,
- "points of damage that one unit will inflict on another",
- uudamage, constuudamage, 0, 0, 32767)
-
- DEF_UU_TABLE("damage-cxp-effect", uu_damage_cxp,
- "effect of combat experience on damage",
- uudamagecxp, constuudamagecxp, 0, 100, 9999)
-
- DEF_UT_TABLE("defend-terrain-effect", ut_defend_terrain_effect,
- "effect of defender's terrain on attack results",
- utdefendterraineffect, constutdefendterraineffect, 0, 100, 9999)
-
- DEF_UU_TABLE("detonate-on-approach-range", uu_detonate_approach_range,
- "range at which a unit will detonate if another approaches",
- uudetonateapproachrange, constdetonateapproachrange, -1, -1, 9999)
-
- DEF_UU_TABLE("detonate-on-capture", uu_detonate_on_capture,
- "chance that a unit will detonate when captured",
- uudetonateoncapture, constdetonateoncapture, 0, 0, 100)
-
- DEF_UU_TABLE("detonate-on-hit", uu_detonate_on_hit,
- "chance that a unit will detonate when hit in combat",
- uudetonateonhit, constdetonateonhit, 0, 0, 100)
-
- DEF_UT_TABLE("detonation-accident-chance", ut_detonation_accident,
- "chance of an accidental detonation",
- utdetonationaccident, constutdetonationaccident, 0, 0, 9999)
-
- DEF_UU_TABLE("detonation-damage-at", uu_detonation_damage_at,
- "damage done to units in the same cell as a detonation",
- uudetonationdamageat, constuudetonationdamageat, 0, 0, 9999)
-
- DEF_UU_TABLE("detonation-damage-adjacent", uu_detonation_damage_adj,
- "damage done to units adjacent to a detonation",
- uudetonationdamageadj, constuudetonationdamageadj, 0, 0, 9999)
-
- DEF_UT_TABLE("detonation-terrain-range", ut_detonation_range,
- "distance for detonation effects on terrain",
- utdetonationrange, constutdetonationrange, 0, 0, 9999)
-
- DEF_UU_TABLE("detonation-unit-range", uu_detonation_range,
- "distance for detonation effects on units",
- uudetonationrange, constuudetonationrange, 0, 0, 9999)
-
- DEF_UT_TABLE("detonation-terrain-damage-chance", ut_detonation_damage,
- "chance that detonation will damage a type of terrain",
- utdetonationdamage, constutdetonationdamage, 0, 0, 100)
-
- DEF_UT_TABLE("eye-height", ut_eye_height,
- "effective height of a unit's eyes in a type of terrain",
- uteyeheight, constuteyeheight, 0, 0, 0)
-
- DEF_UT_TABLE("favored-terrain", ut_favored,
- "the chance for a unit to be placed on a type of terrain",
- utfavored, constfavored, 0, 100, 100)
-
- DEF_UU_TABLE("ferry-on-entry", uu_ferry_on_enter,
- "",
- uuferryonenter, constuuferryonenter, 0, 2, 3)
-
- DEF_UU_TABLE("ferry-on-departure", uu_ferry_on_leave,
- "",
- uuferryonleave, constuuferryonleave, 0, 2, 3)
-
- DEF_UU_TABLE("hp-min", uu_hp_min,
- "minimum below which attacker cannot reduce a defender's HP",
- uuhpmin, constuuhpmin, 0, 0, 9999)
-
- DEF_UU_TABLE("hp-to-garrison", uu_hp_to_garrison,
- "how much of unit gets used up to garrison a capture",
- uuhptogarrison, constuuhptogarrison, 0, 0, 9999)
-
- DEF_UU_TABLE("hit-at-max-range-effect", uu_hit_max_range_effect,
- "chance for a type of unit to hit another type of unit at longest range",
- uuhitatmaxrangeeffect, constuuhitatmaxrangeeffect, 0, 100, 9999)
-
- DEF_UM_TABLE("hit-by", um_hitby,
- "kind of ammo that hits unit",
- umhitby, constumhitby, 0, 0, 9999)
-
- DEF_UU_TABLE("hit-chance", uu_hit,
- "base chance for a type of unit to hit another type of unit",
- uuhitchance, constuuhitchance, 0, 0, 100)
-
- DEF_UU_TABLE("hit-cxp-effect", uu_hit_cxp,
- "effect of combat experience on hit chance",
- uuhitcxp, constuuhitcxp, 0, 100, 9999)
-
- DEF_UU_TABLE("hp-per-repair", uu_repair,
- "HP restored by a repair action",
- uuhprepair, constuuhprepair, 0, 0, 9999)
-
- DEF_UU_TABLE("hp-to-repair", uu_hp_to_repair,
- "minimum HP to be able to do repairs to another unit",
- uuhptorepair, constuuhptorepair, 1, 1, 9999)
-
- DEF_UM_TABLE("hp-per-starve", um_hp_per_starve,
- "HP lost/gained per turn of starvation",
- umhpstarve, constumhpstarve, -9999, 0, 9999)
-
- DEF_UM_TABLE("in-length", um_inlength,
- "length of supply line coming in",
- uminlength, constuminlength, 0, 0, 9999)
-
- DEF_UU_TABLE("independent-capture-chance", uu_indep_capture,
- "base chance for one type of unit to capture another indep type",
- uuindepcapture, constuuindepcapture, -1, -1, 100)
-
- DEF_UT_TABLE("independent-density", ut_indep_density,
- "likelihood of an indep unit type on a terrain type",
- utindepdensity, constutindepdensity, 0, 0, 9999)
-
- DEF_UM_TABLE("load-max", um_load_max,
- "maximum of material that may be added by a transfer action",
- umloadmax, constumloadmax, -1, -1, 9999)
-
- DEF_UM_TABLE("material-per-production", um_material_per_production,
- "amount of material created by a production action",
- umperproduction, constumperproduction, 0, 0, 9999)
-
- DEF_UM_TABLE("material-to-act", um_to_act,
- "supplies needed to be able to act at all",
- umtoact, constumtact, 0, 0, 9999)
-
- DEF_UM_TABLE("material-to-build", um_to_build,
- "supplies needed to be able to work on a unit",
- umtobuild, constumtobuild, 0, 0, 9999)
-
- DEF_UM_TABLE("material-to-change-type", um_to_change_type,
- "supplies needed to be able to change type",
- umtochangetype, constumtochangetype, 0, 0, 9999)
-
- DEF_UM_TABLE("material-to-create", um_to_create,
- "supplies needed to be able to create",
- umtocreate, constumtocreate, 0, 0, 9999)
-
- DEF_UM_TABLE("material-to-fight", um_to_fight,
- "supplies needed to be able to do any sort of combat",
- umtofight, constumtofight, 0, 0, 9999)
-
- DEF_UM_TABLE("material-to-move", um_to_move,
- "supplies needed to be able to move",
- umtomove, constumtomove, 0, 0, 9999)
-
- DEF_UM_TABLE("material-to-produce", um_to_produce,
- "supplies needed to be able to produce anything",
- umtoproduce, constumtoproduce, 0, 0, 9999)
-
- DEF_UM_TABLE("material-to-repair", um_to_repair,
- "supplies needed to be able to repair anything",
- umtorepair, constumtorepair, 0, 0, 9999)
-
- DEF_UU_TABLE("speed-occupant-effect", uu_speed_occ_effect,
- "effect of occupants on transport speed",
- uuspeedocceffect, constuuspeedocceffect, 0, 100, 9999)
-
- DEF_UT_TABLE("mp-to-enter-terrain", ut_mp_to_enter,
- "mp needed to enter the terrain",
- utmptoenter, constutmptoenter, -1, 1, 9999)
-
- DEF_UU_TABLE("mp-to-enter-unit", uu_mp_to_enter,
- "mp needed to enter a type of unit",
- uumptoenter, constuumptoenter, -1, 0, 9999)
-
- DEF_UU_TABLE("mp-to-enter-zoc", uu_mp_to_enter_zoc,
- "mp needed to enter the zoc of a type of unit",
- uumptoenterzoc, constuumptoenterzoc, -1, -1, 9999)
-
- DEF_UT_TABLE("mp-to-leave-terrain", ut_mp_to_leave,
- "mp needed to leave a type of terrain",
- utmptoleave, constutmptoleave, -1, 0, 9999)
-
- DEF_UU_TABLE("mp-to-leave-unit", uu_mp_to_leave,
- "mp needed to leave a type of unit",
- uumptoleave, constuumptoleave, -1, 0, 9999)
-
- DEF_UU_TABLE("mp-to-leave-zoc", uu_mp_to_leave_zoc,
- "mp needed to leave the zoc of a type of unit",
- uumptoleavezoc, constuumptoleavezoc, -1, 0, 9999)
-
- DEF_UT_TABLE("mp-to-traverse", ut_mp_to_traverse,
- "mp needed to move along a connection",
- utmptotraverse, constutmptotraverse, 0, 1, 9999)
-
- DEF_UU_TABLE("mp-to-traverse-zoc", uu_mp_to_traverse_zoc,
- "mp needed to move within the zoc of a type of unit",
- uumptotraversezoc, constuumptotraversezoc, -1, 0, 9999)
-
- DEF_UM_TABLE("occupant-base-production", um_occ_production,
- "amount of material automatically produced by an occupant",
- umoccproduction, constumoccproduction, -1, -1, 9999)
-
- DEF_UU_TABLE("occupant-can-have-occupants", uu_occ_can_have_occs,
- "true if a type of occupant can have occupants itself",
- uuocccanhaveoccs, constuuocccanhaveoccs, 0, 1, 1)
-
- DEF_UU_TABLE("occupant-can-construct", uu_occ_can_build,
- "true if a type of occupant can build",
- uuocccanbuild, constuuocccanbuild, 0, 1, 1)
-
- DEF_UU_TABLE("occupant-combat", uu_occ_combat,
- "effect of being an occupant on combat performance",
- uuocccombat, constuuocccombat, 0, 100, 9999)
-
- DEF_UU_TABLE("occupant-escape-chance", uu_occ_escape,
- "base chance for a type of unit to move to avoid capture",
- uuoccescape, constuuoccescape, 0, 0, 100)
-
- DEF_UU_TABLE("occupant-vision", uu_occ_can_see,
- "true if a type of occupant can see",
- uuocccansee, constuuocccansee, 0, 1, 1)
-
- DEF_UU_TABLE("occupant-max", uu_occ_max,
- "extra ceiling on total number of a type",
- uuoccmax, constuuoccmax, -1, -1, 9999)
-
- DEF_UM_TABLE("out-length", um_outlength,
- "length of supply line going out",
- umoutlength, constoutlength, 0, 0, 9999)
-
- DEF_MM_TABLE("people-consumption", mm_people_consumption,
- "amount of material consumption by people",
- mmpeopleconsumption, constmmpeopleconsumption, 0, 0, 9999)
-
- DEF_MM_TABLE("people-production", mm_people_production,
- "amount of material production by people",
- mmpeopleproduction, constmmpeopleproduction, 0, 0, 9999)
-
- DEF_UM_TABLE("people-see-chance", um_people_see,
- "base chance for a type of people to see unit",
- umpeoplesee, constumpeoplesee, 0, 100, 100)
-
- DEF_UT_TABLE("people-surrender-chance", ut_people_surrender,
- "Chance that people will surrender to occupying unit",
- utpeoplesurrender, constutpeoplesurrender, 0, 0, 100)
-
- DEF_UM_TABLE("people-surrender-effect", um_people_surrender,
- "effect of people type on surrender chance",
- umpeoplesurrender, constumpeoplesurrender, 0, 100, 9999)
-
- DEF_UT_TABLE("productivity", ut_productivity,
- "effect of terrain on production",
- utproductivity, constproductivity, 0, 100, 9999)
-
- DEF_UM_TABLE("productivity-max", um_productivity_max,
- "upper limit on productivity for a material",
- umproductivitymax, constumproductivitymax, 0, 9999, 9999)
-
- DEF_UM_TABLE("productivity-min", um_productivity_min,
- "lower limit on productivity for a material",
- umproductivitymin, constumproductivitymin, 0, 0, 9999)
-
- DEF_UU_TABLE("protection", uu_protection,
- "The degree to which transports protect occupants and vice versa",
- uuprotection, constuuprotection, 0, 100, 9999)
-
- DEF_UM_TABLE("recycleable-material", um_recycleable,
- "amount of material recoverable from a unit being disbanded",
- umrecycleable, constumrecycleable, 0, 0, 9999)
-
- DEF_UU_TABLE("retreat-chance", uu_retreat_chance,
- "chance to retreat after combat",
- uuretreatchance, constuuretreatchance, 0, 0, 100)
-
- DEF_UU_TABLE("road-chance", uu_road_chance,
- "chance for a road from one type to another",
- uuroadchance, constuuroadchance, 0, 0, 100)
-
- DEF_TT_TABLE("road-into-chance", tt_road_into_chance,
- "chance for type of road into type of terrain",
- ttroadintochance, constttroadintochance, 0, 0, 100)
-
- DEF_UU_TABLE("scuttle-chance", uu_scuttle,
- "base chance for u1 to wreck self to avoid capture by u2",
- uuscuttle, constscuttle, 0, 0, 100)
-
- DEF_UU_TABLE("see-chance", uu_see,
- "chance for a type of unit to see another type at a distance",
- uusee, constuusee, 0, 100, 100)
-
- DEF_UU_TABLE("see-chance-at", uu_see_at,
- "chance for a type of unit to see another type in an adjacent cell",
- uuseeat, constuuseeat, 0, 100, 100)
-
- DEF_UU_TABLE("see-chance-adjacent", uu_see_adj,
- "chance for a type of unit to see another type in the same cell",
- uuseeadj, constuuseeadj, 0, 100, 100)
-
- DEF_UU_TABLE("spy-quality", uu_spy_quality,
- "chance for u1 to return info about u2 when spied upon",
- uuspyquality, constspyquality, 0, 100, 100)
-
- DEF_UU_TABLE("stack-protection", uu_stack_protection,
- "the degree to which units in same cell protect each other",
- uustackprotection, constuustackprotection, 0, 100, 9999)
-
- DEF_UM_TABLE("supply-on-creation", um_created_supply,
- "materials created for a newly created unit",
- umcreatedsupply, constumcreatedsupply, 0, 0, 9999)
-
- DEF_UM_TABLE("supply-on-completion", um_completed_supply,
- "materials created for a newly completed unit",
- umcompletedsupply, constumcompletedsupply, 0, 0, 9999)
-
- DEF_UM_TABLE("supply-per-disband", um_supply_per_disband,
- "amount of supply recovered from a disband action",
- umsupplyperdisband, constumsupplyperdisband, 0, 0, 9999)
-
- DEF_UU_TABLE("surrender-chance", uu_surrender_chance,
- "base chance for a unit to surrender to another nearby",
- uusurrenderchance, constuusurrenderchance, 0, 0, 9999)
-
- DEF_UU_TABLE("surrender-chance-per-attack", uu_surrender_per_attack,
- "chance that a unit will surrender upon being attacked",
- uusurrenderattack, constuusurrenderattack, 0, 0, 100)
-
- DEF_UU_TABLE("surrender-range", uu_surrender_range,
- "distance out to which a unit will surrender",
- uusurrenderrange, constuusurrenderrange, 0, 0, 9999)
-
- DEF_UU_TABLE("tech-crossover", uu_tech_crossover,
- "effect of tech for one type on tech for another type",
- uutechcross, constuutechcross, 0, 0, 100)
-
- DEF_UU_TABLE("tech-per-research", uu_tech_per_research,
- ".01 tech increase from one research action",
- uutechperresearch, constuutechperresearch, 0, 0, 9999)
-
- DEF_UU_TABLE("temperature-protection", uu_temp_protect,
- "true if the transport protects the occupant from temperature effects",
- uutempprotect, constuutempprotect, 0, 0, 1)
-
- DEF_TM_TABLE("terrain-consumption", tm_consumption,
- "amount of material consumption by a cell each turn",
- tmconsumption, consttmconsumption, 0, 0, 9999)
-
- DEF_TM_TABLE("terrain-production", tm_production,
- "amount of material production by a cell each turn",
- tmproduction, consttmproduction, 0, 0, 9999)
-
- DEF_UT_TABLE("terrain-capacity-x", ut_capacity_x,
- "number of units that can always be in terrain",
- utcapacityx, constutcapacityx, 0, 0, 9999)
-
- DEF_TT_TABLE("terrain-damaged-type", tt_damaged_type,
- "chance that a type of terrain will change into another type if damaged",
- ttdamagedtype, constttdamagedtype, 0, 0, 9999)
-
- DEF_TM_TABLE("terrain-exhaustion-type", tm_exhaust_type,
- "",
- tmexhausttype, consttmexhausttype, 0, NONTTYPE, NONTTYPE)
-
- DEF_TM_TABLE("terrain-initial-supply", tm_initial,
- "amount of each material that a cell starts with",
- tminitial, consttminitial, 0, 0, 9999)
-
- DEF_TM_TABLE("terrain-storage-x", tm_storage_x,
- "amount of each material that a cell can hold",
- tmstoragex, consttmstoragex, 0, 0, 9999)
-
- DEF_UU_TABLE("tp-max", uu_tp_max,
- "maximum possible tooling",
- uutpmax, constuutpmax, 0, 0, 9999)
-
- DEF_UU_TABLE("tp-per-toolup", uu_tp_per_toolup,
- "tooling points gained from a toolup action",
- uutppertoolup, constuutppertoolup, 0, 1, 9999)
-
- DEF_UU_TABLE("tp-to-build", uu_tp_to_build,
- "tooling points needed to build a unit",
- uutptobuild, constuutptobuild, 0, 0, 9999)
-
- DEF_UU_TABLE("tp-attrition", uu_tp_attrition,
- "",
- uutpattrition, constuutpattrition, 0, 0, 9999)
-
- DEF_UU_TABLE("tp-crossover", uu_tp_crossover,
- "effect of tooling for one type on tooling for another type",
- uutpcrossover, constuutpcrossover, 0, 0, 100)
-
- DEF_UM_TABLE("unit-initial-supply", um_initial,
- "amount of each material that a unit starts with",
- utinitial, constinitial, 0, 0, 9999)
-
- DEF_UU_TABLE("unit-capacity-x", uu_capacity_x,
- "carrying capacity reserved for unit type",
- uucapacityx, constuucapacityx, 0, 0, 9999)
-
- DEF_UU_TABLE("unit-size-as-occupant", uu_size,
- "how much space an occupant takes up in the given transport",
- uusize, constuusize, 0, 1, 9999)
-
- DEF_UT_TABLE("unit-size-in-terrain", ut_size,
- "how much space a unit takes up in a cell",
- utsize, constutsize, 0, 1, 9999)
-
- DEF_UM_TABLE("unit-storage-x", um_storage_x,
- "capacity for each material type",
- umstoragex, constumstoragex, 0, 0, 9999)
-
- DEF_UM_TABLE("unload-max", um_unload_max,
- "maximum amount of material that may be removed by a transfer action",
- umunloadmax, constumunloadmax, -1, -1, 9999)
-
- DEF_UT_TABLE("vanishes-on", ut_vanishes_on,
- "true if a unit in the terrain simply vanishes",
- utvanisheson, constutvanisheson, 0, 0, 1)
-
- DEF_UT_TABLE("visibility", ut_visibility,
- "base chance to see unit when in terrain",
- utvisibility, constutvisibility, 0, 100, 100)
-
- DEF_UT_TABLE("vision-night-effect", ut_vision_night_effect,
- "effect of night on vision",
- utvisionnighteffect, constutvisionnighteffect, 0, 100, 9999)
-
- DEF_UU_TABLE("withdraw-chance-per-attack", uu_withdraw_per_attack,
- "chance that a unit will retreat to avoid an attack",
- uuwithdrawattack, constuuwithdrawattack, 0, 0, 100)
-
- DEF_UT_TABLE("wrecks-on", ut_wrecks_on,
- "true if a unit in the terrain becomes wrecked",
- utwreckson, constutwreckson, 0, 0, 1)
-
- DEF_UT_TABLE("zoc-into-terrain", ut_zoc_into,
- "true if a unit exerts its ZOC into a type of terrain",
- utzocinto, constutzocinto, 0, 1, 1)
-
- DEF_UT_TABLE("zoc-from-terrain-effect", ut_zoc_from_terrain,
- "effects of a unit's terrain on its ZOC",
- utzocfromterrain, constutzocfromterrain, 0, 100, 9999)
-
- DEF_UU_TABLE("zoc-range", uu_zoc_range,
- "distance to which ZOC is exerted",
- uuzocrange, constuuzocrange, -1, 0, 9999)
-
- DEF_UU_TABLE("zz-basic-hit-worth", uu_zz_bhw,
- "",
- uuzzbhw, constuuzzbhw, 0, 0, 0)
-
- DEF_UU_TABLE("zz-basic-capture-worth", uu_zz_bcw,
- "",
- uuzzbcw, constuuzzbcw, 0, 0, 0)
-
- DEF_UU_TABLE("zz-basic-transport-worth", uu_zz_btw,
- "",
- uuzzbtw, constuuzzbtw, 0, 0, 0)
-