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
+15
View File
@@ -0,0 +1,15 @@
Trait: Anarchy
Name: #TRAIT_ANARCHY
Description: #TRAIT_ANARCHY_DESC
Category: Personality
Available: False
Category: Government
Unique: Government
Color: #ff706f
Icon: ConvertIcon::0
Gives Points: 1
RemoveAllCards()
+11
View File
@@ -0,0 +1,11 @@
Trait: FTLCache
Name: #TRAIT_FTLCACHE
Description: #TRAIT_FTLCACHE_DESC:1200
Category: FTL
Color: #00c0ff
Icon: ResourceIcon::3
Available: False
AddFTLIncome(-1)
AddStoredFTL(1200)
+17
View File
@@ -0,0 +1,17 @@
Trait: Meritocracy
Name: #TRAIT_MERITOCRACY
Description: #TRAIT_MERITOCRACY_DESC
Category: Government
Unique: Government
Available: False
Costs Points: 1
Icon: StatusIcons::0
GainInfluenceCard(Negotiate, Uses=5, Quality=2)
GainInfluenceCard(Gift, Uses=2)
GainInfluenceCard(Enhance, Uses=2)
GainInfluenceCard(OpenForum)
GainInfluenceCard(Investigate)
@@ -0,0 +1,11 @@
//Trait: Dwarf Planet
// Name: #TRAIT_DWARF_PLANET
// Description: #TRAIT_DWARF_PLANET_DESC
// Category: Foundation
//
// Conflict: Enormous Planet
//
// Color: #aaffaa
// Icon: DwarfPlanet
//
// Gives Points: 1
@@ -0,0 +1,11 @@
//Trait: EnormousPlanet
// Name: #TRAIT_ENORMOUS_PLANET
// Description: #TRAIT_ENORMOUS_PLANET_DESC
// Category: Foundation
//
// Conflict: Dwarf Planet
//
// Color: #aaffaa
// Icon: EnormousPlanet
//
// Costs Points: 1
+12
View File
@@ -0,0 +1,12 @@
Trait: Fortified
Name: #TRAIT_FORTIFIED
Description: #TRAIT_FORTIFIED_DESC
Category: Foundation
Color: #aaffaa
Icon: Fortified
Available: False
Costs Points: 1
OnHomeworld(AddPlanetResource(Pekelm))
@@ -0,0 +1,11 @@
Trait: Industrious
Name: #TRAIT_INDUSTRIOUS
Description: #TRAIT_INDUSTRIOUS_DESC:4
Category: Foundation
Color: #aaffaa
Icon: Industrious
Available: False
Costs Points: 1
OnHomeworld( AddResource(Labor, +4) )
@@ -0,0 +1,11 @@
Trait: Plantation
Name: #TRAIT_PLANTATION
Description: #TRAIT_PLANTATION_DESC
Category: Foundation
Color: #aaffaa
Icon: Plantation
Available: False
Costs Points: 1
OnHomeworld( AddPlanetResource(Grain) )
@@ -0,0 +1,9 @@
//Trait: Revolutionaries
// Name: #TRAIT_REVOLUTIONARIES
// Description: #TRAIT_REVOLUTIONARIES_DESC
// Category: Foundation
// Color: #aaffaa
// Icon: Revolutionaries
// Costs Points: 1
@@ -0,0 +1,12 @@
Trait: SequesteredSociety
Name: #TRAIT_SEQUESTERED_SOCIETY
Description: #TRAIT_SEQUESTERED_SOCIETY_DESC
Category: Foundation
Icon: SequesteredSociety
Color: #aaffaa
Available: False
Costs Points: 1
TriggerHomeworld(DevelopTiles(500))
+13
View File
@@ -0,0 +1,13 @@
Trait: Virile
Name: #TRAIT_VIRILE
Description: #TRAIT_VIRILE_DESC
Category: Foundation
Costs Points: 1
Available: False
Icon: StatusIcons::0
Color: #aaffaa
OnHomeworld(AddStatus(Virile))
@@ -0,0 +1,13 @@
Trait: Ancient Vessel
Name: #TRAIT_ANCIENT_VESSEL
Description: #TRAIT_ANCIENT_VESSEL_DESC
Category: Military
Costs Points: 1
Available: False
Icon: StatusWar
Color: #aaffaa
SpawnShip(Thereus, Design From = Creeps)
@@ -0,0 +1,13 @@
Trait: Manifest Destiny
Name: #TRAIT_MANIFEST_DESTINY
Description: #TRAIT_MANIFEST_DESTINY_DESC
Category: Military
Costs Points: 1
Available: False
Icon: StatusWar
Color: #aaffaa
ModAttribute(CaptureSupplyFactor, Multiply, 0.75)
@@ -0,0 +1,13 @@
Trait: Military Industrial Complex
Name: #TRAIT_MILITARY_INDUSTRIAL_COMPLEX
Description: #TRAIT_MILITARY_INDUSTRIAL_COMPLEX_DESC
Category: Military
Icon: StatusWar
Color: #aaffaa
Available: False
Costs Points: 1
TriggerHomeworld(GenerateDefenseShips(50))
+14
View File
@@ -0,0 +1,14 @@
Trait: Pyromania
Name: #TRAIT_PYROMANIA
Description: #TRAIT_PYROMANIA_DESC
Category: Military
Costs Points: 1
Color: #aaffaa
Available: False
Icon: StatusWar
AddModifier(tag/IsExplosiveWeapon::DamageFactor(1.25))
ModAttribute(FireDamageTakenFactor, Multiply, 2.0)
+12
View File
@@ -0,0 +1,12 @@
Trait: Crude
Name: #TRAIT_CRUDE
Description: #TRAIT_CRUDE_DESC:30
Category: Personality
Color: #ffaaaa
Icon: QuickbarIcons::3
Available: False
Gives Points: 1
AddModifier( BuildCostFactor(1.3) )
+11
View File
@@ -0,0 +1,11 @@
Trait: Cunning
Name: #TRAIT_CUNNING
Description: #TRAIT_CUNNING_DESC:5
Category: Personality
Color: #aaffaa
Icon: ResourceIcon::1
Available: False
Costs Points: 1
GainRandomInfluenceCards(5)
+12
View File
@@ -0,0 +1,12 @@
Trait: Euphoric
Name: #TRAIT_EUPHORIC
Description: #TRAIT_EUPHORIC_DESC
Category: Personality
Color: #aaffaa
Icon: HappyFace
Available: False
Costs Points: 1
AddStatusPlanetsReqLevel(2, Happy)
@@ -0,0 +1,9 @@
//Trait: Generous
// Name: #TRAIT_GENEROUS
// Description: #TRAIT_GENEROUS_DESC:4
// Category: Personality
// Color: #aaffaa
// Icon: NotImplemented
// Costs Points: 1
@@ -0,0 +1,12 @@
Trait: Inefficient
Name: #TRAIT_INEFFICIENT
Description: #TRAIT_INEFFICIENT_DESC:3
Category: Personality
Color: #ffaaaa
Icon: AttributeIcons::4
Available: False
Gives Points: 1
AddModifier( SupplyCostFactor(2) )
@@ -0,0 +1,12 @@
Trait: Sedentary
Name: #TRAIT_SEDENTARY
Description: #TRAIT_SEDENTARY_DESC
Category: Personality
Color: #ffaaaa
Icon: ResourceIcon::7
Available: False
Gives Points: 1
ModAttribute(BuildingConstructRate, Add, -0.3)
@@ -0,0 +1,12 @@
Trait: SocialParanoia
Name: #TRAIT_SOCIAL_PARANOIA
Description: #TRAIT_SOCIAL_PARANOIA_DESC
Category: Personality
Color: #ffaaaa
Icon: ThumbsDown
Available: False
Gives Points: 1
ModAttribute(VoteStartSupport, Add, -3.0)
@@ -0,0 +1,13 @@
Trait: WarMinded
Name: #TRAIT_WAR_MINDED
Description: #TRAIT_WAR_MINDED_DESC:4
Category: Personality
Color: #ffaaaa
Icon: ActionBarIcons::2
Available: False
Gives Points: 2
ModAttribute(VoteCardCostMod, Add, +1.0)
ModAttribute(SupportCardCostMod, Add, +1.0)
+12
View File
@@ -0,0 +1,12 @@
Trait: MoonBase
Name: #TRAIT_MOON_BASE
Description: #TRAIT_MOON_BASE_DESC
Category: Foundation
Order: 4
Color: #aaffaa
Icon: PlanetType::4
Costs Points: 1
TriggerHomeworld( AddSurfaceArea(Moon, (5, 5)) )
+12
View File
@@ -0,0 +1,12 @@
Trait: Poor
Name: #TRAIT_POOR
Description: #TRAIT_POOR_DESC
Category: Foundation
Order: 6
Color: #ffaaaa
Icon: Poor
Gives Points: 1
ClearFirstBudget()
+12
View File
@@ -0,0 +1,12 @@
Trait: SpaceProgram
Name: #TRAIT_SPACE_PROGRAM
Description: #TRAIT_SPACE_PROGRAM_DESC
Category: Foundation
Order: 0
Color: #aaffaa
Icon: SpaceProgram
Costs Points: 1
TriggerHomeworld( MapVision(3) )
+14
View File
@@ -0,0 +1,14 @@
Trait: Workshop
Name: #TRAIT_WORKSHOP
Description: #TRAIT_WORKSHOP_DESC
Category: Foundation
Order: 2
Color: #aaffaa
Icon: ArtifactIcon::0
Costs Points: 1
TriggerHomeworld( SetPermanentSystemFlag(CheapArtifacts) )
TriggerHomeworld( RepeatTrigger(6, SpawnArtifact(In System = True, Owned = True)) )
UnlockTag(SolarOrbitalUnlock)
+24
View File
@@ -0,0 +1,24 @@
Trait: Fling
Name: #TRAIT_FLING
Description: #TRAIT_FLING_DESC
Category: FTL
Order: 1
Icon: GuiOrbitalIcons::2
Color: #ef8eff
Unique: FTL
LoadDesigns(default)
LoadDesigns(not_hyperdrive)
IfHaveTrait(Verdant, LoadDesigns(verdant/default))
IfHaveTrait(Verdant, LoadDesigns(verdant/not_hyperdrive))
IfHaveTrait(Devout, LoadDesigns(devout/default))
IfHaveTrait(Devout, LoadDesigns(devout/not_hyperdrive))
IfHaveTrait(Ancient, LoadDesigns(ancient/default))
IfHaveTrait(Ancient, LoadDesigns(ancient/not_hyperdrive))
SpawnOrbital(FlingCore, Free = True)
+35
View File
@@ -0,0 +1,35 @@
Trait: Flux
Name: #TRAIT_FLUX
Description: #TRAIT_FLUX_DESC
Category: FTL
Order: 5
DLC: Heralds
Available: False
Icon: ActionBarIcons::5 * #ff4040
Color: #67ad85
Unique: FTL
LoadDesigns(default)
LoadDesigns(not_hyperdrive)
IfHaveTrait(Verdant, LoadDesigns(verdant/default))
IfHaveTrait(Verdant, LoadDesigns(verdant/not_hyperdrive))
IfHaveTrait(Devout, LoadDesigns(devout/default))
IfHaveTrait(Devout, LoadDesigns(devout/not_hyperdrive))
IfHaveTrait(Ancient, LoadDesigns(ancient/default))
IfHaveTrait(Ancient, LoadDesigns(ancient/not_hyperdrive))
ModAttribute(HasFlux, Add, 1)
ModAttribute(ForbidDeepSpace, Add, 1)
ModAttribute(ColonizerSpeed, Multiply, 0.1)
AddModifier(FlagshipHull::AddHasFTLCost(1))
GrantVisionTradeRange()
AddFTLStorage(250)
+27
View File
@@ -0,0 +1,27 @@
Trait: Gate
Name: #TRAIT_GATE
Description: #TRAIT_GATE_DESC
Category: FTL
Order: 2
Icon: GuiOrbitalIcons::1
Color: #8ed2ff
Unique: FTL
UnlockSubsystem(GateModule)
LoadDesigns(default)
LoadDesigns(not_hyperdrive)
LoadDesigns(gate)
IfHaveTrait(Verdant, LoadDesigns(verdant/default))
IfHaveTrait(Verdant, LoadDesigns(verdant/not_hyperdrive))
IfHaveTrait(Verdant, LoadDesigns(verdant/gate))
IfHaveTrait(Devout, LoadDesigns(devout/default))
IfHaveTrait(Devout, LoadDesigns(devout/not_hyperdrive))
IfHaveTrait(Devout, LoadDesigns(devout/gate))
IfHaveTrait(Ancient, LoadDesigns(ancient/default))
IfHaveTrait(Ancient, LoadDesigns(ancient/not_hyperdrive))
IfHaveTrait(Ancient, LoadDesigns(ancient/gate))
+25
View File
@@ -0,0 +1,25 @@
Trait: Hyperdrive
Name: #TRAIT_HYPERDRIVE
Description: #TRAIT_HYPERDRIVE_DESC
Category: FTL
Order: 0
Icon: TraitIcons::2
Color: #a767ad
Default: True
Unique: FTL
UnlockSubsystem(Hyperdrive)
LoadDesigns(default)
LoadDesigns(hyperdrive)
IfHaveTrait(Verdant, LoadDesigns(verdant/default))
IfHaveTrait(Verdant, LoadDesigns(verdant/hyperdrive))
IfHaveTrait(Devout, LoadDesigns(devout/default))
IfHaveTrait(Devout, LoadDesigns(devout/hyperdrive))
IfHaveTrait(Ancient, LoadDesigns(ancient/default))
IfHaveTrait(Ancient, LoadDesigns(ancient/hyperdrive))
+26
View File
@@ -0,0 +1,26 @@
Trait: Jumpdrive
Name: #TRAIT_JUMPDRIVE
Description: #TRAIT_JUMPDRIVE_DESC
Category: FTL
Order: 4
DLC: Heralds
Icon: Jumpdrive
Color: #67ad85
Unique: FTL
UnlockSubsystem(Jumpdrive)
LoadDesigns(default)
LoadDesigns(jumpdrive)
IfHaveTrait(Verdant, LoadDesigns(verdant/default))
IfHaveTrait(Verdant, LoadDesigns(verdant/jumpdrive))
IfHaveTrait(Devout, LoadDesigns(devout/default))
IfHaveTrait(Devout, LoadDesigns(devout/jumpdrive))
IfHaveTrait(Ancient, LoadDesigns(ancient/default))
IfHaveTrait(Ancient, LoadDesigns(ancient/jumpdrive))
+13
View File
@@ -0,0 +1,13 @@
Trait: RandomFTL
Name: #TRAIT_RANDOM_FTL
Description: #TRAIT_RANDOM_FTL_DESC
Order: 100
Icon: MenuIcons::4
Color: #ff0000
Category: FTL
Unique: FTL
GainInfluenceCard(Uprising, Quality = 1)
AddRandomTrait(FTL, Ignore Trait = Sublight)
+30
View File
@@ -0,0 +1,30 @@
Trait: Slipstream
Name: #TRAIT_SLIPSTREAM
Description: #TRAIT_SLIPSTREAM_DESC
Category: FTL
Order: 3
Icon: GuiOrbitalIcons::4
Color: #67a7ad
Unique: FTL
UnlockSubsystem(Slipstream)
LoadDesigns(default)
LoadDesigns(not_hyperdrive)
LoadDesigns(slipstream)
IfHaveTrait(Verdant, LoadDesigns(verdant/default))
IfHaveTrait(Verdant, LoadDesigns(verdant/not_hyperdrive))
IfHaveTrait(Verdant, LoadDesigns(verdant/slipstream))
IfHaveTrait(Devout, LoadDesigns(devout/default))
IfHaveTrait(Devout, LoadDesigns(devout/not_hyperdrive))
IfHaveTrait(Devout, LoadDesigns(devout/slipstream))
IfHaveTrait(Ancient, LoadDesigns(ancient/default))
IfHaveTrait(Ancient, LoadDesigns(ancient/not_hyperdrive))
IfHaveTrait(Ancient, LoadDesigns(ancient/slipstream))
IfNotHaveTrait(StarChildren, SpawnShip(Slipstream Generator))
+30
View File
@@ -0,0 +1,30 @@
Trait: Sublight
Name: #TRAIT_SUBLIGHT
Description: #TRAIT_SUBLIGHT_DESC
Order: 50
Category: FTL
Unique: FTL
Icon: TraitIcons::1
Color: #ffaaaa
Gives Points: 3
LoadDesigns(default)
LoadDesigns(not_hyperdrive)
IfHaveTrait(Verdant, LoadDesigns(verdant/default))
IfHaveTrait(Verdant, LoadDesigns(verdant/not_hyperdrive))
IfHaveTrait(Devout, LoadDesigns(devout/default))
IfHaveTrait(Devout, LoadDesigns(devout/not_hyperdrive))
IfHaveTrait(Ancient, LoadDesigns(ancient/default))
IfHaveTrait(Ancient, LoadDesigns(ancient/not_hyperdrive))
ReplaceTechnologyNodes(FTLHurdle, EnergyHurdle)
ReplaceTechnologyNodes(FTL, Thrust)
AddFTLStorage(-250)
AddFTLIncome(-1)
+21
View File
@@ -0,0 +1,21 @@
Trait: Capitalism
Name: #TRAIT_CAPITALISM
Description: #TRAIT_CAPITALISM_DESC
Order: 1
Category: Government
Unique: Government
Icon: ResourceIcon::0
Color: #d1cb6aff
AddMoney(400)
GainInfluenceCard(Rider, Uses=2)
GainDistinctLeverage(4, 1.0)
GainInfluenceCard(Gift, Uses=2)
SpawnShip(Heavy Carrier, Empire, 15x Heavy Gunship, 10x Beamship, 20x Gunship)
OnDLC(Heralds, GainAttitude(Materialism, Level Up = 1))
+23
View File
@@ -0,0 +1,23 @@
Trait: Communism
Name: #TRAIT_COMMUNISM
Description: #TRAIT_COMMUNISM_DESC
Order: 3
Category: Government
Unique: Government
Icon: StatusPeace
Color: #42b4bd
GainInfluenceCard(Negotiate)
GainInfluenceCard(Investigate)
GainInfluenceCard(Cultivation)
GainInfluenceCard(UnitedResearch)
GainInfluenceCard(Sabotage)
AddEnergy(500)
SpawnShip(Dreadnaught, Empire, 6x Beamship, 12x Missile Boat, 20x Gunship)
SpawnShip(Dreadnaught, Empire, 6x Beamship, 12x Missile Boat, 20x Gunship)
OnDLC(Heralds, GainAttitude(Collectivism, Level Up = 1))
+26
View File
@@ -0,0 +1,26 @@
Trait: Empire
Name: #TRAIT_EMPIRE
Description: #TRAIT_EMPIRE_DESC
Category: Government
Order: 0
Icon: StatusWar
Color: #a06911
Default: True
Unique: Government
GainInfluenceCard(Negotiate, Uses=3)
GainInfluenceCard(Negotiate, Uses=2, Quality=1)
GainInfluenceCard(NamePlanet, Quality=1)
GainInfluenceCard(NameFlagship, Quality=2)
SpawnShip(Heavy Carrier, Empire, 10x Heavy Gunship, 15x Beamship, 25x Missile Boat, 45x Gunship)
InHomeSystem( MakeAsteroid() )
InRandomAdjacentSystem( MakeAsteroid() )
InRandomAdjacentSystem( MakeAsteroid() )
InRandomAdjacentSystem( MakeAsteroid() )
OnDLC(Heralds, GainAttitude(Delinquent, Level Up = 1))
@@ -0,0 +1,13 @@
Trait: RandomGovernment
Name: #TRAIT_RANDOM_GOVERNMENT
Description: #TRAIT_RANDOM_GOVERNMENT_DESC
Order: 100
Icon: MenuIcons::4
Color: #ff0000
Category: Government
Unique: Government
AddMoney(200)
AddRandomTrait(Government)
+26
View File
@@ -0,0 +1,26 @@
Trait: Theocracy
Name: #TRAIT_THEOCRACY
Description: #TRAIT_THEOCRACY_DESC
Order: 4
Category: Government
Unique: Government
Icon: VoteIcons::5
Color: #00c0ff
GainInfluenceCard(CallOut, Uses=2)
GainInfluenceCard(AncientKnowledge)
GainInfluenceCard(ProtectSystem, Uses=2)
GainInfluenceCard(SenateBuilding)
AddStoredFTL(250)
SpawnShip(Scout)
SpawnShip(Scout)
SpawnShip(Dreadnaught, Empire, 10x Heavy Gunship, 15x Beamship, 15x Missile Boat, 20x Gunship)
OnHomeworld(GenerateDefenseShips(25))
OnDLC(Heralds, GainAttitude(Reverent, Level Up = 1))
+68
View File
@@ -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)
+26
View File
@@ -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)
+10
View File
@@ -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
+30
View File
@@ -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)
+17
View File
@@ -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)
+30
View File
@@ -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)
+14
View File
@@ -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)
+66
View File
@@ -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))
+11
View File
@@ -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
+29
View File
@@ -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)
+14
View File
@@ -0,0 +1,14 @@
Trait: Animated
Name: #TRAIT_ANIMATED
Description: #TRAIT_ANIMATED_DESC
Category: Personality
Order: 9
DLC: Heralds
Color: #aaffaa
Icon: TabAttitude
Costs Points: 1
ModAttribute(FreeAttitudes, Add, +1)
ModAttribute(AttitudeStartLevel, Add, +1)
+14
View File
@@ -0,0 +1,14 @@
Trait: Charismatic
Name: #TRAIT_CHARISMATIC
Description: #TRAIT_CHARISMATIC_DESC
Category: Personality
Order: 4
Conflict: Paranoid
Color: #aaffaa
Icon: ThumbsUp
Costs Points: 1
ModAttribute(VoteStartSupport, Add, +2.0)
+14
View File
@@ -0,0 +1,14 @@
Trait: Frugal
Name: #TRAIT_FRUGAL
Description: #TRAIT_FRUGAL_DESC
Category: Personality
Order: 2
Conflict: Lavish
Color: #aaffaa
Icon: ResourceClassIcons::0
Costs Points: 1
AddStatusOwnedPlanets(Frugal)
+14
View File
@@ -0,0 +1,14 @@
Trait: Innovative
Name: #TRAIT_INNOVATIVE
Description: #TRAIT_INNOVATIVE_DESC
Category: Personality
Order: 0
Conflict: Rigid
Color: #aaffaa
Icon: ResourceIcon::4
Costs Points: 1
ModAttribute(ResearchUnlockSpeed, Add, +100000)
+14
View File
@@ -0,0 +1,14 @@
Trait: Lavish
Name: #TRAIT_LAVISH
Description: #TRAIT_LAVISH_DESC
Category: Personality
Order: 3
Conflict: Frugal
Color: #ffaaaa
Icon: ResourceIconsSmall::32
Gives Points: 1
AddStatusOwnedPlanets(Lavish)
+14
View File
@@ -0,0 +1,14 @@
Trait: Nimble
Name: #TRAIT_NIMBLE
Description: #TRAIT_NIMBLE_DESC
Category: Personality
Order: 8
Color: #aaffaa
Icon: AttributeIcons::0
Costs Points: 1
AddModifier( ThrustFactor(1.3) )
AddModifier( TurnThrustFactor(1.3) )
AddModifier( Hyperdrive::SpeedFactor(1.3) )
+14
View File
@@ -0,0 +1,14 @@
Trait: Paranoid
Name: #TRAIT_PARANOID
Description: #TRAIT_PARANOID_DESC
Category: Personality
Order: 5
Conflict: Charismatic
Color: #ffaaaa
Icon: ThumbsDown
Gives Points: 1
ModAttribute(ExtraInfluenceBuyCost, Add, +1.0)
+13
View File
@@ -0,0 +1,13 @@
Trait: Prideful
Name: #TRAIT_PRIDEFUL
Description: #TRAIT_PRIDEFUL_DESC
Category: Personality
Order: 6
Color: #aaffaa
Icon: QuickbarIcons::6
Costs Points: 1
RepeatLargestFlagshipBuiltSize(AddInfluenceStake(1), Repeat Per = 100)
RepeatLargestFlagshipBuiltSize(AddGlobalDefenseIncome(1), Repeat Per = 100)
+14
View File
@@ -0,0 +1,14 @@
Trait: Rigid
Name: #TRAIT_RIGID
Description: #TRAIT_RIGID_DESC
Category: Personality
Order: 1
Conflict: Innovative
Color: #ffaaaa
Icon: ResourceIcon::4 * #ff8888
Gives Points: 1
ModAttribute(ForbidSecondaryUnlock, Add, +1)
+14
View File
@@ -0,0 +1,14 @@
Trait: PrivRingworld
Name: #PRIV_TRAIT_RINGWORLD
Description: #PRIV_TRAIT_RINGWORLD_DESC
Color: #ff8000
Category: Privilege
Available: False
Conflict: Extragalactic
Conflict: StarChildren
Conflict: Ancient
TriggerHomeworld(SpawnPlanet(Ringworld, Owned = True, Add Status = PrivRingworld, Radius = 550, Physics = False, Set Homeworld = True))
TriggerHomeworld(DestroySystemPlanet(0, Quiet = True), Run Post = True)
+14
View File
@@ -0,0 +1,14 @@
Trait: PrivShipyard
Name: #PRIV_TRAIT_SHIPYARD
Description: #PRIV_TRAIT_SHIPYARD_DESC
Color: #ff8000
Category: Privilege
Available: False
AddModifier(MaintainCostFactor(0.5))
SpawnOrbital(Shipyard, Free = True, Add Status = PrivShipyard)
SpawnShip(Battleship, Empire, 20x Heavy Gunship, 40x Beamship, 20x Missile Boat, 20x Gunship)
SpawnShip(Battleship, Empire, 20x Heavy Gunship, 40x Beamship, 20x Missile Boat, 20x Gunship)
+12
View File
@@ -0,0 +1,12 @@
Trait: PrivStations
Name: #PRIV_TRAIT_STATIONS
Description: #PRIV_TRAIT_STATIONS_DESC
Color: #ff8000
Category: Privilege
Available: False
TriggerHomeSystem(OnNearbySystems(4, RepeatTrigger(2, SpawnShip(Defense Station, Creeps)), On Home = True), Run Post = True)
TriggerHomeSystem(OnNearbySystems(3, RepeatTrigger(2, SpawnShip(Defense Station, Creeps)), On Home = True), Run Post = True)
TriggerHomeSystem(OnNearbySystems(2, RepeatTrigger(2, SpawnShip(Defense Station, Creeps)), On Home = True), Run Post = True)
TriggerHomeSystem(OnNearbySystems(1, RepeatTrigger(2, SpawnShip(Defense Station, Creeps)), On Home = True), Run Post = True)
+14
View File
@@ -0,0 +1,14 @@
Trait: PrivTwinned
Name: #PRIV_TRAIT_TWINNED
Description: #PRIV_TRAIT_TWINNED_DESC
Color: #ff8000
Category: Privilege
Available: False
Conflict: Extragalactic
Conflict: StarChildren
Conflict: Ancient
TriggerHomeworld(SpawnPlanet(Meat, Owned = True, Add Status = PrivTwinned, In System = True, Radius = 12))
TriggerHomeworld(AddRandomResource(RandomLevel:2))