Meldung bei Beförderungen.

This commit is contained in:
Enno Rehling 2004-08-21 02:26:30 +00:00
parent 3ca1a267b0
commit 241b6c5f65
2 changed files with 11 additions and 0 deletions

View File

@ -2466,6 +2466,8 @@ promote_cmd(unit * u, struct order * ord)
}
use_all(u, i_silver->rtype, people);
fset(u, UFL_HERO);
ADDMSG(&u->faction->msgs, msg_message(u, ord, "hero_promotion", "unit cost",
u, money));
return 0;
}
#endif

View File

@ -6029,6 +6029,15 @@
<text locale="en">"$unit($unit) in $region($region): '$order($command)' - $race($race,0) cannot be heroes."</text>
</message>
<message name="hero_promotion" section="events">
<type>
<arg name="unit" type="unit"/>
<arg name="cost" type="int"/>
</type>
<text locale="de">"$unit($unit) wird mit $int($cost) Silber zum Helden ernannt."</text>
<text locale="en">"$unit($unit) uses $int($cost) silber for a promotion."</text>
</message>
<message name="heroes_cost" section="errors">
<type>
<arg name="command" type="order"/>