forked from github/server
Bessere BEKLAUE Meldung
This commit is contained in:
parent
a98d538cc0
commit
16dacfcc2a
|
@ -804,9 +804,7 @@ dogive(region * r, unit * u, strlist * S, boolean liefere, int mode)
|
|||
char *s;
|
||||
int i, n;
|
||||
const item_type * itype;
|
||||
int notfound_error = 64;
|
||||
|
||||
if (liefere) notfound_error = 63;
|
||||
int notfound_error = 63;
|
||||
|
||||
u2 = getunit(r, u->faction);
|
||||
|
||||
|
@ -2520,6 +2518,7 @@ expandstealing(region * r, request * stealorders)
|
|||
use_all(u, R_SILVER, n);
|
||||
oa[i].unit->n = n;
|
||||
change_money(oa[i].unit, n);
|
||||
add_message(&u->faction->msgs, msg_message("stealeffect", "unit region amount", u, u->region, n));
|
||||
}
|
||||
add_income(oa[i].unit, IC_STEAL, oa[i].unit->wants, oa[i].unit->n);
|
||||
}
|
||||
|
@ -2980,9 +2979,6 @@ steal(region * r, unit * u, request ** stealorders)
|
|||
goblin = true;
|
||||
}
|
||||
}
|
||||
add_message(&u2->faction->msgs, new_message(u2->faction,
|
||||
"stealeffect%u:unit%r:region", u2, u2->region));
|
||||
|
||||
n = max(0, n);
|
||||
|
||||
i = min(u->number, get_item(u,I_RING_OF_NIMBLEFINGER));
|
||||
|
|
|
@ -4776,16 +4776,14 @@
|
|||
</locale>
|
||||
</message>
|
||||
|
||||
<message name="stealeffect">
|
||||
<message name="stealeffect" section="events">
|
||||
<type>
|
||||
<arg name="unit" type="unit"></arg>
|
||||
<arg name="region" type="region"></arg>
|
||||
<arg name="amount" type="int"></arg>
|
||||
</type>
|
||||
<locale name="de">
|
||||
<nr section="events">
|
||||
<text>"$unit($unit) wurde in $region($region) beklaut."</text>
|
||||
</nr>
|
||||
</locale>
|
||||
<text locale="de">"$unit($unit) wurden in $region($region) $int($amount) Silberstücke geklaut."</text>
|
||||
<text locale="en">"In $region($region), thieves stole $int($amount) silver from $unit($unit)."</text>
|
||||
</message>
|
||||
|
||||
<message name="newbie_immunity_error">
|
||||
|
|
|
@ -3372,18 +3372,6 @@
|
|||
</locale>
|
||||
</message>
|
||||
|
||||
<message name="stealeffect">
|
||||
<type>
|
||||
<arg name="unit" type="unit"></arg>
|
||||
<arg name="region" type="region"></arg>
|
||||
</type>
|
||||
<locale name="en">
|
||||
<nr section="none">
|
||||
<text>"$unit($unit) was robbed in $region($region)."</text>
|
||||
</nr>
|
||||
</locale>
|
||||
</message>
|
||||
|
||||
<message name="newbieimmunity">
|
||||
<type>
|
||||
<arg name="turns" type="int"></arg>
|
||||
|
|
Loading…
Reference in New Issue