/* Definitions of all the tables in Xconq GDL.
   Copyright (C) 1991-1999 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, TABHI, TABINT)

DEF_UT_TABLE("accident-hit-chance", ut_accident_hit,
	"chance to be hit in given terrain type, as .01% chance",
	utaccidenthit, constaccidenthit, 0, 0, TABHI, TABINT)

DEF_UT_TABLE("accident-vanish-chance", ut_accident_vanish,
	"chance to vanish in given terrain type, as .01% chance",
	utaccidentvanish, constaccidentvanish, 0, 0, TABHI, TABINT)

DEF_UU_TABLE("acp-for-retreat", uu_acp_retreat,
	"extra acp available when retreating",
	uuacpretreat, constuuacpretreat, TABLO, 0, TABHI, TABINT)

DEF_UT_TABLE("acp-night-effect", ut_acp_night_effect,
	"effect of night on acp",
	utacpnighteffect, constutacpnighteffect, 0, 100, TABHI, TABINT)

DEF_UU_TABLE("acp-occupant-effect", uu_acp_occ_effect,
	"effect of occupants on acp",
	uuacpocceffect, constuuacpocceffect, 0, 100, TABHI, TABINT)

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, TABHI, TABINT)

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, TABHI, TABINT)

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, TABHI, TABINT)

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, TABHI, TABINT)

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, TABHI, TABINT)

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, TABHI, TABINT)

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, TABHI, TABINT)

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, TABHI, TABINT)

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, TABHI, TABINT)

DEF_UM_TABLE("acp-to-extract", um_acp_to_extract,
	"",
	umacptoextract, constumacptoextract, 0, 0, TABHI, TABINT)

DEF_UM_TABLE("acp-to-load", um_acp_to_load,
	"",
	umacptoload, constumacptoload, 0, 0, TABHI, TABINT)

DEF_UT_TABLE("acp-to-remove-terrain", ut_acp_to_remove_terrain,
	"acp needed to remove a type of terrain",
	utacptoremoveterrain, constutacptoremoveterrain, 0, 0, TABHI, TABINT)

DEF_UM_TABLE("acp-to-produce", um_acp_to_produce,
	"",
	umacptoproduce, constumacptoproduce, 0, 0, TABHI, TABINT)

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, TABHI, TABINT)

DEF_UU_TABLE("acp-to-develop", uu_acp_to_develop,
	"acp needed by one type of unit to develop another type",
	uuacptodevelop, constuuacptodevelop, 0, 0, TABHI, TABINT)

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, TABHI, TABINT)

DEF_UM_TABLE("acp-to-unload", um_acp_to_unload,
	"",
	umacptounload, constumacptounload, 0, 0, TABHI, TABINT)

DEF_TT_TABLE("adjacent-terrain-effect", tt_adj_terr_effect,
	"effect of adjacent terrain on another",
	ttadjterreffect, constttadjterreffect, -1, -1, MAXTTYPES, TABINT)

DEF_AM_TABLE("advance-consumption-per-rp", am_consumption_per_rp,
	"amount of material consumed to add one research point to this advance",
	amconsumptionperrp, constamconsumptionperrp, 0, 0, TABHI, TABINT)

DEF_UA_TABLE("advance-needed-to-build", ua_needed_to_build,
	"advance(s) needed to build this type of unit",
	uaneededtobuild, constuaneededtobuild, 0, 0, 1, TABINT)

DEF_AA_TABLE("advance-needed-to-research", aa_needed_to_research,
	"advance(s) needed to start research on this advance",
	aaneededtoresearch, constaaneededtoresearch, 0, 0, 1, TABINT)

DEF_UT_TABLE("alter-terrain-range", ut_alter_range,
	"distance at which a unit can alter terrain",
	utalterrange, constutalterrange, 0, 0, TABHI, TABINT)

DEF_UT_TABLE("altitude-max", ut_alt_max,
	"how high unit can go in the terrain",
	utaltmax, constutaltmax, TABLO, 0, TABHI, TABINT)

DEF_UT_TABLE("altitude-min", ut_alt_min,
	"how low unit can go in the terrain",
	utaltmin, constutaltmin, TABLO, 0, TABHI, TABINT)

DEF_UU_TABLE("attack-range", uu_attack_range,
	"maximum distance at which a unit may attack",
	uuattackrange, constuuattackrange, -1, 1, TABHI, TABINT)

DEF_UU_TABLE("attack-range-min", uu_attack_range_min,
	"minimum distance at which a unit may attack",
	uuattackrangemin, constuuattackrangemin, -1, 0, TABHI, TABINT)

DEF_UT_TABLE("attack-terrain-effect", ut_attack_terrain_effect,
	"effect of terrain on an attack's hit chance",
	utattackterraineffect, constutattackterraineffect, 0, 100, TABHI, TABINT)

DEF_UT_TABLE("attrition", ut_attrition,
	"base chance to lose hp in given terrain type",
	utattrition, constutattrition, 0, 0, TABHI, TABINT)

DEF_UU_TABLE("auto-repair", uu_auto_repair,
	"amount of automatic repair of damage",
	uuautorepair, constuuautorepair, 0, 0, TABHI, TABINT)

DEF_UU_TABLE("auto-repair-range", uu_auto_repair_range,
	"distance up to which automatic repair of damage can occur",
	uuautorepairrange, constuuautorepairrange, -1, 0, TABHI, TABINT)

DEF_UM_TABLE("base-consumption", um_base_consumption,
	"basic amount of supply consumption in each turn",
	umbaseconsumption, constumbaseconsumption, 0, 0, TABHI, TABINT)

DEF_UM_TABLE("base-production", um_base_production,
	"basic amount of supply production",
	umbaseproduction, constumbaseproduction, 0, 0, TABHI, TABINT)

DEF_UT_TABLE("body-height", ut_body_height,
	"effective height of a unit's body in a type of terrain",
	utbodyheight, constutbodyheight, TABLO, 0, TABHI, TABINT)

DEF_UU_TABLE("bridge", uu_bridge,
	"whether an assault can cross to a unit on impassable terrain",
	uubridge, constbridge, 0, 0, TABHI, TABINT)

DEF_UU_TABLE("build-range", uu_build_range,
	"max distance between unit and unit being worked on",
	uubuildrange, constuubuildrange, -1, 0, TABHI, TABINT)

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, TABINT)

DEF_UT_TABLE("capacity-negation", ut_capacity_neg,
	"true if the unit negates capacity of connections of the terrain type",
	utcapacityneg, constutcapacityneg, 0, 0, 1, TABINT)

DEF_UU_TABLE("capture-chance", uu_capture,
	"base chance for one type of unit to capture another type",
	uucapture, constuucapture, 0, 0, 100, TABINT)

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, TABINT)

DEF_TT_TABLE("coating-depth-max", tt_coat_max,
	"max depth of coating type over another type of terrain",
	ttcoatmax, constttcoatmax, 0, 0, TABHI, TABINT)

DEF_TT_TABLE("coating-depth-min", tt_coat_min,
	"min depth of coating type over another type of terrain",
	ttcoatmin, constttcoatmin, 0, 0, TABHI, TABINT)

DEF_UM_TABLE("consumption-as-occupant", um_consumption_as_occupant,
	"effect of being an occupant on base consumption",
	umconsumpasoccupant, constumconsumpasoccupant, 0, 100, TABHI, TABINT)

DEF_UM_TABLE("consumption-on-creation", um_consumption_on_creation,
	"amount of material used by any creator to create a type of unit",
	umconsumponcreation, constumconsumponcreation, TABLO, 0, TABHI, TABINT)

DEF_TM_TABLE("consumption-per-add-terrain", tm_consumption_per_add_terrain,
	"amount of material consumed by adding terrain",
	tmconsumpperaddterr, consttmconsumpperaddterr, 0, 0, TABHI, TABINT)

DEF_UM_TABLE("consumption-per-attack", um_consumption_per_attack,
	"amount of material used up by an attack action",
	umconsumpperattack, constumconsumpperattack, TABLO, 0, TABHI, TABINT)

DEF_UM_TABLE("consumption-per-build", um_consumption_per_build,
	"amount of material used up by a build action",
	umconsumpperbuild, constumconsumpperbuild, TABLO, 0, TABHI, TABINT)

DEF_UM_TABLE("consumption-per-fire", um_consumption_per_fire,
	"amount of material used up by a fire action",
	umconsumpperfire, constumconsumpperfire, TABLO, -1, TABHI, TABINT)

DEF_UM_TABLE("consumption-per-move", um_consumption_per_move,
	"amount of material used up by a move action",
	umconsumppermove, constumconsumppermove, TABLO, 0, TABHI, TABINT)

DEF_UM_TABLE("consumption-per-repair", um_consumption_per_repair,
	"amount of material used up by any repair action on a type of unit",
	umconsumpoperrepair, constumconsumpperrepair, TABLO, 0, TABHI, TABINT)

DEF_UT_TABLE("control-range", ut_control_range,
	"distance out to which a unit can get control of terrain",
	utcontrolrange, constutcontrolrange, -1, -1, TABHI, TABINT)

DEF_UT_TABLE("keep-control-range", ut_keep_control_range,
	"distance out to which a unit can keep control of terrain",
	utkeepcontrolrange, constutkeepcontrolrange, -1, -1, TABHI, TABINT)

DEF_UU_TABLE("counterattack", uu_counterattack,
	"normal strength of reaction to direct attack",
	uucounterattack, constuucounterattack, 0, 100, TABHI, TABINT)

DEF_UU_TABLE("countercapture", uu_countercapture,
	"normal strength of reaction to capture attempts",
	uucountercapture, constuucountercapture, 0, 0, TABHI, TABINT)

DEF_UU_TABLE("cp-on-creation", uu_creation_cp,
	"completeness point of the unit when first created",
	uucreationcp, constuucreationcp, 0, 1, TABHI, TABINT)

DEF_UU_TABLE("cp-per-build", uu_cp_per_build,
	"completeness points added by one build action",
	uucpperbuild, constuucpperbuild, 0, 1, TABHI, TABINT)

DEF_UU_TABLE("create-range", uu_create_range,
	"max distance between unit and unit being created",
	uucreaterange, constuucreaterange, 0, 0, TABHI, TABINT)

DEF_UU_TABLE("cxp-per-capture", uu_cxp_per_capture,
	"combat experience gained from attempting to capture",
	uucxppercapture, constuucxppercapture, 0, 0, TABHI, TABINT)

DEF_UU_TABLE("cxp-per-combat", uu_cxp_per_combat,
	"combat experience gained from attack or defense",
	uucxppercombat, constuucxppercombat, 0, 0, TABHI, TABINT)

DEF_UU_TABLE("damage", uu_damage,
	"points of damage that one unit will inflict on another",
	uudamage, constuudamage, 0, 0, TABHI, TABDICE)

DEF_UU_TABLE("damage-cxp-effect", uu_damage_cxp,
	"effect of combat experience on damage",
	uudamagecxp, constuudamagecxp, 0, 100, TABHI, TABINT)

DEF_UT_TABLE("defend-terrain-effect", ut_defend_terrain_effect,
	"effect of defender's terrain on attack results",
	utdefendterraineffect, constutdefendterraineffect, 0, 100, TABHI, TABINT)

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, TABHI, TABINT)

DEF_UU_TABLE("detonate-on-capture", uu_detonate_on_capture,
	"chance that a unit will detonate when captured",
	uudetonateoncapture, constdetonateoncapture, 0, 0, 100, TABINT)

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, TABINT)

DEF_UT_TABLE("detonation-accident-chance", ut_detonation_accident,
	"chance of an accidental detonation",
	utdetonationaccident, constutdetonationaccident, 0, 0, TABHI, TABINT)

DEF_UU_TABLE("detonation-damage-adjacent", uu_detonation_damage_adj,
	"damage done to units adjacent to a detonation",
	uudetonationdamageadj, constuudetonationdamageadj, 0, 0, TABHI, TABINT)

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, TABHI, TABINT)

DEF_UT_TABLE("detonation-terrain-range", ut_detonation_range,
	"distance for detonation effects on terrain",
	utdetonationrange, constutdetonationrange, 0, 0, TABHI, TABINT)

DEF_UU_TABLE("detonation-unit-range", uu_detonation_range,
	"distance for detonation effects on units",
	uudetonationrange, constuudetonationrange, 0, 0, TABHI, TABINT)

DEF_UT_TABLE("detonation-terrain-damage-chance", ut_detonation_damage,
	"chance that detonation will damage a type of terrain",
	utdetonationdamage, constutdetonationdamage, 0, 0, 100, TABINT)

DEF_TT_TABLE("drawable-terrain", tt_drawable,
	"true if connection should be drawn over cell type",
	ttdrawable, constttdrawable, 0, 1, 1, TABINT)

DEF_UT_TABLE("eye-height", ut_eye_height,
	"effective height of a unit's eyes in a type of terrain",
	uteyeheight, constuteyeheight, TABLO, 0, TABHI, TABINT)

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, TABINT)

DEF_UU_TABLE("ferry-on-entry", uu_ferry_on_enter,
	"amount of intervening terrain that transport will take entering units over",
	uuferryonenter, constuuferryonenter, 0, 2, 3, TABINT)

DEF_UU_TABLE("ferry-on-departure", uu_ferry_on_leave,
	"amount of intervening terrain that transport will take leaving units over",
	uuferryonleave, constuuferryonleave, 0, 2, 3, TABINT)

DEF_UT_TABLE("fire-attack-terrain-effect", ut_fire_attack_terrain_effect,
	"effect of attacking unit's terrain on fire hit chance",
	utfireattackterraineffect, constfireutattackterraineffect, 0, 100, TABHI, TABINT)

DEF_UU_TABLE("fire-damage", uu_fire_damage,
	"damage that a unit will inflict on another by firing at it",
	uufiredamage, constuufiredamage, -1, -1, 32767, TABINT)

DEF_UT_TABLE("fire-defend-terrain-effect", ut_fire_defend_terrain_effect,
	"effect of defending unit's terrain on fire hit chance",
	utfiredefendterraineffect, constfireutdefendterraineffect, 0, 100, TABHI, TABINT)

DEF_UU_TABLE("fire-hit-chance", uu_fire_hit,
	"base chance for a unit to hit another unit by firing at it",
	uufirehitchance, constuufirehitchance, -1, -1, 100, TABINT)

DEF_UM_TABLE("gives-to-treasury", um_gives_to_treasury,
	"true if unit transfers all supply to treasury",
	umgivestotreasury, constumgivestotreasury, 0, 0, 1, TABINT)

DEF_UU_TABLE("hp-min", uu_hp_min,
	"minimum below which attacker cannot reduce a defender's HP",
	uuhpmin, constuuhpmin, 0, 0, TABHI, TABINT)

DEF_UU_TABLE("hp-to-garrison", uu_hp_to_garrison,
	"hp of a unit that gets used up to garrison a capture",
	uuhptogarrison, constuuhptogarrison, 0, 0, TABHI, TABINT)

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, TABHI, TABINT)

DEF_UM_TABLE("hit-by", um_hit_by,
	"kind of ammo that hits unit",
	umhitby, constumhitby, 0, 0, TABHI, TABINT)

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, TABINT)

DEF_UU_TABLE("hit-cxp-effect", uu_hit_cxp,
	"effect of combat experience on hit chance",
	uuhitcxp, constuuhitcxp, 0, 100, TABHI, TABINT)

DEF_UU_TABLE("hp-per-repair", uu_repair,
	"HP restored by a repair action",
	uuhprepair, constuuhprepair, 0, 0, TABHI, TABINT)

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, TABHI, TABINT)

DEF_UM_TABLE("hp-per-starve", um_hp_per_starve,
	"HP lost/gained per turn of starvation",
	umhpstarve, constumhpstarve, TABLO, 0, TABHI, TABINT)

DEF_UM_TABLE("in-length", um_inlength,
	"length of supply line coming in",
	uminlength, constuminlength, -1, 0, TABHI, TABINT)

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, TABINT)

DEF_UT_TABLE("independent-density", ut_indep_density,
	"likelihood of an indep unit type on a terrain type",
	utindepdensity, constutindepdensity, 0, 0, 10000, TABINT)

DEF_UM_TABLE("load-max", um_load_max,
	"maximum of material that may be added by a transfer action",
	umloadmax, constumloadmax, -1, -1, TABHI, TABINT)

DEF_UU_TABLE("looks-like", uu_looks_like,
	"weights for resemblance of units to each other",
	uulookslike, constuulookslike, 0, 0, TABHI, TABINT)

DEF_UT_TABLE("lose-track-chance", ut_lose_track,
	"chance to lose track of a unit in some terrain",
	utlosetrack, constutlosetracks, 0, 0, 10000, TABINT)

DEF_UU_TABLE("lost-surrender-chance", uu_lost_surrender,
	"chance that a unit on a losing side will surrender to another",
	uulostsurrender, constuulostsurrender, 0, 0, 10000, TABINT)

DEF_UM_TABLE("material-per-production", um_material_per_production,
	"amount of material created by a production action",
	umperproduction, constumperproduction, 0, 0, TABHI, TABINT)

DEF_TM_TABLE("material-per-remove-terrain", tm_material_per_remove_terrain,
	"amount of material created by terrain removal",
	tmperremoveterr, consttmperremoveterr, 0, 0, TABHI, TABINT)

DEF_UM_TABLE("material-to-act", um_to_act,
	"supplies needed to be able to act at all",
	umtoact, constumtact, 0, 0, TABHI, TABINT)

DEF_UM_TABLE("material-to-build", um_to_build,
	"supplies needed to be able to work on a unit",
	umtobuild, constumtobuild, 0, 0, TABHI, TABINT)

DEF_UM_TABLE("material-to-add-terrain", um_to_add_terrain,
	"supplies needed to be able to add terrain",
	umtoaddterrain, constumtoaddterrain, 0, 0, TABHI, TABINT)

DEF_UM_TABLE("material-to-attack", um_to_attack,
	"supplies needed to be able to do close combat",
	umtoattack, constumtoattack, 0, 0, TABHI, TABINT)

DEF_UM_TABLE("material-to-change-type", um_to_change_type,
	"supplies needed to be able to change type",
	umtochangetype, constumtochangetype, 0, 0, TABHI, TABINT)

DEF_UM_TABLE("material-to-create", um_to_create,
	"supplies needed to be able to create",
	umtocreate, constumtocreate, 0, 0, TABHI, TABINT)

DEF_UM_TABLE("material-to-extract", um_to_extract,
	"supplies needed to be able to extract anything",
	umtoextract, constumtoextract, 0, 0, TABHI, TABINT)

DEF_UM_TABLE("material-to-fire", um_to_fire,
	"supplies needed to be able to fire at anything",
	umtofire, constumtofire, -1, -1, TABHI, TABINT)

DEF_UM_TABLE("material-to-move", um_to_move,
	"supplies needed to be able to move",
	umtomove, constumtomove, 0, 0, TABHI, TABINT)

DEF_UM_TABLE("material-to-produce", um_to_produce,
	"supplies needed to be able to produce anything",
	umtoproduce, constumtoproduce, 0, 0, TABHI, TABINT)

DEF_UM_TABLE("material-to-remove-terrain", um_to_remove_terrain,
	"supplies needed to be able to remove terrain",
	umtoremoveterrain, constumtoremoveterrain, 0, 0, TABHI, TABINT)

DEF_UM_TABLE("material-to-develop", um_to_develop,
	"supplies needed to be able to do development",
	umtodevelop, constumtodevelop, 0, 0, TABHI, TABINT)

DEF_UM_TABLE("material-to-repair", um_to_repair,
	"supplies needed to be able to repair anything",
	umtorepair, constumtorepair, 0, 0, TABHI, TABINT)

DEF_UU_TABLE("morale-hit", uu_morale_hit,
	"morale gained from successful hit",
	uumoralehit, constuumoralehit, TABLO, 0, TABHI, TABINT)

DEF_UU_TABLE("morale-hit-by", uu_morale_hit_by,
	"morale lost when hit by another",
	uumoralehitby, constuumoralehitby, TABLO, 0, TABHI, TABINT)

DEF_UU_TABLE("morale-on-creation", uu_creation_morale,
	"morale of the unit when first created, as ratio of creator's morale",
	uucreationmorale, constuucreationmorale, 0, 100, TABHI, TABINT)

DEF_UT_TABLE("morale-terrain-effect", ut_morale_terrain_effect,
	"effect of terrain on morale",
	utmoraleterraineffect, constutmoraleterraineffect, TABLO, 0, TABHI, TABINT)

DEF_UU_TABLE("mp-to-enter-own", uu_mp_to_enter_own,
	"mp needed to enter the same cell as another type of unit",
	uumptoenterown, constuumptoenterown, -1, -1, TABHI, TABINT)

DEF_UT_TABLE("mp-to-enter-terrain", ut_mp_to_enter,
	"mp needed to enter the terrain",
	utmptoenter, constutmptoenter, -1, 1, TABHI, TABINT)

DEF_UU_TABLE("mp-to-enter-unit", uu_mp_to_enter,
	"mp needed to enter a type of unit",
	uumptoenter, constuumptoenter, -1, 0, TABHI, TABINT)

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, TABHI, TABINT)

DEF_UT_TABLE("mp-to-leave-terrain", ut_mp_to_leave,
	"mp needed to leave a type of terrain",
	utmptoleave, constutmptoleave, -1, 0, TABHI, TABINT)

DEF_UU_TABLE("mp-to-leave-unit", uu_mp_to_leave,
	"mp needed to leave a type of unit",
	uumptoleave, constuumptoleave, -1, 0, TABHI, TABINT)

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, TABHI, TABINT)

DEF_UT_TABLE("mp-to-traverse", ut_mp_to_traverse,
	"mp needed to move along a connection or border",
	utmptotraverse, constutmptotraverse, -1, -1, TABHI, TABINT)

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, TABHI, TABINT)

DEF_UM_TABLE("occupant-base-production", um_occ_production,
	"amount of material automatically produced by an occupant",
	umoccproduction, constumoccproduction, -1, -1, TABHI, TABINT)

DEF_UU_TABLE("occupant-can-construct", uu_occ_can_build,
	"true if a type of occupant can build",
	uuocccanbuild, constuuocccanbuild, 0, 1, 1, TABINT)

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, TABINT)

DEF_UU_TABLE("occupant-combat", uu_occ_combat,
	"effect of being an occupant on combat performance",
	uuocccombat, constuuocccombat, 0, 100, TABHI, TABINT)

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, TABINT)

DEF_UU_TABLE("occupant-max", uu_occ_max,
	"extra ceiling on total number of a type",
	uuoccmax, constuuoccmax, -1, -1, TABHI, TABINT)

DEF_UU_TABLE("occupant-vision", uu_occ_can_see,
	"true if a type of occupant can see",
	uuocccansee, constuuocccansee, 0, 1, 1, TABINT)

DEF_UU_TABLE("opinions-on-creation", uu_creation_opinions,
	"opinions of the unit when first created, as ratio of creator's opinions",
	uucreationopinions, constuucreationopinions, 0, 100, TABHI, TABINT)

DEF_UM_TABLE("out-length", um_outlength,
	"length of supply line going out",
	umoutlength, constoutlength, -1, 0, TABHI, TABINT)

DEF_MM_TABLE("people-consumption", mm_people_consumption,
	"amount of material consumption by people",
	mmpeopleconsumption, constmmpeopleconsumption, 0, 0, TABHI, TABINT)

DEF_MM_TABLE("people-production", mm_people_production,
	"amount of material production by people",
	mmpeopleproduction, constmmpeopleproduction, 0, 0, TABHI, TABINT)

DEF_UM_TABLE("people-see-chance", um_people_see,
	"base chance for a type of people to see unit",
	umpeoplesee, constumpeoplesee, 0, 100, 100, TABINT)

DEF_UT_TABLE("people-surrender-chance", ut_people_surrender,
	"Chance that people will surrender to occupying unit",
	utpeoplesurrender, constutpeoplesurrender, 0, 0, 100, TABINT)

DEF_UM_TABLE("people-surrender-effect", um_people_surrender,
	"effect of people type on surrender chance",
	umpeoplesurrender, constumpeoplesurrender, 0, 100, TABHI, TABINT)

DEF_UT_TABLE("productivity", ut_productivity,
	"effect of terrain on production",
	utproductivity, constproductivity, 0, 100, TABHI, TABINT)

DEF_UT_TABLE("productivity-adjacent", ut_productivity_adj,
	"effect of adjacent terrain on production",
	utproductivityadj, constproductivityadj, 0, 0, TABHI, TABINT)

DEF_UM_TABLE("productivity-max", um_productivity_max,
	"upper limit on productivity for a material",
	umproductivitymax, constumproductivitymax, 0, TABHI, TABHI, TABINT)

DEF_UM_TABLE("productivity-min", um_productivity_min,
	"lower limit on productivity for a material",
	umproductivitymin, constumproductivitymin, 0, 0, TABHI, TABINT)

DEF_UU_TABLE("protection", uu_protection,
	"The degree to which transports protect occupants and vice versa",
	uuprotection, constuuprotection, 0, 100, TABHI, TABINT)

DEF_UM_TABLE("recycleable-material", um_recycleable,
	"amount of material recoverable from a unit being disbanded",
	umrecycleable, constumrecycleable, 0, 0, TABHI, TABINT)

DEF_UU_TABLE("retreat-chance", uu_retreat_chance,
	"chance to retreat after combat",
	uuretreatchance, constuuretreatchance, 0, 0, 100, TABINT)

DEF_UU_TABLE("road-chance", uu_road_chance,
	"chance for a road from one type to another",
	uuroadchance, constuuroadchance, 0, 0, 100, TABINT)

DEF_TT_TABLE("road-into-chance", tt_road_into_chance,
	"chance for type of road into type of terrain",
	ttroadintochance, constttroadintochance, 0, 0, 100, TABINT)

DEF_UU_TABLE("scuttle-chance", uu_scuttle,
	"base chance for u1 to wreck self to avoid capture by u2",
	uuscuttle, constscuttle, 0, 0, 100, TABINT)

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, TABINT)

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, TABINT)

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, TABINT)

DEF_TM_TABLE("see-material-always", tm_see_always,
	"true if material in terrain accurately seen all the time",
	tmseealways, consttmseealways, 0, 1, 1, TABINT)

DEF_UU_TABLE("see-mistake-chance", uu_see_mistake,
	"chance for a type of unit to identify another type wrongly",
	uuseemistake, constuuseemistake, 0, 0, 10000, TABINT)

DEF_UU_TABLE("see-others-if-captured", uu_see_others_captured,
	"chance to see other units when one captured",
	uuseeotherscap, constuuseeotherscap, 0, 0, 100, TABINT)

DEF_UU_TABLE("speed-occupant-effect", uu_speed_occ_effect,
	"effect of occupants on transport speed",
	uuspeedocceffect, constuuspeedocceffect, 0, 100, TABHI, TABINT)

DEF_UU_TABLE("spy-quality", uu_spy_quality,
	"chance for u1 to return info about u2 when spied upon",
	uuspyquality, constspyquality, 0, 100, 100, TABINT)

DEF_UU_TABLE("spy-track-chance", uu_spy_track,
	"chance that a spy will gain tracking on a unit",
	uuspytrack, constuuspytrack, 0, 0, 10000, TABINT)

DEF_UU_TABLE("stack-protection", uu_stack_protection,
	"the degree to which units in same cell protect each other",
	uustackprotection, constuustackprotection, 0, 100, TABHI, TABINT)

DEF_UM_TABLE("supply-on-creation", um_created_supply,
	"materials created for a newly created unit",
	umcreatedsupply, constumcreatedsupply, 0, 0, TABHI, TABINT)

DEF_UM_TABLE("supply-on-completion", um_completed_supply,
	"materials created for a newly completed unit",
	umcompletedsupply, constumcompletedsupply, 0, 0, TABHI, TABINT)

DEF_UM_TABLE("supply-per-disband", um_supply_per_disband,
	"amount of supply recovered from a disband action",
	umsupplyperdisband, constumsupplyperdisband, 0, 0, TABHI, TABINT)

DEF_UU_TABLE("surrender-chance", uu_surrender_chance,
	"base chance for a unit to surrender to another nearby",
	uusurrenderchance, constuusurrenderchance, 0, 0, TABHI, TABINT)

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, TABINT)

DEF_UU_TABLE("surrender-range", uu_surrender_range,
	"distance out to which a unit will surrender",
	uusurrenderrange, constuusurrenderrange, 0, 0, TABHI, TABINT)

DEF_UM_TABLE("takes-from-treasury", um_takes_from_treasury,
	"true if unit can take supply from treasury",
	umtakesfromtreasury, constumtakesfromtreasury, 0, 0, 1, TABINT)

DEF_UU_TABLE("tech-crossover", uu_tech_crossover,
	"effect of tech for one type on tech for another type",
	uutechcross, constuutechcross, 0, 0, 100, TABINT)

DEF_UU_TABLE("tech-per-develop", uu_tech_per_develop,
	".01 tech increase from one development action",
	uutechperdevelop, constuutechperdevelop, 0, 0, TABHI, TABINT)

DEF_UU_TABLE("temperature-protection", uu_temp_protect,
	"true if the transport protects the occupant from temperature effects",
	uutempprotect, constuutempprotect, 0, 0, 1, TABINT)

DEF_TM_TABLE("terrain-consumption", tm_consumption,
	"amount of material consumption by a cell each turn",
	tmconsumption, consttmconsumption, 0, 0, TABHI, TABINT)

DEF_UT_TABLE("terrain-capacity-x", ut_capacity_x,
	"number of units that can always be in terrain",
	utcapacityx, constutcapacityx, 0, 0, TABHI, TABINT)

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, TABHI, TABINT)

DEF_TM_TABLE("terrain-exhaustion-type", tm_exhaust_type,
	"type of terrain that will replace terrain that loses all of a material",
	tmexhausttype, consttmexhausttype, 0, NONTTYPE, NONTTYPE, TABINT)

DEF_TM_TABLE("terrain-initial-supply", tm_initial,
	"amount of each material that a cell starts with",
	tminitial, consttminitial, 0, 0, TABHI, TABINT)

DEF_TM_TABLE("terrain-production", tm_production,
	"amount of material production by a cell each turn",
	tmproduction, consttmproduction, 0, 0, TABHI, TABINT)

DEF_TM_TABLE("terrain-storage-x", tm_storage_x,
	"amount of each material that a cell can hold",
	tmstoragex, consttmstoragex, 0, 0, TABHI, TABINT)

DEF_UU_TABLE("tp-damage", uu_tp_damage,
	"possible damage to tooling as a result of being hit",
	uutpdamage, constuutpdamage, TABLO, 0, TABHI, TABDICE)

DEF_UU_TABLE("tp-max", uu_tp_max,
	"maximum possible tooling",
	uutpmax, constuutpmax, 0, 0, TABHI, TABINT)

DEF_UU_TABLE("tp-per-toolup", uu_tp_per_toolup,
	"tooling points gained from a toolup action",
	uutppertoolup, constuutppertoolup, 0, 1, TABHI, TABINT)

DEF_UU_TABLE("tp-to-build", uu_tp_to_build,
	"tooling points needed to build a unit",
	uutptobuild, constuutptobuild, 0, 0, TABHI, TABINT)

DEF_UU_TABLE("tp-attrition", uu_tp_attrition,
	"loss of tooling points each turn",
	uutpattrition, constuutpattrition, 0, 0, TABHI, TABINT)

DEF_UU_TABLE("tp-crossover", uu_tp_crossover,
	"effect of tooling for one type on tooling for another type",
	uutpcrossover, constuutpcrossover, 0, 0, 100, TABINT)

DEF_UU_TABLE("track-chance", uu_track,
	"chance that a unit will gain tracking on another",
	uutrackchance, constuutrackchance, 0, 0, 10000, TABINT)

DEF_UU_TABLE("unit-control-chance", uu_control,
	"base chance that a unit can control another",
	uucontrol, constuucontrol, -1, 0, 100, TABINT)

DEF_UU_TABLE("unit-control-chance-adjacent", uu_control_adj,
	"base chance that a unit can control another in an adjacent cell",
	uucontroladj, constuucontroladj, -1, 0, 100, TABINT)

DEF_UU_TABLE("unit-control-chance-at", uu_control_at,
	"base chance that a unit can control another in the same cell",
	uucontrolat, constuucontrolat, -1, 0, 100, TABINT)

DEF_UU_TABLE("unit-control-range", uu_control_range,
	"distance out to which a unit can control another unit",
	uucontrolrange, constuucontrolrange, -1, 0, TABHI, TABINT)

DEF_UM_TABLE("unit-initial-supply", um_initial,
	"amount of each material that a unit starts with",
	utinitial, constinitial, 0, 0, TABHI, TABINT)

DEF_UU_TABLE("unit-capacity-x", uu_capacity_x,
	"carrying capacity reserved for unit type",
	uucapacityx, constuucapacityx, 0, 0, TABHI, TABINT)

DEF_UM_TABLE("unit-consumption-per-cp", um_consumption_per_cp,
	"amount of material consumed to add one cp to this unit type",
	umconsumptionpercp, constumconsumptionpercp, 0, 0, TABHI, TABINT)

DEF_UM_TABLE("unit-consumption-per-size", um_consumption_per_size,
	"amount of material consumed each turn to maintain one size point of this unit type",
	umconsumptionpersize, constumconsumptionpersize, 0, 0, TABHI, TABINT)

DEF_UM_TABLE("unit-consumption-to-grow", um_consumption_to_grow,
	"amount of material consumed to increase the size of this unit type by one",
	umconsumptiontogrow, constumconsumptiontogrow, 0, 0, TABHI, TABINT)

DEF_UM_TABLE("occupant-add-production", um_occ_add_production,
	"additive effect on production due to occupant/facility",
	umoccaddproduction, constumoccaddproduction, TABLO, 0, TABHI, TABINT)

DEF_UM_TABLE("occupant-multiply-production", um_occ_mult_production,
	"multiplicative effect (in %) on production due to occupant/facility",
	umoccmultproduction, constumoccmultproduction, 0, 100, TABHI, TABINT)

DEF_AM_TABLE("advance-add-production", am_adv_add_production,
	"additive effect on city production due to copleted advance",
	amadvaddproduction, constamadvaddproduction, TABLO, 0, TABHI, TABINT)

DEF_AM_TABLE("advance-multiply-production", am_adv_mult_production,
	"multiplicative effect (in %) on city production due to completed advance",
	amadvmultproduction, constamadvmultproduction, 0, 100, TABHI, TABINT)

DEF_UA_TABLE("size-limit-without-advance", ua_size_limit_without_adv,
	"limit on the unit's size in the absence of this advance",
	uasizelimitwithoutadv, constuasizelimitwithoutadv, 0, TABHI, TABHI, TABINT)

DEF_UU_TABLE("size-limit-without-occupant", uu_size_limit_without_occ,
	"limit on the unit's size in the absence of  this occupant",
	uusizelimitwithoutocc, constuusizelimitwithoutocc, 0, TABHI, TABHI, TABINT)

DEF_UU_TABLE("occ-add-maxcells", uu_occ_add_maxcells,
	"extra cells that can be used by unit containing occ",
	uuoccaddmaxcells, constuuoccaddmaxcells, TABLO, 0, TABHI, TABINT)

DEF_UU_TABLE("occ-multiply-maxcells", uu_occ_mult_maxcells,
	"mulitplicative effect by occ on cells that can be used by unit",
	uuoccmultmaxcells, constuuoccmultmaxcells, 0, 100, TABHI, TABINT)

DEF_UA_TABLE("advance-add-maxcells", ua_adv_add_maxcells,
	"extra cells that can be used by unit when advance has been completed",
	uaadvaddmaxcells, constuaadvaddmaxcells, TABLO, 0, TABHI, TABINT)

DEF_UA_TABLE("advance-mult-maxcells", ua_adv_mult_maxcells,
	"mulitplicative effect by completed advance on cells that can be used by unit",
	uaadvmultmaxcells, constuaadvmultmaxcells, 0, 100, TABHI, TABINT)

DEF_UU_TABLE("hp-on-completion", uu_hp_on_completion,
	"hps suffered when creator completes construction of another unit",
	uuhponcompletion, constuuhponcompletion, 0, 0, TABHI, TABINT)

DEF_UU_TABLE("unit-size-as-occupant", uu_size,
	"how much space an occupant takes up in the given transport",
	uusize, constuusize, 0, 1, TABHI, TABINT)

DEF_UT_TABLE("unit-size-in-terrain", ut_size,
	"how much space a unit takes up in a cell",
	utsize, constutsize, 0, 1, TABHI, TABINT)

DEF_UM_TABLE("unit-storage-x", um_storage_x,
	"capacity for each material type",
	umstoragex, constumstoragex, 0, 0, TABHI, TABINT)

DEF_UM_TABLE("unload-max", um_unload_max,
	"maximum amount of material that may be removed by a transfer action",
	umunloadmax, constumunloadmax, -1, -1, TABHI, TABINT)

DEF_UT_TABLE("vanishes-on", ut_vanishes_on,
	"true if a unit in the terrain simply vanishes",
	utvanisheson, constutvanisheson, 0, 0, 1, TABINT)
 
DEF_UT_TABLE("visibility", ut_visibility,
	"base chance to see unit when in terrain",
	utvisibility, constutvisibility, 0, 100, 100, TABINT)

DEF_UT_TABLE("vision-night-effect", ut_vision_night_effect,
	"effect of night on vision",
	utvisionnighteffect, constutvisionnighteffect, 0, 100, TABHI, TABINT)

DEF_UT_TABLE("weapon-height", ut_weapon_height,
	"effective height of a unit's weapons in a type of terrain",
	utweaponheight, constutweaponheight, TABLO, 0, TABHI, TABINT)

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, TABINT)

DEF_UT_TABLE("wrecks-on", ut_wrecks_on,
	"true if a unit in the terrain becomes wrecked",
	utwreckson, constutwreckson, 0, 0, 1, TABINT)
 
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, TABINT)

DEF_UT_TABLE("zoc-from-terrain-effect", ut_zoc_from_terrain,
	"effects of a unit's terrain on its ZOC",
	utzocfromterrain, constutzocfromterrain, 0, 100, TABHI, TABINT)

DEF_UU_TABLE("zoc-range", uu_zoc_range,
	"distance to which ZOC is exerted",
	uuzocrange, constuuzocrange, -1, 0, TABHI, TABINT)

DEF_UU_TABLE("zz-basic-hit-worth", uu_zz_bhw,
	"",
	uuzzbhw, constuuzzbhw, 0, 0, 0, TABINT)

DEF_UU_TABLE("zz-basic-fire-worth", uu_zz_bfw,
	"",
	uuzzbfw, constuuzzbfw, 0, 0, 0, TABINT)

DEF_UU_TABLE("zz-basic-capture-worth", uu_zz_bcw,
	"",
	uuzzbcw, constuuzzbcw, 0, 0, 0, TABINT)

DEF_UU_TABLE("zz-basic-transport-worth", uu_zz_btw,
	"",
	uuzzbtw, constuuzzbtw, 0, 0, 0, TABINT)

/* New supply rules tables. */

