Spy units are now enabled when a land unit type with capability spy
exists. To disable them, deities have to customize table land-chr.
Before, spy units types were ignored when option LANDSPIES was
disabled. Except for xdump land-chr, which happily dumped unusable
spy unit types.
"Hide information between players")
EMPCF_OPT("INTERDICT_ATT", opt_INTERDICT_ATT,
"Interdict post-attack move in")
"Hide information between players")
EMPCF_OPT("INTERDICT_ATT", opt_INTERDICT_ATT,
"Interdict post-attack move in")
-EMPCF_OPT("LANDSPIES", opt_LANDSPIES,
- "Enable the land unit type spies")
EMPCF_OPT("LOANS", opt_LOANS,
"Allow bailing out of other countries via S&L scandals")
EMPCF_OPT("LOSE_CONTACT", opt_LOSE_CONTACT,
EMPCF_OPT("LOANS", opt_LOANS,
"Allow bailing out of other countries via S&L scandals")
EMPCF_OPT("LOSE_CONTACT", opt_LOSE_CONTACT,
Options NUKEFAILDETONATE, SLOW_WAR, SNEAK_ATTACK, FUEL, GRAB_THINGS
and SHIP_DECAY are gone. Options PINPOINTMISSILE, DEMANDUPDATE,
UPDATESCHED, DRNUKE, TRADESHIPS, NONUKES, NEUTRON, BIG_CITY,
Options NUKEFAILDETONATE, SLOW_WAR, SNEAK_ATTACK, FUEL, GRAB_THINGS
and SHIP_DECAY are gone. Options PINPOINTMISSILE, DEMANDUPDATE,
UPDATESCHED, DRNUKE, TRADESHIPS, NONUKES, NEUTRON, BIG_CITY,
-DEFENSE_INFRA, NO_LCMS, NO_HCMS and NO_OIL
+DEFENSE_INFRA, LANDSPIES, NO_LCMS, NO_HCMS and NO_OIL
got replaced by more flexible configuration.
The xdump command lets client writers access more game more easily.
got replaced by more flexible configuration.
The xdump command lets client writers access more game more easily.
MOB_ACCESS: Allows real-time updating of mobility.
MARKET: Time-delay market and trade.
LOANS: Allows S&L type interaction between countries.
MOB_ACCESS: Allows real-time updating of mobility.
MARKET: Time-delay market and trade.
LOANS: Allows S&L type interaction between countries.
-LANDSPIES: Creates land unit style spies.
NO_FORT_FIRE: Forts cannot fire.
RAILWAYS Highways double as rail
TECH_POP: Technology costs more to make as your civilian population
NO_FORT_FIRE: Forts cannot fire.
RAILWAYS Highways double as rail
TECH_POP: Technology costs more to make as your civilian population
.L lnd
The number of land units the ship can carry. No ship can carry 'heavy'
units. Only surface supply ships can carry units that are not 'light'.
.L lnd
The number of land units the ship can carry. No ship can carry 'heavy'
units. Only surface supply ships can carry units that are not 'light'.
-If option LANDSPIES is enabled, submarines that can't normally carry
+Submarines that can't normally carry
land units can carry up to two spies.
.L pln
The number of 'light' planes the ship can carry.
land units can carry up to two spies.
.L pln
The number of 'light' planes the ship can carry.
Options enabled in this game:
ALL_BLEED, BLITZ, EASY_BRIDGES, FALLOUT, GODNEWS, INTERDICT_ATT,
Options enabled in this game:
ALL_BLEED, BLITZ, EASY_BRIDGES, FALLOUT, GODNEWS, INTERDICT_ATT,
- LANDSPIES, NOFOOD, NOMOBCOST, NO_PLAGUE, RAILWAYS, SAIL, TREATIES
+ NOFOOD, NOMOBCOST, NO_PLAGUE, RAILWAYS, SAIL, TREATIES
Options disabled in this game:
AUTO_POWER, BRIDGETOWERS, GO_RENEW, GUINEA_PIGS, HIDDEN, LOANS,
Options disabled in this game:
AUTO_POWER, BRIDGETOWERS, GO_RENEW, GUINEA_PIGS, HIDDEN, LOANS,
break;
case 'l':
type = ef_elt_byname(EF_LAND_CHR, p);
break;
case 'l':
type = ef_elt_byname(EF_LAND_CHR, p);
rqtech = lchr[type].l_tech;
rqtech = lchr[type].l_tech;
- if ((lchr[type].l_flags & L_SPY) && !opt_LANDSPIES)
- type = -1;
- }
break;
case 'n':
type = ef_elt_byname(EF_NUKE_CHR, p);
break;
case 'n':
type = ef_elt_byname(EF_NUKE_CHR, p);
int load_spy = 0;
if (load_unload == LOAD) {
int load_spy = 0;
if (load_unload == LOAD) {
- if (opt_LANDSPIES) {
- if ((mchr[(int)sp->shp_type].m_flags & M_SUB) &&
- (mchr[(int)sp->shp_type].m_nland == 0)) {
- if (shp_nland(sp) >= 2) {
- pr("Non-land unit carrying subs can only carry up to two spy units.\n");
- return 0;
- }
- /* Eh, let 'em load a spy only */
- load_spy = 1;
+ if ((mchr[(int)sp->shp_type].m_flags & M_SUB) &&
+ (mchr[(int)sp->shp_type].m_nland == 0)) {
+ if (shp_nland(sp) >= 2) {
+ pr("Non-land unit carrying subs can only carry up to two spy units.\n");
+ return 0;
+ /* Eh, let 'em load a spy only */
+ load_spy = 1;
}
if (!load_spy && shp_nland(sp) >= mchr[sp->shp_type].m_nland) {
if (noisy) {
}
if (!load_spy && shp_nland(sp) >= mchr[sp->shp_type].m_nland) {
if (noisy) {
/* Fit unit on ship */
if (load_unload == LOAD) {
/* We have to check again, since it may have changed */
/* Fit unit on ship */
if (load_unload == LOAD) {
/* We have to check again, since it may have changed */
- if (opt_LANDSPIES) {
- if ((mchr[(int)sp->shp_type].m_flags & M_SUB) &&
- (mchr[(int)sp->shp_type].m_nland == 0)) {
- if (shp_nland(sp) >= 2) {
- pr("Non-land unit carrying subs can only carry up to two spy units.\n");
- return 0;
- }
- /* Eh, let 'em load a spy only */
- load_spy = 1;
+ if ((mchr[(int)sp->shp_type].m_flags & M_SUB) &&
+ (mchr[(int)sp->shp_type].m_nland == 0)) {
+ if (shp_nland(sp) >= 2) {
+ pr("Non-land unit carrying subs can only carry up to two spy units.\n");
+ return 0;
+ /* Eh, let 'em load a spy only */
+ load_spy = 1;
}
if (!load_spy && shp_nland(sp) >= mchr[sp->shp_type].m_nland) {
if (noisy) {
}
if (!load_spy && shp_nland(sp) >= mchr[sp->shp_type].m_nland) {
if (noisy) {
int opt_GUINEA_PIGS = 0;
int opt_HIDDEN = 0;
int opt_INTERDICT_ATT = 1;
int opt_GUINEA_PIGS = 0;
int opt_HIDDEN = 0;
int opt_INTERDICT_ATT = 1;
int opt_LOANS = 0;
int opt_LOSE_CONTACT = 0;
int opt_MARKET = 0;
int opt_LOANS = 0;
int opt_LOSE_CONTACT = 0;
int opt_MARKET = 0;
continue;
if (lchr[i].l_tech > tlev)
continue;
continue;
if (lchr[i].l_tech > tlev)
continue;
- if ((lchr[i].l_flags & L_SPY) && !opt_LANDSPIES)
- continue;
chridx[n].type = i;
chridx[n].tech = lchr[i].l_tech;
n++;
chridx[n].type = i;
chridx[n].tech = lchr[i].l_tech;
n++;