From e324aa26461c6d57e2bad9c1913b33221591b888 Mon Sep 17 00:00:00 2001 From: Andrettin <6322423+Andrettin@users.noreply.github.com> Date: Sat, 5 Feb 2022 14:32:11 +0100 Subject: [PATCH] Adjusted unit box sizes, as they no longer need to be (1, 1) less than intended in order to work properly in the engine --- data/unit_types/bats.cfg | 12 +- .../buildings/celestial_bodies/asteroid.txt | 2 +- .../celestial_bodies/barren_dwarf_world.txt | 2 +- .../celestial_bodies/barren_moon.txt | 2 +- .../celestial_bodies/barren_world.txt | 2 +- .../buildings/celestial_bodies/gas_giant.txt | 2 +- .../buildings/celestial_bodies/star.txt | 2 +- .../buildings/sites/building_site.txt | 2 +- .../buildings/sites/major_building_site.txt | 2 +- .../buildings/sites/minor_building_site.txt | 2 +- .../buildings/sites/settlement_site.txt | 2 +- data/unit_types/celestial_body_template.txt | 2 +- data/unit_types/corpses.txt | 4 +- .../resources/metal_rock_template.txt | 2 +- .../units/aether_transport_ship.txt | 2 +- .../unit_types/units/construct/clay_golem.txt | 2 +- data/unit_types/units/fauna/wyrm.txt | 2 +- data/unit_types/units/hobgoblin/corpse.txt | 2 +- .../units/undead/skeleton_warrior.txt | 2 +- scripts/civilizations/ettin/units.lua | 2 +- scripts/civilizations/goblin/units.lua | 4 +- scripts/items.lua | 2 +- scripts/units.lua | 198 +++++++++--------- scripts/units_fauna.lua | 32 +-- 24 files changed, 144 insertions(+), 144 deletions(-) diff --git a/data/unit_types/bats.cfg b/data/unit_types/bats.cfg index 1a4850cd2b..4032619720 100644 --- a/data/unit_types/bats.cfg +++ b/data/unit_types/bats.cfg @@ -14,8 +14,8 @@ hit_points = 5 tile_width = 1 tile_height = 1 - box_width = 31 - box_height = 31 + box_width = 32 + box_height = 32 sight_range = 4 basic_damage = 2 missile = missile_none @@ -69,8 +69,8 @@ hit_points = 45 tile_width = 1 tile_height = 1 - box_width = 31 - box_height = 31 + box_width = 32 + box_height = 32 sight_range = 4 basic_damage = 6 missile = missile_none @@ -126,8 +126,8 @@ hit_points = 75 tile_width = 1 tile_height = 1 - box_width = 31 - box_height = 31 + box_width = 32 + box_height = 32 sight_range = 4 basic_damage = 10 armor = 2 diff --git a/data/unit_types/buildings/celestial_bodies/asteroid.txt b/data/unit_types/buildings/celestial_bodies/asteroid.txt index 31255d7bbe..1fec090bdf 100644 --- a/data/unit_types/buildings/celestial_bodies/asteroid.txt +++ b/data/unit_types/buildings/celestial_bodies/asteroid.txt @@ -6,7 +6,7 @@ unit_template_asteroid = { hit_points = 25500 draw_level = 30 tile_size = { 1 1 } - box_size = { 31 31 } + box_size = { 32 32 } sight_range = 1 armor = 20 missile = missile_none diff --git a/data/unit_types/buildings/celestial_bodies/barren_dwarf_world.txt b/data/unit_types/buildings/celestial_bodies/barren_dwarf_world.txt index 2f1da1885d..b5d3212a26 100644 --- a/data/unit_types/buildings/celestial_bodies/barren_dwarf_world.txt +++ b/data/unit_types/buildings/celestial_bodies/barren_dwarf_world.txt @@ -7,7 +7,7 @@ unit_template_barren_dwarf_world = { frame_size = { 64 64 } icon = iron_barren_moon tile_size = { 2 2 } - box_size = { 63 63 } + box_size = { 64 64 } neutral_minimap_color = { 128 128 0 } starting_resources = 10000 can_harvest = true diff --git a/data/unit_types/buildings/celestial_bodies/barren_moon.txt b/data/unit_types/buildings/celestial_bodies/barren_moon.txt index 4813c4aef6..c33b1de806 100644 --- a/data/unit_types/buildings/celestial_bodies/barren_moon.txt +++ b/data/unit_types/buildings/celestial_bodies/barren_moon.txt @@ -7,7 +7,7 @@ unit_template_barren_moon = { frame_size = { 64 64 } icon = iron_barren_moon tile_size = { 2 2 } - box_size = { 63 63 } + box_size = { 64 64 } neutral_minimap_color = { 128 128 0 } starting_resources = 10000 can_harvest = true diff --git a/data/unit_types/buildings/celestial_bodies/barren_world.txt b/data/unit_types/buildings/celestial_bodies/barren_world.txt index 22f973a2cd..cb4ce4358d 100644 --- a/data/unit_types/buildings/celestial_bodies/barren_world.txt +++ b/data/unit_types/buildings/celestial_bodies/barren_world.txt @@ -7,7 +7,7 @@ unit_template_barren_world = { frame_size = { 96 96 } icon = iron_barren_world tile_size = { 3 3 } - box_size = { 95 95 } + box_size = { 96 96 } neutral_minimap_color = { 128 128 0 } starting_resources = 50000 can_harvest = true diff --git a/data/unit_types/buildings/celestial_bodies/gas_giant.txt b/data/unit_types/buildings/celestial_bodies/gas_giant.txt index ae1d605237..293b5979ab 100644 --- a/data/unit_types/buildings/celestial_bodies/gas_giant.txt +++ b/data/unit_types/buildings/celestial_bodies/gas_giant.txt @@ -7,7 +7,7 @@ unit_template_gas_giant = { frame_size = { 96 96 } icon = iron_barren_world tile_size = { 3 3 } - box_size = { 95 95 } + box_size = { 96 96 } neutral_minimap_color = { 128 128 0 } starting_resources = 50000 can_harvest = true diff --git a/data/unit_types/buildings/celestial_bodies/star.txt b/data/unit_types/buildings/celestial_bodies/star.txt index 07c0432645..0cf3aad2cc 100644 --- a/data/unit_types/buildings/celestial_bodies/star.txt +++ b/data/unit_types/buildings/celestial_bodies/star.txt @@ -7,7 +7,7 @@ unit_template_star = { frame_size = { 231 231 } icon = star tile_size = { 4 4 } - box_size = { 127 127 } + box_size = { 128 128 } } unit_yellow_star = { #Class G diff --git a/data/unit_types/buildings/sites/building_site.txt b/data/unit_types/buildings/sites/building_site.txt index 7e82dad465..35a6703e2f 100644 --- a/data/unit_types/buildings/sites/building_site.txt +++ b/data/unit_types/buildings/sites/building_site.txt @@ -6,6 +6,6 @@ unit_building_site = { frame_size = { 96 96 } icon = icon_build_basic_structure tile_size = { 3 3 } - box_size = { 95 95 } + box_size = { 96 96 } corpse_type = unit_destroyed_3x3_place } diff --git a/data/unit_types/buildings/sites/major_building_site.txt b/data/unit_types/buildings/sites/major_building_site.txt index f024e2f6d5..a500e1e437 100644 --- a/data/unit_types/buildings/sites/major_building_site.txt +++ b/data/unit_types/buildings/sites/major_building_site.txt @@ -6,6 +6,6 @@ unit_major_building_site = { frame_size = { 128 128 } icon = icon_build_basic_structure tile_size = { 4 4 } - box_size = { 127 127 } + box_size = { 128 128 } corpse_type = unit_destroyed_4x4_place } diff --git a/data/unit_types/buildings/sites/minor_building_site.txt b/data/unit_types/buildings/sites/minor_building_site.txt index 19668b4f0d..008ee3b45f 100644 --- a/data/unit_types/buildings/sites/minor_building_site.txt +++ b/data/unit_types/buildings/sites/minor_building_site.txt @@ -6,6 +6,6 @@ unit_minor_building_site = { frame_size = { 64 64 } icon = icon_build_basic_structure tile_size = { 2 2 } - box_size = { 63 63 } + box_size = { 64 64 } corpse_type = unit_destroyed_2x2_place } diff --git a/data/unit_types/buildings/sites/settlement_site.txt b/data/unit_types/buildings/sites/settlement_site.txt index f5ca52e3e1..e8e14be977 100644 --- a/data/unit_types/buildings/sites/settlement_site.txt +++ b/data/unit_types/buildings/sites/settlement_site.txt @@ -6,7 +6,7 @@ unit_settlement_site = { frame_size = { 128 128 } icon = settlement_site tile_size = { 4 4 } - box_size = { 127 127 } + box_size = { 128 128 } corpse_type = unit_destroyed_4x4_place variations = { settlement_site = { diff --git a/data/unit_types/celestial_body_template.txt b/data/unit_types/celestial_body_template.txt index 56ee082c6a..c2212c9b0a 100644 --- a/data/unit_types/celestial_body_template.txt +++ b/data/unit_types/celestial_body_template.txt @@ -2,7 +2,7 @@ unit_template_celestial_body = { name = "Celestial Body" template = true tile_size = { 2 2 } #default tile size - box_size = { 63 63 } #default box size + box_size = { 64 64 } #default box size animation_set = animations_building draw_level = 30 neutral_minimap_color = { 255 255 0 } diff --git a/data/unit_types/corpses.txt b/data/unit_types/corpses.txt index c949f67d60..bd97f85838 100644 --- a/data/unit_types/corpses.txt +++ b/data/unit_types/corpses.txt @@ -8,7 +8,7 @@ unit_gnoll_dead_body = { hit_points = 255 draw_level = 30 tile_size = { 1 1 } - box_size = { 31 31 } + box_size = { 32 32 } sight_range = 1 missile = missile_none priority = 0 @@ -36,7 +36,7 @@ unit_orc_dead_body = { hit_points = 255 draw_level = 30 tile_size = { 1 1 } - box_size = { 31 31 } + box_size = { 32 32 } sight_range = 1 missile = missile_none priority = 0 diff --git a/data/unit_types/resources/metal_rock_template.txt b/data/unit_types/resources/metal_rock_template.txt index 2ecdd1dfde..bce0d228f8 100644 --- a/data/unit_types/resources/metal_rock_template.txt +++ b/data/unit_types/resources/metal_rock_template.txt @@ -6,7 +6,7 @@ unit_template_metal_rock = { hit_points = 25500 draw_level = 30 tile_size = { 1 1 } - box_size = { 31 31 } + box_size = { 32 32 } sight_range = 1 armor = 20 missile = missile_none diff --git a/data/unit_types/units/aether_transport_ship.txt b/data/unit_types/units/aether_transport_ship.txt index 0a5e06c0c1..83879716b8 100644 --- a/data/unit_types/units/aether_transport_ship.txt +++ b/data/unit_types/units/aether_transport_ship.txt @@ -16,7 +16,7 @@ unit_aether_transport_ship = { hit_points = 150 max_on_board = 6 tile_size = { 2 2 } - box_size = { 63 63 } + box_size = { 64 64 } sight_range = 4 armor = 5 missile = missile_none diff --git a/data/unit_types/units/construct/clay_golem.txt b/data/unit_types/units/construct/clay_golem.txt index a488bc1600..96584ec9a0 100644 --- a/data/unit_types/units/construct/clay_golem.txt +++ b/data/unit_types/units/construct/clay_golem.txt @@ -3,7 +3,7 @@ unit_clay_golem = { parent = unit_template_construct_unit description = "Golems are constructed by mages skilled in the art of transmutation, to serve as guards against would-be enemies." tile_size = { 1 1 } - box_size = { 31 31 } + box_size = { 32 32 } image_file = "units/construct/clay_golem.png" frame_size = { 80 80 } offset = { 0 6 } diff --git a/data/unit_types/units/fauna/wyrm.txt b/data/unit_types/units/fauna/wyrm.txt index d048e4df5b..1c3a85f255 100644 --- a/data/unit_types/units/fauna/wyrm.txt +++ b/data/unit_types/units/fauna/wyrm.txt @@ -6,7 +6,7 @@ unit_wyrm = { quote = "\"More wyrms there are beneath the ash\nThan an unwise fool would think\"\n- Dwarven Traditional Poetry" background = "The dragons of Norse mythology, also referred to as serpents, had different physical characteristics than the dragons of medieval folklore. The Norse dragons were wingless, and entirely or partially limbless. The most famous of them were Jormungand and Nidhogg. The Grimnismol includes a list of other notable ones, Svafnir among them. The constellation Draco (\"Dragon\") represents the giant serpent of Greek mythology, Ladon." tile_size = { 2 2 } - box_size = { 63 63 } + box_size = { 64 64 } image_file = "neutral/units/wyrm.png" frame_size = { 110 108 } animation_set = animations_wyrm diff --git a/data/unit_types/units/hobgoblin/corpse.txt b/data/unit_types/units/hobgoblin/corpse.txt index c6ea1b4f37..62cb904958 100644 --- a/data/unit_types/units/hobgoblin/corpse.txt +++ b/data/unit_types/units/hobgoblin/corpse.txt @@ -9,7 +9,7 @@ unit_hobgoblin_dead_body = { hit_points = 255 draw_level = 30 tile_size = { 1 1 } - box_size = { 31 31 } + box_size = { 32 32 } sight_range = 1 missile = missile_none priority = 0 diff --git a/data/unit_types/units/undead/skeleton_warrior.txt b/data/unit_types/units/undead/skeleton_warrior.txt index e05ef22d19..03061a6622 100644 --- a/data/unit_types/units/undead/skeleton_warrior.txt +++ b/data/unit_types/units/undead/skeleton_warrior.txt @@ -3,7 +3,7 @@ unit_skeleton_warrior = { parent = unit_template_undead_unit description = "Raised from their graves, these skeletons are mindless warriors who follow the commands of the necromancer who brought them into undeath." tile_size = { 1 1 } - box_size = { 31 31 } + box_size = { 32 32 } image_file = "units/undead/skeleton_warrior.png" frame_size = { 82 82 } offset = { 0 6 } diff --git a/scripts/civilizations/ettin/units.lua b/scripts/civilizations/ettin/units.lua index 73b2710df1..684a27b25f 100644 --- a/scripts/civilizations/ettin/units.lua +++ b/scripts/civilizations/ettin/units.lua @@ -38,7 +38,7 @@ DefineUnitType("unit-ettin", { Description = "The massive ettins lord over Jotunheim, striking terror into the hearts of smaller creatures such as orcs and ogres.", Image = {"file", "ettin/units/ettin.png", "size", {144, 144}}, Animations = "animations-melee-unit", Icon = "icon-ettin", - TileSize = {2, 2}, BoxSize = {63, 63}, + TileSize = {2, 2}, BoxSize = {64, 64}, Costs = {"time", 120, "copper", 1200}, DefaultEquipment = { {"boots", "unit-boots"} diff --git a/scripts/civilizations/goblin/units.lua b/scripts/civilizations/goblin/units.lua index 7516b2b3fa..395abc0c11 100644 --- a/scripts/civilizations/goblin/units.lua +++ b/scripts/civilizations/goblin/units.lua @@ -413,7 +413,7 @@ DefineUnitType("unit-goblin-glider", { Speed = 14, HitPoints = 20, DrawLevel = 60, - TileSize = {2, 2}, BoxSize = {63, 63}, + TileSize = {2, 2}, BoxSize = {64, 64}, SightRange = 9, Armor = 2, Missile = "missile-none", Accuracy = 8, @@ -677,7 +677,7 @@ DefineUnitType("unit-goblin-banner", { RepairCosts = {"copper", 1, "lumber", 1}, HitPoints = 40, DrawLevel = 30, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 1, Missile = "missile-none", Priority = 0, diff --git a/scripts/items.lua b/scripts/items.lua index b1d067f552..7e5be2de94 100644 --- a/scripts/items.lua +++ b/scripts/items.lua @@ -33,7 +33,7 @@ DefineUnitType("unit-template-item", { NeutralMinimapColor = {255, 255, 0}, HitPoints = 1, DrawLevel = 30, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, Missile = "missile-none", Priority = 0, Domain = "land", diff --git a/scripts/units.lua b/scripts/units.lua index 3b18719f30..f524f634f0 100644 --- a/scripts/units.lua +++ b/scripts/units.lua @@ -51,7 +51,7 @@ Load("scripts/anim.lua") DefineUnitType("unit-template-unit", { Name = "Unit", Template = true, - TileSize = {1, 1}, BoxSize = {31, 31}, -- default tile and box size + TileSize = {1, 1}, BoxSize = {32, 32}, -- default tile and box size Animations = "animations-melee-unit-new", DrawLevel = 40, SelectableByRectangle = true, @@ -61,7 +61,7 @@ DefineUnitType("unit-template-unit", { DefineUnitType("unit-template-building", { Name = "Building", Template = true, - TileSize = {2, 2}, BoxSize = {63, 63}, -- default tile and box size + TileSize = {2, 2}, BoxSize = {64, 64}, -- default tile and box size Animations = "animations-building", DrawLevel = 30, SightRange = 2, @@ -213,7 +213,7 @@ DefineUnitType("unit-caravan", { RepairCosts = {"copper", 1, "lumber", 1}, Speed = 5, HitPoints = 110, - TileSize = {1, 1}, BoxSize = {63, 63}, + TileSize = {1, 1}, BoxSize = {64, 64}, SightRange = 4, Priority = 55, Points = 50, @@ -253,7 +253,7 @@ DefineUnitType("unit-caravan", { -- Animations = "animations-destroyed-place", Icon = "dwarven_miner", -- HitPoints = 255, -- DrawLevel = 10, --- TileSize = {1, 1}, BoxSize = {31, 31}, +-- TileSize = {1, 1}, BoxSize = {32, 32}, -- SightRange = 2, -- Missile = "missile-none", -- Priority = 0, @@ -268,7 +268,7 @@ DefineUnitType("unit-destroyed-2x2-place", { Animations = "animations-destroyed-place", Icon = "dwarven_miner", HitPoints = 255, DrawLevel = 10, - TileSize = {2, 2}, BoxSize = {63, 63}, + TileSize = {2, 2}, BoxSize = {64, 64}, SightRange = 1, Missile = "missile-none", Priority = 0, @@ -284,7 +284,7 @@ DefineUnitType("unit-destroyed-3x3-place", { Animations = "animations-destroyed-place", Icon = "dwarven_miner", HitPoints = 255, DrawLevel = 10, - TileSize = {3, 3}, BoxSize = {95, 95}, + TileSize = {3, 3}, BoxSize = {96, 96}, SightRange = 1, Missile = "missile-none", Priority = 0, @@ -299,7 +299,7 @@ DefineUnitType("unit-destroyed-3x3-place", { -- Animations = "animations-destroyed-place-water", Icon = "dwarven_miner", -- HitPoints = 255, -- DrawLevel = 10, --- TileSize = {3, 3}, BoxSize = {95, 95}, +-- TileSize = {3, 3}, BoxSize = {96, 96}, -- SightRange = 0, -- Missile = "missile-none", -- Priority = 0, @@ -314,7 +314,7 @@ DefineUnitType("unit-destroyed-4x4-place", { Animations = "animations-destroyed-place", Icon = "dwarven_miner", HitPoints = 255, DrawLevel = 10, - TileSize = {4, 4}, BoxSize = {127, 127}, + TileSize = {4, 4}, BoxSize = {128, 128}, SightRange = 1, Missile = "missile-none", Priority = 0, @@ -334,7 +334,7 @@ DefineUnitType("unit-template-base-deposit", { HitPoints = 25500, RepairHp = 4, RepairCosts = {"copper", 1, "lumber", 1, "stone", 1}, - TileSize = {3, 3}, BoxSize = {95, 95}, + TileSize = {3, 3}, BoxSize = {96, 96}, Armor = 20, Missile = "missile-none", Priority = 0, Corpse = "unit-destroyed-3x3-place", @@ -368,7 +368,7 @@ DefineUnitType("unit-template-base-mine", { RepairHp = 4, RepairCosts = {"copper", 1, "lumber", 1}, HitPoints = 650, - TileSize = {3, 3}, BoxSize = {95, 95}, + TileSize = {3, 3}, BoxSize = {96, 96}, -- Armor = 20, Missile = "missile-none", Armor = 5, Missile = "missile-none", Priority = 20, AnnoyComputerFactor = 20, @@ -674,7 +674,7 @@ DefineUnitType("unit-diamond-rock", { Costs = {"time", 150}, HitPoints = 25500, DrawLevel = 30, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 1, Armor = 20, Missile = "missile-none", Priority = 0, @@ -720,7 +720,7 @@ DefineUnitType("unit-emerald-rock", { Costs = {"time", 150}, HitPoints = 25500, DrawLevel = 30, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 1, Armor = 20, Missile = "missile-none", Priority = 0, @@ -767,7 +767,7 @@ DefineUnitType("unit-wood-pile", { Costs = {"time", 150}, HitPoints = 25500, DrawLevel = 30, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 1, Armor = 20, Missile = "missile-none", Priority = 0, @@ -811,7 +811,7 @@ DefineUnitType("unit-stone-pile", { Costs = {"time", 150}, HitPoints = 25500, DrawLevel = 30, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 1, Armor = 20, Missile = "missile-none", Priority = 0, @@ -995,7 +995,7 @@ DefineUnitType("unit-tree-stump", { Animations = "animations-tree-stump", Icon = "icon-tree-stump", HitPoints = 20, DrawLevel = 30, - TileSize = {2, 2}, BoxSize = {63, 63}, + TileSize = {2, 2}, BoxSize = {64, 64}, SightRange = 1, Armor = 2, Missile = "missile-none", Domain = "land", @@ -1048,7 +1048,7 @@ DefineUnitType("unit-hole", { Animations = "animations-tree-stump", Icon = "icon-hole", HitPoints = 50, DrawLevel = 30, - TileSize = {2, 2}, BoxSize = {63, 63}, + TileSize = {2, 2}, BoxSize = {64, 64}, SightRange = 1, Armor = 5, Missile = "missile-none", Domain = "land", @@ -1078,7 +1078,7 @@ DefineUnitType("unit-cavern-entrance", { Costs = {"time", 150}, HitPoints = 25500, DrawLevel = 35, - TileSize = {3, 3}, BoxSize = {95, 95}, + TileSize = {3, 3}, BoxSize = {96, 96}, SightRange = 1, Armor = 20, Missile = "missile-none", Priority = 0, @@ -1151,7 +1151,7 @@ DefineUnitType("unit-portal", { Costs = {"time", 150}, HitPoints = 0, DrawLevel = 10, - TileSize = {3, 3}, BoxSize = {95, 95}, + TileSize = {3, 3}, BoxSize = {96, 96}, SightRange = 1, Armor = 20, Missile = "missile-none", Priority = 0, @@ -1177,7 +1177,7 @@ DefineUnitType("unit-water-portal", { Costs = {"time", 150}, HitPoints = 0, DrawLevel = 10, - TileSize = {3, 3}, BoxSize = {95, 95}, + TileSize = {3, 3}, BoxSize = {96, 96}, SightRange = 1, Armor = 20, Missile = "missile-none", Priority = 0, @@ -1203,7 +1203,7 @@ DefineUnitType("unit-mushroom", { Animations = "animations-mushroom-patch", Icon = "icon-mushroom", HitPoints = 0, DrawLevel = 5, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 0, Missile = "missile-none", Priority = 0, @@ -1242,7 +1242,7 @@ DefineUnitType("unit-mushroom-patch", { Animations = "animations-mushroom-patch", Icon = "icon-mushroom", HitPoints = 0, DrawLevel = 5, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 0, Missile = "missile-none", Priority = 0, @@ -1277,7 +1277,7 @@ DefineUnitType("unit-flowers", { Animations = "animations-building", Icon = "icon-flowers", HitPoints = 0, DrawLevel = 5, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 0, Missile = "missile-none", Priority = 0, @@ -1332,7 +1332,7 @@ DefineUnitType("unit-large-flower", { Animations = "animations-building", Icon = "icon-large-flower", HitPoints = 0, DrawLevel = 5, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 0, Missile = "missile-none", Priority = 0, @@ -1476,7 +1476,7 @@ DefineUnitType("unit-fern", { Name = "Fern", Animations = "animations-building", Icon = "icon-fern", HitPoints = 0, DrawLevel = 5, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 0, Missile = "missile-none", Priority = 0, @@ -1539,7 +1539,7 @@ DefineUnitType("unit-twigs", { Animations = "animations-decoration", Icon = "icon-twigs", HitPoints = 0, DrawLevel = 5, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 0, Missile = "missile-none", Priority = 0, @@ -1637,7 +1637,7 @@ DefineUnitType("unit-log", { NeutralMinimapColor = {165, 42, 42}, HitPoints = 20, DrawLevel = 35, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 0, Armor = 2, Missile = "missile-none", Priority = 0, @@ -1657,7 +1657,7 @@ DefineUnitType("unit-bones", { Name = "Bones", Animations = "animations-decoration", Icon = "icon-bones", HitPoints = 0, DrawLevel = 5, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 0, Missile = "missile-none", Priority = 0, @@ -1691,7 +1691,7 @@ DefineUnitType("unit-wyrm-skeleton", { Animations = "animations-building", Icon = "icon-wyrm-skeleton", HitPoints = 0, DrawLevel = 5, - TileSize = {4, 1}, BoxSize = {127, 31}, + TileSize = {4, 1}, BoxSize = {128, 32}, SightRange = 0, Missile = "missile-none", Priority = 0, @@ -1718,7 +1718,7 @@ DefineUnitType("unit-small-rocks", { Name = "Small Rocks", Animations = "animations-decoration", Icon = "icon-small-rocks", HitPoints = 0, DrawLevel = 5, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 0, Missile = "missile-none", Priority = 0, @@ -1759,7 +1759,7 @@ DefineUnitType("unit-stalagmites", { Animations = "animations-decoration", Icon = "icon-stalagmites", HitPoints = 0, DrawLevel = 5, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 0, Missile = "missile-none", Priority = 0, @@ -1810,7 +1810,7 @@ DefineUnitType("unit-volcanic-crater", { Animations = "animations-volcanic-crater", Icon = "icon-volcanic-crater", HitPoints = 0, DrawLevel = 30, - TileSize = {2, 2}, BoxSize = {63, 63}, + TileSize = {2, 2}, BoxSize = {64, 64}, SightRange = 0, FireDamage = 80, Missile = "missile-flaming-catapult-rock", Priority = 0, @@ -1836,7 +1836,7 @@ DefineUnitType("unit-glyph", { Animations = "animations-decoration", Icon = "icon-glyph", HitPoints = 0, DrawLevel = 4, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 0, Missile = "missile-none", Priority = 0, @@ -1937,7 +1937,7 @@ DefineUnitType("unit-stairs", { Animations = "animations-decoration", Icon = "icon-stairs", HitPoints = 0, DrawLevel = 5, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 0, Missile = "missile-none", Priority = 0, @@ -1966,7 +1966,7 @@ DefineUnitType("unit-door", { NeutralMinimapColor = {128, 128, 0}, HitPoints = 10, DrawLevel = 30, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 1, Armor = 5, Missile = "missile-none", Priority = 0, @@ -1997,7 +1997,7 @@ DefineUnitType("unit-shelf", { Animations = "animations-decoration", Icon = "icon-shelf", HitPoints = 0, DrawLevel = 5, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 0, Missile = "missile-none", Priority = 0, @@ -2033,7 +2033,7 @@ DefineUnitType("unit-outer-wall-decoration", { Name = "Outer Wall Decoration", Animations = "animations-decoration", Icon = "icon-outer-wall-decoration", HitPoints = 0, DrawLevel = 5, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 0, Missile = "missile-none", Priority = 0, @@ -2063,7 +2063,7 @@ DefineUnitType("unit-inner-wall-decoration", { Name = "Inner Wall Decoration", Animations = "animations-decoration", Icon = "icon-inner-wall-decoration", HitPoints = 0, DrawLevel = 5, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 0, Missile = "missile-none", Priority = 0, @@ -2093,7 +2093,7 @@ DefineUnitType("unit-floor-decoration", { Name = "Floor Decoration", Animations = "animations-decoration", Icon = "icon-floor-decoration", HitPoints = 0, DrawLevel = 5, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 0, Missile = "missile-none", Priority = 0, @@ -2124,7 +2124,7 @@ DefineUnitType("unit-dwarven-dead-body", { Animations = "animations-dead-body", Icon = "dwarven_miner", HitPoints = 255, DrawLevel = 30, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 1, Missile = "missile-none", Priority = 0, @@ -2140,7 +2140,7 @@ DefineUnitType("unit-gnomish-dead-body", { Animations = "animations-gnomish-dead-body", Icon = "dwarven_miner", HitPoints = 255, DrawLevel = 30, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 1, Missile = "missile-none", Priority = 0, @@ -2156,7 +2156,7 @@ DefineUnitType("unit-goblin-dead-body", { Animations = "animations-goblin-dead-body", Icon = "dwarven_miner", HitPoints = 255, DrawLevel = 30, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 1, Missile = "missile-none", Priority = 0, @@ -2172,7 +2172,7 @@ DefineUnitType("unit-human-dead-body", { Animations = "animations-dead-body", Icon = "dwarven_miner", HitPoints = 255, DrawLevel = 30, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 1, Missile = "missile-none", Priority = 0, @@ -2188,7 +2188,7 @@ DefineUnitType("unit-kobold-dead-body", { Animations = "animations-kobold-dead-body", Icon = "dwarven_miner", HitPoints = 255, DrawLevel = 30, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 1, Missile = "missile-none", Priority = 0, @@ -2204,7 +2204,7 @@ DefineUnitType("unit-troll-dead-body", { Animations = "animations-dead-body", Icon = "dwarven_miner", HitPoints = 255, DrawLevel = 30, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 1, Missile = "missile-none", Priority = 0, @@ -2219,7 +2219,7 @@ DefineUnitType("unit-troll-dead-body", { -- Animations = "animations-dead-sea-body", Icon = "dwarven_miner", -- HitPoints = 255, -- DrawLevel = 30, --- TileSize = {2, 2}, BoxSize = {31, 31}, +-- TileSize = {2, 2}, BoxSize = {32, 32}, -- SightRange = 1, -- Missile = "missile-none", -- Priority = 0, @@ -2234,7 +2234,7 @@ DefineUnitType("unit-scepter-of-fire", { NeutralMinimapColor = {255, 255, 0}, HitPoints = 1, DrawLevel = 30, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 1, Missile = "missile-none", Priority = 0, @@ -2254,7 +2254,7 @@ DefineUnitType("unit-gold-coins", { NeutralMinimapColor = {255, 255, 0}, HitPoints = 1, DrawLevel = 30, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 1, Missile = "missile-none", Priority = 0, @@ -2276,7 +2276,7 @@ DefineUnitType("unit-gold-sack", { NeutralMinimapColor = {255, 255, 0}, HitPoints = 1, DrawLevel = 30, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 1, Missile = "missile-none", Priority = 0, @@ -2299,7 +2299,7 @@ DefineUnitType("unit-gold-chest", { NeutralMinimapColor = {255, 255, 0}, HitPoints = 100, DrawLevel = 30, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 1, Armor = 5, Missile = "missile-none", Priority = 0, @@ -2316,7 +2316,7 @@ DefineUnitType("unit-gold-and-gems-chest", { NeutralMinimapColor = {255, 255, 0}, HitPoints = 100, DrawLevel = 30, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 1, Armor = 5, Missile = "missile-none", Priority = 0, @@ -2333,7 +2333,7 @@ DefineUnitType("unit-alchemy-bench", { NeutralMinimapColor = {128, 128, 0}, HitPoints = 5, DrawLevel = 30, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 1, Armor = 2, Missile = "missile-none", Priority = 0, @@ -2356,7 +2356,7 @@ DefineUnitType("unit-table", { NeutralMinimapColor = {128, 128, 0}, HitPoints = 5, DrawLevel = 30, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 1, Armor = 2, Missile = "missile-none", Priority = 0, @@ -2466,7 +2466,7 @@ DefineUnitType("unit-chair", { NeutralMinimapColor = {128, 128, 0}, HitPoints = 3, DrawLevel = 30, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 1, Armor = 2, Missile = "missile-none", Priority = 0, @@ -2501,7 +2501,7 @@ DefineUnitType("unit-bed", { NeutralMinimapColor = {128, 128, 0}, HitPoints = 5, DrawLevel = 30, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 1, Armor = 2, Missile = "missile-none", Priority = 0, @@ -2530,7 +2530,7 @@ DefineUnitType("unit-potion-of-decay", { NeutralMinimapColor = {255, 255, 0}, HitPoints = 1, DrawLevel = 30, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 1, Missile = "missile-none", Priority = 0, @@ -2551,7 +2551,7 @@ DefineUnitType("unit-potion-of-slowness", { NeutralMinimapColor = {255, 255, 0}, HitPoints = 1, DrawLevel = 30, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 1, Missile = "missile-none", Priority = 0, @@ -2572,7 +2572,7 @@ DefineUnitType("unit-barrel", { NeutralMinimapColor = {128, 128, 0}, HitPoints = 5, DrawLevel = 30, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 1, Armor = 2, Missile = "missile-none", Priority = 0, @@ -2603,7 +2603,7 @@ DefineUnitType("unit-explosive-barrel", { NeutralMinimapColor = {128, 128, 0}, HitPoints = 5, DrawLevel = 30, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 1, Armor = 2, Missile = "missile-none", Priority = 0, @@ -2626,7 +2626,7 @@ DefineUnitType("unit-gryphon-feather", { NeutralMinimapColor = {255, 255, 0}, HitPoints = 1, DrawLevel = 30, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 1, Missile = "missile-none", Priority = 0, @@ -2643,7 +2643,7 @@ DefineUnitType("unit-caltrops", { NeutralMinimapColor = {255, 255, 0}, HitPoints = 10, DrawLevel = 30, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 1, PiercingDamage = 10, Missile = "missile-none", Priority = 0, @@ -2683,7 +2683,7 @@ DefineUnitType("unit-trap", { NeutralMinimapColor = {255, 255, 0}, HitPoints = 15, DrawLevel = 30, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 1, PiercingDamage = 15, Missile = "missile-none", Priority = 0, @@ -2705,7 +2705,7 @@ DefineUnitType("unit-roaming-fog", { Speed = 3, HitPoints = 1, DrawLevel = 45, - TileSize = {15, 8}, BoxSize = {497, 276}, + TileSize = {15, 8}, BoxSize = {498, 278}, SightRange = 1, Missile = "missile-none", MaxAttackRange = 1, @@ -2738,7 +2738,7 @@ DefineUnitType("unit-roaming-fog-small", { Speed = 3, HitPoints = 1, DrawLevel = 45, - TileSize = {8, 5}, BoxSize = {255, 169}, + TileSize = {8, 5}, BoxSize = {256, 172}, SightRange = 1, Missile = "missile-none", MaxAttackRange = 1, @@ -2771,7 +2771,7 @@ DefineUnitType("unit-miasma", { Speed = 3, HitPoints = 30, -- miasma lives for 30 seconds DrawLevel = 45, - TileSize = {4, 4}, BoxSize = {127, 127}, + TileSize = {4, 4}, BoxSize = {128, 128}, SightRange = 1, Missile = "missile-none", MaxAttackRange = 1, @@ -2845,7 +2845,7 @@ DefineUnitType("unit-template-worker", { PopulationClass = "workers", Speed = 10, HitPoints = 30, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 4, AutoRepairRange = 4, BasicDamage = 5, Missile = "missile-none", @@ -3075,7 +3075,7 @@ DefineUnitType("unit-template-militia", { PopulationClass = "workers", Speed = 10, HitPoints = 30, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 4, Armor = 1, BasicDamage = 6, Missile = "missile-none", MaxAttackRange = 1, @@ -3113,7 +3113,7 @@ DefineUnitType("unit-template-merchant", { Charisma = 12, Speed = 10, HitPoints = 45, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 4, BasicDamage = 6, Missile = "missile-none", MaxAttackRange = 1, @@ -3187,7 +3187,7 @@ DefineUnitType("unit-template-infantry", { Strength = 11, Speed = 10, HitPoints = 60, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 4, Armor = 2, BasicDamage = 9, Missile = "missile-none", MaxAttackRange = 1, @@ -3325,7 +3325,7 @@ DefineUnitType("unit-template-archer", { Dexterity = 11, Speed = 10, HitPoints = 40, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 6, BasicDamage = 9, Missile = "missile-arrow", @@ -3442,7 +3442,7 @@ DefineUnitType("unit-template-thief", { Charisma = 11, Speed = 10, HitPoints = 40, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 4, BasicDamage = 6, Missile = "missile-none", MaxAttackRange = 1, @@ -3636,7 +3636,7 @@ DefineUnitType("unit-template-priest", { Charisma = 12, Speed = 8, HitPoints = 40, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 9, BasicDamage = 6, Missile = "missile-none", MaxAttackRange = 1, @@ -3705,7 +3705,7 @@ DefineUnitType("unit_template_mage", { Intelligence = 14, Speed = 8, HitPoints = 40, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 9, BasicDamage = 6, Missile = "missile-none", MaxAttackRange = 1, @@ -3783,7 +3783,7 @@ DefineUnitType("unit-template-flying-rider", { Speed = 14, HitPoints = 100, DrawLevel = 60, - TileSize = {2, 2}, BoxSize = {63, 63}, + TileSize = {2, 2}, BoxSize = {64, 64}, SightRange = 6, BasicDamage = 12, Missile = "missile-arrow", MaxAttackRange = 5, @@ -3824,7 +3824,7 @@ DefineUnitType("unit-template-siege-engine", { RepairCosts = {"copper", 1, "lumber", 1}, Speed = 5, HitPoints = 110, - TileSize = {1, 1}, BoxSize = {63, 63}, + TileSize = {1, 1}, BoxSize = {64, 64}, SightRange = 9, -- BasicDamage = 75, BasicDamage = 60, @@ -3920,7 +3920,7 @@ DefineUnitType("unit-template-transport-ship", { Speed = 8, HitPoints = 150, MaxOnBoard = 4, - TileSize = {2, 2}, BoxSize = {63, 63}, + TileSize = {2, 2}, BoxSize = {64, 64}, SightRange = 4, Armor = 5, Missile = "missile-none", @@ -3960,7 +3960,7 @@ DefineUnitType("unit-template-siege-warship", { Costs = {"time", 90, "copper", 700, "lumber", 3150}, Speed = 8, HitPoints = 100, - TileSize = {2, 2}, BoxSize = {63, 63}, + TileSize = {2, 2}, BoxSize = {64, 64}, SightRange = 8, Armor = 10, BasicDamage = 35, @@ -3996,7 +3996,7 @@ DefineUnitType("unit-template-town-hall", { RepairCosts = {"copper", 1, "lumber", 1}, Construction = "town_hall", HitPoints = 1000, -- 1200 with masonry - TileSize = {4, 4}, BoxSize = {127, 127}, + TileSize = {4, 4}, BoxSize = {128, 128}, SightRange = 5, Armor = 5, Missile = "missile-none", Priority = 35, AnnoyComputerFactor = 45, @@ -4086,7 +4086,7 @@ DefineUnitType("unit-template-farm", { RepairCosts = {"copper", 1, "lumber", 1}, Construction = "minor_building_site", HitPoints = 334, -- 400 with masonry - TileSize = {2, 2}, BoxSize = {63, 63}, + TileSize = {2, 2}, BoxSize = {64, 64}, Armor = 5, Missile = "missile-none", Priority = 20, AnnoyComputerFactor = 45, Points = 100, @@ -4125,7 +4125,7 @@ DefineUnitType("unit-template-barracks", { RepairCosts = {"copper", 1, "lumber", 1}, Construction = "land_building", HitPoints = 667, -- 800 with masonry - TileSize = {3, 3}, BoxSize = {95, 95}, + TileSize = {3, 3}, BoxSize = {96, 96}, Armor = 5, Missile = "missile-none", Priority = 30, AnnoyComputerFactor = 35, Points = 160, @@ -4167,7 +4167,7 @@ DefineUnitType("unit-template-lumber-mill", { ImproveProduction = {"lumber", 25}, Construction = "land_building", HitPoints = 500, -- 600 with masonry - TileSize = {3, 3}, BoxSize = {95, 95}, + TileSize = {3, 3}, BoxSize = {96, 96}, Armor = 5, Missile = "missile-none", Priority = 25, AnnoyComputerFactor = 15, Points = 150, @@ -4218,7 +4218,7 @@ DefineUnitType("unit-template-smithy", { Construction = "land_building_active", Animations = "animations-active-building", HitPoints = 646, -- 775 with masonry - TileSize = {3, 3}, BoxSize = {95, 95}, + TileSize = {3, 3}, BoxSize = {96, 96}, Armor = 5, Missile = "missile-none", Priority = 15, AnnoyComputerFactor = 20, Points = 170, @@ -4286,7 +4286,7 @@ DefineUnitType("unit-template-masons-shop", { ImproveProduction = {"stone", 25}, Construction = "land_building", HitPoints = 500, -- 600 with masonry - TileSize = {3, 3}, BoxSize = {95, 95}, + TileSize = {3, 3}, BoxSize = {96, 96}, Armor = 5, Missile = "missile-none", Priority = 25, AnnoyComputerFactor = 15, Points = 150, @@ -4324,7 +4324,7 @@ DefineUnitType("unit-template-stables", { RepairCosts = {"copper", 1, "lumber", 1}, Construction = "land_building", HitPoints = 417, -- 500 with masonry - TileSize = {3, 3}, BoxSize = {95, 95}, + TileSize = {3, 3}, BoxSize = {96, 96}, Armor = 5, Missile = "missile-none", Priority = 15, AnnoyComputerFactor = 15, Points = 210, @@ -4360,7 +4360,7 @@ DefineUnitType("unit-template-temple", { RepairCosts = {"copper", 1, "lumber", 1}, Construction = "building_site", HitPoints = 584, -- 700 with masonry - TileSize = {3, 3}, BoxSize = {95, 95}, + TileSize = {3, 3}, BoxSize = {96, 96}, Armor = 5, Missile = "missile-none", Priority = 15, AnnoyComputerFactor = 35, Points = 240, @@ -4402,7 +4402,7 @@ DefineUnitType("unit-template-university", { RepairCosts = {"copper", 1, "lumber", 1}, Construction = "building_site", HitPoints = 584, -- 700 with masonry - TileSize = {3, 3}, BoxSize = {95, 95}, + TileSize = {3, 3}, BoxSize = {96, 96}, Armor = 5, Missile = "missile-none", Priority = 15, AnnoyComputerFactor = 35, Points = 240, @@ -4442,7 +4442,7 @@ DefineUnitType("unit-template-watch-tower", { RepairCosts = {"copper", 1, "lumber", 1, "stone", 1}, Construction = "minor_building_site", HitPoints = 167, -- 200 with masonry - TileSize = {2, 2}, BoxSize = {63, 63}, + TileSize = {2, 2}, BoxSize = {64, 64}, SightRange = 8, Armor = 5, Missile = "missile-none", Priority = 55, AnnoyComputerFactor = 50, @@ -4484,7 +4484,7 @@ DefineUnitType("unit-template-guard-tower", { RepairCosts = {"copper", 1, "lumber", 1, "stone", 1}, Construction = "minor_building_site", HitPoints = 217, -- 260 with masonry - TileSize = {2, 2}, BoxSize = {63, 63}, + TileSize = {2, 2}, BoxSize = {64, 64}, SightRange = 8, Armor = 5, BasicDamage = 9, @@ -4533,7 +4533,7 @@ DefineUnitType("unit-template-heavy-tower", { RepairCosts = {"copper", 1, "lumber", 1, "stone", 1}, Construction = "minor_building_site", HitPoints = 267, -- 320 with masonry - TileSize = {2, 2}, BoxSize = {63, 63}, + TileSize = {2, 2}, BoxSize = {64, 64}, SightRange = 8, Armor = 5, BasicDamage = 40, @@ -4593,7 +4593,7 @@ DefineUnitType("unit-template-market", { RepairCosts = {"copper", 1, "lumber", 1}, Construction = "land_building", HitPoints = 917, -- 1100 with masonry - TileSize = {3, 3}, BoxSize = {95, 95}, + TileSize = {3, 3}, BoxSize = {96, 96}, Armor = 5, Missile = "missile-none", Priority = 30, AnnoyComputerFactor = 20, Points = 170, @@ -4647,7 +4647,7 @@ DefineUnitType("unit-template-dock", { RepairCosts = {"copper", 1, "lumber", 1}, Construction = "dock", HitPoints = 917, -- 1100 with masonry - TileSize = {3, 3}, BoxSize = {95, 95}, + TileSize = {3, 3}, BoxSize = {96, 96}, Armor = 5, Missile = "missile-none", Priority = 30, AnnoyComputerFactor = 20, Points = 170, @@ -4699,7 +4699,7 @@ DefineUnitType("unit-template-palisade", { RepairCosts = {"copper", 1, "lumber", 1}, HitPoints = 100, DrawLevel = 30, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 1, Armor = 5, Missile = "missile-none", Priority = 0, AnnoyComputerFactor = 45, @@ -4727,7 +4727,7 @@ DefineUnitType("unit-template-wall", { RepairCosts = {"copper", 1, "stone", 1}, HitPoints = 200, DrawLevel = 30, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 1, Armor = 20, Missile = "missile-none", Priority = 0, AnnoyComputerFactor = 45, @@ -4775,7 +4775,7 @@ DefineUnitType("unit-orc-sea-orc", { Costs = {"time", 60, "copper", 600}, Speed = 10, HitPoints = 60, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 4, Armor = 2, BasicDamage = 9, Missile = "missile-none", MaxAttackRange = 1, @@ -4807,7 +4807,7 @@ DefineUnitType("unit-orc-shaman", { Costs = {"time", 60, "copper", 600}, Speed = 10, HitPoints = 60, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 4, Armor = 2, BasicDamage = 9, Missile = "missile-none", MaxAttackRange = 1, @@ -4859,7 +4859,7 @@ DefineUnitType("unit-long-swordsman", { Costs = {"time", 60, "copper", 600}, Speed = 10, HitPoints = 60, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 4, Armor = 2, BasicDamage = 9, Missile = "missile-none", MaxAttackRange = 1, @@ -4898,7 +4898,7 @@ DefineUnitType("unit-mercenary-camp", { RepairCosts = {"copper", 1, "lumber", 1}, Construction = "land_building", HitPoints = 800, - TileSize = {3, 3}, BoxSize = {95, 95}, + TileSize = {3, 3}, BoxSize = {96, 96}, Armor = 20, Missile = "missile-none", Priority = 30, AnnoyComputerFactor = 35, Corpse = "unit-destroyed-3x3-place", @@ -4964,7 +4964,7 @@ DefineUnitType("unit-dungeon-wall", { RepairCosts = {"copper", 1, "lumber", 1, "stone", 1}, HitPoints = 200, DrawLevel = 30, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 1, Armor = 20, Missile = "missile-none", Priority = 0, AnnoyComputerFactor = 45, @@ -4994,7 +4994,7 @@ DefineUnitType("unit-road", { RepairCosts = {"copper", 1, "lumber", 1, "stone", 1}, HitPoints = 40, DrawLevel = 30, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 1, Armor = 20, Missile = "missile-none", SpeedBonus = 1, @@ -5028,7 +5028,7 @@ DefineUnitType("unit-railroad", { RepairCosts = {"copper", 1, "lumber", 1}, HitPoints = 40, DrawLevel = 30, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 1, Armor = 20, Missile = "missile-none", SpeedBonus = 1, diff --git a/scripts/units_fauna.lua b/scripts/units_fauna.lua index 90899ee486..b2534e4692 100644 --- a/scripts/units_fauna.lua +++ b/scripts/units_fauna.lua @@ -42,7 +42,7 @@ DefineUnitType("unit-template-diminutive-fauna-unit", { Name = "Diminutive Fauna Unit", Parent = "unit-template-fauna-unit", Template = true, - TileSize = {1, 1}, BoxSize = {15, 15}, + TileSize = {1, 1}, BoxSize = {16, 16}, HitPoints = 1, BasicDamage = 1, Missile = "missile-none", Accuracy = 15, @@ -198,7 +198,7 @@ DefineUnitType("unit-snail", { Speed = 3, HitPoints = 1, DrawLevel = 39, - TileSize = {1, 1}, BoxSize = {15, 15}, + TileSize = {1, 1}, BoxSize = {16, 16}, SightRange = 2, BasicDamage = 1, Missile = "missile-none", Accuracy = 15, @@ -240,7 +240,7 @@ DefineUnitType("unit-slug", { Speed = 3, HitPoints = 1, DrawLevel = 39, - TileSize = {1, 1}, BoxSize = {15, 15}, + TileSize = {1, 1}, BoxSize = {16, 16}, SightRange = 2, BasicDamage = 1, Missile = "missile-none", Accuracy = 15, @@ -301,7 +301,7 @@ DefineUnitType("unit-snigill", { Speed = 3, HitPoints = 1, DrawLevel = 39, - TileSize = {1, 1}, BoxSize = {15, 15}, + TileSize = {1, 1}, BoxSize = {16, 16}, SightRange = 2, BasicDamage = 1, Missile = "missile-none", Accuracy = 15, @@ -419,7 +419,7 @@ DefineUnitType("unit-adelobasileus-cromptoni", { Speed = 8, HitPoints = 5, DrawLevel = 35, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 3, BasicDamage = 1, Missile = "missile-none", MaxAttackRange = 1, @@ -468,7 +468,7 @@ DefineUnitType("unit-galerix-exilis", { Speed = 8, HitPoints = 5, DrawLevel = 35, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 3, BasicDamage = 1, Missile = "missile-none", MaxAttackRange = 1, @@ -518,7 +518,7 @@ DefineUnitType("unit-megacricetodon-collongensis", { Speed = 8, HitPoints = 5, DrawLevel = 35, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 3, BasicDamage = 1, Missile = "missile-none", MaxAttackRange = 1, @@ -568,7 +568,7 @@ DefineUnitType("unit-rat", { Speed = 8, HitPoints = 5, DrawLevel = 35, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 3, BasicDamage = 2, Missile = "missile-none", MaxAttackRange = 1, @@ -629,7 +629,7 @@ DefineUnitType("unit-horse", { Charisma = 6, Speed = 13, HitPoints = 30, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 4, BasicDamage = 2, Missile = "missile-none", MaxAttackRange = 1, @@ -696,7 +696,7 @@ DefineUnitType("unit-goat", { Charisma = 4, Speed = 13, HitPoints = 15, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 4, BasicDamage = 2, Missile = "missile-none", MaxAttackRange = 1, @@ -799,7 +799,7 @@ DefineUnitType("unit-boar", { Charisma = 4, Speed = 13, HitPoints = 15, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 4, BasicDamage = 2, Missile = "missile-none", MaxAttackRange = 1, @@ -847,7 +847,7 @@ DefineUnitType("unit-wolf", { Charisma = 6, Speed = 13, HitPoints = 45, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 4, BasicDamage = 6, Missile = "missile-none", MaxAttackRange = 1, @@ -899,7 +899,7 @@ DefineUnitType("unit-gryphon", { Speed = 14, HitPoints = 90, DrawLevel = 60, - TileSize = {2, 2}, BoxSize = {63, 63}, + TileSize = {2, 2}, BoxSize = {64, 64}, SightRange = 6, Armor = 0, BasicDamage = 12, Missile = "missile-none", MaxAttackRange = 1, @@ -970,7 +970,7 @@ DefineUnitType("unit-slime", { Speed = 3, HitPoints = 30, DrawLevel = 35, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, Armor = 10, SightRange = 3, AcidDamage = 5, Missile = "missile-none", @@ -1084,7 +1084,7 @@ DefineUnitType("unit-bird", { Speed = 14, HitPoints = 5, DrawLevel = 45, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 5, BasicDamage = 2, Missile = "missile-none", MaxAttackRange = 1, @@ -1142,7 +1142,7 @@ DefineUnitType("unit-crow", { Speed = 14, HitPoints = 5, DrawLevel = 45, - TileSize = {1, 1}, BoxSize = {31, 31}, + TileSize = {1, 1}, BoxSize = {32, 32}, SightRange = 5, BasicDamage = 2, Missile = "missile-none", MaxAttackRange = 1,