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
+18
View File
@@ -0,0 +1,18 @@
Ability: InvMoney
Name: #INV_ABL_MONEY
Description: #INV_ABL_MONEY_DESC
Icon: ResourceIcon::0
Energy Cost: 0
AddPermanentIncome(300)
Ability: InvMoneyPlus
Name: #INV_ABL_MONEY_PLUS
Description: #INV_ABL_MONEY_PLUS_DESC
Icon: ResourceIcon::6
Energy Cost: 0
AddModifier( LaborCostFactor(0.9) )
AddInvasionStrength(1)
+26
View File
@@ -0,0 +1,26 @@
Ability: InvPlanet
Name: #INV_ABL_PLANET
Description: #INV_ABL_PLANET_DESC
Icon: PlanetType::2
Activate Sound: planetgen_activate
Energy Cost: 0
Target: dest = Point
TargetFilterInSystem(dest)
SpawnPlanetAt(dest, Owned = True)
Ability: InvPlanetPlus
Name: #INV_ABL_PLANET_PLUS
Description: #INV_ABL_PLANET_PLUS_DESC
Icon: PlanetType::3
Activate Sound: planetgen_activate
Energy Cost: 0
Target: dest = Point
TargetFilterInSystem(dest)
SpawnPlanetAt(dest, LevelGTE:1, Owned = True, Add Status = AddedDrugs)
AddInvasionStrength(1)
+22
View File
@@ -0,0 +1,22 @@
Ability: InvResearch
Name: #INV_ABL_RESEARCH
Description: #INV_ABL_RESEARCH_DESC
Icon: AttributeIcons::0
Energy Cost: 0
Target: targ = Object
TargetFilterType(targ, Planet)
TargetFilterOwned(targ)
Trigger(targ, RepeatTrigger(4, AddStatus(ImprovedPressure)))
Ability: InvResearchPlus
Name: #INV_ABL_RESEARCH_PLUS
Description: #INV_ABL_RESEARCH_PLUS_DESC
Icon: ResearchComplex
Energy Cost: 0
ModAttribute(ResearchComplexExtraPressure, Add, 1)
AddInvasionStrength(1)
+25
View File
@@ -0,0 +1,25 @@
Ability: InvStation
Name: #INV_ABL_STATION
Description: #INV_ABL_STATION_DESC
Icon: GuiOrbitalIcons::14
Energy Cost: 0
Target: targ = Object
TargetFilterStation(targ)
TargetFilterCreeps(targ)
Trigger(targ, RetrofitUpscale(Add = 256))
Ability: InvStationPlus
Name: #INV_ABL_STATION_PLUS
Description: #INV_ABL_STATION_PLUS_DESC
Icon: ResourceIconsSmall::13
Energy Cost: 0
Target: targ = Object
TargetFilterRegion(targ)
Trigger(targ, DestroyAllEnemies())
AddInvasionStrength(1)
+30
View File
@@ -0,0 +1,30 @@
Ability: InvSystem
Name: #INV_ABL_SYSTEM
Description: #INV_ABL_SYSTEM_DESC
Icon: SystemUnderAttack * #80ff80
Activate Sound: genesis_activate
Energy Cost: 0
Target: dest = Point
TargetFilterInUniverseBounds(dest, 2000)
TargetFilterNotInSystem(dest, 2000)
SpawnStarAt(dest)
Repeat(3:6, SpawnArtifactAround(dest, 400:1000, ProtoPlanet))
Ability: InvSystemPlus
Name: #INV_ABL_SYSTEM_PLUS
Description: #INV_ABL_SYSTEM_PLUS_DESC
Icon: ResourceIcon::2
Activate Sound: genesis_activate
Energy Cost: 0
Target: targ = Object
TargetFilterType(targ, Planet)
TargetFilterOwned(targ)
Trigger(targ, Destroy(Quiet = True))
AddEnergyUpTo(2500)
AddInvasionStrength(1)