diff --git a/src/common/items/Jamfile b/src/common/items/Jamfile
index 61be03270..511b4d0a5 100644
--- a/src/common/items/Jamfile
+++ b/src/common/items/Jamfile
@@ -11,6 +11,7 @@ SOURCES =
artrewards.c
demonseye.c
itemtypes.c
+ phoenixcompass.c
seed.c
weapons.c
xerewards.c
diff --git a/src/res/messages.xml b/src/res/messages.xml
index f8a04ed4d..7b27935ba 100644
--- a/src/res/messages.xml
+++ b/src/res/messages.xml
@@ -6560,4 +6560,27 @@
"The plank of $ship($ship) are inscribed with strange runes. ($int36($id))"
+
+
+
+
+
+
+ "$unit($unit) in $region($region): '$order($command)' - Die Kompassnadel springt wild hin und her und es laesst sich keine Richtung erkennen."
+ "$unit($unit) in $region($region): '$order($command)' - The needle jumps wildly and there is no specific direction recognizable."
+ "$unit($unit) in $region($region): '$order($command)' - The needle jumps wildly and there is no specific direction recognizable."
+
+
+
+
+
+
+
+
+
+ "$unit($unit) in $region($region): '$order($command)' - Die Kompassnadel zeigt nach $direction($dir)."
+ "$unit($unit) in $region($region): '$order($command)' - The needle points $direction($dir)."
+ "$unit($unit) in $region($region): '$order($command)' - The needle points $direction($dir)."
+
+
diff --git a/src/res/vinyambar/wdw-resources.xml b/src/res/vinyambar/wdw-resources.xml
index fce1a2d37..bde345d74 100644
--- a/src/res/vinyambar/wdw-resources.xml
+++ b/src/res/vinyambar/wdw-resources.xml
@@ -44,4 +44,16 @@
+
+ -
+
+
+
+
+
+ -
+
+
+
+
diff --git a/src/res/vinyambar/wdw-strings.xml b/src/res/vinyambar/wdw-strings.xml
index 9c9eaf908..8345f109d 100644
--- a/src/res/vinyambar/wdw-strings.xml
+++ b/src/res/vinyambar/wdw-strings.xml
@@ -134,4 +134,20 @@
Pyramide des Thoth
pyramid of Thoth
+
+ Gefangener Windgeist
+ trapped air elemental
+
+
+ Gefangene Windgeister
+ trapped air elementals
+
+
+ Phoenixkompass
+ phoenixcompass
+
+
+ Phoenixkompasse
+ phoenix compasses
+
diff --git a/src/scripts/wdw/sphinx.lua b/src/scripts/wdw/sphinx.lua
index dda0c0068..e88e5b0f5 100644
--- a/src/scripts/wdw/sphinx.lua
+++ b/src/scripts/wdw/sphinx.lua
@@ -63,6 +63,31 @@ function sphinx_handler()
send_hint(u2, u)
end
end
+ tokens = {}
+ for token in string.gfind(str, "%a+") do
+ table.insert(tokens, token)
+ end
+ -- index starts with 1 in lua
+ if table.getn(tokens) == 2 and string.lower(tokens[1]) == "antwort" then
+ if string.lower(tokens[2]) == "insekt" then
+ -- Botschaft in alle Regionen
+ local m = message("msg_event")
+ m:set_string("string", "Das Rätsel der Sphinx ist gelöst! Die Sphinx wird sich eine neue Heimat und ein neues Rätsel suchen.")
+ for r in regions() do
+ m:send_region(r)
+ end
+ -- Region terraformen
+ terraform(u2.region.x, u.region.y, "plain")
+ u2.region.set_resource(u2.region, "tree", 721)
+ u2.region.set_resource(u2.region, "peasant", 2312)
+ u2.add_item(u2, "trappedairelemental", 5)
+ -- Neues Raetsel fuer beide Sphinxe!
+ -- Sphinx neu platzieren
+ -- Hint-Attribute von allen Allianzen loeschen
+ else
+
+ end
+ end
end
local f = get_faction(atoi36("ycx9"))