From ad96f2d3f08d7f12976eb67488e45fa6517c4071 Mon Sep 17 00:00:00 2001
From: Marko Lindqvist <cazfi74@gmail.com>
Date: Tue, 22 Jul 2025 06:07:47 +0300
Subject: [PATCH 68/68] granularity: Add Explorer

- Add Magnetism tech
- Add Explorer unit

See RM #1627

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
---
 data/granularity/techs.ruleset |  9 +++++++++
 data/granularity/units.ruleset | 35 ++++++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+)

diff --git a/data/granularity/techs.ruleset b/data/granularity/techs.ruleset
index 48669cc33f..f67cc34ce7 100644
--- a/data/granularity/techs.ruleset
+++ b/data/granularity/techs.ruleset
@@ -419,6 +419,15 @@ If other players know techs that the Tech Leakage receiving player does not, som
 leak per tech per player each turn.\
 ")
 
+[advance_magnetism]
+name        = _("Magnetism")
+req1        = "Iron Working"
+req2        = "Astronomy"
+flags       = ""
+graphic     = "a.magnetism"
+graphic_alt = "-"
+;helptext    =
+
 [advance_maps]
 name        = _("Maps")
 req1        = "Alphabet"
diff --git a/data/granularity/units.ruleset b/data/granularity/units.ruleset
index 6136ef46e7..67a33a13ab 100644
--- a/data/granularity/units.ruleset
+++ b/data/granularity/units.ruleset
@@ -992,3 +992,38 @@ helptext      = _("\
 Diplomatic unit.\
 ")
 
+[unit_explorer]
+name          = _("Explorer")
+class         = "Land"
+reqs          =
+  { "type", "name", "range"
+    "Tech", "Magnetism", "Player"
+  }
+obsolete_by   = "None"
+graphic       = "u.explorer"
+graphic_alt   = "-"
+sound_move    = "m_explorer"
+sound_move_alt = "m_generic"
+sound_fight   = "f_explorer"
+sound_fight_alt = "f_generic"
+build_cost    = 1800
+pop_cost      = 0
+attack        = 0
+defense       = 10
+hitpoints     = 10
+firepower     = 1
+move_rate     = 50
+vision_radius_sq = 5
+transport_cap = 0
+fuel          = 0
+uk_happy      = 0
+uk_shield     = 50
+uk_food       = 0
+uk_gold       = 0
+tp_defense    = "Alight"
+;flags         =
+;roles         =
+helptext      = _("\
+Explorers constantly track their surroundings, providing them most \
+of the upkeep they need, and giving them high vision radius.\
+")
-- 
2.47.2