DEF_UM_TABLE("supply-out-threshold", um_supply_out_threshold,
	"",
	umsupplyoutthreshold, constumsupplyoutthreshold, -1, -1, TABHI, TABINT)

DEF_UM_TABLE("supply-out-max", um_supply_out_max,
	"",
	umsupplyoutmax, constumsupplyoutmax, -1, -1, TABHI, TABINT)

DEF_UM_TABLE("supply-potential", um_supply_potential,
	"",
	umsupplypotential, constumsupplypotential, 0, 0, TABHI, TABINT)

DEF_UT_TABLE("supply-potential-terrain-effect", ut_supply_potential_terrain_effect,
	"",
	utsupplypotentialterraineffect, constutsupplypotentialterraineffect, 0, 100, TABHI, TABINT)

DEF_UM_TABLE("supply-capacity-threshold", um_supply_capacity_threshold,
	"",
	umsupplycapacitythreshold, constumsupplycapacitythreshold, 0, 0, TABHI, TABINT)

DEF_UM_TABLE("supply-capacity-deterioration", um_supply_capacity_deterioration,
	"",
	umsupplycapacitydeterioration, constumsupplycapacitydeterioration, 0, 100, 100, TABINT)

DEF_UU_TABLE("occupant-supply-potential", uu_occupant_supply_potential,
	"",
	uuoccupantsupplypotential, constuuoccupantsupplypotential, 0, 100, TABHI, TABINT)

