forked from github/server
parent
fdf2b84212
commit
a5ccf84555
|
@ -1163,7 +1163,7 @@ quit(void)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (u->faction->age > 3 || fval(u->faction, FFL_RESTART)) {
|
if (u->faction->age > 3 || fval(u->faction, FFL_RESTART)) {
|
||||||
cmistake(u, S->s, 305, MSG_EVENT);
|
cmistake(u, S->s, 314, MSG_EVENT);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1051,7 +1051,7 @@ terminate(troop dt, troop at, int type, const char *damage, boolean missile)
|
||||||
}
|
}
|
||||||
|
|
||||||
#if CHANGED_CROSSBOWS == 1
|
#if CHANGED_CROSSBOWS == 1
|
||||||
if(fval(awtype,WTF_ARMORPIERCING)) {
|
if(awtype && fval(awtype,WTF_ARMORPIERCING)) {
|
||||||
/* crossbows */
|
/* crossbows */
|
||||||
ar /= 2;
|
ar /= 2;
|
||||||
an /= 2;
|
an /= 2;
|
||||||
|
|
|
@ -30,10 +30,10 @@
|
||||||
#define SKILLPOINTS 0
|
#define SKILLPOINTS 0
|
||||||
#define NEW_MIGRATION 1
|
#define NEW_MIGRATION 1
|
||||||
#define PEASANTS_DO_NOT_STARVE 0
|
#define PEASANTS_DO_NOT_STARVE 0
|
||||||
#define GUARD_DISABLES_RECRUIT 0
|
#define GUARD_DISABLES_RECRUIT 1
|
||||||
#define GUARD_DISABLES_PRODUCTION 0
|
#define GUARD_DISABLES_PRODUCTION 1
|
||||||
#define RESOURCE_QUANTITY 1.0
|
#define RESOURCE_QUANTITY 0.5
|
||||||
#define RECRUITFRACTION 20 /* 100/RECRUITFRACTION% */
|
#define RECRUITFRACTION 40 /* 100/RECRUITFRACTION% */
|
||||||
#define CATAPULT_AMMUNITION 0 /* Gebaut werden kann sie auch mit 0! */
|
#define CATAPULT_AMMUNITION 0 /* Gebaut werden kann sie auch mit 0! */
|
||||||
#define CHANGED_CROSSBOWS 0
|
#define CHANGED_CROSSBOWS 1
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ ifndef ERESSEA
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Hier definieren, damit nicht '@gcc'
|
# Hier definieren, damit nicht '@gcc'
|
||||||
CC = gcc-3.0 -D_GNU_SOURCE -ansi -pedantic
|
CC = gcc-3.0 -D_GNU_SOURCE -ansi -pedantic -W
|
||||||
DEPEND = @gcc-3.0 -MM -MG -r
|
DEPEND = @gcc-3.0 -MM -MG -r
|
||||||
# CC = gcc -D_GNU_SOURCE
|
# CC = gcc -D_GNU_SOURCE
|
||||||
AR = ar
|
AR = ar
|
||||||
|
|
|
@ -2801,6 +2801,18 @@ xe_init(void)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static int
|
||||||
|
fix_restart_flag(void)
|
||||||
|
{
|
||||||
|
faction *f;
|
||||||
|
|
||||||
|
for(f=factions; f; f=f->next) {
|
||||||
|
freset(f, FFL_RESTART);
|
||||||
|
}
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
extern border *borders[];
|
extern border *borders[];
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -2894,6 +2906,7 @@ korrektur(void)
|
||||||
do_once("guac", guard_conversion());
|
do_once("guac", guard_conversion());
|
||||||
do_once("qpoi", questportal_init());
|
do_once("qpoi", questportal_init());
|
||||||
do_once("xini", xe_init());
|
do_once("xini", xe_init());
|
||||||
|
do_once("rest", fix_restart_flag());
|
||||||
warn_password();
|
warn_password();
|
||||||
fix_road_borders();
|
fix_road_borders();
|
||||||
|
|
||||||
|
|
|
@ -4431,6 +4431,17 @@
|
||||||
</locale>
|
</locale>
|
||||||
</message>
|
</message>
|
||||||
|
|
||||||
|
<message name="error314">
|
||||||
|
<type>
|
||||||
|
<arg name="unit" type="unit"></arg>
|
||||||
|
<arg name="region" type="region"></arg>
|
||||||
|
<arg name="command" type="string"></arg>
|
||||||
|
</type>
|
||||||
|
<text locale="de">"$unit($unit) in $region($region): '$command' - Eine Partei kann nur einmal neu starten."</text>
|
||||||
|
<text locale="en">"$unit($unit) in $region($region): '$command' - Restart can only be used once."</text>
|
||||||
|
</message>
|
||||||
|
|
||||||
|
|
||||||
<message name="drown_on_ship">
|
<message name="drown_on_ship">
|
||||||
<type>
|
<type>
|
||||||
<arg name="unit" type="unit"></arg>
|
<arg name="unit" type="unit"></arg>
|
||||||
|
|
Loading…
Reference in New Issue