diff --git a/src/eressea/lua/message.cpp b/src/eressea/lua/message.cpp
index 807bdc817..a5121c4c1 100644
--- a/src/eressea/lua/message.cpp
+++ b/src/eressea/lua/message.cpp
@@ -140,6 +140,15 @@ public:
return E_OK;
}
+ int send_region(region& r) {
+ if (mtype==0) return E_INVALID_MESSAGE;
+ if (msg==NULL) {
+ msg = msg_create(mtype, args);
+ }
+ add_message(&r.msgs, msg);
+ return E_OK;
+ }
+
protected:
int get_param(const char * param) {
for (int i=0;i!=mtype->nparameters;++i) {
@@ -177,5 +186,6 @@ bind_message(lua_State * L)
.def("set_int", &lua_message::set_int)
.def("set_string", &lua_message::set_string)
.def("send_faction", &lua_message::send_faction)
+ .def("send_region", &lua_message::send_region)
];
}
diff --git a/src/res/de/strings.xml b/src/res/de/strings.xml
index 06d7d7452..cf5641b2b 100644
--- a/src/res/de/strings.xml
+++ b/src/res/de/strings.xml
@@ -1605,54 +1605,6 @@
Saphirne Schlüssel
sapphire keys
-
- Horn des Tanzes
- horn of dancing
-
-
- Hörner des Tanzes
- horns of dancing
-
-
- Miniatur einer Akademie der Künste
- academy of arts in a box
-
-
- Miniaturen einer Akademie der Künste
- academies of arts in a box
-
-
- Miniatur einer Skulptur
- art sculpture in a box
-
-
- Miniaturen einer Skulptur
- art sculptures in a box
-
-
- Gefangener Windgeist
- trapped air elemental
-
-
- Gefangene Windgeister
- trapped air elementals
-
-
- Auratrank
- aura potion
-
-
- Auratränke
- aura potions
-
-
- Dudelsack der Furcht
- bagpipe of fear
-
-
- Dudelsäcke der Furcht
- bagpipes of fear
-
diff --git a/src/res/eressea/artrewards.xml b/src/res/eressea/artrewards.xml
index 5009fb363..6cb836c52 100644
--- a/src/res/eressea/artrewards.xml
+++ b/src/res/eressea/artrewards.xml
@@ -3,28 +3,28 @@
- -
+
-
- -
+
-
- -
+
-
- -
+
-
diff --git a/src/res/eressea/de/strings.xml b/src/res/eressea/de/strings.xml
index ced28140a..a0b46f1c0 100644
--- a/src/res/eressea/de/strings.xml
+++ b/src/res/eressea/de/strings.xml
@@ -1,5 +1,14 @@
+
+ Muschel
+ seashell
+
+
+ Muscheln
+ seashells
+
+
Die ersten beiden Züge mußt du abgeben, sonst wird deine Partei sofort wieder gelöscht, um Karteileichen zu vermeiden.
@@ -82,4 +91,55 @@
+
+
+ Horn des Tanzes
+ horn of dancing
+
+
+ Hörner des Tanzes
+ horns of dancing
+
+
+ Miniatur einer Akademie der Künste
+ academy of arts in a box
+
+
+ Miniaturen einer Akademie der Künste
+ academies of arts in a box
+
+
+ Miniatur einer Skulptur
+ art sculpture in a box
+
+
+ Miniaturen einer Skulptur
+ art sculptures in a box
+
+
+ Gefangener Windgeist
+ trapped air elemental
+
+
+ Gefangene Windgeister
+ trapped air elementals
+
+
+ Auratrank
+ aura potion
+
+
+ Auratränke
+ aura potions
+
+
+ Dudelsack der Furcht
+ bagpipe of fear
+
+
+ Dudelsäcke der Furcht
+ bagpipes of fear
+
+
+
diff --git a/src/res/eressea/items.xml b/src/res/eressea/items.xml
index c0c4f254f..6b3be16e0 100644
--- a/src/res/eressea/items.xml
+++ b/src/res/eressea/items.xml
@@ -1,15 +1,22 @@
+
+
+ -
+
+
+
+
- -
+
-
- -
+
-
@@ -32,7 +39,7 @@
-
+
@@ -60,12 +67,12 @@
-
+
-
+
diff --git a/src/res/resources.xml b/src/res/resources.xml
index be55464fa..7c2194c9e 100644
--- a/src/res/resources.xml
+++ b/src/res/resources.xml
@@ -85,7 +85,7 @@
- -
+
-
diff --git a/src/res/vinyambar-wdw.xml b/src/res/vinyambar-wdw.xml
index d10364928..b3947bcf2 100644
--- a/src/res/vinyambar-wdw.xml
+++ b/src/res/vinyambar-wdw.xml
@@ -91,7 +91,7 @@
-
+
diff --git a/src/scripts/eressea.lua b/src/scripts/eressea.lua
index a322a7dc0..d50ade68c 100644
--- a/src/scripts/eressea.lua
+++ b/src/scripts/eressea.lua
@@ -35,6 +35,32 @@ function run_scripts()
end
end
+function use_seashell(u, amount)
+-- Muschelplateau...
+ local visit = u.faction.objects["muschel"]
+ if visit~=nil then
+ local turns = get_turn() - visit
+ local msg = message("msg_event")
+ msg:set_string("string", tostring(u) .. " erzählt den Bewohnern von " .. r.name .. " von Muschelplateau, das seine Partei vor " .. turns .. " Wochen besucht hat." )
+ msg:send_region(u.region)
+ end
+end
+
+function update_special()
+-- Muschelplateau
+ local r = get_region(165,30)
+ if r~=nil then
+ local u
+ for u in r.units do
+ if u.faction.objects["muschel"]~=nil then
+ if (u.faction.add_item("muschel", 1)>0) then
+ u.faction.objects["seashell"] = get_turn()
+ end
+ end
+ end
+ end
+end
+
function process(orders)
-- initialize starting equipment for new players
equipment_setitem("new_faction", "conquesttoken", "1");
@@ -68,6 +94,7 @@ function process(orders)
process_orders()
-- post-turn updates:
+ update_special()
update_guards()
update_scores()