1dirname = path.dirname(__file__) 2 3tribes:new_productionsite_type { 4 msgctxt = "atlanteans_building", 5 name = "atlanteans_fishbreeders_house", 6 -- TRANSLATORS: This is a building name used in lists of buildings 7 descname = pgettext("atlanteans_building", "Fish Breeder’s House"), 8 helptext_script = dirname .. "helptexts.lua", 9 icon = dirname .. "menu.png", 10 size = "small", 11 12 buildcost = { 13 log = 1, 14 planks = 1, 15 granite = 1 16 }, 17 return_on_dismantle = { 18 granite = 1 19 }, 20 21 animations = { 22 idle = { 23 pictures = path.list_files(dirname .. "idle_??.png"), 24 hotspot = { 34, 42 }, 25 }, 26 }, 27 28 aihints = { 29 needs_water = true, 30 supports_production_of = { "fish" }, 31 prohibited_till = 560, 32 forced_after = 890 33 }, 34 35 working_positions = { 36 atlanteans_fishbreeder = 1 37 }, 38 39 programs = { 40 work = { 41 -- TRANSLATORS: Completed/Skipped/Did not start breeding fish because ... 42 descname = _"breeding fish", 43 actions = { 44 "callworker=breed", 45 "sleep=13500" 46 } 47 }, 48 }, 49 50 indicate_workarea_overlaps = { 51 atlanteans_fishers_house = true, 52 atlanteans_fishbreeders_house = false, 53 }, 54 55 out_of_resource_notification = { 56 -- Translators: Short for "Out of ..." for a resource 57 title = _"No Fish", 58 heading = _"Out of Fish", 59 message = pgettext("atlanteans_building", "The fish breeder working out of this fish breeder’s house can’t find any fish in his work area. Remember that you can only regenerate your fish resources if there are some fish left to breed."), 60 productivity_threshold = 60 61 }, 62 -- Translators: Productivity tooltip for Atlantean fish breeders when all water fields are already full of fish 63 resource_not_needed_message = _"The fishing grounds are full"; 64} 65