diff --git a/src/common/items/artrewards.c b/src/common/items/artrewards.c
index eb7f6ad68..956cfe28a 100644
--- a/src/common/items/artrewards.c
+++ b/src/common/items/artrewards.c
@@ -101,7 +101,7 @@ static resource_type rt_hornofdancing = {
item_type it_hornofdancing = {
&rt_hornofdancing, /* resourcetype */
- 0, 0, 0, /* flags, weight, capacity */
+ 0, 1, 0, /* flags, weight, capacity */
NULL, /* construction */
&use_hornofdancing,
NULL,
@@ -149,13 +149,47 @@ static resource_type rt_trappedairelemental = {
item_type it_trappedairelemental = {
&rt_trappedairelemental, /* resourcetype */
- 0, 0, 0, /* flags, weight, capacity */
+ 0, 1, 0, /* flags, weight, capacity */
NULL, /* construction */
&use_trappedairelemental,
NULL,
NULL
};
+static int
+use_aurapotion50(struct unit * u, const struct item_type * itype,
+ int amount, const char *cm)
+{
+ if(!is_mage(u)) {
+ cmistake(u, cm, 214, MSG_MAGIC);
+ return 0;
+ }
+
+ change_spellpoints(u, 50);
+
+ ADDMSG(&u->faction->msgs, msg_message("aurapotion50",
+ "unit region command", u, u->region, cm));
+
+ return 1;
+}
+
+static resource_type rt_aurapotion50 = {
+ { "aurapotion50", "aurapotion50_p" },
+ { "aurapotion50", "aurapotion50_p" },
+ RTF_ITEM,
+ &res_changeitem
+};
+
+item_type it_aurapotion50 = {
+ &rt_aurapotion50, /* resourcetype */
+ 0, 1, 0, /* flags, weight, capacity */
+ NULL, /* construction */
+ &use_aurapotion50,
+ NULL,
+ NULL
+};
+
+
void
register_artrewards(void)
{
@@ -164,5 +198,7 @@ register_artrewards(void)
register_function((pf_generic)use_hornofdancing, "usehornofdancing");
it_register(&it_trappedairelemental);
register_function((pf_generic)use_trappedairelemental, "trappedairelemental");
+ it_register(&it_aurapotion50);
+ register_function((pf_generic)use_aurapotion50, "aurapotion50");
}
diff --git a/src/common/items/artrewards.h b/src/common/items/artrewards.h
index e0bfbeb2d..a8aa431a4 100644
--- a/src/common/items/artrewards.h
+++ b/src/common/items/artrewards.h
@@ -20,6 +20,7 @@ extern "C" {
extern struct item_type it_hornofdancing;
extern struct item_type it_trappedairelemental;
+extern struct item_type it_aurapotion50;
extern struct item_type it_bagpipeoffear;
extern struct item_type it_instantartacademie;
extern struct item_type it_instantartsculpture;
diff --git a/src/res/messages.xml b/src/res/messages.xml
index 3396475ef..de7013536 100644
--- a/src/res/messages.xml
+++ b/src/res/messages.xml
@@ -5862,6 +5862,16 @@
"$unit($unit) in $region($region): '$order($command)' - Die $ship($ship) wird jetzt schneller ihr Ziel erreichen."
"$unit($unit) in $region($region): '$order($command)' - The $ship($ship) will now be faster."
+
+
+
+
+
+
+
+ "$unit($unit) in $region($region): '$order($command)' - Der Magier fühlt sich durch den Trank magische gestärkt."
+ "$unit($unit) in $region($region): '$order($command)' - The mage is magically invigorated."
+