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
@@ -0,0 +1,5 @@
Status: AncientClaim
Visible To: Nobody
Collapses: True
OnRemoveStatusAttribLT(HasPopulation, 0.5, AbandonPlanet())
@@ -0,0 +1,5 @@
Status: AncientDepot
Visible To: Nobody
AddLaborStorage(100)
AddDefenseReserve(10)
@@ -0,0 +1,5 @@
Status: AncientDeveloper
Visible To: Nobody
EnableModifier(SupportCapModule::SupportCapacityFactor(1.05))
EnableModifier(SupportCapModule::MassFactor(1.25))
@@ -0,0 +1,5 @@
Status: AncientFoundry
Visible To: Nobody
AddResource(Labor, 3)
AddResourceEmpireAttribute(Labor, FactoryLaborMod)
@@ -0,0 +1,27 @@
Status: AncientPlanet
Visible To: Nobody
NoNeedPopulationForLevel()
PlanetLevelIncomeMod(+80, -50, Step = -80)
AlwaysAtMaxPopulation()
AddDummyResource(Water, 20)
AddDummyResource(Meat, 20)
AddDummyResource(Titanium, 20)
AddDummyResource(Supercarbons, 20)
IfNativeLevel(0, SetMaxLevel(0), Exact = True, Limit = False) #version<159
IfNativeLevel(1, SetMaxLevel(1), Exact = True, Limit = False) #version<159
IfNativeLevel(2, SetMaxLevel(2), Exact = True, Limit = False) #version<159
IfNativeLevel(3, SetMaxLevel(3), Exact = True, Limit = False) #version<159
IfNotNativeClass(Scalable, IfNativeLevel(0, SetMaxLevel(0), Exact = True, Limit = False)) #version>=159
IfNotNativeClass(Scalable, IfNativeLevel(1, SetMaxLevel(1), Exact = True, Limit = False)) #version>=159
IfNotNativeClass(Scalable, IfNativeLevel(2, SetMaxLevel(2), Exact = True, Limit = False)) #version>=159
IfNotNativeClass(Scalable, IfNativeLevel(3, SetMaxLevel(3), Exact = True, Limit = False)) #version>=159
IfNativeClass(Scalable, SetMaxLevelStatusCount(Base = 2, Status = AncientScalable)) #version>=159
IfNativeClass(Scalable, PlanetLevelIncomeMod(0, 0, Step = -50)) #version>=159
IfLevel(0, AddFleetCommand(-50), Exact = True, Limit = False)
IfLevel(1, AddFleetCommand(-50), Exact = True, Limit = False)
IfLevel(2, AddFleetCommand(-200), Exact = True, Limit = False)
IfLevel(3, AddFleetCommand(-350), Exact = True, Limit = False)
@@ -0,0 +1,5 @@
Status: AncientProduce
Visible To: Nobody
Collapses: True
ProduceNativePressurePct(Per Stack = 0.1)
@@ -0,0 +1,8 @@
Status: AncientReinforcer
Visible To: Nobody
EnableModifier(CoreHealthFactor(1.25))
EnableModifier(CoreMassFactor(1.25))
EnableModifier(AncientCore::HpFactor(1.25))
EnableModifier(AncientCore::MassFactor(1.25))
@@ -0,0 +1,8 @@
Status: AncientReplicator
Visible To: Nobody
TriggerWithOriginEmpire(TakeControl())
AddStatus(AncientClaim)
AddLocalDefense(6, Build Satellites = True)
AddFleetEffectiveness(+1.0)
@@ -0,0 +1,7 @@
Status: AncientRequireBaseMat
Name: #STATUS_ANCIENT_REQUIRE_BASE_MAT
Description: #STATUS_ANCIENT_REQUIRE_BASE_MAT_DESC
Collapses: True
Color: #ff0000
Icon: ResourceIconsSmall::73 * #ffaaaa
@@ -0,0 +1,2 @@
Status: AncientScalable
Visible To: Nobody