Astralraumänderung, keine großen Gegenstände mehr im AR.

This commit is contained in:
Enno Rehling 2005-06-28 21:28:50 +00:00
parent 1bb5deb8b9
commit 9d0d2e0ff0
4 changed files with 15 additions and 2 deletions

View File

@ -318,6 +318,8 @@ age_unit(region * r, unit * u)
item * itm = *itemp; item * itm = *itemp;
if (itm->type->flags & ITF_NOTLOST == 0) { if (itm->type->flags & ITF_NOTLOST == 0) {
if (itm->type->flags & (ITF_BIG|ITF_ANIMAL|ITF_CURSED)) { if (itm->type->flags & (ITF_BIG|ITF_ANIMAL|ITF_CURSED)) {
ADDMSG(&u->faction->msgs, msg_message("itemcrumble", "unit region item amount",
u, u->region, itm->type->rtype, itm->number));
i_free(i_remove(itemp, itm)); i_free(i_remove(itemp, itm));
continue; continue;
} }

View File

@ -37,7 +37,7 @@
#define HUNGER_REDUCES_SKILL /* Hunger reduziert den Talentwert #define HUNGER_REDUCES_SKILL /* Hunger reduziert den Talentwert
auf die Hälfte */ auf die Hälfte */
#undef ASTRAL_ITEM_RESTRICTIONS /* keine grossen dinge im astralraum */ #define ASTRAL_ITEM_RESTRICTIONS /* keine grossen dinge im astralraum */
#define MUSEUM_MODULE #define MUSEUM_MODULE
#define ARENA_MODULE #define ARENA_MODULE

View File

@ -35,4 +35,4 @@
#define NEW_MIGRATION 1 #define NEW_MIGRATION 1
#define ASTRAL_HUNGER #define ASTRAL_HUNGER
#undef ASTRAL_ITEM_RESTRICTIONS /* keine grossen dinge im astralraum */ #define ASTRAL_ITEM_RESTRICTIONS /* keine grossen dinge im astralraum */

View File

@ -6208,5 +6208,16 @@
<text locale="en">"$unit($unit) in $region($region): '$order($command)' - An alliance may not consist of more than $int($allowed) units."</text> <text locale="en">"$unit($unit) in $region($region): '$order($command)' - An alliance may not consist of more than $int($allowed) units."</text>
</message> </message>
<message name="itemcrumble" section="events">
<type>
<arg name="region" type="region"/>
<arg name="unit" type="unit"/>
<arg name="item" type="resource"/>
<arg name="amount" type="int"/>
</type>
<text locale="de">"$unit($unit) in $region($region): $int($amount) $resource($item,$amount) zerfallen zu Staub."</text>
<text locale="de">"$unit($unit) in $region($region): $int($amount) $resource($item,$amount) turn to dust."</text>
</message>
</messages> </messages>