1-- ======================================================================= 2-- Start conditions for Discovery 3-- ======================================================================= 4 5include "scripting/starting_conditions.lua" 6 7set_textdomain("tribes") 8 9init = { 10 -- TRANSLATORS: This is the name of a starting condition 11 descname = _ "Discovery", 12 -- TRANSLATORS: This is the tooltip for the "Discovery" starting condition 13 tooltip = _"Start the game with three ships on the ocean and only a handful of supplies", 14 map_tags = {"seafaring"}, 15 16 func = function(player, shared_in_start) 17 18 local map = wl.Game().map 19 local sf = map.player_slots[player.number].starting_field 20 if shared_in_start then 21 sf = shared_in_start 22 else 23 player:allow_workers("all") 24 end 25 26 launch_expeditions(player, { 27 { 28 log = 7, 29 granite = 1, 30 barbarians_lumberjack = 3, 31 barbarians_ranger = 2, 32 barbarians_soldier = 1, 33 }, 34 { 35 granite = 1, 36 blackwood = 5, 37 grout = 3, 38 barbarians_stonemason = 2, 39 barbarians_gardener = 1, 40 barbarians_soldier = 1, 41 }, 42 { 43 grout = 1, 44 iron = 2, 45 barbarians_soldier = 1, 46 barbarians_geologist = 1, 47 barbarians_miner = 2, 48 barbarians_smelter = 2, 49 barbarians_blacksmith = 1, 50 barbarians_innkeeper = 2, 51 barbarians_fisher = 1, 52 }, 53 }) 54end 55} 56 57return init 58