From b119a01e463b8f27249cfdd56a3ce0d4e27145a3 Mon Sep 17 00:00:00 2001 From: Alina Lenk Date: Sat, 8 Oct 2022 03:09:22 +0200 Subject: [PATCH 5/5] sandbox: Make Space Elevator only possible near the equator Requested by Marko Lindqvist (originally by Sveinung Kvilhaugsvik) See osdn#45772 Signed-off-by: Alina Lenk --- data/sandbox/README.sandbox | 2 ++ data/sandbox/buildings.ruleset | 4 ++-- data/sandbox/game.ruleset | 43 +++++++++++++++++----------------- 3 files changed, 26 insertions(+), 23 deletions(-) diff --git a/data/sandbox/README.sandbox b/data/sandbox/README.sandbox index d0f0c49a5f..35926f4f73 100644 --- a/data/sandbox/README.sandbox +++ b/data/sandbox/README.sandbox @@ -239,6 +239,8 @@ radius, expanded vision radius, more trade and additional trade route slots. The down side is that it works only until you end up at war with someone. A city on the same continent as a player's Space Elevator can build a Space Elevator Tether. +A Space Elevator can only be constructed near the equator. To make sure this +is always possible, alltemperate maps have been disabled. Wiping Defenders When military unit attacks unit stack that has only defenseless diff --git a/data/sandbox/buildings.ruleset b/data/sandbox/buildings.ruleset index 178d73fa2b..a231cee79a 100644 --- a/data/sandbox/buildings.ruleset +++ b/data/sandbox/buildings.ruleset @@ -2114,8 +2114,8 @@ reqs = "Building", "Apollo Program", "World", TRUE "Building", "Space Elevator", "Player", FALSE "TerrainClass", "Oceanic", "City", TRUE - ; Uncomment if someone implements gna patch #4390 - ;"MaxLatitude", "5", "Local", TRUE + "MaxLatitude", "150", "Tile", TRUE + "MinLatitude", "-150", "Tile", TRUE } graphic = "b.space_elevator" graphic_alt = "b.space_structural" diff --git a/data/sandbox/game.ruleset b/data/sandbox/game.ruleset index b0670875e2..558d15d133 100644 --- a/data/sandbox/game.ruleset +++ b/data/sandbox/game.ruleset @@ -3592,25 +3592,26 @@ colorlist = ; freeciv game settings for sandbox ruleset ; set = - { "name", "value" - "aifill", 12 - "generator", "FRACTAL" - "topology", "ISO" - "wrap", "WRAPX|WRAPY" - "mapsize", "PLAYER" - "tilesperplayer", 100 - "tinyisles", "ENABLED" - "startunits", "cwx" - "citymindist", 3 - "techlevel", 1 - "borders", "ENABLED" - "foggedborders", "ENABLED" - "restrictinfra", "ENABLED" - "unreachableprotects", "DISABLED" - "onsetbarbs", 120 - "occupychance", 50 - "techlossforgiveness", 0 - "techlossrestore", 50 - "multiresearch", "ENABLED" - "tradeworldrelpct", 100 + { "name", "value", "lock" + "aifill", 12, FALSE + "generator", "FRACTAL", FALSE + "topology", "ISO", FALSE + "wrap", "WRAPX|WRAPY", FALSE + "mapsize", "PLAYER", FALSE + "tilesperplayer", 100, FALSE + "tinyisles", "ENABLED", FALSE + "startunits", "cwx", FALSE + "citymindist", 3, FALSE + "techlevel", 1, FALSE + "borders", "ENABLED", FALSE + "foggedborders", "ENABLED", FALSE + "restrictinfra", "ENABLED", FALSE + "unreachableprotects", "DISABLED", FALSE + "onsetbarbs", 120, FALSE + "occupychance", 50, FALSE + "techlossforgiveness", 0, FALSE + "techlossrestore", 50, FALSE + "multiresearch", "ENABLED", FALSE + "tradeworldrelpct", 100, FALSE + "alltemperate", "DISABLED", TRUE } -- 2.34.1