From 78687775ea5287b791dc806da59fa1a942ae4659 Mon Sep 17 00:00:00 2001 From: Sveinung Kvilhaugsvik Date: Mon, 28 Jun 2021 22:43:56 +0200 Subject: [PATCH] sandbox: demonstrate "Transport Load". See osdn #42587 --- data/sandbox/README.sandbox | 4 ++++ data/sandbox/game.ruleset | 11 +++++++++++ 2 files changed, 15 insertions(+) diff --git a/data/sandbox/README.sandbox b/data/sandbox/README.sandbox index 9e744c028e..4488ba3100 100644 --- a/data/sandbox/README.sandbox +++ b/data/sandbox/README.sandbox @@ -114,6 +114,10 @@ Terrains for more information. Sea Units in port: Sea Units in cities defend with 1/4 of their usual defense value. +Transporters can Load +Units capable of transporting other units can pick up domestic and allied +cargo units located at the same tile. + Goods: Trade routes can carry many kinds of goods. There is production chains like that city with Mine can trade Ore to a city that then can trade diff --git a/data/sandbox/game.ruleset b/data/sandbox/game.ruleset index 18c1442b8b..40979c660b 100644 --- a/data/sandbox/game.ruleset +++ b/data/sandbox/game.ruleset @@ -2834,6 +2834,17 @@ target_reqs = "UnitState", "Transported", "Local" } +[actionenabler_load] +action = "Transport Load" +actor_reqs = + { "type", "name", "range", "present" + "DiplRel", "Armistice", "Local", FALSE + "DiplRel", "War", "Local", FALSE + "DiplRel", "Cease-fire", "Local", FALSE + "DiplRel", "Peace", "Local", FALSE + "DiplRel", "Never met", "Local", FALSE + } + [actionenabler_disembark_from_native_tile] action = "Transport Disembark" actor_reqs = -- 2.30.2