/usr/share/games/freeciv/civ1/units.ruleset is in freeciv-data 2.5.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 | ; Modifying this file:
; You should not modify this file except to make bugfixes or
; for other "maintenance". If you want to make custom changes,
; you should create a new datadir subdirectory and copy this file
; into that directory, and then modify that copy. Then use the
; command "rulesetdir <mysubdir>" in the server to have freeciv
; use your new customized file.
; See classic/units.ruleset for more information.
[datafile]
description="Civ1-style unit_type data for Freeciv"
options="+Freeciv-2.5-ruleset"
[control]
; Names for custom unit type flags. There can be up to 16 of these.
; name = rule name; not translateable, but may be displayed in
; some circumstances
; helptxt = displayed in the help for units with this flag (optional)
; flags =
; { "name", "helptxt" }
[veteran_system]
; What are the names of the levels?
veteran_names = _("green"), _("veteran")
; The percentage chance of increasing level through combat
veteran_raise_chance = 50, 0
; Power factors are as a percentage.
; +50% is represented by 150
veteran_power_fact = 100, 150
; The percentage chance of a settler/engineer increasing level through
; performing useful work (per turn)
veteran_work_raise_chance = 0, 0
; The additional number of movement points granted for different veteran
; levels. These are fractional move points as defined by move_fragments in
; terrain.ruleset.
veteran_move_bonus = 0, 0
; /* <-- avoid gettext warnings
;
; Unit classes
; The number can be variable, up to 32
; When adding new classes, remember to check effects.ruleset also.
; Eg. if you divide class 'Land' to two separate classes, you may
; want add effect giving City Walls defence bonus against new class
; too.
;
; The actual tag used (the * in [unitclass_*]) does not matter, except
; it must be unique within this file, and it may be used in debug
; output when reading this file.
;
; ** Fields **
;
; name = translatable name as seen by user
; rule_name = (optional) name for savegames, rulesets etc; if not
; present, 'name' is used. Since the name used in savegames
; must not change, use this when renaming a unit class after a
; ruleset has been released.
; move_type = Where unit moves; "Land", "Sea", or "Both".
; This is optional field. If it's not
; given, move type is automatically determined from native
; terrains. You need to set it only if you want to set move
; type "Both" for unit that has no native Land terrains or
; for unit that has no native Oceanic terrains.
; min_speed = Minimum speed after damage and effects (whole movement points)
; hp_loss_pct = Hitpoints lost each turn if unit not in city or native base
; non_native_def_pct = Defense power percentage applying when defending on
; non-native terrain (such as ship in harbour)
; hut_behavior = What happens to huts when unit enters tile:
; "Normal", "Nothing" or "Frighten"
; flags = List of unit class flags (from the following list; you
; cannot add custom unit class flags)
;
; ** Unit class Flags **
;
; "TerrainSpeed" = Units use terrain specific speed
; "TerrainDefense" = Units gain defense bonus from terrain
; "DamageSlows" = Damaged units are slowed down
; "CanOccupyCity" = Military units of this class can occupy enemy cities
; "Missile" = Unit is destroyed when it attacks
; "BuildAnywhere" = Unit can be built even in the middle of non-native terrain
; "Unreachable" = Unit can be attacked only by units explicitly listing this
; class in its 'targets', unless on a city or native base.
; For class members which are transports, cargo cannot load/
; unload except in a city or native base, unless that unit
; explicitly lists this class in its 'embarks'/'disembarks'.
; "CollectRansom" = Unit can collect ransom when killing lone barbarian leader
; "ZOC" = Unit is subject to ZOC rules. Unit type flag "IgZOC" can
; override this
; "CanFortify" = Unit can fortify at land tiles
; "CanPillage" = Unit can pillage tile infrastructure
; "DoesntOccupyTile" = Even if this kind of enemy unit is on tile, cities can
; still work that tile
; "AttackNonNative" = Unit can attack units on non-native tiles. Unit type
; flag "Only_Native_Attack" can override this
; "AttFromNonNative" = Unit can launch attach from non-native tile (against
; native one)
; This applies for both attacking from transport or
; cities. If only some unit types of the class should
; get this property, use type flag "Marines"
; "KillCitizen" = Upon successful attack against a city, unit kills one
; citizen. The effect "Unit_No_Lose_Pop" and the server
; setting 'killcitizen' can disable this.
;
; */ <-- avoid gettext warnings
[unitclass_land]
; /* TRANS: Unit class: used adjectivally */
name = _("?unitclass:Land")
min_speed = 1
hp_loss_pct = 0
flags = "TerrainSpeed", "DamageSlows", "CanOccupyCity", "BuildAnywhere",
"CollectRansom", "ZOC", "CanFortify", "CanPillage",
"TerrainDefense", "KillCitizen"
[unitclass_sea]
; /* TRANS: Unit class: used adjectivally */
name = _("?unitclass:Sea")
min_speed = 2
hp_loss_pct = 0
flags = "DamageSlows", "AttackNonNative", "AttFromNonNative"
[unitclass_air]
; /* TRANS: Unit class: used adjectivally */
name = _("?unitclass:Air")
min_speed = 1
hp_loss_pct = 0
hut_behavior = "Nothing"
flags = "Unreachable", "DoesntOccupyTile"
[unitclass_missile]
; /* TRANS: Unit class: used adjectivally */
name = _("?unitclass:Missile")
min_speed = 1
hp_loss_pct = 0
hut_behavior = "Nothing"
flags = "Missile", "Unreachable", "DoesntOccupyTile"
; /* <-- avoid gettext warnings
;
; Below: The individual units, one per section.
;
; The number can be variable, up to 200.
; However for the "official" rulesets, units should not be removed
; because that would break backward compatability with savegames.
;
; The order here matters: later units are considered "better" for
; a given flag or role.
;
; The actual tag used (the * in [unit_*]) does not matter, except
; it must be unique within this file, and it may be used in debug
; output when reading this file.
;
; ** Fields **
;
; name = translatable name as seen by user
; rule_name = (optional) name for savegames, rulesets etc; if not
; present, 'name' is used. Since the name used in savegames
; must not change, use this when renaming a unit after a
; ruleset has been released.
; graphic = tag specifying preferred graphic
; graphic_alt = tag for alternate garphic if preferred graphic is not
; present; especially if preferred graphic is non-standard,
; this should be a standard tag. Otherwise can use eg "-"
; for no alternate graphic.
; tech_req = required advance, names from techs.ruleset, or special:
; "None" => available from start
; obsolete_by = can be upgraded to and made obsolete by another unit by name
; build_cost = production shields required to build
; pop_cost = population removed from city when built; for 'AddToCity'
; units this is also the population added to the destination
; attack = base attack strength (0 = cannot attack)
; defense = base defense strength (0 = cannot defend)
; hitpoints = how much damage unit can withstand
; firepower = number of hitpoints removed per round of combat; at least 1
; move_rate = base move rate (whole movement points)
; vision_radius_sq = base vision of unit: unit can see tile up to the square
; root of this value away
; convert_to = can be converted to another type of unit by name
; convert_time = time it takes to convert to another unit type
; class = One of the classes listed above
; transport_cap = Number of units (ground, or air/missiles, depending on flags)
; fuel = number of turns air units can fly before they crash. For
; barbarians this is used as lifetime instead
; uk_* = upkeep costs, these are used as base values in the game
; cargo = Unit classes this unit can transport
; city_size = Initial size of the cities built by 'Cities' type units
; (but 'AddToCity' uses pop_cost)
; targets = list of unit classes this unit can attack against even
; if they have Unreachable unit class flag
; embarks = list of unit classes this unit may load into while not in
; native base or city even if transporter has Unreachable unit
; class flag
; disembarks = list of unit classes this unit may unload from while not in
; native base or city even if transporter has Unreachable unit
; class flag
; bonuses = definitions of combat bonuses against specific other units
; bonuses.flag = flag of the unit that bonus applies against
; bonuses.type = type of the bonus. See below
; bonuses.value = value of the bonus. Sum of these is used if multiple apply.
; flags = special flag strings; list of built-in flags (see
; classic/units.ruleset) and/or user flags defined above
;
; veteran_names = Special veteran level for this unit. See the definitions in
; game.ruleset. All of the veteran_* entries have to have the
; same length!
; veteran_raise_chance =
; veteran_work_raise_chance =
; veteran_power_fact =
; veteran_move_bonus =
;
; roles = special role strings
; sound_move = optional sound effect when the unit moves
; sound_move_alt= optional alternative sound effect if above not
; supported in client
; sound_fight = optional sound effect when the unit fights
; sound_fight_alt= optional alternative sound effect if above not
; supported in client
; helptext = optional help text string; should escape all raw newlines
; so that xgettext parsing works
;
;
; ** Bonuses **
;
; "DefenseMultiplier" = Multiply defense value (1 + 'value') times.
; Value of 1 means multiplication by 2, value 2 by 3...
; Bonus is defined in defenders entry.
; "DefenseDivider" = Divide defense value with (1 + 'value').
; Bonus is defined in attackers entry.
; "FirePower1" = Defender firepower is reduced to value 1 when
; ever this has non-zero value.
; Bonus is defined in attackers entry.
;
;
; Following flag strings require extra fields: (but do not appear in Civ1)
; "Paratroopers"
; paratroopers_range = the maximal range the unit can be paradropped to
; paratroopers_mr_req = the move rate which is required at least for
; paradropping (whole movement points)
; paratroopers_mr_sub = the move rate which is subtracted after paradropping
; (whole movement points)
; Civ1 does not have initial explorers, but we want to do something
; sensible if the explorer server option is set non-zero.
; Likely options:
; - Diplomat: nonmilitary (good), but a bit incongruous for a
; primitive civilization (and may still bribe etc).
; - Cavalry: in character, but could overwhelm unlucky opponents.
; - Militia: not much good for exploring, but an ok initial unit.
; (not likely to overwhelm anyone too quickly :-)
; */ <-- avoid gettext warnings
[unit_settlers]
name = _("Settlers")
class = "Land"
tech_req = "None"
obsolete_by = "None"
graphic = "u.settlers"
graphic_alt = "-"
sound_move = "m_settlers"
sound_move_alt = "m_generic"
sound_fight = "f_settlers"
sound_fight_alt = "f_generic"
build_cost = 40
pop_cost = 1
attack = 0
defense = 1
hitpoints = 1
firepower = 1
move_rate = 1
vision_radius_sq = 2
transport_cap = 0
fuel = 0
uk_happy = 0
uk_shield = 1
uk_food = 1
uk_gold = 0
flags = "Settlers", "NonMil", "AddToCity", "Cities", "NoVeteran"
roles = "Settlers", "Cities"
helptext = _("\
Settlers are one of the key units in the game, as they are your main \
means of founding new cities, and can also improve terrain.\
"), _("\
Building an irrigation system on a suitable tile causes it to \
produce some extra food each turn. This requires a nearby source of \
water: an ocean or river tile, or another tile with an \
irrigation system, must share an edge (not just a corner) with the \
target tile. Once irrigated, land remains so even if the water source \
is removed.\
"), _("\
Building a mine on suitable terrain increases the \
number of production points produced by that tile. However, it is not \
possible to have an irrigation system and a mine on the same tile.\
"), _("\
On terrain unsuitable for irrigation systems or mines, issuing the \
\"irrigate\" or \"mine\" order may permanently convert the terrain \
to another type; this is usually more expensive. For instance, Swamp \
may be \"irrigated\" to yield Grassland. (Terrain conversion with \
the \"irrigate\" order does not require a water source.)\
"), _("\
See the help on Terrain and Terrain Alterations for the effects of \
these actions.\
"), _("\
Upkeep for Settlers is in food as well as production, and a Settler\
can die if its supporting city runs out of food. Settlers in a\
Republic or Democracy require twice as much food per turn.\
")
[unit_militia]
name = _("Militia") ; Civ2 Warriors
class = "Land"
tech_req = "None"
obsolete_by = "Musketeers"
graphic = "u.warriors"
graphic_alt = "-"
sound_move = "m_warriors"
sound_move_alt = "m_generic"
sound_fight = "f_warriors"
sound_fight_alt = "f_generic"
build_cost = 10
pop_cost = 0
attack = 1
defense = 1
hitpoints = 1
firepower = 1
move_rate = 1
vision_radius_sq = 2
transport_cap = 0
fuel = 0
uk_happy = 1
uk_shield = 1
uk_food = 0
uk_gold = 0
flags = ""
roles = "DefendOk", "FirstBuild"
helptext = _("\
This unit may be built from the start of the game. It is the\
weakest offensive unit.\
")
[unit_phalanx]
name = _("Phalanx")
class = "Land"
tech_req = "Bronze Working"
obsolete_by = "Musketeers"
graphic = "u.phalanx"
graphic_alt = "-"
sound_move = "m_phalanx"
sound_move_alt = "m_generic"
sound_fight = "f_phalanx"
sound_fight_alt = "f_generic"
build_cost = 20
pop_cost = 0
attack = 1
defense = 2
hitpoints = 1
firepower = 1
move_rate = 1
vision_radius_sq = 2
transport_cap = 0
fuel = 0
uk_happy = 1
uk_shield = 1
uk_food = 0
uk_gold = 0
flags = ""
roles = "DefendGood", "FirstBuild"
helptext = _("\
The Phalanx is armored infantry, suitable for defending your cities.\
")
[unit_legion]
name = _("Legion")
class = "Land"
tech_req = "Iron Working"
obsolete_by = "Musketeers"
graphic = "u.legion"
graphic_alt = "-"
sound_move = "m_legion"
sound_move_alt = "m_generic"
sound_fight = "f_legion"
sound_fight_alt = "f_generic"
build_cost = 20
pop_cost = 0
attack = 3
defense = 1
hitpoints = 1
firepower = 1
move_rate = 1
vision_radius_sq = 2
transport_cap = 0
fuel = 0
uk_happy = 1
uk_shield = 1
uk_food = 0
uk_gold = 0
flags = ""
roles = "DefendOk", "Hut", "BarbarianBuild", "BarbarianSea"
helptext = _("\
Legions are heavily armed and well disciplined infantry\
units with an excellent offensive value.\
")
[unit_musketeers]
name = _("Musketeers")
class = "Land"
tech_req = "Gunpowder"
obsolete_by = "Riflemen"
graphic = "u.musketeers"
graphic_alt = "-"
sound_move = "m_musketeers"
sound_move_alt = "m_generic"
sound_fight = "f_musketeers"
sound_fight_alt = "f_generic"
build_cost = 30
pop_cost = 0
attack = 2
defense = 3
hitpoints = 1
firepower = 1
move_rate = 1
vision_radius_sq = 2
transport_cap = 0
fuel = 0
uk_happy = 1
uk_shield = 1
uk_food = 0
uk_gold = 0
flags = ""
roles = "DefendGood", "FirstBuild", "HutTech",
"BarbarianTech", "BarbarianBuildTech", "BarbarianSeaTech"
helptext = _("\
Musketeers are infantry equipped with early\
firearms and replace Phalanx as the preferred\
city defender.\
")
[unit_riflemen]
name = _("Riflemen")
class = "Land"
tech_req = "Conscription"
obsolete_by = "None"
graphic = "u.riflemen"
graphic_alt = "-"
sound_move = "m_riflemen"
sound_move_alt = "m_generic"
sound_fight = "f_riflemen"
sound_fight_alt = "f_generic"
build_cost = 30
pop_cost = 0
attack = 3
defense = 5
hitpoints = 1
firepower = 1
move_rate = 1
vision_radius_sq = 2
transport_cap = 0
fuel = 0
uk_happy = 1
uk_shield = 1
uk_food = 0
uk_gold = 0
flags = ""
roles = "DefendGood", "FirstBuild"
helptext = _("\
Riflemen are World War-era infantry, very good\
at defending your cities.\
")
[unit_mech_inf]
name = _("Mech. Inf.")
class = "Land"
tech_req = "Labor Union"
obsolete_by = "None"
graphic = "u.mech_inf"
graphic_alt = "-"
sound_move = "m_mech_inf"
sound_move_alt = "m_generic"
sound_fight = "f_mech_inf"
sound_fight_alt = "f_generic"
build_cost = 50
pop_cost = 0
attack = 6
defense = 6
hitpoints = 1
firepower = 1
move_rate = 3
vision_radius_sq = 2
transport_cap = 0
fuel = 0
uk_happy = 1
uk_shield = 1
uk_food = 0
uk_gold = 0
flags = ""
roles = "DefendGood"
helptext = _("\
Mechanized Infantry; this unit has the strongest defense strength\
of any land unit, but is only available near the end of the\
technology tree.\
")
[unit_cavalry]
name = _("Cavalry") ; Civ2 Horsemen
class = "Land"
tech_req = "Horseback Riding"
obsolete_by = "Musketeers"
graphic = "u.horsemen"
graphic_alt = "-"
sound_move = "m_horsemen"
sound_move_alt = "m_generic"
sound_fight = "f_horsemen"
sound_fight_alt = "f_generic"
build_cost = 20
pop_cost = 0
attack = 2
defense = 1
hitpoints = 1
firepower = 1
move_rate = 2
vision_radius_sq = 2
transport_cap = 0
fuel = 0
uk_happy = 1
uk_shield = 1
uk_food = 0
uk_gold = 0
flags = ""
roles = "AttackFast", "Hut", "Barbarian"
helptext = _("\
Cavalry are mounted warriors and an early\
shock-troop that can penetrate deep into\
enemy territory.\
")
[unit_chariot]
name = _("Chariot")
class = "Land"
tech_req = "The Wheel"
obsolete_by = "Knights"
graphic = "u.chariot"
graphic_alt = "-"
sound_move = "m_chariot"
sound_move_alt = "m_generic"
sound_fight = "f_chariot"
sound_fight_alt = "f_generic"
build_cost = 40
pop_cost = 0
attack = 4
defense = 1
hitpoints = 1
firepower = 1
move_rate = 2
vision_radius_sq = 2
transport_cap = 0
fuel = 0
uk_happy = 1
uk_shield = 1
uk_food = 0
uk_gold = 0
flags = ""
roles = "AttackFast", "Hut"
helptext = _("\
Chariots are horse-pulled war wagons, stronger\
but more expensive than Cavalry.\
")
[unit_knights]
name = _("Knights")
class = "Land"
tech_req = "Chivalry"
obsolete_by = "Armor"
graphic = "u.knights"
graphic_alt = "-"
sound_move = "m_knights"
sound_move_alt = "m_generic"
sound_fight = "f_knights"
sound_fight_alt = "f_generic"
build_cost = 40
pop_cost = 0
attack = 4
defense = 2
hitpoints = 1
firepower = 1
move_rate = 2
vision_radius_sq = 2
transport_cap = 0
fuel = 0
uk_happy = 1
uk_shield = 1
uk_food = 0
uk_gold = 0
flags = ""
roles = "AttackFast", "HutTech", "BarbarianTech",
"BarbarianBuildTech", "BarbarianSeaTech"
helptext = _("\
Knights are mounted and heavily armored warriors.\
")
[unit_armor]
name = _("Armor")
class = "Land"
tech_req = "Automobile"
obsolete_by = "None"
graphic = "u.armor"
graphic_alt = "-"
sound_move = "m_armor"
sound_move_alt = "m_generic"
sound_fight = "f_armor"
sound_fight_alt = "f_generic"
build_cost = 80
pop_cost = 0
attack = 10
defense = 5
hitpoints = 1
firepower = 1
move_rate = 3
vision_radius_sq = 2
transport_cap = 0
fuel = 0
uk_happy = 1
uk_shield = 1
uk_food = 0
uk_gold = 0
flags = ""
roles = "AttackFast"
helptext = _("\
Armors are motorized war wagons that are faster,\
stronger, and can take more damage than any\
mounted unit.\
")
[unit_catapult]
name = _("Catapult")
class = "Land"
tech_req = "Mathematics"
obsolete_by = "Cannon"
graphic = "u.catapult"
graphic_alt = "-"
sound_move = "m_catapult"
sound_move_alt = "m_generic"
sound_fight = "f_catapult"
sound_fight_alt = "f_generic"
build_cost = 40
pop_cost = 0
attack = 6
defense = 1
hitpoints = 1
firepower = 1
move_rate = 1
vision_radius_sq = 2
transport_cap = 0
fuel = 0
uk_happy = 1
uk_shield = 1
uk_food = 0
uk_gold = 0
flags = ""
roles = "AttackStrong"
helptext = _("\
Catapults are large rock-throwing machines of war.\
They are very strong attackers but equally weak\
defenders and will need an escort to be effective.\
")
[unit_cannon]
name = _("Cannon")
class = "Land"
tech_req = "Metallurgy"
obsolete_by = "Artillery"
graphic = "u.cannon"
graphic_alt = "-"
sound_move = "m_cannon"
sound_move_alt = "m_generic"
sound_fight = "f_cannon"
sound_fight_alt = "f_generic"
build_cost = 40
pop_cost = 0
attack = 8
defense = 1
hitpoints = 1
firepower = 1
move_rate = 1
vision_radius_sq = 2
transport_cap = 0
fuel = 0
uk_happy = 1
uk_shield = 1
uk_food = 0
uk_gold = 0
flags = ""
roles = "AttackStrong", "BarbarianTech", "BarbarianBuildTech"
helptext = _("\
Cannons are large firearms that can fire heavy\
projectiles over long distances. They are very\
strong attackers but equally weak defenders and\
will need an escort to be effective.\
")
[unit_artillery]
name = _("Artillery") ; Civ2 Howitzer
class = "Land"
tech_req = "Robotics"
obsolete_by = "None"
graphic = "u.howitzer"
graphic_alt = "-"
sound_move = "m_howitzer"
sound_move_alt = "m_generic"
sound_fight = "f_howitzer"
sound_fight_alt = "f_generic"
build_cost = 60
pop_cost = 0
attack = 12
defense = 2
hitpoints = 1
firepower = 1
move_rate = 2
vision_radius_sq = 2
transport_cap = 0
fuel = 0
uk_happy = 1
uk_shield = 1
uk_food = 0
uk_gold = 0
flags = "IgWall"
roles = "AttackStrong"
helptext = _("\
The artillery is an upgraded cannon with improved\
defensive as well as offensive capabilities.\
")
[unit_fighter]
name = _("Fighter")
class = "Air"
tech_req = "Flight"
obsolete_by = "None"
graphic = "u.fighter"
graphic_alt = "-"
sound_move = "m_fighter"
sound_move_alt = "m_generic"
sound_fight = "f_fighter"
sound_fight_alt = "f_generic"
build_cost = 60
pop_cost = 0
attack = 4
defense = 2
hitpoints = 1
firepower = 1
move_rate = 10
vision_radius_sq = 8
transport_cap = 0
fuel = 1
uk_happy = 1
uk_shield = 1
uk_food = 0
uk_gold = 0
targets = "Air", "Missile"
flags = "FieldUnit"
roles = ""
helptext = _("\
Fighters are your first airborne units. They can\
move anywhere and attack any unit.\
")
[unit_bomber]
name = _("Bomber")
class = "Air"
tech_req = "Advanced Flight"
obsolete_by = "None"
graphic = "u.bomber"
graphic_alt = "-"
sound_move = "m_bomber"
sound_move_alt = "m_generic"
sound_fight = "f_bomber"
sound_fight_alt = "f_generic"
build_cost = 120
pop_cost = 0
attack = 12
defense = 1
hitpoints = 1
firepower = 1
move_rate = 8
vision_radius_sq = 8
transport_cap = 0
fuel = 2
uk_happy = 1
uk_shield = 1
uk_food = 0
uk_gold = 0
flags = "FieldUnit", "OneAttack"
roles = ""
helptext = _("\
Bombers are specialized airborne units that may\
only attack ground targets, not other airborne\
units.\
")
[unit_trireme]
; /* TRANS: unit type */
name = _("Trireme")
class = "Sea"
tech_req = "Map Making"
obsolete_by = "Sail"
graphic = "u.trireme"
graphic_alt = "-"
sound_move = "m_trireme"
sound_move_alt = "m_generic"
sound_fight = "f_trireme"
sound_fight_alt = "f_generic"
build_cost = 40
pop_cost = 0
attack = 1
defense = 0
hitpoints = 1
firepower = 1
move_rate = 3
vision_radius_sq = 2
transport_cap = 2
fuel = 0
uk_happy = 1
uk_shield = 1
uk_food = 0
uk_gold = 0
cargo = "Land"
flags = "Trireme"
roles = "Ferryboat"
helptext = _("\
The Trireme is your first boat unit. It can act\
as a transport ship and has rudimentary offensive\
capabilities, but may not stray too far from the shore.\
")
[unit_sail]
name = _("Sail") ; Civ2 Caravel
class = "Sea"
tech_req = "Navigation"
obsolete_by = "Frigate"
graphic = "u.caravel"
graphic_alt = "-"
sound_move = "m_caravel"
sound_move_alt = "m_generic"
sound_fight = "f_caravel"
sound_fight_alt = "f_generic"
build_cost = 40
pop_cost = 0
attack = 1
defense = 1
hitpoints = 1
firepower = 1
move_rate = 3
vision_radius_sq = 2
transport_cap = 3
fuel = 0
uk_happy = 1
uk_shield = 1
uk_food = 0
uk_gold = 0
cargo = "Land"
flags = ""
roles = "Ferryboat", "BarbarianBoat"
helptext = _("\
The Sail replaces the Trireme and is much\
more reliable on the open seas.\
")
[unit_frigate]
name = _("Frigate")
class = "Sea"
tech_req = "Magnetism"
obsolete_by = "Transport"
graphic = "u.frigate"
graphic_alt = "-"
sound_move = "m_frigate"
sound_move_alt = "m_generic"
sound_fight = "f_frigate"
sound_fight_alt = "f_generic"
build_cost = 40
pop_cost = 0
attack = 2
defense = 2
hitpoints = 1
firepower = 1
move_rate = 3
vision_radius_sq = 2
transport_cap = 4
fuel = 0
uk_happy = 1
uk_shield = 1
uk_food = 0
uk_gold = 0
cargo = "Land"
flags = ""
roles = "Ferryboat"
helptext = _("\
The Frigate is a highly versatile boat unit,\
that is both a strong offensive unit as well\
as a decent transport ship.\
")
[unit_ironclad]
name = _("Ironclad")
class = "Sea"
tech_req = "Steam Engine"
obsolete_by = "Cruiser"
graphic = "u.ironclad"
graphic_alt = "-"
sound_move = "m_ironclad"
sound_move_alt = "m_generic"
sound_fight = "f_ironclad"
sound_fight_alt = "f_generic"
build_cost = 60
pop_cost = 0
attack = 4
defense = 4
hitpoints = 1
firepower = 1
move_rate = 4
vision_radius_sq = 2
transport_cap = 0
fuel = 0
uk_happy = 1
uk_shield = 1
uk_food = 0
uk_gold = 0
flags = ""
roles = ""
helptext = _("\
The Ironclad is an armored ship that is\
much more sturdy than the Frigate but\
loses the latter's transport capability.\
")
[unit_cruiser]
name = _("Cruiser")
class = "Sea"
tech_req = "Combustion"
obsolete_by = "None"
graphic = "u.cruiser"
graphic_alt = "-"
sound_move = "m_cruiser"
sound_move_alt = "m_generic"
sound_fight = "f_cruiser"
sound_fight_alt = "f_generic"
build_cost = 80
pop_cost = 0
attack = 6
defense = 6
hitpoints = 1
firepower = 1
move_rate = 6
vision_radius_sq = 8
transport_cap = 0
fuel = 0
uk_happy = 1
uk_shield = 1
uk_food = 0
uk_gold = 0
flags = ""
roles = ""
helptext = _("\
The Cruiser is a strong offensive boat unit.\
")
[unit_battleship]
name = _("Battleship")
class = "Sea"
tech_req = "Steel"
obsolete_by = "None"
graphic = "u.battleship"
graphic_alt = "-"
sound_move = "m_battleship"
sound_move_alt = "m_generic"
sound_fight = "f_battleship"
sound_fight_alt = "f_generic"
build_cost = 160
pop_cost = 0
attack = 18
defense = 12
hitpoints = 1
firepower = 1
move_rate = 4
vision_radius_sq = 8
transport_cap = 0
fuel = 0
uk_happy = 1
uk_shield = 1
uk_food = 0
uk_gold = 0
flags = ""
roles = ""
helptext = _("\
The Battleship is the supreme naval unit with\
excellent offensive and defensive values.\
")
[unit_submarine]
name = _("Submarine")
class = "Sea"
tech_req = "Mass Production"
obsolete_by = "None"
graphic = "u.submarine"
graphic_alt = "-"
sound_move = "m_submarine"
sound_move_alt = "m_generic"
sound_fight = "f_submarine"
sound_fight_alt = "f_generic"
build_cost = 50
pop_cost = 0
attack = 8
defense = 2
hitpoints = 1
firepower = 1
move_rate = 3
vision_radius_sq = 8
transport_cap = 0
fuel = 0
uk_happy = 1
uk_shield = 1
uk_food = 0
uk_gold = 0
flags = "Partial_Invis", "Only_Native_Attack"
roles = "Hunter"
helptext = _("\
Traveling under the surface of the ocean, Submarines have\
a very high strategic value, but a weak defense if caught\
off guard.\
")
[unit_carrier]
name = _("Carrier")
class = "Sea"
tech_req = "Advanced Flight"
obsolete_by = "None"
graphic = "u.carrier"
graphic_alt = "-"
sound_move = "m_carrier"
sound_move_alt = "m_generic"
sound_fight = "f_carrier"
sound_fight_alt = "f_generic"
build_cost = 160
pop_cost = 0
attack = 1
defense = 12
hitpoints = 1
firepower = 1
move_rate = 5
vision_radius_sq = 8
transport_cap = 8
fuel = 0
uk_happy = 1
uk_shield = 1
uk_food = 0
uk_gold = 0
cargo = "Air", "Missile"
flags = ""
roles = ""
helptext = _("\
The Carrier is a mobile airport.\
"), _("\
TIP: Guard Carriers with a handful of fast-moving ships and a\
battleship, as losing a fully-equipped Carrier is VERY\
painful and expensive.\
")
[unit_transport]
name = _("Transport")
class = "Sea"
tech_req = "Industrialization"
obsolete_by = "None"
graphic = "u.transport"
graphic_alt = "-"
sound_move = "m_transport"
sound_move_alt = "m_generic"
sound_fight = "f_transport"
sound_fight_alt = "f_generic"
build_cost = 50
pop_cost = 0
attack = 0
defense = 3
hitpoints = 1
firepower = 1
move_rate = 4
vision_radius_sq = 8
transport_cap = 8
fuel = 0
uk_happy = 1
uk_shield = 1
uk_food = 0
uk_gold = 0
cargo = "Land"
flags = ""
roles = "Ferryboat"
helptext = _("\
The Transport cannot attack on its own but\
may defend itself when under attack.\
")
[unit_nuclear]
name = _("Nuclear")
class = "Missile"
tech_req = "Rocketry"
obsolete_by = "None"
graphic = "u.nuclear"
graphic_alt = "-"
sound_move = "m_nuclear"
sound_move_alt = "m_generic"
sound_fight = "f_nuclear"
sound_fight_alt = "f_generic"
build_cost = 160
pop_cost = 0
attack = 99
defense = 0
hitpoints = 1
firepower = 1
move_rate = 16
vision_radius_sq = 2
transport_cap = 0
fuel = 1
uk_happy = 1
uk_shield = 1
uk_food = 0
uk_gold = 0
flags = "FieldUnit", "OneAttack", "Nuclear"
roles = ""
helptext = _("\
You can build Nuclear units when you have the required advance, and\
the Manhattan Project wonder has been built by any player.\
"), _("\
On impact, the blast will destroy any unit in an area 3 tiles wide\
(3x3 squares for rectangular grids), including friendly units.\
Any city within the blast area loses half its population, and\
land tiles within the blast area are subject to nuclear fallout.\
"), _("\
Similar to pollution and global warming, the risk of global nuclear\
winter increases with fallout. If nuclear winter occurs, terrain\
across the globe changes into desert, tundra, and ice. Settlers\
can clean up nuclear fallout.\
"), _("\
TIP 1: Nuking the ocean will not generate fallout, and is a most\
effective (but expensive!!) way of getting rid of enemy\
ships.\
"), _("\
TIP 2: You may be involved in a situation where you've invaded an\
enemy country en masse, but the enemy cities are too strong.\
Before using a Nuclear unit, assemble a gang of Settlers\
next to the city and have them ready to fix\
the fallout on the same turn it occurs! This minimizes the\
chance of nuclear winter. Eco-friendly nukes!\
")
[unit_diplomat]
name = _("Diplomat")
class = "Land"
tech_req = "Writing"
obsolete_by = "None"
graphic = "u.diplomat"
graphic_alt = "-"
sound_move = "m_diplomat"
sound_move_alt = "m_generic"
sound_fight = "f_diplomat"
sound_fight_alt = "f_generic"
build_cost = 30
pop_cost = 0
attack = 0
defense = 0
hitpoints = 1
firepower = 1
move_rate = 2
vision_radius_sq = 2
transport_cap = 0
fuel = 0
uk_happy = 0
uk_shield = 0
uk_food = 0
uk_gold = 0
flags = "Diplomat", "IgZOC", "NonMil", "NoVeteran"
veteran_names = _("green"), _("veteran")
veteran_raise_chance = 0, 0
veteran_work_raise_chance = 0, 0
veteran_power_fact = 100, 110
veteran_move_bonus = 0, 0
roles = "Explorer", "Diplomat"
helptext = _("\
A Diplomat is an official that carries your dispatches and\
is authorized to deal with foreign dignitaries. He may\
also undertake various covert operations with the intent of\
harming your opponents; Diplomats in your own cities defend\
them against such actions.\
"), _("\
Many covert actions may be attempted even in peacetime, but the more\
aggressive actions will be discovered and cause diplomatic incidents,\
which can allow Republics and Democracies to break treaties.\
"), _("\
If a foreign unit is alone on a tile, you may attempt to bribe it\
with your Diplomat. By paying a sum of gold the unit will immediately\
become yours; the exact sum depends on the status of the unit and\
that of the civilization owning it. However, units belonging to\
Democratic governments cannot be bribed. Bribery when not at war\
will cause a diplomatic incident.\
"), _("\
Diplomats can also perform a number of actions in another player's\
city, although each Diplomat may attempt only one action. Most of\
these actions have a chance of failure. Also, any enemy Diplomats or\
Spies in the city will oppose hostile actions; in this case, either\
your unit or the defending unit will die. If the defending unit dies,\
you lose one movement point and may try again.\
"), _("\
The actions available to Diplomats in a city are:\
"), _("\
- \"Establish Embassy\": This action always succeeds, and gives\
permanent contact with the city's owner, as well as intelligence\
on their tax rates and technology.\
"), _("\
- \"Investigate City\": Your unit attempts to report detailed\
information about the city: its status, what buildings and units are\
within, and what it is currently producing.\
"), _("\
- \"Sabotage City\": Your unit attempts either to disrupt all the\
city's work so far towards its current project, or to destroy an\
existing building in the city, at random. Once built, Palaces and\
Wonders cannot be sabotaged, and attempts to sabotage City Walls\
or any building in a capital each halve the chance of success.\
Sabotage may only be attempted when openly at war.\
"), _("\
- \"Steal Technology\": Your unit attempts to learn the secrets of a\
random technology known to the city's owner but not to you. Technology\
may only be stolen once from a given enemy city by Diplomats. This\
action may be attempted even when not at war, but will cause a\
diplomatic incident.\
"), _("\
- \"Incite a Revolt\": In return for gold a foreign city will change\
allegiance and join your empire, bringing along all nearby units that\
call it home, but reducing its size by 1. Units in other cities\
remain in the enemy's control, but units outside cities are lost to\
both players. The exact sum depends on the status of the city and\
that of the civilization that owns it. It is not possible to incite\
a rebellion in a capital, or in any city governed by a democracy.\
Incitement may be attempted in peacetime, but will cause a\
diplomatic incident.\
"), _("\
In some game strategies, hordes of Diplomats can be used to wreak\
havoc on the enemy. Little wonder that Diplomats are often\
viewed with suspicion and fear!\
")
[unit_caravan]
name = _("Caravan")
class = "Land"
tech_req = "Trade"
obsolete_by = "None"
graphic = "u.caravan"
graphic_alt = "-"
sound_move = "m_caravan"
sound_move_alt = "m_generic"
sound_fight = "f_caravan"
sound_fight_alt = "f_generic"
build_cost = 50
pop_cost = 0
attack = 0
defense = 1
hitpoints = 1
firepower = 1
move_rate = 1
vision_radius_sq = 2
transport_cap = 0
fuel = 0
uk_happy = 0
uk_shield = 0
uk_food = 0
uk_gold = 0
flags = "TradeRoute", "HelpWonder", "IgZOC", "NonMil"
roles = ""
helptext = _("\
A Caravan carries goods or material for trading with distant cities\
and foreign countries, or to help build wonders in your cities.\
"), _("\
Caravans can establish trade routes with your own cities or those of other\
nations (even enemies) by traveling to them. A route's ongoing revenue\
is doubled if the two cities involved are on different continents, and\
doubled again if the cities are from different civilizations. This last\
condition means the net benefit to your civilization of a trade route\
is the same regardless of whether you own both cities or only one of\
them; if you only own one city, trade in each city is doubled, but you\
only get the benefit from one end of the route. Each city can support a\
maximum of three trade routes.\
"), _("\
Every Caravan that is used to build a wonder will add 50 shields\
towards the production of the wonder.\
"), _("\
TIP: You can stockpile a stack of Caravans in advance and bring\
them all into a city where you have started to build a wonder,\
and finish it in only one turn!\
")
[unit_barbarian_leader]
name = _("Barbarian Leader")
class = "Land"
tech_req = "None"
obsolete_by = "None"
graphic = "u.barbarian_leader"
graphic_alt = "u.diplomat"
sound_move = "m_barbarian_leader"
sound_move_alt = "m_generic"
sound_fight = "f_barbarian_leader"
sound_fight_alt = "f_generic"
build_cost = 40
pop_cost = 0
attack = 0
defense = 0
hitpoints = 1
firepower = 1
move_rate = 2
vision_radius_sq = 2
transport_cap = 0
fuel = 0
uk_happy = 0
uk_shield = 0
uk_food = 0
uk_gold = 0
flags = "IgZOC", "NonMil", "NoBuild"
roles = "BarbarianLeader"
helptext = _("\
One Barbarian Leader appears every time there is a barbarian uprising\
somewhere in the world.\
"), _("\
When a Barbarian Leader is killed on a tile without any defending units,\
the 100 gold ransom is paid, but only to land units.\
")
|