1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97
|
MIN_RECOLONIZING_SIZE
'''3'''
MIN_RECOLONIZING_HAPPINESS
'''5'''
IMPOSSIBLY_LARGE_TURN
'''(2^15)'''
DESCRIPTION_EFFECTSGROUP_MACRO
'''
EffectsGroup
description = "@1@"
scope = Source
activation = None
effects = NoOp
'''
FIGHTER_DAMAGE_FACTOR
'''(GameRule name = "RULE_FIGHTER_DAMAGE_FACTOR")'''
PLANET_DEFENSE_FACTOR
'''(GameRule name = "RULE_SHIP_WEAPON_DAMAGE_FACTOR")'''
PLANET_SHIELD_FACTOR
'''(GameRule name = "RULE_SHIP_STRUCTURE_FACTOR")'''
SHIP_WEAPON_DAMAGE_FACTOR
'''(GameRule name = "RULE_SHIP_WEAPON_DAMAGE_FACTOR")'''
SHIP_SHIELD_FACTOR
'''(GameRule name = "RULE_SHIP_WEAPON_DAMAGE_FACTOR")'''
SHIP_STRUCTURE_FACTOR
'''(GameRule name = "RULE_SHIP_STRUCTURE_FACTOR")'''
SYSTEM_MINES_DAMAGE_FACTOR
'''(GameRule name = "RULE_SHIP_STRUCTURE_FACTOR")'''
SUPPLY_DISCONNECTED_INFLUENCE_MALUS
'''1'''
MINIMUM_DISTANCE_EMPIRE_CHECK
''' Not WithinStarlaneJumps jumps = (NamedIntegerLookup name = "MIN_MONSTER_DISTANCE") condition = And [
System
Contains And [
Planet
OwnedBy affiliation = AnyEmpire
]
]
'''
// empire id used for unowned planets/ships - as defined in Universe.cpp(?)
UNOWNED_EMPIRE_ID
'''-1'''
GROWTH_RATE_FACTOR
'''
0.1 *
(1 - (Statistic If condition = And [Target EmpireHasAdoptedPolicy name = "PLC_NO_GROWTH"])) * // no growth with no-growth policy
(1 + 0.5*(Statistic If condition = And [Target EmpireHasAdoptedPolicy name = "PLC_POPULATION"])) // +50% growth with population policy
'''
// @1@ Species key
LIFECYCLE_MANIP_POPULATION_EFFECTS
'''
EffectsGroup
scope = And [
Object id = Source.PlanetID
Planet
]
activation = And [
Not OwnerHasTech name = "GRO_LIFECYCLE_MAN"
Turn low = LocalCandidate.CreationTurn + 1 high = LocalCandidate.CreationTurn + 1
]
priority = [[POPULATION_DEFAULT_PRIORITY]]
effects = [
SetSpecies name = @1@
SetPopulation value = 1
]
EffectsGroup
scope = And [
Object id = Source.PlanetID
Planet
]
activation = And [
OwnerHasTech name = "GRO_LIFECYCLE_MAN"
Turn low = LocalCandidate.CreationTurn + 1 high = LocalCandidate.CreationTurn + 1
]
priority = [[POPULATION_DEFAULT_PRIORITY]]
effects = [
SetSpecies name = @1@
SetPopulation value = [[MIN_RECOLONIZING_SIZE]]
]
'''
|