From b9092a2cc44b78cb1b6c04126e1182193870741a Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Tue, 4 Oct 2022 23:56:26 +0300 Subject: [PATCH 29/29] sandbox: Demonstrate Tech_Parasite_Pct_Max effect Great Library reworked to have a Tech_Parasite_Pct_Max effect See osdn #45718 Signed-off-by: Marko Lindqvist --- data/sandbox/README.sandbox | 5 +++++ data/sandbox/buildings.ruleset | 21 +++++++++++---------- data/sandbox/effects.ruleset | 6 ++---- 3 files changed, 18 insertions(+), 14 deletions(-) diff --git a/data/sandbox/README.sandbox b/data/sandbox/README.sandbox index d0f0c49a5f..51a4fa4c65 100644 --- a/data/sandbox/README.sandbox +++ b/data/sandbox/README.sandbox @@ -253,3 +253,8 @@ A size 1 city is destroyed with its last defender. Wonder visibility Opponents are aware of player's Small Wonders only if they have an embassy. + +Great Library +Great Library does not give science boost to all players, but a tech +sharing a bit similar to classic ruleset. Techs known by 30% of +players are automatically shared to everyone. diff --git a/data/sandbox/buildings.ruleset b/data/sandbox/buildings.ruleset index 178d73fa2b..c0f10d773c 100644 --- a/data/sandbox/buildings.ruleset +++ b/data/sandbox/buildings.ruleset @@ -594,8 +594,7 @@ sound = "b_library" sound_alt = "b_generic" ; /* xgettext:no-c-format */ helptext = _("\ -Increases the science output in a city by 50%, or by 100% once the \ -Great Library has been built by any player.\ +Increases the science output in a city by 50%.\ ") [building_marketplace] @@ -988,9 +987,9 @@ by 100% once the Internet wonder has been built by any player.\ ; /* xgettext:no-c-format */ _("\ The total bonus is 150% if a Library, a University and a \ -Research Lab are all present in the same city, increasing to 300% \ -once the Great Library, Isaac Newton's College, and the Internet have \ -all been built.\ +Research Lab are all present in the same city, increasing to 250% \ +once Isaac Newton's College, and the Internet have \ +both been built.\ ") [building_sam_battery] @@ -1370,8 +1369,8 @@ by 100% once Isaac Newton's College has been built by any player.\ ; /* xgettext:no-c-format */ _("\ The total bonus is 100% if a Library and a University are present \ -together in the same city, increasing to 200% once the Great Library and \ -Isaac Newton's College have both been built.\ +together in the same city, increasing to 150% once \ +Isaac Newton's College has been built.\ ") ; The consensus among the wise men you have licensed and granted a generous @@ -1654,9 +1653,11 @@ sound_alt = "w_generic" helptext = _("\ Gives an immediate technology advance to the player that builds it, \ and thereafter 4 extra research points every turn to its city.\ -"), _("\ -Completion of this wonder permanently doubles the effect of Libraries \ -for every player.\ +"), +; /* xgettext:no-c-format */ +_("\ +Completion of this wonder starts permanent tech sharing so that once \ +a tech is known by 30% of players, also all the others get it.\ ") [building_great_wall] diff --git a/data/sandbox/effects.ruleset b/data/sandbox/effects.ruleset index c204910511..93b9a2d26c 100644 --- a/data/sandbox/effects.ruleset +++ b/data/sandbox/effects.ruleset @@ -3317,13 +3317,11 @@ reqs = } [effect_great_library] -type = "Output_Bonus" -value = 50 +type = "Tech_Parasite_Pct_Max" +value = 30 reqs = { "type", "name", "range", "survives" "Building", "Great Library", "World", TRUE - "Building", "Library", "City" - "OutputType", "Science", "Local" } [effect_great_library_1] -- 2.35.1