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
+23
View File
@@ -0,0 +1,23 @@
System: BaseSystem
Inherit: BaseRemnants
Inherit: BaseAsteroids
Inherit: BaseAnomalies
Inherit: BaseArtifacts
System: BaseAsteroids
RepeatChance(Chance = $ASTEROID_OCCURANCE, Repeat Modifier = 0.7)
MakeAsteroid(Cargo = Ore)
RepeatChance(Chance = $RESOURCE_ASTEROID_OCCURANCE, Repeat Modifier = 0.7)
MakeAsteroid(Resource = Distributed)
System: BaseAnomalies
RepeatChance(Chance = $ANOMALY_OCCURANCE, Repeat Modifier = 0.5)
MakeAnomaly()
System: BaseRemnants
RepeatQuality(Chance = $REMNANT_OCCURANCE, Repeat Modifier = 0.5, Quality Step = 200)
MakeCreepCamp()
System: BaseArtifacts
RepeatQuality(Chance = $ARTIFACT_FREQUENCY, Repeat Modifier = 0.25, Quality Step = 200)
MakeArtifact()
+9
View File
@@ -0,0 +1,9 @@
System: AncientSystem
Inherit: BaseSystem
Frequency: 0.25
MakeStar(Temperature = 1000:2500, Radius = 125:200)
AddQuality(+100)
RepeatModified(3, $PLANET_FREQUENCY)
MakePlanet()
+12
View File
@@ -0,0 +1,12 @@
System: BinarySystem
Inherit: BaseSystem
Frequency: 0.1
MakeStar(Temperature = 7000:13000, Radius = 55:70, Suffix = A, Moves = True)
SetupOrbit(Radius = 150, Orbit Pct = 0.4)
MakeStar(Temperature = 4000:9000, Radius = 35:60, Suffix = B, Moves = True)
SetupOrbit(Radius = 150, Orbit Pct = 0.9)
RepeatModified(4, $PLANET_FREQUENCY)
MakePlanet()
+8
View File
@@ -0,0 +1,8 @@
System: StandardSystem
Inherit: BaseSystem
Frequency: 0.50
MakeStar(Temperature = 4000:12000, Radius = 65:85)
RepeatModified(4, $PLANET_FREQUENCY)
MakePlanet()
+9
View File
@@ -0,0 +1,9 @@
System: YoungSystem
Inherit: BaseSystem
Frequency: 0.15
MakeStar(Temperature = 6000:29800, Radius = 85:165, NormalTempRange = true)
AddQuality(-100)
RepeatModified(5, $PLANET_FREQUENCY)
MakePlanet()
+6
View File
@@ -0,0 +1,6 @@
System: CoreBlackhole
MakeBlackhole(Radius = 20.0)
MakePlanet(Orbit Spacing = 700:750)
MakeAsteroidBelt(6)
MakePlanet(Orbit Spacing = 850:900)
+15
View File
@@ -0,0 +1,15 @@
System: ExpeditionSystem
Inherit: BaseSystem
Frequency: 0
MakeStar(Temperature = 4000:12000, Radius = 65:85)
AddQuality(200)
Repeat(5)
MakePlanet()
Repeat(2:5)
SpawnRandomRemnants(50, 0.3:0.6, 4)
AddRegionStatus(RemnantBlockedColonization)
+37
View File
@@ -0,0 +1,37 @@
System: HomeSystem
MakeStar(Temperature = 400:13000, Radius = 65:85)
BonusHealth(20000000000)
RepeatHomeworlds()
MakePlanet(RandomType:Food:Common, Radius = 10, Grid Size = (18, 11), Conditions = False, Moons = False)
BonusHealth(5000000000)
AddPlanetResource(Water)
AddResource(Labor, +1)
OnPlanet( AddIncome(130) )
AddPopulation(3.0)
SpawnBuilding(Factory, (4, 3), Develop = True)
OnPlanet( AddPressureCap(2) )
NoNeedPopulationForLevel()
ForceUsefulSurface(0.8, Forest)
MakePlanet(RandomType:Food:Common, Conditions = False, Moons = False)
MakePlanet(Water, Conditions = False, Moons = False)
MakePlanet(RandomLevel:1:Common, Conditions = False, Moons = False)
MakeMoon()
ExpandSystem(-50:100)
MakeAsteroid(Cargo = Ore, Cargo Amount = 6000)
MakeAsteroid(Resource = Distributed)
AddAdjacentArtifacts(2)
MakeAdjacentCreepCamp(SmallCamp, Place Far = True)
GuaranteeAdjacentResource(Water)
GuaranteeAdjacentResource(RandomType:Food:Common)
GuaranteeAdjacentResource(RandomLevel:1:Common)
GuaranteeAdjacentResource(RandomLevel:2:Common)
GuaranteeAdjacentResource(RandomType:Food:Common, Distance = 2)
GuaranteeAdjacentResource(RandomType:Food:Common, Distance = 2)
GuaranteeAdjacentResource(Water, Distance = 2)
+16
View File
@@ -0,0 +1,16 @@
System: AncientToyshop
Frequency: 0.01
Unique: Global
MakeStar(Temperature = 4520, Radius = 74)
Repeat(3)
MakePlanet()
Repeat(2)
MakeCreepCamp()
Repeat(5)
MakeArtifact()
AddAdjacentArtifacts(3)
+16
View File
@@ -0,0 +1,16 @@
System: AncientWarzone
Frequency: 0.01
Unique: Global
MakeStar(Temperature = 4520, Radius = 74)
Repeat(3)
MakePlanet()
MakeCreepCamp()
MakeAnomaly(AncientNavBuoy)
Repeat(3)
MakeAnomaly(DerelictRemnant)
AddAdjacentAnomalies(3)
+16
View File
@@ -0,0 +1,16 @@
System: MorphSystem
Frequency: 0.01
Unique: Global
MakeStar(Temperature = 5778, Radius = 75)
Repeat(3)
MakePlanet(AsteroidAffinity)
Repeat(2)
MakeAsteroid()
MakeAnomaly(MorphRed)
MakeAnomaly(MorphBlue)
MakeAnomaly(MorphGreen)
AddAdjacentAnomalies(1)
+24
View File
@@ -0,0 +1,24 @@
System: Nebula
Frequency: 0.01
Unique: Global
ExpandSystem(1000)
Repeat(1:10)
MakeAnomaly()
Repeat(1:6)
MakeArtifact()
Repeat(1:6)
MakeAsteroid()
Repeat(0:2)
MakePlanet(RandomRarity:Uncommon, Orbit Spacing = 0, Distribute Resource = True)
MakeNebula(#30f060:#f0c870:#f070d0)
MakeCreepCamp(Offset = 1200)
AddRegionStatus(LimitedSight)
NoRegionVision()
SetStaticSeeableRange(100)
+20
View File
@@ -0,0 +1,20 @@
System: RemnantBase
Frequency: 0.01
Unique: Global
MakeStar(Temperature = 5778, Radius = 75)
AddQuality(+500)
Repeat(4)
MakePlanet()
MakePlanet(Drugs:FTL)
MakePlanet(RandomLevel:1:Uncommon)
Repeat(4)
MakeAsteroid()
Repeat(4)
MakeCreepCamp()
MakeCreepCamp(DryDock)
AddAdjacentAnomalies(4)
+15
View File
@@ -0,0 +1,15 @@
System: RichAsteroidBelt
Frequency: 0.01
Unique: Galaxy
MakeStar(Temperature = 4520, Radius = 74)
AddQuality(-300)
MakePlanet()
MakeAsteroidBelt(7)
Repeat(2)
MakePlanet()
Repeat(2)
MakeAsteroid()