forked from github/server
Translating the familiar-description and moving some part to documentation.
This commit is contained in:
parent
81a89b8d47
commit
d57e6724d1
|
@ -2083,7 +2083,7 @@ report_plaintext(const char * filename, report_context * ctx)
|
|||
}
|
||||
if (!fval(r->terrain, SEA_REGION)) {
|
||||
if (sh->coast != NODIRECTION) {
|
||||
scat(", ");
|
||||
scat(LOC(f->locale, "list_and"));
|
||||
scat(LOC(f->locale, coasts[sh->coast]));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -584,9 +584,7 @@ sp_summon_familiar(castorder *co)
|
|||
|
||||
dh = 0;
|
||||
dh1 = 0;
|
||||
sprintf(buf, "%s ruft einen Vertrauten. %s können ",
|
||||
unitname(mage), LOC(mage->faction->locale, rc_name(rc, 1)));
|
||||
for(sk=0;sk<MAXSKILLS;sk++) {
|
||||
for (sk=0;sk<MAXSKILLS;sk++) {
|
||||
if (rc->bonus[sk] > -5) dh++;
|
||||
}
|
||||
for(sk=0;sk<MAXSKILLS;sk++) {
|
||||
|
@ -596,7 +594,7 @@ sp_summon_familiar(castorder *co)
|
|||
dh1 = 1;
|
||||
} else {
|
||||
if (dh == 0) {
|
||||
scat(" und ");
|
||||
scat(LOC(mage->faction->locale, "list_and"));
|
||||
} else {
|
||||
scat(", ");
|
||||
}
|
||||
|
@ -604,23 +602,8 @@ sp_summon_familiar(castorder *co)
|
|||
scat(skillname(sk, mage->faction->locale));
|
||||
}
|
||||
}
|
||||
scat(" lernen.");
|
||||
scat(" ");
|
||||
scat("Der Vertraute verleiht dem Magier einen Bonus auf jedes Talent ");
|
||||
scat("(ausgenommen Magie), welches der Vertraute beherrscht.");
|
||||
scat(" ");
|
||||
scat("Das spezielle Band zu seinem Vertrauten ermöglicht dem Magier ");
|
||||
scat("auch, Sprüche durch diesen zu wirken. So gezauberte Sprüche ");
|
||||
scat("wirken auf die Region des Vertrauten und brauchen keine Fernzauber ");
|
||||
scat("zu sein. Die maximale Entfernung dafür entspricht dem Talent des ");
|
||||
scat("Magiers. Einen Spruch durch das Vertrautenband zu richten ist ");
|
||||
scat("jedoch gewissen Einschränkungen unterworfen. Die Stufe des Zaubers ");
|
||||
scat("kann nicht größer als das Magietalent des Vertrauten oder das halbe ");
|
||||
scat("Talent des Magiers sein. Auch verdoppeln sich die Kosten für den ");
|
||||
scat("Spruch. (Um einen Zauber durch den Vertrauten zu wirken, gibt ");
|
||||
scat("man statt dem Magier dem Vertrauten den Befehl ZAUBERE.)");
|
||||
|
||||
addmessage(r, mage->faction, buf, MSG_MAGIC, ML_INFO);
|
||||
ADDMSG(&mage->faction->msgs, msg_message("familiar_describe",
|
||||
"mage race skills", mage, rc, buf));
|
||||
return cast_level;
|
||||
}
|
||||
|
||||
|
|
|
@ -198,7 +198,7 @@ static const char * parse(opstack **, const char* in, const void *);
|
|||
|
||||
static const char *
|
||||
parse_symbol(opstack ** stack, const char* in, const void * userdata)
|
||||
/* in is the symbol name and following text, starting after the $
|
||||
/* in is the symbol name and following text, starting after the $
|
||||
* result goes on the stack
|
||||
*/
|
||||
{
|
||||
|
@ -214,9 +214,7 @@ parse_symbol(opstack ** stack, const char* in, const void * userdata)
|
|||
*cp = '\0';
|
||||
/* symbol will now contain the symbol name */
|
||||
if (*in=='(') {
|
||||
/* it's a function we need to parse
|
||||
* start by reading the parameters
|
||||
*/
|
||||
/* it's a function we need to parse, start by reading the parameters */
|
||||
function * foo;
|
||||
while (*in != ')') {
|
||||
in = parse(stack, ++in, userdata); /* will push the result on the stack */
|
||||
|
|
|
@ -6837,4 +6837,9 @@
|
|||
<text locale="de">bewacht die Region</text>
|
||||
<text locale="en">guards the region</text>
|
||||
</string>
|
||||
|
||||
<string name="list_and">
|
||||
<text locale="de"> und </text>
|
||||
<text locale="en"> and </text>
|
||||
</string>
|
||||
</strings>
|
||||
|
|
|
@ -1704,6 +1704,15 @@
|
|||
<text locale="de">"$unit($unit) in $region($region): '$order($command)' - $unit($mage) kann nicht genug Energie aufbringen, um diesen Spruch durch $unit($unit) zu wirken."</text>
|
||||
<text locale="en">"$unit($unit) in $region($region): '$order($command)' - $unit($mage) cannot raise enough energy to channel the spell through $unit($unit)."</text>
|
||||
</message>
|
||||
<message name="familiar_describe" section="magic">
|
||||
<type>
|
||||
<arg name="mage" type="unit"/>
|
||||
<arg name="skills" type="string"/>
|
||||
<arg name="race" type="race"/>
|
||||
</type>
|
||||
<text locale="de">"$unit($mage) ruft einen Vertrauten. $race($race, 0) können $skills lernen."</text>
|
||||
<text locale="en">"$unit($mage) summons a familiar. $race($race, 0) can learn $skills."</text>
|
||||
</message>
|
||||
<message name="spell_resist" section="magic">
|
||||
<type>
|
||||
<arg name="unit" type="unit"/>
|
||||
|
|
Loading…
Reference in New Issue