forked from github/server
Doppelanzeige Nestwärme, Bauernblut.
CR Version 64, Mallornschößlinge
This commit is contained in:
parent
be4b35d87f
commit
c1c70b47ec
|
@ -76,7 +76,7 @@ extern const char *spelldata[];
|
||||||
extern int quiet;
|
extern int quiet;
|
||||||
|
|
||||||
/* globals */
|
/* globals */
|
||||||
#define C_REPORT_VERSION 63
|
#define C_REPORT_VERSION 64
|
||||||
|
|
||||||
#define TAG_LOCALE "de"
|
#define TAG_LOCALE "de"
|
||||||
#ifdef TAG_LOCALE
|
#ifdef TAG_LOCALE
|
||||||
|
@ -1041,10 +1041,11 @@ report_computer(FILE * F, faction * f, const seen_region * seen,
|
||||||
if (fval(r, RF_MALLORN) && (trees > 0 || ytrees > 0))
|
if (fval(r, RF_MALLORN) && (trees > 0 || ytrees > 0))
|
||||||
fprintf(F, "1;Mallorn\n");
|
fprintf(F, "1;Mallorn\n");
|
||||||
# endif
|
# endif
|
||||||
if (ytrees) pos = report_resource(pos, "rm_youngtrees", f->locale, ytrees, -1);
|
|
||||||
if (!fval(r, RF_MALLORN)) {
|
if (!fval(r, RF_MALLORN)) {
|
||||||
|
if (ytrees) pos = report_resource(pos, "rm_youngtrees", f->locale, ytrees, -1);
|
||||||
if (trees) pos = report_resource(pos, "rm_trees", f->locale, trees, -1);
|
if (trees) pos = report_resource(pos, "rm_trees", f->locale, trees, -1);
|
||||||
} else {
|
} else {
|
||||||
|
if (ytrees) pos = report_resource(pos, "rm_youngmallorn", f->locale, ytrees, -1);
|
||||||
if (trees) pos = report_resource(pos, "rm_mallorn", f->locale, trees, -1);
|
if (trees) pos = report_resource(pos, "rm_mallorn", f->locale, trees, -1);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
|
|
@ -1887,8 +1887,6 @@ use_warmthpotion(struct unit *u, const struct potion_type *ptype, const char *cm
|
||||||
assert(ptype==oldpotiontype[P_WARMTH]);
|
assert(ptype==oldpotiontype[P_WARMTH]);
|
||||||
if (old_race(u->faction->race) == RC_INSECT) {
|
if (old_race(u->faction->race) == RC_INSECT) {
|
||||||
fset(u, FL_WARMTH);
|
fset(u, FL_WARMTH);
|
||||||
ADDMSG(&u->faction->msgs, msg_message("usepotion",
|
|
||||||
"unit potion", u, ptype->itype->rtype));
|
|
||||||
} else {
|
} else {
|
||||||
/* nur für insekten: */
|
/* nur für insekten: */
|
||||||
cmistake(u, cmd, 163, MSG_EVENT);
|
cmistake(u, cmd, 163, MSG_EVENT);
|
||||||
|
@ -1907,8 +1905,6 @@ use_bloodpotion(struct unit *u, const struct potion_type *ptype, const char *cmd
|
||||||
attrib * a = (attrib*)a_find(u->attribs, &at_bauernblut);
|
attrib * a = (attrib*)a_find(u->attribs, &at_bauernblut);
|
||||||
if (!a) a = a_add(&u->attribs, a_new(&at_bauernblut));
|
if (!a) a = a_add(&u->attribs, a_new(&at_bauernblut));
|
||||||
a->data.i += 100;
|
a->data.i += 100;
|
||||||
ADDMSG(&u->faction->msgs, msg_message("usepotion",
|
|
||||||
"unit potion", u, ptype->itype->rtype));
|
|
||||||
} else {
|
} else {
|
||||||
/* bekommt nicht: */
|
/* bekommt nicht: */
|
||||||
cmistake(u, cmd, 165, MSG_EVENT);
|
cmistake(u, cmd, 165, MSG_EVENT);
|
||||||
|
|
|
@ -171,6 +171,11 @@
|
||||||
<text locale="en">young trees</text>
|
<text locale="en">young trees</text>
|
||||||
</message>
|
</message>
|
||||||
|
|
||||||
|
<message name="rm_youngmallorn">
|
||||||
|
<text locale="de">Mallornschößlinge</text>
|
||||||
|
<text locale="en">young mallorn</text>
|
||||||
|
</message>
|
||||||
|
|
||||||
<message name="rm_trees">
|
<message name="rm_trees">
|
||||||
<text locale="de">Bäume</text>
|
<text locale="de">Bäume</text>
|
||||||
<text locale="en">trees</text>
|
<text locale="en">trees</text>
|
||||||
|
|
Loading…
Reference in New Issue