1dirname = path.dirname(__file__) 2 3tribes:new_immovable_type { 4 msgctxt = "resource_indicator", 5 name = "atlanteans_resi_none", 6 -- TRANSLATORS: This is a resource name used in lists of resources 7 descname = pgettext("resource_indicator", "No Resources"), 8 helptext_script = dirname .. "../helptexts/none.lua", 9 icon = dirname .. "pics/none.png", 10 attributes = { "resi" }, 11 programs = { 12 program = { 13 "animate=idle 600000", 14 "remove=" 15 } 16 }, 17 spritesheets = { 18 idle = { 19 directory = dirname .. "pics", 20 basename = "none", 21 hotspot = {10, 36}, 22 frames = 4, 23 columns = 2, 24 rows = 2 25 } 26 } 27} 28 29tribes:new_immovable_type { 30 msgctxt = "resource_indicator", 31 name = "atlanteans_resi_water", 32 -- TRANSLATORS: This is a resource name used in lists of resources 33 descname = pgettext("resource_indicator", "Water"), 34 helptext_script = dirname .. "../helptexts/water.lua", 35 icon = dirname .. "pics/water.png", 36 attributes = { "resi" }, 37 programs = { 38 program = { 39 "animate=idle 600000", 40 "remove=" 41 } 42 }, 43 spritesheets = { 44 idle = { 45 directory = dirname .. "pics", 46 basename = "water", 47 hotspot = {10, 36}, 48 frames = 4, 49 columns = 2, 50 rows = 2 51 } 52 } 53} 54 55tribes:new_immovable_type { 56 msgctxt = "resource_indicator", 57 name = "atlanteans_resi_coal_1", 58 -- TRANSLATORS: This is a resource name used in lists of resources 59 descname = pgettext("resource_indicator", "Some Coal"), 60 helptext_script = dirname .. "../helptexts/coal_1.lua", 61 icon = dirname .. "pics/coal_few.png", 62 attributes = { "resi" }, 63 programs = { 64 program = { 65 "animate=idle 600000", 66 "remove=" 67 } 68 }, 69 spritesheets = { 70 idle = { 71 directory = dirname .. "pics", 72 basename = "coal_few", 73 hotspot = {10, 36}, 74 frames = 4, 75 columns = 2, 76 rows = 2 77 } 78 } 79} 80 81tribes:new_immovable_type { 82 msgctxt = "resource_indicator", 83 name = "atlanteans_resi_gold_1", 84 -- TRANSLATORS: This is a resource name used in lists of resources 85 descname = pgettext("resource_indicator", "Some Gold"), 86 helptext_script = dirname .. "../helptexts/gold_1.lua", 87 icon = dirname .. "pics/gold_few.png", 88 attributes = { "resi" }, 89 programs = { 90 program = { 91 "animate=idle 600000", 92 "remove=" 93 } 94 }, 95 spritesheets = { 96 idle = { 97 directory = dirname .. "pics", 98 basename = "gold_few", 99 hotspot = {10, 36}, 100 frames = 4, 101 columns = 2, 102 rows = 2 103 } 104 } 105} 106 107tribes:new_immovable_type { 108 msgctxt = "resource_indicator", 109 name = "atlanteans_resi_iron_1", 110 -- TRANSLATORS: This is a resource name used in lists of resources 111 descname = pgettext("resource_indicator", "Some Iron"), 112 helptext_script = dirname .. "../helptexts/iron_1.lua", 113 icon = dirname .. "pics/iron_few.png", 114 attributes = { "resi" }, 115 programs = { 116 program = { 117 "animate=idle 600000", 118 "remove=" 119 } 120 }, 121 spritesheets = { 122 idle = { 123 directory = dirname .. "pics", 124 basename = "iron_few", 125 hotspot = {10, 36}, 126 frames = 4, 127 columns = 2, 128 rows = 2 129 } 130 } 131} 132 133tribes:new_immovable_type { 134 msgctxt = "resource_indicator", 135 name = "atlanteans_resi_stones_1", 136 -- TRANSLATORS: This is a resource name used in lists of resources 137 descname = pgettext("resource_indicator", "Some Crystals"), 138 helptext_script = dirname .. "../helptexts/stones_1.lua", 139 icon = dirname .. "pics/stone_few.png", 140 attributes = { "resi" }, 141 programs = { 142 program = { 143 "animate=idle 600000", 144 "remove=" 145 } 146 }, 147 spritesheets = { 148 idle = { 149 directory = dirname .. "pics", 150 basename = "stone_few", 151 hotspot = {10, 36}, 152 frames = 4, 153 columns = 2, 154 rows = 2 155 } 156 } 157} 158 159tribes:new_immovable_type { 160 msgctxt = "resource_indicator", 161 name = "atlanteans_resi_coal_2", 162 -- TRANSLATORS: This is a resource name used in lists of resources 163 descname = pgettext("resource_indicator", "A Lot of Coal"), 164 helptext_script = dirname .. "../helptexts/coal_2.lua", 165 icon = dirname .. "pics/coal_much.png", 166 attributes = { "resi" }, 167 programs = { 168 program = { 169 "animate=idle 600000", 170 "remove=" 171 } 172 }, 173 spritesheets = { 174 idle = { 175 directory = dirname .. "pics", 176 basename = "coal_much", 177 hotspot = {10, 36}, 178 frames = 4, 179 columns = 2, 180 rows = 2 181 } 182 } 183} 184 185tribes:new_immovable_type { 186 msgctxt = "resource_indicator", 187 name = "atlanteans_resi_gold_2", 188 -- TRANSLATORS: This is a resource name used in lists of resources 189 descname = pgettext("resource_indicator", "A Lot of Gold"), 190 helptext_script = dirname .. "../helptexts/gold_2.lua", 191 icon = dirname .. "pics/gold_much.png", 192 attributes = { "resi" }, 193 programs = { 194 program = { 195 "animate=idle 600000", 196 "remove=" 197 } 198 }, 199 spritesheets = { 200 idle = { 201 directory = dirname .. "pics", 202 basename = "gold_much", 203 hotspot = {10, 36}, 204 frames = 4, 205 columns = 2, 206 rows = 2 207 } 208 } 209} 210 211tribes:new_immovable_type { 212 msgctxt = "resource_indicator", 213 name = "atlanteans_resi_iron_2", 214 -- TRANSLATORS: This is a resource name used in lists of resources 215 descname = pgettext("resource_indicator", "A Lot of Iron"), 216 helptext_script = dirname .. "../helptexts/iron_2.lua", 217 icon = dirname .. "pics/iron_much.png", 218 attributes = { "resi" }, 219 programs = { 220 program = { 221 "animate=idle 600000", 222 "remove=" 223 } 224 }, 225 spritesheets = { 226 idle = { 227 directory = dirname .. "pics", 228 basename = "iron_much", 229 hotspot = {10, 36}, 230 frames = 4, 231 columns = 2, 232 rows = 2 233 } 234 } 235} 236 237tribes:new_immovable_type { 238 msgctxt = "resource_indicator", 239 name = "atlanteans_resi_stones_2", 240 -- TRANSLATORS: This is a resource name used in lists of resources 241 descname = pgettext("resource_indicator", "A Lot of Crystals"), 242 helptext_script = dirname .. "../helptexts/stones_2.lua", 243 icon = dirname .. "pics/stone_much.png", 244 attributes = { "resi" }, 245 programs = { 246 program = { 247 "animate=idle 600000", 248 "remove=" 249 } 250 }, 251 spritesheets = { 252 idle = { 253 directory = dirname .. "pics", 254 basename = "stone_much", 255 hotspot = {10, 36}, 256 frames = 4, 257 columns = 2, 258 rows = 2 259 } 260 } 261} 262