Open source Star Ruler 2 source code!
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
Module: DefenseSatellite
|
||||
Name: #ORB_DEFENSE_SATELLITE
|
||||
Blurb: #ORB_DEFENSE_SATELLITE_BLURB
|
||||
Description: #ORB_DEFENSE_SATELLITE_DESC
|
||||
Icon: GuiOrbitalIcons::14
|
||||
Distant Icon: OrbitalIcons::14
|
||||
|
||||
Health: 15000
|
||||
Armor: 10000
|
||||
Size: 8
|
||||
|
||||
Build Cost: 250
|
||||
Labor Cost: 20
|
||||
|
||||
ConsumeEnergy(500)
|
||||
|
||||
RequireUnlockTag(DefenseSatelliteUnlock)
|
||||
|
||||
Model: Outpost
|
||||
Material: GenericPBR_Outpost
|
||||
|
||||
RepeatExtended(AddTurret(Missile, Range=350, Damage=6, Reload=1, Speed=150, Tracking=6), Base = 4, Multiply Attribute = StaticDamageFactor)
|
||||
RepeatExtended(AddTurret(Laser, Range=250, DPS=5, Duration=2, Cooldown=0, Tracking=0.4), Base = 2, Multiply Attribute = StaticDamageFactor)
|
||||
|
||||
RepeatExtended(RecordBonusDPS(6), Base = 4, Multiply Attribute = StaticDamageFactor)
|
||||
RepeatExtended(RecordBonusDPS(5), Base = 2, Multiply Attribute = StaticDamageFactor)
|
||||
|
||||
LimitInOrbitStatus(DefenseSatellite)
|
||||
|
||||
AddStatusToOrbitingPlanet(DefenseSatellite)
|
||||
MatchOrbitingOwner(Destroy None = True)
|
||||
@@ -0,0 +1,25 @@
|
||||
Module: HydroponicsSatellite
|
||||
Name: #ORB_HYDROPONICS_SATELLITE
|
||||
Blurb: #ORB_HYDROPONICS_SATELLITE_BLURB
|
||||
Description: #ORB_HYDROPONICS_SATELLITE_DESC
|
||||
Icon: GuiOrbitalIcons::14
|
||||
Distant Icon: OrbitalIcons::14
|
||||
|
||||
Health: 20000
|
||||
Armor: 10000
|
||||
Size: 8
|
||||
|
||||
Build Cost: 600
|
||||
Labor Cost: 25
|
||||
|
||||
ConsumeResearch(100)
|
||||
|
||||
RequireUnlockTag(HydroponicsSatelliteUnlock)
|
||||
|
||||
Model: Outpost
|
||||
Material: GenericPBR_Outpost
|
||||
|
||||
LimitInOrbitStatus(HydroponicsSatellite, 1000)
|
||||
|
||||
AddStatusToOrbitingPlanet(HydroponicsSatellite)
|
||||
MatchOrbitingOwner(Destroy None = True)
|
||||
@@ -0,0 +1,28 @@
|
||||
Module: RingHabitat
|
||||
Name: #ORB_RING_HABITAT
|
||||
Blurb: #ORB_RING_HABITAT_BLURB
|
||||
Description: #ORB_RING_HABITAT_DESC
|
||||
Icon: GuiOrbitalIcons::11
|
||||
Distant Icon: OrbitalIcons::11
|
||||
|
||||
Health: 20000
|
||||
Armor: 10000
|
||||
Size: 8
|
||||
|
||||
Build Cost: 1000
|
||||
Labor Cost: 25
|
||||
|
||||
ConsumeInfluence(10)
|
||||
ConsumePopulation(2)
|
||||
|
||||
RequireUnlockTag(RingHabitatUnlock)
|
||||
|
||||
Model: Habitat
|
||||
Material: GenericPBR_Habitat
|
||||
|
||||
LimitInOrbitStatus(RingHabitat)
|
||||
|
||||
AddStatusToOrbitingPlanet(RingHabitat)
|
||||
MatchOrbitingOwner(Destroy None = True)
|
||||
|
||||
ModEmpireAttribute(RingHabitatsBuilt, Add, 1)
|
||||
@@ -0,0 +1,34 @@
|
||||
Module: SenatorialPalace
|
||||
Name: #ORB_SENATORIAL_PALACE
|
||||
Blurb: #ORB_SENATORIAL_PALACE_BLURB
|
||||
Description: #ORB_SENATORIAL_PALACE_DESC
|
||||
Icon: GuiOrbitalIcons::15
|
||||
Distant Icon: OrbitalIcons::15
|
||||
|
||||
Build Cost: 1000
|
||||
Maintenance: 150
|
||||
Labor Cost: 50
|
||||
Size: 15
|
||||
|
||||
ConsumeInfluence(15)
|
||||
|
||||
Health: 40000
|
||||
Armor: 10000
|
||||
|
||||
Model: CommerceStation
|
||||
Material: GenericPBR_CommerceStation
|
||||
|
||||
RequireSenateLeader()
|
||||
RequireConfigOption(ENABLE_INFLUENCE_VICTORY)
|
||||
|
||||
OnEnable(NotifyAll(#NOTIFY_SENATORIAL_PALACE, Icon = GuiOrbitalIcons::0))
|
||||
|
||||
ModEmpireAttribute(SenatorialPalaceConstructed, Add, 1)
|
||||
RequireAttributeLT(SenatorialPalaceConstructed, 1)
|
||||
|
||||
GloballyVisible()
|
||||
GrantAllVision()
|
||||
|
||||
GrantAbility(BuyElection)
|
||||
GrantAbility(BuyGalacticUtopia)
|
||||
GrantAbility(BuyGalacticSuperpower)
|
||||
@@ -0,0 +1,23 @@
|
||||
Module: SingularityLab
|
||||
Name: #ORB_SINGULARITY_LAB
|
||||
Blurb: #ORB_SINGULARITY_LAB_BLURB
|
||||
Description: #ORB_SINGULARITY_LAB_DESC
|
||||
Icon: GuiOrbitalIcons::12
|
||||
Distant Icon: OrbitalIcons::12
|
||||
|
||||
Build Cost: 800
|
||||
Maintenance: 25
|
||||
Labor Cost: 25
|
||||
Size: 8
|
||||
|
||||
Health: 8000
|
||||
Armor: 6000
|
||||
|
||||
Model: Research_Station
|
||||
Material: GenericPBR_Research_Station
|
||||
|
||||
LimitOncePerSystem(SingularityLabFlag)
|
||||
RequireBlackHoleSystem()
|
||||
|
||||
AddResearchIncome(4)
|
||||
AddEnergyIncome(4)
|
||||
@@ -0,0 +1,25 @@
|
||||
Module: SolarOrbital
|
||||
Name: #ORB_SOLAR_ORBITAL
|
||||
Description: #ORB_SOLAR_ORBITAL_DESC
|
||||
Blurb: #ORB_SOLAR_ORBITAL_BLURB
|
||||
Icon: GuiOrbitalIcons::13
|
||||
Distant Icon: OrbitalIcons::13
|
||||
Icon Size: 0.01
|
||||
|
||||
Build Cost: 400
|
||||
Maintenance: 25
|
||||
Labor Cost: 15
|
||||
Size: 30
|
||||
|
||||
Health: 4000
|
||||
Armor: 3500
|
||||
|
||||
Model: SolarEngine
|
||||
Material: GenericPBR_SolarEngine
|
||||
|
||||
FacesOrbitCenter()
|
||||
|
||||
LimitOncePerSystem(SolarOrbitalFlag)
|
||||
RequireUnlockTag(SolarOrbitalUnlock)
|
||||
|
||||
AddEnergyIncomeStarTemperature(0.25, 1.0)
|
||||
@@ -0,0 +1,25 @@
|
||||
Module: SolarSatellite
|
||||
Name: #ORB_SOLAR_SATELLITE
|
||||
Blurb: #ORB_SOLAR_SATELLITE_BLURB
|
||||
Description: #ORB_SOLAR_SATELLITE_DESC
|
||||
Icon: GuiOrbitalIcons::13
|
||||
Distant Icon: OrbitalIcons::13
|
||||
|
||||
Health: 20000
|
||||
Armor: 10000
|
||||
Size: 8
|
||||
|
||||
Build Cost: 600
|
||||
Labor Cost: 25
|
||||
|
||||
ConsumeEnergy(500)
|
||||
|
||||
RequireUnlockTag(SolarSatelliteUnlock)
|
||||
|
||||
Model: SolarEngine
|
||||
Material: GenericPBR_SolarEngine
|
||||
|
||||
LimitInOrbitStatus(SolarSatellite)
|
||||
|
||||
AddStatusToOrbitingPlanet(SolarSatellite)
|
||||
MatchOrbitingOwner(Destroy None = True)
|
||||
@@ -0,0 +1,41 @@
|
||||
Module: TradeOutpost
|
||||
Name: #ORB_TRADE_OUTPOST
|
||||
Blurb: #ORB_TRADE_OUTPOST_BLURB
|
||||
Description: #ORB_TRADE_OUTPOST_DESC
|
||||
Icon: GuiOrbitalIcons::14
|
||||
Distant Icon: OrbitalIcons::14
|
||||
|
||||
Core: True
|
||||
Standalone: True
|
||||
|
||||
Build Cost: 300
|
||||
Maintenance: 30
|
||||
Labor Cost: 15
|
||||
Size: 7
|
||||
|
||||
Health: 6000
|
||||
Armor: 4000
|
||||
|
||||
Model: Outpost
|
||||
Material: GenericPBR_Outpost
|
||||
|
||||
RequireNotTrait(Evangelical)
|
||||
|
||||
LimitOncePerSystem(OutpostFlag) #version>=94
|
||||
|
||||
AddFleetCommand(128) #version>=94
|
||||
AddFleetCommandEmpireAttribute(OutpostBoost, 128) #version>=94
|
||||
AddFleetEffectiveness(+2.0) #version>=94
|
||||
AddSupportBonusHP(+1.0) #version>=147
|
||||
|
||||
AddHealthEmpireAttribute(OutpostBoost, 10000)
|
||||
AddLocalDefenseAdjacentFlags(OutpostFlag, 1.5, 3, Overflow Global = True, Local Boost = OutpostBoost) #version>=94
|
||||
|
||||
ProtectSystem(90) #version>=94
|
||||
AddStatus(StartingProtection, Duration = 90) #version>=94
|
||||
|
||||
IfBorderSystem(ModEmpireAttribute(BorderOutposts, Add, 1)) #version>=147
|
||||
IfAttributeGTE(OutpostFreeRaid, 1, AllowFreeRaiding()) #version>=147
|
||||
|
||||
GiveTrade()
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
Module: TradeStation
|
||||
Name: #ORB_TRADE_STATION
|
||||
Blurb: #ORB_TRADE_STATION_BLURB
|
||||
Description: #ORB_TRADE_STATION_DESC
|
||||
Icon: GuiOrbitalIcons::15
|
||||
Strategic Icon: OrbitalIcons::15
|
||||
|
||||
Core: True
|
||||
Standalone: True
|
||||
|
||||
Build Cost: 500
|
||||
Maintenance: 200
|
||||
Labor Cost: 15
|
||||
Size: 16
|
||||
|
||||
Health: 5000
|
||||
Armor: 1000
|
||||
|
||||
Model: CommerceStation
|
||||
Material: GenericPBR_CommerceStation
|
||||
|
||||
GrantAbility(BuyInfluence) #version>=93
|
||||
GrantAbility(BuyEnergy) #version>=93
|
||||
GrantAbility(BuyResearch) #version>=93
|
||||
GrantAbility(BuyLabor) #version>=93
|
||||
|
||||
GiveTrade()
|
||||
GlobalTradeNode()
|
||||
Reference in New Issue
Block a user