Open source Star Ruler 2 source code!

This commit is contained in:
Lucas de Vries
2018-07-17 14:15:37 +02:00
commit cc307720ff
4342 changed files with 2365070 additions and 0 deletions
+54
View File
@@ -0,0 +1,54 @@
//Statuses used to provide scaling buffs to fleets/planets in a system
Status: AllyBuff5
Visible To: Nobody
ApplyToFlagships()
AddFleetEffectiveness(+0.05)
Status: AllyBuff10
Visible To: Nobody
ApplyToFlagships()
AddFleetEffectiveness(+0.1)
Status: AllyBuff15
Visible To: Nobody
ApplyToFlagships()
AddFleetEffectiveness(+0.15)
Status: AllyBuff20
Visible To: Nobody
ApplyToFlagships()
AddFleetEffectiveness(+0.2)
Status: AllyBuff25
Visible To: Nobody
ApplyToFlagships()
AddFleetEffectiveness(+0.25)
Status: AllyBuff30
Visible To: Nobody
ApplyToFlagships()
AddFleetEffectiveness(+0.30)
Status: AllyBuff35
Visible To: Nobody
ApplyToFlagships()
AddFleetEffectiveness(+0.35)
Status: AllyBuff40
Visible To: Nobody
ApplyToFlagships()
AddFleetEffectiveness(+0.40)
Status: AllyBuff60
Visible To: Nobody
ApplyToFlagships()
AddFleetEffectiveness(+0.60)
+9
View File
@@ -0,0 +1,9 @@
Status: Blockaded
Name: #STATUS_BLOCKADED
Description: #STATUS_BLOCKADED_DESC
Icon: QuickbarIcons::7
Color: #ff9000
Collapses: True
ReduceProductionPerStack(1)
RemoveOnOwnerChange()
+23
View File
@@ -0,0 +1,23 @@
Status: BlockedColonization
Name: #STATUS_BLOCKED_COLONIZATION
Description: #STATUS_BLOCKED_COLONIZATION_DESC
Icon: QuickbarIcons::7 * #ff0000
Color: #ff8000
Visible To: Global
ApplyToUncolonizedPlanets()
MakeQuarantined()
Status: RemnantBlockedColonization
Name: #STATUS_BLOCKED_COLONIZATION
Description: #STATUS_BLOCKED_COLONIZATION_DESC
Icon: QuickbarIcons::7 * #ff0000
Color: #ff8000
Visible To: Global
ApplyToUncolonizedPlanets()
MakeQuarantined()
RemoveIfNoRemnantsInSystem()
+23
View File
@@ -0,0 +1,23 @@
Status: Cloaked
Name: #STATUS_CLOAKED
Description: #STATUS_CLOAKED_DESC
Icon: PlateArmor * #5188e6a0
Color: #5188e6
ShowShipSizeValue(RESOURCE_ENERGY, 0.5, 0.005, ResourceIcon::2, #PER_SECOND, #42b4bd)
ForceHoldFire()
LimitSeeableRange(100)
NoRegionVision()
RemoveIfInCombat(Timer = 60)
RemoveOnAttackOrder()
EnergyMaintenance(0.5, 0.005)
OnEnable(ClearAttackOrder())
OnEnable(PlayParticles(CloakingOn, Fleet Scale = True))
OnDisable(PlayParticles(CloakingOff, Fleet Scale = True))
PersistentParticles(Cloaking, Fleet Scale = True)
+8
View File
@@ -0,0 +1,8 @@
Status: Defended
Name: #STATUS_DEFENDED
Description: #STATUS_DEFENDED_DESC
Icon: ResourceIcon::5
Unique: True
Repeat(5, AddTurret(Railgun, Range=250, Damage=2, Reload=0.2, Speed=100, Spread=0.06, FireArc=3.14, Tracking=0.4, FireTolerance=0.78))
+9
View File
@@ -0,0 +1,9 @@
Status: DefenseSatellite
Visible To: Nobody
AddFleetEffectiveness(+1.0)
AddSupportBonusHP(+1.0)
AddFleetCommand(+256)
AllowFreeRaiding()
AddRaidRange(-10000000) //Negative range resolves to "in the current system"
+9
View File
@@ -0,0 +1,9 @@
Status: Devastation
Name: #STATUS_DEVASTATE
Description: #STATUS_DEVASTATE_DESC
Icon: ResourceIconsSmall::45
Collapses: True
Unique: False
BombardEffect()
+10
View File
@@ -0,0 +1,10 @@
Status: Energized
Name: #STATUS_PLANET_GROWTH
Description: #STATUS_PLANET_GROWTH_DESC
Icon: ResourceIcon::2
Unique: True
ModPopulationGrowth(+1.0)
ModTileDevelopRate(+1.0)
ModBuildingConstructRate(+1.0)
+5
View File
@@ -0,0 +1,5 @@
Status: Enslaved
Name: #STATUS_ENSLAVED
Icon: CardIcons::14
Unique: True
+9
View File
@@ -0,0 +1,9 @@
Status: Entangled
Name: #STATUS_ENTANGLED
Description: #STATUS_ENTANGLED_DESC
Icon: HexagonSubsystems::6 * #ff8d00
Unique: True
InterdictMovement()
DelayFTL()
+8
View File
@@ -0,0 +1,8 @@
Status: Expanded
Name: #STATUS_EXPANDED
Description: #STATUS_EXPANDED_DESC
Icon: HexagonSubsystems::4
Unique: True
AddFleetCommand(300)
+4
View File
@@ -0,0 +1,4 @@
Status: Expire
Visible To: Nobody
OnDisable(Destroy())
+8
View File
@@ -0,0 +1,8 @@
Status: FTLJammerCombat
Name: #STATUS_FTL_JAMMER_COMBAT
Description: #STATUS_FTL_JAMMER_COMBAT_DESC
Icon: OrbitalIcons::9 * #ff0000
ApplyToFlagships()
AddFleetEffectiveness(-0.30)
+8
View File
@@ -0,0 +1,8 @@
Status: FastResupply
Name: #STATUS_FAST_RESUPPLY
Description: #STATUS_FAST_RESUPPLY_DESC
Icon: AttributeIcons::4 * #00ff00
Collapses: True
ApplyToFlagships()
RepeatStacks(ResupplyFlagship(250, Percent = 0.01))
+5
View File
@@ -0,0 +1,5 @@
Status: FloatingContinent
Visible To: Nobody
Collapses: True
GrantAbility(TransferFloatingContinent)
+9
View File
@@ -0,0 +1,9 @@
Status: GalaxyMall
Name: #STATUS_GALAXY_MALL
Description: #STATUS_GALAXY_MALL_DESC
Icon: BuildingSprites::3
MultConstructionCostFromGlobal(GalaxyMallCount, 0.95, -0.05)
WorthPoints(200)
ModEmpireAttribute(HaveGalaxyMall, Add, 1)
+21
View File
@@ -0,0 +1,21 @@
Status: Happy
Name: #STATUS_HAPPY
Description: #STATUS_HAPPY_DESC
Icon: HappyFace
Color: #00ff00
Unique: True
ModExistingResource(Labor, +1) #version<147
ModExistingResource(Money, +1) #version<147
ModExistingResource(Research, +1) #version<147
ModExistingResource(Influence, +1) #version<147
ModExistingResource(Defense, +1) #version<147
ModExistingResource(Energy, +1) #version<147
RepeatEmpireAttribute(HappyMultiplier, ModExistingResource(Labor, +1)) #version>=147
RepeatEmpireAttribute(HappyMultiplier, ModExistingResource(Money, +1)) #version>=147
RepeatEmpireAttribute(HappyMultiplier, ModExistingResource(Research, +1)) #version>=147
RepeatEmpireAttribute(HappyMultiplier, ModExistingResource(Influence, +1)) #version>=147
RepeatEmpireAttribute(HappyMultiplier, ModExistingResource(Defense, +1)) #version>=147
RepeatEmpireAttribute(HappyMultiplier, ModExistingResource(Energy, +1)) #version>=147
+7
View File
@@ -0,0 +1,7 @@
Status: HasDefenses
Name: #STATUS_HAS_DEFENSES
Description: #STATUS_HAS_DEFENSES_DESC
Icon: GuiOrbitalIcons::6 * #80ff80
Collapses: True
Color: #80ff80
+5
View File
@@ -0,0 +1,5 @@
Status: HydroponicsSatellite
Visible To: Nobody
Collapses: True
RepeatStacks(AddPlanetResource(Soylent1))
+8
View File
@@ -0,0 +1,8 @@
Status: ImprovedPressure
Name: #STATUS_IMPROVED_PRESSURE
Description: #STATUS_IMPROVED_PRESSURE_DESC
Icon: AttributeIcons::0
Collapses: True
RepeatStacks(ImproveNativeResourcePressure(1))
+13
View File
@@ -0,0 +1,13 @@
Status: Infiltrated
Name: #STATUS_INFILTRATED
Description: #STATUS_INFILTRATED_DESC
Icon: CardIcons::2 * #ff0000
Unique: True
Visible To: Origin Empire
VisibleToOriginEmpire()
GivesVisionToOriginEmpire()
TriggerPeriodic(AddPermanentEffectiveness(-0.035), Interval = 20, Max Triggers = 3)
OnDisable(AddPermanentEffectiveness(+0.105))
+8
View File
@@ -0,0 +1,8 @@
Status: InterdictFTL
Name: #STATUS_INTERDICT_FTL
Description: #STATUS_INTERDICT_FTL_DESC
Icon: ResourceIcon::3 * #ff0000
Unique: True
DelayFTL()
+8
View File
@@ -0,0 +1,8 @@
Status: LimitedSight
Name: #STATUS_LIMITED_SIGHT
Description: #STATUS_LIMITED_SIGHT_DESC
Icon: VoteIcons::3
Color: #ff0000
LimitSightRange(100)
LimitSeeableRange(100) #version>=104
+8
View File
@@ -0,0 +1,8 @@
Status: Overcharged
Name: #STATUS_OVERCHARGED
Description: #STATUS_OVERCHARGED_DESC
Icon: ResourceIcon::2
Unique: True
AddFleetEffectiveness(+0.3)
+9
View File
@@ -0,0 +1,9 @@
Status: PressAttack
Name: #STATUS_PRESS_ATTACK
Description: #STATUS_PRESS_ATTACK_DESC
Icon: VoteIcons::5
Unique: True
AddFleetEffectiveness(+1.0)
HealFleetPerSecond(50)
+7
View File
@@ -0,0 +1,7 @@
Status: Propaganda
Name: #STATUS_PROPAGANDA
Description: #STATUS_PROPAGANDA_DESC
Icon: BuildingSprites::11 * #ff0000
Collapses: True
ImproveNativeResourcePressure(-1)
+7
View File
@@ -0,0 +1,7 @@
Status: PsionicProtected
Name: #STATUS_PSIONIC_PROTECTED
Description: #STATUS_PSIONIC_PROTECTED_DESC
Icon: ResourceIconsSmall::37
Unique: True
ApplyToPlanets()
+5
View File
@@ -0,0 +1,5 @@
Status: RingHabitat
Visible To: Nobody
AddMaxPopulation(2)
OnEnable(GivePopulation(2))
+11
View File
@@ -0,0 +1,11 @@
Status: SenateBuilding
Name: #STATUS_SENATE_BUILDING
Description: #STATUS_SENATE_BUILDING_DESC
Icon: BuildingSprites::11
AddResourceFromLevel(Influence, Factor = 1.0)
AddResourceFromGlobal(Influence, SenateBuildingCount, Factor = 2.0)
ModEmpireAttribute(VoteStartSupport, Add, +2.0)
WorthPoints(200)
ModEmpireAttribute(HaveSenateBuilding, Add, 1)
+10
View File
@@ -0,0 +1,10 @@
Status: ShipLevel
Name: #STATUS_SHIPLEVEL
Description: #STATUS_SHIPLEVEL_DESC
Icon: PointsIcon
Collapses: True
RepeatStacks(AddFleetEffectiveness(+0.20))
RepeatStacks(AddBonusHP(+0.20))
RepeatStacks(AddBonusShield(Percentage = +0.30))
RepeatStacks(AddBonusSupportCapPct(+0.10)) #version>=157
+4
View File
@@ -0,0 +1,4 @@
Status: SolarSatellite
Visible To: Nobody
ImproveNativeResourcePressure(1)
+4
View File
@@ -0,0 +1,4 @@
Status: StartingProtection
Name: #STATUS_STARTING_PROTECTION
Description: #STATUS_STARTING_PROTECTION_DESC
Icon: ResourceIcon::5 * #ff0000
+11
View File
@@ -0,0 +1,11 @@
Status: Supported
Name: #STATUS_SUPPORTED
Description: #STATUS_SUPPORTED_DESC
Icon: AttributeIcons::1 * #fff700
Collapses: True
ApplyToFlagships()
AddFleetEffectiveness(+0.2)
RepeatStacks(RepairPerSecond(Percent = 0.01))
RepeatStacks(ResupplyFlagship(Percent = 0.01, In Combat = True))
+7
View File
@@ -0,0 +1,7 @@
Status: SystemMorale
Name: #STATUS_SYSTEM_MORALE
Description: #STATUS_SYSTEM_MORALE_DESC
Icon: AttributeIcons::1 * #ffd200
ApplyToFlagships()
AddFleetEffectiveness(+0.2)
+10
View File
@@ -0,0 +1,10 @@
Status: UnitedResearch
Name: #STATUS_UNITED_RESEARCH
Description: #STATUS_UNITED_RESEARCH_DESC
Icon: BuildingSprites::9
AddResourceFromLevel(Research, Factor = 1.0)
AddResourceFromGlobal(Research, UnitedResearchCount, Factor = 2.0)
WorthPoints(200)
ModEmpireAttribute(HaveUnitedResearch, Add, 1)
+6
View File
@@ -0,0 +1,6 @@
Status: Virile
Name: #STATUS_VIRILE
Description: #STATUS_VIRILE_DESC
Icon: StatusIcons::0
ModPopulationGrowth(+1.0)
@@ -0,0 +1,4 @@
Status: BoostResource
Visible To: Nobody
ImproveNativeResourcePressure(2)
@@ -0,0 +1,4 @@
Status: IndividualismHW
Visible To: Nobody
AddPressureCap(6)
@@ -0,0 +1,11 @@
Status: ReverentOvercharge
Name: #STATUS_REVERENT_OVERCHARGE
Description: #STATUS_REVERENT_OVERCHARGE_DESC
Icon: AttributeIcons::1 * #00b3ff
ModSupplyConsumeFactor(-1.0)
AddFleetEffectiveness(0.25)
AddBonusHP(1.0)
AddBonusShield(Percentage = 1.0)
AddSupportBonusHP(1.0)
+7
View File
@@ -0,0 +1,7 @@
Status: StartNamed
Visible To: Nobody
IsTriggerStatus()
OnEnable(AddPermanentEffectiveness(0.18))
OnEnable(GrantRandomName())
@@ -0,0 +1,2 @@
Status: ArtificialMoon
Visible To: Nobody
+2
View File
@@ -0,0 +1,2 @@
Status: MoonBase
Visible To: Nobody
@@ -0,0 +1,9 @@
Status: AncientCannon
Name: #COND_ANCIENT_CANNON
Description: #COND_ANCIENT_CANNON_DESC
Icon: GuiOrbitalIcons::6 * #ff8080
Condition Frequency: 0.05
Color: #ff8080
TriggerCreate( SpawnBuilding(AncientCannon, (4, 2)) )
+11
View File
@@ -0,0 +1,11 @@
Status: AncientRuins
Name: #COND_ANCIENT_RUINS
Description: #COND_ANCIENT_RUINS_DESC
Icon: FTLStorage * #aa9aba
Condition Frequency: 0.25
Condition Tier: 1
Color: #8c4ec9
TriggerCreate( SpawnBuilding(AncientRuins, (2, 2)) )
TriggerColonized( AddResearchPoints(500:1000, Modified = False, Penalized = False) )
+6
View File
@@ -0,0 +1,6 @@
Status: Barren
Name: #COND_BARREN
Description: #COND_BARREN_DESC
Icon: ConditionIcons::7
Color: #ff0000
@@ -0,0 +1,15 @@
Status: DoubleRequirement
Name: #COND_DOUBLE_REQUIREMENT
Description: #COND_DOUBLE_REQUIREMENT_DESC
Icon: ConditionIcons::10
Color: #80ff80
Condition Tier: 1
Condition Frequency: 1.0
ConditionMaxLevel(1)
ConditionBiome(Desert)
ConditionDLC(Heralds)
AddToNativeResource(AddDummyResource(Textiles))
+11
View File
@@ -0,0 +1,11 @@
Status: ExtraDefense
Name: #COND_EXTRA_DEFENSE
Description: #COND_EXTRA_DEFENSE_DESC
Icon: ConditionIcons::2
Color: #af7926
Condition Frequency: 0.25
AddToNativeResource( AddPressure(Defense, 1) ) #version<147
AddToNativeResource( AddPressureEmpireAttribute(Defense, PlanetConditionMultiplier) ) #version>=147
+11
View File
@@ -0,0 +1,11 @@
Status: ExtraEnergy
Name: #COND_EXTRA_ENERGY
Description: #COND_EXTRA_ENERGY_DESC
Icon: ConditionIcons::3
Color: #42b4bd
Condition Frequency: 0.25
AddToNativeResource( AddPressure(Energy, 1) ) #version<147
AddToNativeResource( AddPressureEmpireAttribute(Energy, PlanetConditionMultiplier) ) #version>=147
@@ -0,0 +1,11 @@
Status: ExtraInfluence
Name: #COND_EXTRA_INFLUENCE
Description: #COND_EXTRA_INFLUENCE_DESC
Icon: ConditionIcons::0
Color: #0087c7
Condition Frequency: 0.25
AddToNativeResource( AddPressure(Influence, 1) ) #version<147
AddToNativeResource( AddPressureEmpireAttribute(Influence, PlanetConditionMultiplier) ) #version>=147
+11
View File
@@ -0,0 +1,11 @@
Status: ExtraLabor
Name: #COND_EXTRA_LABOR
Description: #COND_EXTRA_LABOR_DESC
Icon: DesignationIcons::4 * #eeffee
Color: #b1b4b6
Condition Frequency: 0
AddToNativeResource( AddPressure(Labor, 1) ) #version<147
AddToNativeResource( AddPressureEmpireAttribute(Labor, PlanetConditionMultiplier) ) #version>=147
@@ -0,0 +1,14 @@
Status: ExtraPressure
Name: #COND_EXTRA_PRESSURE
Description: #COND_EXTRA_PRESSURE_DESC
Icon: ConditionIcons::9
Color: #de49f1
Condition Frequency: 1.0
ConditionSinglePressureType()
ConditionBiome(Mountains)
ConditionDLC(Heralds)
ImproveNativeResourcePressure(1)
@@ -0,0 +1,11 @@
Status: ExtraResearch
Name: #COND_EXTRA_RESEARCH
Description: #COND_EXTRA_RESEARCH_DESC
Icon: ConditionIcons::1
Color: #8c4ec9
Condition Frequency: 0.25
AddToNativeResource( AddPressure(Research, 1) ) #version<147
AddToNativeResource( AddPressureEmpireAttribute(Research, PlanetConditionMultiplier) ) #version>=147
+13
View File
@@ -0,0 +1,13 @@
Status: Growth
Name: #COND_GROWTH
Description: #COND_GROWTH_DESC
Icon: ConditionIcons::8
Color: #5fb41c
Condition Frequency: 0.5
ConditionBiome(Forest)
ConditionDLC(Heralds)
AddToNativeResource(ModPopulationGrowth(+0.25))
AddToNativeResource(ModTileDevelopRate(+0.25))
+15
View File
@@ -0,0 +1,15 @@
Status: HighYield
Name: #COND_HIGH_YIELD
Description: #COND_HIGH_YIELD_DESC
Icon: ConditionIcons::11
Color: #00b6a3
Condition Frequency: 1.0
ConditionMaxLevel(0)
ConditionMinPressure(1)
ConditionMaxPressure(4)
ModResourceEfficiencyBonus(+1.0)
AddToNativeResource( AddPressureCap(-3) )
+7
View File
@@ -0,0 +1,7 @@
Status: Moon
Name: #COND_MOON
Description: #COND_MOON_DESC
Collapses: True
Visible To: Global
Icon: PlanetType::4
+27
View File
@@ -0,0 +1,27 @@
Status: OceanicFish
Name: #COND_NATIVE_FISH
Description: #COND_NATIVE_FISH_DESC
Icon: ResourceIconsSmall::19 * #ff00e6
Color: #ff00e6
Condition Type: Oceanic
Condition Tier: 1
Condition Frequency: 10
AddPlanetResource(NativeFish) #version<147
RepeatEmpireAttribute(PlanetConditionMultiplier, AddPlanetResource(NativeFish)) #version>=147
Status: TerranFish
Name: #COND_NATIVE_FISH
Description: #COND_NATIVE_FISH_DESC
Icon: ResourceIconsSmall::19 * #ff00e6
Color: #ff00e6
Condition Type: Terran
Condition Tier: 1
Condition Frequency: 2
AddPlanetResource(NativeFish) #version<147
RepeatEmpireAttribute(PlanetConditionMultiplier, AddPlanetResource(NativeFish)) #version>=147
+13
View File
@@ -0,0 +1,13 @@
Status: NegPressure
Name: #COND_NEG_PRESSURE
Description: #COND_NEG_PRESSURE_DESC
Icon: ConditionIcons::6
Color: #ff0000
Condition Frequency: 0.5
ConditionBiome(Ice)
ConditionDLC(Heralds)
AddToNativeResource( AddPressureCap(-2) )
@@ -0,0 +1,11 @@
Status: NoxiousAtmosphere
Name: #COND_NOXIOUS_ATMOSPHERE
Description: #COND_NOXIOUS_ATMOSPHERE_DESC
Icon: ConditionIcons::4
Color: #ff0000
Condition Tier: 1
Condition Frequency: 0.5
AddMaxPopulation(-1)
+15
View File
@@ -0,0 +1,15 @@
Status: Sparse
Name: #COND_SPARSE
Description: #COND_SPARSE_DESC
Icon: ConditionIcons::5
Color: #ff8000
Condition Frequency: 0.25
Condition Tier: 2
ConditionMinPressure(4)
ConditionMaxPressure(10)
ModResourceEfficiencyBonus(-0.52)
AddDummyResource(Textiles)
+4
View File
@@ -0,0 +1,4 @@
Status: CanGiveCargo
Visible To: Nobody
Unique: True
GrantAbility(TransferCargo)
+4
View File
@@ -0,0 +1,4 @@
Status: CanTakeCargo
Visible To: Nobody
Unique: True
GrantAbility(PickupCargo)
@@ -0,0 +1,8 @@
Status: CommandComputer
Name: #STATUS_COMMAND_COMPUTER
Description: #STATUS_COMMAND_COMPUTER_DESC
Icon: HexagonSubsystems::4
AddFleetCommand(300)
ArtifactOnDestroy(CommandComputer, Destroy Chance = 0.15)
WorthPoints(25)
+10
View File
@@ -0,0 +1,10 @@
Status: IonCannon
Name: #STATUS_ION_CANNON
Description: #STATUS_ION_CANNON_DESC
Icon: HexagonSubsystems::6 * #ff8d00
Collapses: True
ArtifactOnDestroy(IonCannon, Destroy Chance = 0.3)
WorthPoints(25)
GrantAbility(IonCannon)
+8
View File
@@ -0,0 +1,8 @@
Status: PowerCell
Name: #STATUS_POWER_CELL
Description: #STATUS_POWER_CELL_DESC
Icon: ResourceIcon::2
AddFleetEffectiveness(+0.2)
ArtifactOnDestroy(PowerCell, Destroy Chance = 0.15)
WorthPoints(25)
+10
View File
@@ -0,0 +1,10 @@
Status: SkipDrive
Name: #STATUS_SKIP_DRIVE
Description: #STATUS_SKIP_DRIVE_DESC
Icon: GuiOrbitalIcons::2 * #ff0000
Collapses: True
ArtifactOnDestroy(SkipDrive, Destroy Chance = 0.3)
WorthPoints(25)
GrantAbility(Blink)
@@ -0,0 +1,6 @@
Status: ArtificialPlanetoid
Name: #ARTIFICIAL_PLANETOID
Description: #ARTIFICIAL_PLANETOID_DESC
Icon: PlanetType::1
Color: #00ff00
Collapses: True
@@ -0,0 +1,9 @@
Status: Ringworld
Name: #RINGWORLD
Description: #RINGWORLD_DESC
Icon: PlanetType::14
Color: #00ff00
Collapses: True
AddPlanetGfxFlag(Ringworld)
SetSystemFlag(RingworldFlag)
@@ -0,0 +1,14 @@
Status: StarForge
Name: #STARFORGE
Description: #STARFORGE_DESC
Icon: OrbitalIcons::5
Color: #00ff00
Collapses: True
RepeatStacks(IfSystemHasStar(AddLaborIncome(25)))
RepeatStacks(IfSystemHasStar(IfUsingLabor(TriggerPeriodic(DealDamageToStar(5000000), Interval = 1.0))))
OnEnable(AddStatus(StarForgeUpgrade))
Status: StarForgeUpgrade
Visible To: Nobody
Collapses: True
@@ -0,0 +1,12 @@
Status: PickupFleetBoost
Name: #STATUS_PICKUP_FLEETBOOST
Description: #STATUS_PICKUP_FLEETBOOST_DESC
Icon: PlateArmor
Collapses: True
AddBonusHP(0.5) #version<162
AddSupportBonusHP(0.25) #version<162
RepeatStacks(AddBonusHP(0.5)) #version>=162
RepeatStacks(AddSupportBonusHP(0.25)) #version>=162
@@ -0,0 +1,7 @@
Status: EvtClique
Name: #STATUS_EVT_CLIQUE
Description: #STATUS_EVT_CLIQUE_DESC
Icon: emp_portrait_mono
AddResource(Labor, 5)
ModBuildingConstructRate(+1)
@@ -0,0 +1,7 @@
Status: EvtReactor
Name: #STATUS_EVT_REACTOR
Description: #STATUS_EVT_REACTOR_DESC
Icon: ResourceIconsSmall::0 * #0000ff
AddResource(Energy, 2)
AddPressure(Energy, 10)
+5
View File
@@ -0,0 +1,5 @@
Status: AddedDrugs
Visible To: Nobody
OnEnable(GainPlanetResource(Drugs))
IsTriggerStatus()
+4
View File
@@ -0,0 +1,4 @@
Status: ClearRemnants
Visible To: Nobody
EnableAfter(OnEnable(DestroyAllNonMajorEnemies()), 2)
@@ -0,0 +1,6 @@
Status: ConstructOrbital
Name: #STATUS_CONSTRUCTING
Icon: GuiOrbitalIcons::0 * #ff0000
ConstructOrbital(60)
+4
View File
@@ -0,0 +1,4 @@
Status: FluxCooldown
Name: #STATUS_FLUX_COOLDOWN
Description: #STATUS_FLUX_COOLDOWN_DESC
Icon: ActionBarIcons::5 * #ff4040
+5
View File
@@ -0,0 +1,5 @@
Status: GalacticUtopia
Visible To: Nobody
IfLevel(2, AddDummyResource(Meat, 1))
IfLevel(3, AddDummyResource(Neutronium, 1))
+6
View File
@@ -0,0 +1,6 @@
Status: GravitarShip
Name: #STATUS_GRAVITARSHIP
Description: #STATUS_GRAVITARSHIP_DESC
Icon: ResourceIcon::2
artifact_seeding::GravitarShip()
+6
View File
@@ -0,0 +1,6 @@
Status: PirateShip
Name: #STATUS_PIRATESHIP
Description: #STATUS_PIRATESHIP_DESC
Icon: StatusWar * #ff0000
piracy::PirateStatus()
+9
View File
@@ -0,0 +1,9 @@
Status: PrivRingworld
Visible To: Nobody
OnEnable(AddStatus(Ringworld))
OnEnable(GainPlanetResource(Grain))
OnEnable(GainPlanetResource(Water))
OnEnable(GivePopulation(12))
IsTriggerStatus()
+6
View File
@@ -0,0 +1,6 @@
Status: PrivShipyard
Visible To: Nobody
OnPlanetEnable(AddLaborStorage(500))
OnPlanetEnable(AddLaborIncome(50))
OnEnable(AddOrbitalHealth(50000))
+12
View File
@@ -0,0 +1,12 @@
Status: PrivTwinned
Visible To: Nobody
OnEnable(GainPlanetResource(Water))
OnEnable(AddRandomResource(RandomLevel:2))
OnEnable(SetNeedPopulationForLevel(False))
OnEnable(GivePopulation(3))
OnPlanetEnable(AddPressureCap(2))
OnPlanetEnable(AddIncome(130))
OnEnable(SpawnBuilding(Factory, (4, 3), Develop = True))
IsTriggerStatus()
+6
View File
@@ -0,0 +1,6 @@
Status: SeedShip
Name: #STATUS_SEEDSHIP
Description: #STATUS_SEEDSHIP_DESC
Icon: ResourceIcon::2
artifact_seeding::SeedShip()
+8
View File
@@ -0,0 +1,8 @@
Status: SpyProbe
Name: #STATUS_SPY_PROBE
Description: #STATUS_SPY_PROBE_DESC
Icon: VoteIcons::3 * #ff0000
VisibleToOriginEmpire()
GivesVisionToOriginEmpire()
RoamSystems(GainIntelligenceInSystem(), Origin Empires = True)
+13
View File
@@ -0,0 +1,13 @@
Status: ComputerCore
Visible To: Nobody
Unique: True
AddStatusInitialCombat(ComputerBoost, 30)
Status: ComputerBoost
Name: #STATUS_COMPUTER_BOOST
Description: #STATUS_COMPUTER_BOOST_DESC
Icon: QuickbarIcons::6
Unique: True
ModFleetEffectivenessSubsystem(Sys.EfficiencyBoost)
@@ -0,0 +1,6 @@
Status: ConstructionBay
Name: #S_CONSTRUCTION_BAY
Description: #S_CONSTRUCTION_BAY_DESC
Icon: ComputerCore * #fca404
IfStation(AllowLaborImport())
@@ -0,0 +1,6 @@
Status: EmergencyShields
Name: #STATUS_EMERGENCY_SHIELDS
Description: #STATUS_EMERGENCY_SHIELDS_DESC
Icon: AntimatterReactor * #b8b800
RestoreShieldsOverTime(Percentage = 1.0)
@@ -0,0 +1,11 @@
Status: FlareRadiation
Name: #STATUS_FLARE_RADIATION
Description: #STATUS_FLARE_RADIATION_DESC
Icon: MissileLauncher::0 * #e45500
Color: #e45500
ApplyToPlanets()
IfNotHaveTrait(Mechanoid, OnEnable(AbandonPlanet()))
MakeQuarantined()
+8
View File
@@ -0,0 +1,8 @@
Status: GateModule
Visible To: Nobody
FTLMaintenance(0.15)
OnEnable(AddStatus(GateUnpacked))
OnDisable(RemoveStatus(GateUnpacked))
OnDisable(RemoveStatus(GatePacked))
+12
View File
@@ -0,0 +1,12 @@
Status: GatePacked
Name: #STATUS_GATE_PACKED
Description: #STATUS_GATE_PACKED_DESC
Icon: ActionBarIcons::7 * #ff0000
AddAccelerationBonus(1.5)
AddBonusHP(-0.5)
GrantAbility(GateUnpack)
ForceHoldFire()
+11
View File
@@ -0,0 +1,11 @@
Status: GateUnpacked
Name: #STATUS_GATE_UNPACKED
Description: #STATUS_GATE_UNPACKED_DESC
Icon: ActionBarIcons::7
PersistentParticles(GateWormhole, Scale = 0.6)
IfNotFTLShortage(IfNotFTLBlocked(IsGate()))
IfNotFTLShortage(IfNotFTLBlocked(GlobalTradeNode()))
GrantAbility(GatePack)
+8
View File
@@ -0,0 +1,8 @@
Status: Marenium
Visible To: Nobody
Unique: True
AttributeAccelerationBonus(MareniumAcceleration, Stations = False)
AttributeFleetEffectiveness(MareniumEfficiency)
IfAttributeZero(MareniumEfficiency, AddFleetEffectiveness(-0.75))
@@ -0,0 +1,11 @@
Status: TroopInvasion
Name: #STATUS_TROOP_INVASION
Description: #STATUS_TROOP_INVASION_DESC
Icon: AbilityIcons::2
Color: #ff0000
Visible To: Everybody
Collapses: True
RemoveIfNotWar()
SiegeFromOrigin()
+6
View File
@@ -0,0 +1,6 @@
Status: Troops
Name: #STATUS_TROOPS
Description: #STATUS_TROOPS_DESC
Icon: AbilityIcons::2
Visible To: Everybody
Collapses: True
+6
View File
@@ -0,0 +1,6 @@
Status: Warhead
Name: #STATUS_WARHEAD
Description: #STATUS_WARHEAD_DESC
Icon: WarheadStored
Visible To: Everybody
Collapses: True
+7
View File
@@ -0,0 +1,7 @@
Status: Devout
Visible To: Nobody
IfCoversPopulation(AltarSupportedPopulation, RepeatPlanetLevel(ModEmpireAttribute(AltarSupportedPopulation, Add, 1))) #version<118
IfCoversPopulation(AltarSupportedPopulation, RepeatPlanetLevel(AddMaxPopulation(1))) #version<118
RepeatPlanetLevel(AddMaxPopulation(1)) #version>=118
+15
View File
@@ -0,0 +1,15 @@
Status: Evangelized
Name: #STATUS_EVANGELIZED
Description: #STATUS_EVANGELIZED_DESC
Unique: True
Icon: AttributeIcons::1 * #ffff00
Color: #ffff00
AddResource(Influence, 1)
OnOriginEmpire(AddInfluenceStake(1), Allow Same = False)
GivePlanetIncomeToOriginEmpire(Percentage = 0.1, Allow Same = False)
RemoveOnOwnerChange()
OnlyOriginEmpireCanCapture()
+6
View File
@@ -0,0 +1,6 @@
Status: Extragalactic
Visible To: Nobody
Collapses: True
PlanetLevelIncomeMod(+80, -160, Step = -80)
NoNeedPopulationForLevel()
+4
View File
@@ -0,0 +1,4 @@
Status: FleetLinked
Visible To: Nobody
ModEfficiencyDistanceToOrbital(Mainframe, +0.75, -0.5, 0, 25000)
+7
View File
@@ -0,0 +1,7 @@
Status: Frugal
Visible To: Nobody
IfLevel(2, AddDummyResource(Textiles, 1)) #version<154
IfLevel(3, AddDummyResource(Textiles, 1)) #version<154
IfLevel(2, IfAvailableOfTier(1, 1, AddDummyResource(Textiles, 1), Enabled Mod = -1)) #version>=154
+8
View File
@@ -0,0 +1,8 @@
Status: GodlessFleet
Name: #STATUS_GODLESS
Description: #STATUS_GODLESS_FLEET
Icon: ResourceIconsSmall::53 * #ff8000
Color: #ff0000
Collapses: True
RepeatStacks(AddFleetEffectiveness(-0.2), Max Repeats = 4)

Some files were not shown because too many files have changed in this diff Show More