Open source Star Ruler 2 source code!
This commit is contained in:
@@ -0,0 +1,68 @@
|
||||
Trait: Ancient
|
||||
Name: #TRAIT_ANCIENT
|
||||
Description: #TRAIT_ANCIENT_DESC
|
||||
Order: 7
|
||||
DLC: Heralds
|
||||
|
||||
Icon: TraitIcons::0
|
||||
Color: #8953f7
|
||||
|
||||
Costs Points: 4
|
||||
|
||||
Category: Lifestyle
|
||||
Unique: Lifestyle
|
||||
|
||||
ForbidSubsystem(CrewControl)
|
||||
ForbidSubsystem(CrewDeck)
|
||||
ForbidSubsystem(FissionGen)
|
||||
ForbidSubsystem(FusionGen)
|
||||
UnlockSubsystem(AncientCore)
|
||||
UnlockSubsystem(SupportAncientCore)
|
||||
|
||||
AddStatusOwnedPlanets(AncientPlanet)
|
||||
|
||||
TriggerHomeworld(TerraformTo(Supercarbons))
|
||||
TriggerHomeworld(DestroyBuildingAt((4, 3), Undevelop = True))
|
||||
TriggerHomeworld(AddPlanetIncome(-250))
|
||||
TriggerHomeworld(NameObject(Atrozal))
|
||||
|
||||
TriggerHomeworld(SpawnOrbital(AncientReplicator, In Orbit = True))
|
||||
TriggerHomeworld(SpawnOrbital(AncientReplicator, In Orbit = True))
|
||||
|
||||
TriggerHomeworld(SpawnBuilding(AncientCore, (9, 5)))
|
||||
|
||||
TriggerHomeworld(SpawnBuilding(AncientDock, (13, 5)))
|
||||
TriggerHomeworld(SpawnBuilding(AncientDock, (5, 5)))
|
||||
|
||||
TriggerHomeworld(SpawnBuilding(AncientRefinery, (16, 5)))
|
||||
TriggerHomeworld(SpawnBuilding(AncientRefinery, (2, 5)))
|
||||
|
||||
TriggerHomeworld(SpawnBuilding(AncientNetwork, (3, 1)))
|
||||
TriggerHomeworld(SpawnBuilding(AncientNetwork, (9, 1)))
|
||||
TriggerHomeworld(SpawnBuilding(AncientNetwork, (15, 1)))
|
||||
|
||||
TriggerHomeworld(SpawnBuilding(AncientFoundry, (7, 9)))
|
||||
TriggerHomeworld(SpawnBuilding(AncientFoundry, (11, 9)))
|
||||
|
||||
TriggerHomeworld(ReplaceAllBiomesWith(Desert))
|
||||
|
||||
ModAttribute(PopulationGrowthFactor, Multiply, 0)
|
||||
ModAttribute(PopulationDecayFactor, Multiply, 0)
|
||||
ModAttribute(OverpopulationBenefitFactor, Multiply, 0)
|
||||
ModAttribute(HasPopulation, Multiply, 0)
|
||||
ModAttribute(TileDevelopmentFactor, Multiply, 0)
|
||||
ModAttribute(CivBldConstructionRate, Multiply, 0)
|
||||
ModAttribute(ForbidCityConstruction, Add, 1)
|
||||
ModAttribute(ForbidColonization, Add, 1)
|
||||
ModAttribute(ForbidTerraform, Add, 1)
|
||||
ModAttribute(NoAutoColonize, Add, 1)
|
||||
|
||||
ReplaceTechnologyNodes(FactoryLabor, FoundryLabor)
|
||||
ReplaceTechnologyNodes(FactoryLabor2, FoundryLabor2)
|
||||
|
||||
ReplaceTechnologyNodes(Megacity, Thrust2)
|
||||
ReplaceTechnologyNodes(RingHabitat, Thrust)
|
||||
ReplaceTechnologyNodes(HydroponicsSatellite, FoundryLabor2)
|
||||
ReplaceTechnologyNodes(PlanetaryEngine, Thrust2)
|
||||
ReplaceTechnologyNodes(Population, FoundryLabor)
|
||||
ReplaceTechnologyNodes(Laboratories, FoundryLabor2)
|
||||
@@ -0,0 +1,26 @@
|
||||
Trait: Devout
|
||||
Name: #TRAIT_DEVOUT
|
||||
Description: #TRAIT_DEVOUT_DESC
|
||||
Order: 3
|
||||
|
||||
Icon: ResourceIconsSmall::53
|
||||
Color: #bd872e
|
||||
|
||||
Category: Lifestyle
|
||||
Unique: Lifestyle
|
||||
|
||||
RepeatPopulationCoverage(AltarSupportedPopulation, 30, AddStatusOwnedPlanets(GodlessPlanet))
|
||||
RepeatPopulationCoverage(AltarSupportedPopulation, 30, AddStatusOwnedFleets(GodlessFleet))
|
||||
AddStatusOwnedPlanets(Devout)
|
||||
|
||||
UnlockSubsystem(DevoutShrine)
|
||||
AddModifier(AddRequirePrayer(1))
|
||||
|
||||
OnHomeworld(AddDummyResource(Water)) #version<150
|
||||
OnHomeworld(AddDummyResource(Meat)) #version<150
|
||||
TriggerHomeworld(SpawnBuilding(Altar, (8, 4), Develop = True))
|
||||
OnHomeworld(AddPlanetResource(BuildingWater)) #version>=150
|
||||
OnHomeworld(AddPlanetResource(Soylent1)) #version>=150
|
||||
|
||||
ReplaceTechnologyNodes(SysShieldGen, SysShrine)
|
||||
ReplaceTechnologyNodes(ShieldGen, SysShrine)
|
||||
@@ -0,0 +1,10 @@
|
||||
Trait: Evangelical
|
||||
Name: #TRAIT_EVANGELICAL
|
||||
Description: #TRAIT_EVANGELICAL_DESC
|
||||
Order: 4
|
||||
|
||||
Icon: AttributeIcons::1 * #ffff00
|
||||
Color: #ffff00
|
||||
|
||||
Category: Lifestyle
|
||||
Unique: Lifestyle
|
||||
@@ -0,0 +1,30 @@
|
||||
Trait: Extragalactic //Planetary Planetary
|
||||
Name: #TRAIT_EXTRAGALACTIC
|
||||
Description: #TRAIT_EXTRAGALACTIC_DESC
|
||||
Order: 8
|
||||
DLC: Heralds
|
||||
|
||||
Icon: ActionBarIcons::0
|
||||
Color: #2c74a4
|
||||
|
||||
Category: Lifestyle
|
||||
Unique: Lifestyle
|
||||
|
||||
ModAttribute(PopulationGrowthFactor, Multiply, 0)
|
||||
ModAttribute(ForbidColonization, Add, 1)
|
||||
ModAttribute(NoAutoColonize, Add, 1)
|
||||
ModAttribute(ColonizerMaintFactor, Multiply, 0)
|
||||
|
||||
AddStatusOwnedPlanets(Extragalactic)
|
||||
|
||||
TriggerHomeworld(SpawnOrbital(Beacon, In Orbit = True, Set Home = True, Add Status = ClearRemnants))
|
||||
|
||||
TriggerRandomSystem(SpawnOrbital(Beacon, In Orbit = True, Add Status = ClearRemnants), Min Contestation = 0, Fallback Random = True, Match Homeworld Assign = True, Reassign = -2)
|
||||
TriggerRandomSystem(SpawnOrbital(Beacon, In Orbit = True, Add Status = ClearRemnants), Min Contestation = 0, Fallback Random = True, Match Homeworld Assign = True, Reassign = -2)
|
||||
|
||||
TriggerHomeworld(SetSystemAssignGroup(-2))
|
||||
|
||||
TriggerHomeworld(DestroySystemPlanet(0, Quiet = True), Run Post = True)
|
||||
|
||||
ModAttribute(ColonizerSpeed, Multiply, 2.0)
|
||||
SetColonizerInfo(#RACE_HERALDS_COLONIZER)
|
||||
@@ -0,0 +1,17 @@
|
||||
Trait: Linked
|
||||
Name: #TRAIT_LINKED
|
||||
Description: #TRAIT_LINKED_DESC
|
||||
Order: 2
|
||||
|
||||
Icon: ActionBarIcons::9
|
||||
Color: #7458a5
|
||||
|
||||
Category: Lifestyle
|
||||
Unique: Lifestyle
|
||||
|
||||
AddStatusOwnedFleets(FleetLinked, Give to Stations = False)
|
||||
|
||||
UnlockSubsystem(ShipComputer)
|
||||
UnlockSubsystem(EmergencySupplies)
|
||||
|
||||
SpawnOrbital(Mainframe, Free = True)
|
||||
@@ -0,0 +1,30 @@
|
||||
Trait: Mechanoid
|
||||
Name: #TRAIT_MECHANOID
|
||||
Description: #TRAIT_MECHANOID_DESC
|
||||
Order: 5
|
||||
|
||||
Icon: Industrious
|
||||
Color: #d08859
|
||||
|
||||
Category: Lifestyle
|
||||
Unique: Lifestyle
|
||||
|
||||
AddStatusOwnedPlanets(Mechanoid)
|
||||
OnHomeworld(AddResource(Labor, -1)) #version>=147
|
||||
TriggerHomeworld(GivePopulation(3))
|
||||
TriggerHomeworld(DestroyBuildingAt((4, 3), Undevelop = True))
|
||||
TriggerHomeworld(TerraformTo(Unobtanium))
|
||||
TriggerHomeworld(DestroySystemPlanet(1, Quiet = True))
|
||||
TriggerHomeworld(DestroySystemPlanet(2, Quiet = True))
|
||||
TriggerHomeworld(MorphSystemPlanetResource(3, Iron))
|
||||
TriggerHomeworld(AddStatus(MonoHomeworld))
|
||||
|
||||
ModAttribute(PopulationGrowthFactor, Multiply, 0)
|
||||
ModAttribute(PopulationDecayFactor, Multiply, 0)
|
||||
ModAttribute(OverpopulationBenefitFactor, Multiply, 0)
|
||||
ModAttribute(ForbidColonization, Add, 1)
|
||||
RemoveTechnologyNodes(SysConstructionBay)
|
||||
RemoveTechnologyNodes(SysOreProcessor)
|
||||
ReplaceTechnologyNodes(ConstructionBay, FactoryLabor)
|
||||
ReplaceTechnologyNodes(OreProcessor, FactoryLabor)
|
||||
ReplaceTechnologyNodes(HydroponicsSatellite, Thrust)
|
||||
@@ -0,0 +1,14 @@
|
||||
Trait: RandomLifestyle
|
||||
Name: #TRAIT_RANDOM_LIFESTYLE
|
||||
Description: #TRAIT_RANDOM_LIFESTYLE_DESC
|
||||
Order: 100
|
||||
|
||||
Icon: MenuIcons::4
|
||||
Color: #ff0000
|
||||
|
||||
Category: Lifestyle
|
||||
Unique: Lifestyle
|
||||
AI Support: False
|
||||
|
||||
AddResearchIncome(1)
|
||||
AddRandomTrait(Lifestyle)
|
||||
@@ -0,0 +1,66 @@
|
||||
Trait: StarChildren
|
||||
Name: #TRAIT_STAR_CHILDREN
|
||||
Description: #TRAIT_STAR_CHILDREN_DESC
|
||||
Order: 6
|
||||
|
||||
Category: Lifestyle
|
||||
Unique: Lifestyle
|
||||
|
||||
Icon: SystemUnderAttack
|
||||
Color: #1c9bb4
|
||||
|
||||
AddStatusOwnedPlanets(StarChildren)
|
||||
ModAttribute(PopulationGrowthFactor, Multiply, 0)
|
||||
ModAttribute(PopulationDecayFactor, Multiply, 0)
|
||||
ModAttribute(TileDevelopmentFactor, Multiply, 0)
|
||||
ModAttribute(OverpopulationBenefitFactor, Multiply, 0)
|
||||
ModAttribute(ColonizeDevelopTiles, Multiply, 0)
|
||||
ModAttribute(ForbidColonization, Add, 1)
|
||||
ModAttribute(ImperialBldConstructionRate, Multiply, 0)
|
||||
ModAttribute(CivBldConstructionRate, Multiply, 0)
|
||||
ModAttribute(HabitatUpgrade, Add, 1)
|
||||
ModAttribute(HasPressure, Multiply, 0)
|
||||
|
||||
IfHaveTrait(Slipstream, LoadDesigns(starchildren/slipstream))
|
||||
IfHaveTrait(Hyperdrive, LoadDesigns(starchildren/hyperdrive))
|
||||
IfHaveTrait(Jumpdrive, LoadDesigns(starchildren/jumpdrive))
|
||||
IfHaveTrait(Gate, LoadDesigns(starchildren/other))
|
||||
IfHaveTrait(Fling, LoadDesigns(starchildren/other))
|
||||
IfHaveTrait(Sublight, LoadDesigns(starchildren/other))
|
||||
|
||||
UnlockSubsystem(MothershipHull)
|
||||
|
||||
TriggerHomeworld(SpawnShip(Mothership, Override Disable Starting = True, Set Home = True))
|
||||
TriggerHomeworld(DestroySystemPlanet(0, Quiet = True))
|
||||
|
||||
ReplaceTechnologyNodes(ImpFactoryLabor, ImpMothershipLabor)
|
||||
ReplaceTechnologyNodes(ImpFactoryLabor2, ImpMothershipLabor2)
|
||||
|
||||
ReplaceTechnologyNodes(ImpTileDevelopment, ImpMothershipLabor)
|
||||
ReplaceTechnologyNodes(ImpTileDevelopment2, ImpMothershipLabor2)
|
||||
|
||||
ReplaceTechnologyNodes(ImpCivConstructionRate, ImpHabitat)
|
||||
ReplaceTechnologyNodes(ImpCivConstructionRate2, ImpHabitat)
|
||||
|
||||
ReplaceTechnologyNodes(ImpImpConstructionRate, ImpHabitat)
|
||||
ReplaceTechnologyNodes(ImpImpConstructionRate2, ImpHabitat)
|
||||
|
||||
ReplaceTechnologyNodes(ImpPlanetDamage, ImpHabitat)
|
||||
ReplaceTechnologyNodes(ImpPlanetDamage2, ImpHabitat)
|
||||
|
||||
ReplaceTechnologyNodes(BldMegacity, ImpHabitat)
|
||||
ReplaceTechnologyNodes(BldPlanetaryEngine, ImpHabitat)
|
||||
ReplaceTechnologyNodes(RingHabitat, ImpHabitat)
|
||||
|
||||
ReplaceTechnologyNodes(FactoryLabor, MothershipLabor)
|
||||
ReplaceTechnologyNodes(FactoryLabor2, MothershipLabor2)
|
||||
ReplaceTechnologyNodes(Construction, HabitatUpgrade)
|
||||
ReplaceTechnologyNodes(Megacity, HabitatUpgrade)
|
||||
ReplaceTechnologyNodes(PlanetaryEngine, HabitatUpgrade)
|
||||
ReplaceTechnologyNodes(Population, HabitatUpgrade)
|
||||
OnDLC(Heralds, ReplaceTechnologyNodeAt((-3,1), HabitatUpgrade))
|
||||
OnDLC(Heralds, ReplaceTechnologyNodeAt((-1,4), HabitatUpgrade))
|
||||
OnDLC(Heralds, ReplaceTechnologyNodeAt((-1,11), HabitatUpgrade))
|
||||
OnDLC(Heralds, ReplaceTechnologyNodeAt((-8,11), HabitatUpgrade))
|
||||
OnDLC(Heralds, ReplaceTechnologyNodeAt((5,-12), HabitatUpgrade))
|
||||
OnDLC(Heralds, ReplaceTechnologyNodeAt((7,1), HabitatUpgrade))
|
||||
@@ -0,0 +1,11 @@
|
||||
Trait: Terrestial
|
||||
Name: #TRAIT_TERRESTIAL
|
||||
Description: #TRAIT_TERRESTIAL_DESC
|
||||
Order: 0
|
||||
|
||||
Icon: PlanetType::2
|
||||
Color: #59d098
|
||||
|
||||
Category: Lifestyle
|
||||
Unique: Lifestyle
|
||||
Default: True
|
||||
@@ -0,0 +1,29 @@
|
||||
Trait: Verdant
|
||||
Name: #TRAIT_VERDANT
|
||||
Description: #TRAIT_VERDANT_DESC
|
||||
Order: 1
|
||||
|
||||
Icon: Plantation
|
||||
Color: #5fb41c
|
||||
|
||||
Category: Lifestyle
|
||||
Unique: Lifestyle
|
||||
|
||||
AddStatusOwnedPlanets(Verdant)
|
||||
|
||||
ModAttribute(ImperialBldConstructionRate, Multiply, 0.75)
|
||||
|
||||
TriggerHomeworld(DestroyBuildingAt((4, 3), Undevelop = True))
|
||||
TriggerHomeworld(SpawnBuilding(MotherStalk, (9, 5), Develop = True))
|
||||
|
||||
ReplaceTechnologyNodes(BldMegacity, ImpCivConstructionRate)
|
||||
ReplaceTechnologyNodes(Megacity, Population)
|
||||
|
||||
ForbidSubsystem(CrewControl)
|
||||
ForbidSubsystem(CrewDeck)
|
||||
UnlockSubsystem(VerdantSinew)
|
||||
UnlockSubsystem(VerdantSupportSinew)
|
||||
|
||||
ModAttribute(PopulationPerColonizer, Multiply, 16)
|
||||
ModAttribute(ForbidCityConstruction, Add, 1)
|
||||
SetColonizerInfo(#SPORE_SHIP, SporeShip, SporeShip)
|
||||
Reference in New Issue
Block a user