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
+33
View File
@@ -0,0 +1,33 @@
Resource: Allondium
Name: #ALLONDIUM
Blurb: #ALLONDIUM_BLURB
Description: #ALLONDIUM_DESC
Native Biome: Mountains
Class: Scalable
Small Icon: ResourceIconsSmall::61
Pressure: 1 Influence
Rarity Level: 3
Frequency: 2
Limitless Level: True
Exportable: False
ModCivResourceMult(Influence, +0.1)
RepeatPlanetLevel(ModCivResourceMult(Influence, +0.1))
IfLevel(0, TriggerPeriodic(GainRandomInfluenceCards(1), Interval = 600), Exact = True) #version<116
IfLevel(1, TriggerPeriodic(GainRandomInfluenceCards(1), Interval = 480), Exact = True) #version<116
IfLevel(2, TriggerPeriodic(GainRandomInfluenceCards(1), Interval = 360), Exact = True) #version<116
IfLevel(3, TriggerPeriodic(GainRandomInfluenceCards(1), Interval = 240), Exact = True) #version<116
IfLevel(4, TriggerPeriodic(GainRandomInfluenceCards(1), Interval = 120), Exact = True) #version<116
IfLevel(5, TriggerPeriodic(GainRandomInfluenceCards(1), Interval = 60), Exact = True) #version<116
IfLevel(2, ModEmpireAttribute(InfluencePlacementMod, Add, -1)) #version>=116
IfLevel(4, ModEmpireAttribute(InfluencePlacementMod, Add, -1)) #version>=116
IfLevel(4, GrantAbility(BuyNameFlagship)) #version>=116
IfLevel(4, GrantAbility(BuyAnnexPlanet)) #version>=116
IfLevel(5, ModEmpireAttribute(SupportCardCostMod, Add, -3)) #version>=116
+27
View File
@@ -0,0 +1,27 @@
Resource: Cyllium
Name: #CYLLIUM
Blurb: #CYLLIUM_BLURB
Description: #CYLLIUM_DESC
Native Biome: Desert
Class: Scalable
Small Icon: ResourceIconsSmall::63
Pressure: 1 Energy
Rarity Level: 3
Frequency: 2
Limitless Level: True
Exportable: False
ModCivResourceMult(Energy, +0.1)
RepeatPlanetLevel(ModCivResourceMult(Energy, +0.1))
IfLevel(0, TriggerPeriodic(SpawnArtifact(In System = True, Owned = True, Expire = 120), Interval = 120), Exact = True)
IfLevel(1, TriggerPeriodic(SpawnArtifact(In System = True, Owned = True, Expire = 240), Interval = 120), Exact = True)
IfLevel(2, TriggerPeriodic(SpawnArtifact(In System = True, Owned = True, Expire = 360), Interval = 120), Exact = True)
IfLevel(3, TriggerPeriodic(SpawnArtifact(In System = True, Owned = True, Expire = 600), Interval = 120), Exact = True)
IfLevel(4, TriggerPeriodic(SpawnArtifact(In System = True, Owned = True, Expire = 960), Interval = 120), Exact = True)
IfLevel(5, TriggerPeriodic(SpawnArtifact(In System = True, Owned = True, Expire = 1800), Interval = 120), Exact = True)
IfLevel(4, SetSystemFlag(CheapArtifacts))
+31
View File
@@ -0,0 +1,31 @@
Resource: FTL
Name: #FTL_CRYSTALS
Blurb: #FTL_CRYSTALS_BLURB
Description: #FTL_CRYSTALS_DESC
Native Biome: Crystallic
Class: Scalable
Icon: ResourceIcons::22
Small Icon: ResourceIconsSmall::21
Rarity: Rare
Rarity Level: 2
Frequency: 5.0
Limitless Level: True
Exportable: False
IfType(Planet, AddFTLIncome(+1)) #version<105
IfType(Planet, AddFTLStorage(+250)) #version<105
AddFTLIncome(+0.1) #version>=105
IfLevel(1, AddFTLIncome(+0.4)) #version>=105
IfLevel(2, AddFTLIncome(+0.5)) #version>=105
IfLevel(3, AddFTLIncome(+1.0)) #version>=105
IfLevel(4, AddFTLIncome(+2.0)) #version>=105
IfLevel(5, AddFTLIncome(+5.0)) #version>=105
IfLevel(5, FreeFTLSystem()) #version>=105
IfLevel(4, GrantAllFleetVision(System Space = False, Deep Space = False, In FTL = True)) #version>=107
IfLevel(4, GrantAllFleetVision(Flagships = False, Stations = True, Require Status = GateUnpacked)) #version>=125
IfLevel(4, GrantAllOddityGateVision()) #version>=125
+21
View File
@@ -0,0 +1,21 @@
Resource: Phosphate
Name: #PHOSPHATE
Blurb: #PHOSPHATE_BLURB
Description: #PHOSPHATE_DESC
Native Biome: Ice
Class: Scalable
Small Icon: ResourceIconsSmall::62
Rarity Level: 3
Frequency: 2
Limitless Level: True
Exportable: False
IfLevel(0, AddRegionStatusOwnedSystems(AllyBuff5), Exact = True) #version>=111
IfLevel(1, AddRegionStatusOwnedSystems(AllyBuff10), Exact = True)
IfLevel(2, AddRegionStatusOwnedSystems(AllyBuff15), Exact = True)
IfLevel(3, AddRegionStatusOwnedSystems(AllyBuff25), Exact = True)
IfLevel(4, AddRegionStatusOwnedSystems(AllyBuff40), Exact = True)
IfLevel(5, AddRegionStatusOwnedSystems(AllyBuff60), Exact = True)
+27
View File
@@ -0,0 +1,27 @@
Resource: Plains
Name: #PLAINS
Blurb: #PLAINS_BLURB
Description: #PLAINS_DESC
Native Biome: Forest
Class: Scalable
Small Icon: ResourceIconsSmall::59
Rarity Level: 3
Frequency: 2
Limitless Level: True
Can Be Terraformed: False
Exportable: False
RegenSurface(26, 16, Biome Count = 3)
ModTileDevelopRate(+1.0)
RepeatPlanetLevel(ModTileDevelopRate(+0.5))
IfLevel(0, AddBuildingMaintenanceRefund(50), Exact = True) #version>=134
IfLevel(1, AddBuildingMaintenanceRefund(150), Exact = True) #version>=134
IfLevel(2, AddBuildingMaintenanceRefund(300), Exact = True) #version>=134
IfLevel(3, AddBuildingMaintenanceRefund(500), Exact = True) #version>=134
IfLevel(4, AddBuildingMaintenanceRefund(750), Exact = True) #version>=134
IfLevel(5, AddBuildingMaintenanceRefund(1100)) #version>=134
+25
View File
@@ -0,0 +1,25 @@
Resource: Quartz
Name: #QUARTZ
Blurb: #QUARTZ_BLURB
Description: #QUARTZ_DESC
Native Biome: Crystallic
Class: Scalable
Small Icon: ResourceIconsSmall::60
Pressure: 2 Labor
Rarity Level: 3
Frequency: 2
Limitless Level: True
Exportable: False
AddLaborStorage(10)
RepeatPlanetLevel(AddLaborStorage(100))
TriggerOnAttributeIncrease(ArtifactsActivated, AddStoredLabor(10, True))
IfLevel(1, TriggerOnAttributeIncrease(ArtifactsActivated, AddStoredLabor(15, True)))
IfLevel(2, TriggerOnAttributeIncrease(ArtifactsActivated, AddStoredLabor(25, True)))
IfLevel(3, TriggerOnAttributeIncrease(ArtifactsActivated, AddStoredLabor(30, True)))
IfLevel(4, TriggerOnAttributeIncrease(ArtifactsActivated, AddStoredLabor(40, True)))
IfLevel(5, TriggerOnAttributeIncrease(ArtifactsActivated, AddStoredLabor(80, True)))
+69
View File
@@ -0,0 +1,69 @@
Resource: SpaceFerns
Name: #R_SPACEFERNS
Blurb: #R_SPACEFERNS_BLURB
Description: #R_SPACEFERNS_DESC
Native Biome: Forest
Class: Scalable
DLC: Heralds
Small Icon: ResourceIconsSmall::75
Pressure: 1 Money
Affinity: Money
Rarity Level: 3
Limitless Level: True
Exportable: False
IfLevel(0, EnableModifier(tag/Engine::MaintCostFactor(0.95)), Exact = True)
IfLevel(1, EnableModifier(tag/Engine::MaintCostFactor(0.90)), Exact = True)
IfLevel(2, EnableModifier(tag/Engine::MaintCostFactor(0.75)), Exact = True)
IfLevel(3, EnableModifier(tag/Engine::MaintCostFactor(0.50)), Exact = True)
IfLevel(4, EnableModifier(tag/Engine::MaintCostFactor(0.25)), Exact = True)
IfLevel(5, EnableModifier(tag/Engine::MaintCostFactor(0.10)), Exact = True)
IfLevel(1, AddPressure(Energy, 2))
IfLevel(2, AddPressure(Money, 3))
IfLevel(3, AddPressure(Influence, 4))
IfLevel(4, AddPressure(Energy, 5))
IfLevel(5, AddPressure(Influence, 6))
NativeLevelChain(FernChain)
Level Chain: FernChain
Level: 0
Level: 1
Population: 3
BaseIncome: 250
ResourceIncome: 0
BasePressure: 10
Required: 1 WaterType, 1 Food
Level: 2
Population: 6
BaseIncome: 500
ResourceIncome: 0
BasePressure: 30
Points: 200
Required: 2 WaterType, 3 Food
Level: 3
Population: 9
BaseIncome: 1200
ResourceIncome: 0
BasePressure: 50
Points: 400
Required: 4 WaterType, 5 Food
Level: 4
Population: 12
BaseIncome: 2000
BasePressure: 70
ResourceIncome: 0
Points: 600
Required: 6 WaterType, 8 Food
Level: 5
Population: 15
BaseIncome: 3200
BasePressure: 90
ResourceIncome: 0
Points: 800
Required: 9 WaterType, 12 Food