DEF_UM_TABLE("supply-in-threshold", um_supply_in_threshold,
	"",
	umsupplyinthreshold, constumsupplyinthreshold, 0, 0, TABHI, TABINT)

DEF_UM_TABLE("supply-in-max", um_supply_in_max,
	"",
	umsupplyinmax, constumsupplyinmax, -1, -1, TABHI, TABINT)

DEF_UM_TABLE("supply-in-weight", um_supply_in_weight,
	"",
	umsupplyinweight, constumsupplyinweight, 0, 1, TABHI, TABINT)

DEF_UM_TABLE("supply-starve-weight", um_supply_starve_weight,
	"",
	umsupplystarveweight, constumsupplystarveweight, 0, 1, TABHI, TABINT)

DEF_TM_TABLE("supply-deterioration", tm_supply_deterioration,
	"",
	tmsupplydeterioration, consttmsupplydeterioration, 0, 0, TABHI, TABINT)

DEF_TM_TABLE("supply-enemy-interdiction", tm_supply_enemy_interdiction,
	"",
	tmsupplyenemyinterdiction, consttmsupplyenemyinterdiction, 0, 0, TABHI, TABINT)

DEF_TM_TABLE("supply-neutral-interdiction", tm_supply_neutral_interdiction,
	"",
	tmsupplyneutralinterdiction, consttmsupplyneutralinterdiction, 0, 0, TABHI, TABINT)

