forked from github/server
Hirntöter auf Eressea - message to the target region when braineaters are sent to earth.
This commit is contained in:
parent
f07c80563a
commit
8265c9ea7f
3 changed files with 17 additions and 4 deletions
|
@ -6349,11 +6349,13 @@ sp_disruptastral(castorder *co)
|
|||
while (c--!=0) trl2 = trl2->next;
|
||||
tr = trl2->data;
|
||||
|
||||
if(!is_magic_resistant(mage, u, 0) && can_survive(u, tr)) {
|
||||
if (!is_magic_resistant(mage, u, 0) && can_survive(u, tr)) {
|
||||
message * msg = msg_message("disrupt_astral", "unit region", u, tr);
|
||||
add_message(&u->faction->msgs, msg);
|
||||
add_message(&tr->msgs, msg);
|
||||
msg_release(msg);
|
||||
|
||||
move_unit(u, tr, NULL);
|
||||
sprintf(buf, "%s wird aus der astralen Ebene nach %s geschleudert.",
|
||||
unitname(u), regionname(tr, u->faction));
|
||||
addmessage(0, u->faction, buf, MSG_MAGIC, ML_INFO);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -519,6 +519,7 @@
|
|||
|
||||
<string name="flyingcarpet">
|
||||
<text locale="de">fliegender Teppich</text>
|
||||
<text locale="en">flying carpet</text>
|
||||
</string>
|
||||
<string name="balloon">
|
||||
<text locale="de">Ballon</text>
|
||||
|
|
|
@ -6600,4 +6600,14 @@
|
|||
<text locale="fr">"$unit($unit) in $region($region): '$order($command)' - The needle points $direction($dir)."</text>
|
||||
</message>
|
||||
|
||||
<message name="disrupt_astral" section="magic">
|
||||
<type>
|
||||
<arg name="unit" type="unit"/>
|
||||
<arg name="region" type="region"/>
|
||||
</type>
|
||||
<text locale="de">"$unit($unit) wird aus der astralen Ebene nach $region($region) geschleudert."</text>
|
||||
<text locale="en">"$unit($unit) is sent from the astral plain to $region($region)."</text>
|
||||
<text locale="fr">"$unit($unit) is sent from the astral plain to $region($region)."</text>
|
||||
</message>
|
||||
|
||||
</messages>
|
||||
|
|
Loading…
Reference in a new issue