forked from github/server
Meldung bei Beförderungen.
This commit is contained in:
parent
3ca1a267b0
commit
241b6c5f65
|
@ -2466,6 +2466,8 @@ promote_cmd(unit * u, struct order * ord)
|
||||||
}
|
}
|
||||||
use_all(u, i_silver->rtype, people);
|
use_all(u, i_silver->rtype, people);
|
||||||
fset(u, UFL_HERO);
|
fset(u, UFL_HERO);
|
||||||
|
ADDMSG(&u->faction->msgs, msg_message(u, ord, "hero_promotion", "unit cost",
|
||||||
|
u, money));
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -6029,6 +6029,15 @@
|
||||||
<text locale="en">"$unit($unit) in $region($region): '$order($command)' - $race($race,0) cannot be heroes."</text>
|
<text locale="en">"$unit($unit) in $region($region): '$order($command)' - $race($race,0) cannot be heroes."</text>
|
||||||
</message>
|
</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">
|
<message name="heroes_cost" section="errors">
|
||||||
<type>
|
<type>
|
||||||
<arg name="command" type="order"/>
|
<arg name="command" type="order"/>
|
||||||
|
|
Loading…
Reference in New Issue