DEF_UT_TABLE("supply-interdiction-at", ut_supply_interdiction_at,
	"",
	utsupplyinterdictionat, constutsupplyinterdictionat, 0, 0, TABHI, TABINT)

DEF_UM_TABLE("supply-interdiction-at-for-material", um_supply_interdiction_at_for_material,
	"",
	umsupplyinterdictionatformaterial, constumsupplyinterdictionatformaterial, 0, 100, TABHI, TABINT)

DEF_UT_TABLE("supply-interdiction-adjacent", ut_supply_interdiction_adjacent,
	"",
	utsupplyinterdictionadjacent, constutsupplyinterdictionadjacent, 0, 0, TABHI, TABINT)

DEF_UM_TABLE("supply-interdiction-adjacent-for-material", um_supply_interdiction_adjacent_for_material,
	"",
	umsupplyinterdictionadjacentformaterial, constumsupplyinterdictionadjacentformaterial, 0, 100, TABHI, TABINT)

DEF_UM_TABLE("supply-importance", um_supply_importance,
	"",
	umsupplyimportance, constumsupplyimportance, 0, 0, TABHI, TABINT)

DEF_UU_TABLE("builder-can-reuse-cp", uu_builder_can_reuse_cp,
	"true if builder can reuse accumulated cps if it switches task before completion",
	uubuildercanreusecp, constuubuildercanreusecp, 0, 0, 1, TABINT)

DEF_UU_TABLE("cellwide-protection-against", uu_cellwide_protection_against,
	"protection that first unit provides against specified second unit to all other third units in the same cell",
	uucellwideprotectionagainst, constuucellwideprotectionagainst, 0, 100, TABHI, TABINT)

DEF_UU_TABLE("cellwide-protection-for", uu_cellwide_protection_for,
	"protection that first unit provides to specified second unit in the same cell against all other third units",
	uucellwideprotectionfor, constuucellwideprotectionfor, 0, 100, TABHI, TABINT)

	

