forked from github/server
Textänderung Monsterfrass.
This commit is contained in:
parent
434540fd9e
commit
498afe2ff2
|
@ -561,14 +561,12 @@ eaten_by_monster(unit * u)
|
||||||
if (n > 0) {
|
if (n > 0) {
|
||||||
deathcounts(u->region, n);
|
deathcounts(u->region, n);
|
||||||
rsetpeasants(u->region, rpeasants(u->region) - n);
|
rsetpeasants(u->region, rpeasants(u->region) - n);
|
||||||
add_message(&u->region->msgs, new_message(NULL,
|
ADDMSG(&u->region->msgs, msg_message("eatpeasants", "unit amount", u, n));
|
||||||
"eatpeasants%u:unit%i:amount", u, n));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (horse > 0) {
|
if (horse > 0) {
|
||||||
set_item(u, I_HORSE, 0);
|
set_item(u, I_HORSE, 0);
|
||||||
add_message(&u->region->msgs, new_message(NULL,
|
ADDMSG(&u->region->msgs, msg_message("eathorse", "unit amount", u, horse));
|
||||||
"eathorse%u:unit%i:amount", u, horse));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -588,8 +586,8 @@ absorbed_by_monster(unit * u)
|
||||||
if (n > 0){
|
if (n > 0){
|
||||||
rsetpeasants(u->region, rpeasants(u->region) - n);
|
rsetpeasants(u->region, rpeasants(u->region) - n);
|
||||||
scale_number(u, u->number + n);
|
scale_number(u, u->number + n);
|
||||||
add_message(&u->region->msgs, new_message(NULL,
|
ADDMSG(&u->region->msgs, msg_message("absorbpeasants",
|
||||||
"absorbpeasants%u:unit%i:amount", u, n));
|
"unit race amount", u, u->race, n));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2244,8 +2244,9 @@
|
||||||
<type>
|
<type>
|
||||||
<arg name="unit" type="unit"/>
|
<arg name="unit" type="unit"/>
|
||||||
<arg name="amount" type="int"/>
|
<arg name="amount" type="int"/>
|
||||||
|
<arg name="race" type="race"/>
|
||||||
</type>
|
</type>
|
||||||
<text locale="de">"$unit($unit) tötete $int($amount) Bauern."</text>
|
<text locale="de">"$int($amount) Bauern werden zu $race($race,1) und schliessen sich $unit($unit) an."</text>
|
||||||
</message>
|
</message>
|
||||||
<message name="eathorse" section="events">
|
<message name="eathorse" section="events">
|
||||||
<type>
|
<type>
|
||||||
|
|
Loading…
Reference in New Issue