From 207e2b9c7d0603a8e91896a108658b5d9dc9348f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C5=82awomir=20Lach?= <slawek@lach.art.pl>
Date: Sat, 11 Feb 2023 17:19:43 +0100
Subject: [PATCH 2/2] =?UTF-8?q?!OSDN:=20TICKET:=20#43655:=20S=C5=82awomir?=
 =?UTF-8?q?=20Lach=20<s=C5=82awek@lach.art.pl>?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Test patch for reqtext. It modifies sandbox ruleset.

diff --git a/data/sandbox/game.ruleset b/data/sandbox/game.ruleset
index ca2f547db4..05cb1daac0 100644
--- a/data/sandbox/game.ruleset
+++ b/data/sandbox/game.ruleset
@@ -785,6 +785,12 @@ type = "Embassy"
 [clause_sharedtiles]
 type = "SharedTiles"
 
+[counter_1]
+name=_("Reduce production after conquering city")
+def=6
+checkpoint=5
+type="Owned"
+
 
 [playercolors]
 background.r = 86
diff --git a/data/sandbox/units.ruleset b/data/sandbox/units.ruleset
index d99dc56b5e..91e32cc218 100644
--- a/data/sandbox/units.ruleset
+++ b/data/sandbox/units.ruleset
@@ -712,6 +712,9 @@ A Mechanic can repair machines in the field.\
 [unit_warriors]
 name          = _("Warriors")
 class         = "Land"
+reqs={"type","name","range"
+  "Counter", "Reduce production after conquering city", "City"
+}
 ;reqs
 obsolete_by   = "Musketeers"
 graphic       = "u.warriors"
-- 
2.39.1

