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
+30
View File
@@ -0,0 +1,30 @@
Building: Altar
Name: #BLD_ALTAR
Description: #BLD_ALTAR_DESC
Sprite: Altar
Category: Infrastructure
Base Cost: 300
Build Time: 60
Size: 4x4
RequireTrait(Devout)
CannotRemove()
ConflictBuilding(Altar)
OnEnable(TerraformTo(Altar))
RemoveAllStatus(GodlessPlanet)
IfLevel(0, ModEmpireAttribute(AltarSupportedPopulation, Add, 10), Exact = True)
IfLevel(1, ModEmpireAttribute(AltarSupportedPopulation, Add, 25), Exact = True)
IfLevel(2, ModEmpireAttribute(AltarSupportedPopulation, Add, 50), Exact = True)
IfLevel(3, ModEmpireAttribute(AltarSupportedPopulation, Add, 100), Exact = True)
IfLevel(4, ModEmpireAttribute(AltarSupportedPopulation, Add, 200), Exact = True)
IfLevel(5, ModEmpireAttribute(AltarSupportedPopulation, Add, 500), Exact = True)
ShowLevelValue(#ALTAR_SUPPORTS, 10 / 25 / 50 / 100 / 200 / 500, Icon = ResourceIconsSmall::53)
ShowAttributeValue(#ALTAR_SUPPORTED_CURRENT, AltarSupportedPopulation, Icon = ResourceIcon::8)
ShowTotalPopulation(#ALTAR_TOTAL_POPULATION, Icon = ResourceIcon::8)
+19
View File
@@ -0,0 +1,19 @@
Building: FTLBreeder
Name: #BLD_FTLBREEDER
Description: #BLD_FTLBREEDER_DESC
Sprite: FTLStorage * #ff8080
Category: Production
Size: 2x3
Base Cost: 300
Tile Cost: 40
Base Maintenance: 80
Tile Maintenance: 30
RequireTrait(Mechanoid)
AddFTLIncome(0.35)
TriggerConstructed(LosePopulation(1))
ShowFTLValue(0.35, Suffix = #PER_SECOND)
+16
View File
@@ -0,0 +1,16 @@
Building: MotherStalk
Name: #BLD_MOTHER_STALK
Description: #BLD_MOTHER_STALK_DESC
Sprite: Stalk
Category: Infrastructure
Size: 6x6
CannotBuildManually()
CannotRemove()
ModPressureCapMult(+1.25)
AddResource(Labor, 3)
AddResourceEmpireAttribute(Labor, FactoryLaborMod)
ShowAttributeValue(#RESOURCE_LABOR, FactoryLaborMod, Base Amount = 3, Icon = ResourceIcon::6, Suffix = #PER_MINUTE)
+18
View File
@@ -0,0 +1,18 @@
Building: Stalk
Name: #BLD_STALK
Description: #BLD_STALK_DESC
Sprite: Stalk
Category: Infrastructure
Base Cost: 300
Build Time: 80
Size: 4x4
RequireTrait(Verdant)
ModPressureCapMult(+1.25)
AddPressureCap(3)
CannotRemove()
ConflictBuilding(Stalk, Hide = False)
ConflictBuilding(MotherStalk, Hide = False)