Open source Star Ruler 2 source code!
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
Module: RevenantCannon
|
||||
Name: #ORB_REVENANT_CANNON
|
||||
Blurb: #ORB_REVENANT_BLURB
|
||||
Description: #ABL_REVENANT_CANNON_DESC
|
||||
Icon: GuiOrbitalIcons::6
|
||||
|
||||
Core: True
|
||||
Standalone: True
|
||||
|
||||
Health: 30000
|
||||
Armor: 10000
|
||||
|
||||
Model: RevenantCannon
|
||||
Material: TyrantPBRAdvanced
|
||||
Size: 84
|
||||
|
||||
Strategic Icon: OrbitalIcons::6
|
||||
|
||||
CannotBuildManually()
|
||||
EnableModifier( tag/Weapon::RangeFactor(1.75) )
|
||||
EnableModifier( tag/Weapon::SpeedFactor(1.75) )
|
||||
|
||||
OnDisable( SpawnArtifact(RevenantCannon) )
|
||||
OnDisable( Destroy() )
|
||||
|
||||
ModEmpireAttribute(RevenantParts, Add, 1)
|
||||
OnEmpireAttributeLT(RevenantParts, 0, Destroy())
|
||||
|
||||
GloballyVisible()
|
||||
@@ -0,0 +1,33 @@
|
||||
Module: RevenantChassis
|
||||
Name: #ORB_REVENANT_CHASSIS
|
||||
Blurb: #ORB_REVENANT_BLURB
|
||||
Description: #ABL_REVENANT_CHASSIS_DESC
|
||||
Icon: GuiOrbitalIcons::25
|
||||
|
||||
Core: True
|
||||
Standalone: True
|
||||
|
||||
Health: 50000
|
||||
Armor: 20000
|
||||
|
||||
Model: RevenantChassis
|
||||
Material: TyrantPBRAdvanced
|
||||
Size: 58
|
||||
|
||||
Strategic Icon: OrbitalIcons::25
|
||||
|
||||
CannotBuildManually()
|
||||
EnableModifier( BuildCostFactor(0.5) )
|
||||
|
||||
OnDisable( SpawnArtifact(RevenantChassis) )
|
||||
OnDisable( Destroy() )
|
||||
|
||||
ModEmpireAttribute(RevenantParts, Add, 1)
|
||||
OnEmpireAttributeLT(RevenantParts, 0, Destroy())
|
||||
|
||||
OnEmpireAttributeGTE(RevenantParts, 4, SpawnShip(The Revenant, Design From = Creeps))
|
||||
OnEmpireAttributeGTE(RevenantParts, 4, GiveAchievement(ACH_AIDOXE))
|
||||
OnEmpireAttributeGTE(RevenantParts, 4, Destroy())
|
||||
OnEmpireAttributeGTE(RevenantParts, 4, ModAttribute(RevenantParts, Add, -5))
|
||||
|
||||
GloballyVisible()
|
||||
@@ -0,0 +1,28 @@
|
||||
Module: RevenantCore
|
||||
Name: #ORB_REVENANT_CORE
|
||||
Blurb: #ORB_REVENANT_BLURB
|
||||
Description: #ABL_REVENANT_CORE_DESC
|
||||
Icon: GuiOrbitalIcons::26
|
||||
|
||||
Core: True
|
||||
Standalone: True
|
||||
|
||||
Health: 20000
|
||||
Armor: 5000
|
||||
|
||||
Model: RevenantCore
|
||||
Material: TyrantPBRAdvanced
|
||||
Size: 14
|
||||
|
||||
Strategic Icon: OrbitalIcons::26
|
||||
|
||||
CannotBuildManually()
|
||||
EnableModifier( SupportCapacityFactor(1.25) )
|
||||
|
||||
OnDisable( SpawnArtifact(RevenantCore) )
|
||||
OnDisable( Destroy() )
|
||||
|
||||
ModEmpireAttribute(RevenantParts, Add, 1)
|
||||
OnEmpireAttributeLT(RevenantParts, 0, Destroy())
|
||||
|
||||
GloballyVisible()
|
||||
@@ -0,0 +1,29 @@
|
||||
Module: RevenantEngine
|
||||
Name: #ORB_REVENANT_ENGINE
|
||||
Blurb: #ORB_REVENANT_BLURB
|
||||
Description: #ABL_REVENANT_ENGINE_DESC
|
||||
Icon: GuiOrbitalIcons::27
|
||||
|
||||
Core: True
|
||||
Standalone: True
|
||||
|
||||
Health: 20000
|
||||
Armor: 5000
|
||||
|
||||
Model: RevenantEngine
|
||||
Material: TyrantPBRAdvanced
|
||||
Size: 62
|
||||
|
||||
Strategic Icon: OrbitalIcons::27
|
||||
|
||||
CannotBuildManually()
|
||||
EnableModifier( ThrustFactor(2.0) )
|
||||
EnableModifier( Hyperdrive::SpeedFactor(1.5) )
|
||||
|
||||
OnDisable( SpawnArtifact(RevenantEngine) )
|
||||
OnDisable( Destroy() )
|
||||
|
||||
ModEmpireAttribute(RevenantParts, Add, 1)
|
||||
OnEmpireAttributeLT(RevenantParts, 0, Destroy())
|
||||
|
||||
GloballyVisible()
|
||||
@@ -0,0 +1,39 @@
|
||||
Module: Shipyard
|
||||
Name: #ORB_SHIPYARD
|
||||
Blurb: #ORB_SHIPYARD_BLURB
|
||||
Description: #ORB_SHIPYARD_DESC
|
||||
Icon: OrbitalIcons::5
|
||||
|
||||
Core: True
|
||||
Standalone: True
|
||||
Spin: 0
|
||||
|
||||
Build Cost: 500
|
||||
Maintenance: 250
|
||||
Labor Cost: 30
|
||||
|
||||
Health: 7500
|
||||
Armor: 5000
|
||||
|
||||
Model: Shipyard
|
||||
Material: GenericPBR_Shipyard
|
||||
Size: 20
|
||||
|
||||
Strategic Icon: OrbitalIcons::5
|
||||
|
||||
AllowConstruction(Ships = True, Enable Fill From = True)
|
||||
AddFleetCommand(256)
|
||||
AddCargoStorage(100000)
|
||||
|
||||
MultConstructionCost(0.8)
|
||||
|
||||
AddLaborIncome(8)
|
||||
AddLaborEmpireAttribute(FactoryLaborMod)
|
||||
AddLaborFactor(-0.25)
|
||||
|
||||
RequireNotTrait(Mechanoid)
|
||||
|
||||
AllowLaborImport()
|
||||
ForbidLaborExport()
|
||||
|
||||
AI: RegisterForUse(Shipyard)
|
||||
@@ -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()
|
||||
@@ -0,0 +1,25 @@
|
||||
Module: FTLJammer
|
||||
Name: #ORB_FTL_JAMMER
|
||||
Blurb: #ORB_FTL_JAMMER_BLURB
|
||||
Description: #ORB_FTL_JAMMER_DESC
|
||||
Icon: OrbitalIcons::9
|
||||
|
||||
Core: True
|
||||
Standalone: True
|
||||
|
||||
Build Cost: 500
|
||||
Maintenance: 50
|
||||
Labor Cost: 20
|
||||
|
||||
Health: 5000
|
||||
Armor: 2500
|
||||
|
||||
Model: FTLJammer
|
||||
Material: GenericPBR_Jammer
|
||||
|
||||
Strategic Icon: OrbitalIcons::9
|
||||
|
||||
IfNotFTLShortage(BlockSystemFTL())
|
||||
FTLMaintenance(0.15)
|
||||
|
||||
IfAttributeGTE(FTLJammerCombat, 1, AddRegionStatusEnemies(FTLJammerCombat)) #version>=147
|
||||
@@ -0,0 +1,36 @@
|
||||
Module: FlingCore
|
||||
Name: #ORB_FLING_CORE
|
||||
Blurb: #ORB_FLING_CORE_BLURB
|
||||
Description: #ORB_FLING_CORE_DESC
|
||||
Icon: GuiOrbitalIcons::2
|
||||
|
||||
Standalone: True
|
||||
Solid: False
|
||||
Spin: 0
|
||||
|
||||
Build Cost: 400
|
||||
Maintenance: 200
|
||||
Labor Cost: 20
|
||||
|
||||
Health: 7500
|
||||
Armor: 2500
|
||||
|
||||
Model: Fling
|
||||
Material: GenericPBR_Fling
|
||||
Size: 14
|
||||
|
||||
Strategic Icon: OrbitalIcons::2
|
||||
Icon Size: 0.04
|
||||
|
||||
Can Fling: No
|
||||
|
||||
IsFlingBeacon() #version<147
|
||||
IfNotFTLShortage(IsFlingBeacon()) #version>=147
|
||||
|
||||
RequireTrait(Fling)
|
||||
|
||||
DisableOnFTLBlock()
|
||||
BreakOrbitOnFTL()
|
||||
|
||||
FTLMaintenance(0.15) #version>=147
|
||||
ConsumeFTL(250) #version>=147
|
||||
@@ -0,0 +1,32 @@
|
||||
Module: GateCore
|
||||
Name: #ORB_GATE_CORE
|
||||
Blurb: #ORB_GATE_CORE_BLURB
|
||||
Description: #ORB_GATE_CORE_DESC
|
||||
Icon: GuiOrbitalIcons::1
|
||||
|
||||
Standalone: True
|
||||
Solid: False
|
||||
Spin: 0
|
||||
|
||||
Build Cost: 250
|
||||
Maintenance: 30
|
||||
Labor Cost: 10
|
||||
|
||||
Health: 7500
|
||||
Armor: 2500
|
||||
|
||||
Model: Warpgate
|
||||
Material: GenericPBR_Gate
|
||||
Size: 15
|
||||
AddParticleSystem(GateWormhole, Size = 0.6)
|
||||
|
||||
Strategic Icon: OrbitalIcons::1
|
||||
Icon Size: 0.03
|
||||
|
||||
IsGate()
|
||||
GlobalTradeNode()
|
||||
|
||||
FTLMaintenance(0.15)
|
||||
CannotBuildManually()
|
||||
PacksIntoShip(Gate Constructor)
|
||||
DisableOnFTLBlock()
|
||||
@@ -0,0 +1,29 @@
|
||||
Module: RemnantGateCore
|
||||
Name: #ORB_GATE_CORE
|
||||
Blurb: #ORB_GATE_CORE_BLURB
|
||||
Description: #ORB_GATE_CORE_BLURB
|
||||
Icon: GuiOrbitalIcons::1
|
||||
|
||||
Standalone: True
|
||||
Solid: False
|
||||
Spin: 0
|
||||
|
||||
Build Cost: 300
|
||||
Labor Cost: 10
|
||||
|
||||
Health: 15000
|
||||
Armor: 5000
|
||||
|
||||
Model: Warpgate
|
||||
Material: GenericPBR_Gate
|
||||
Size: 15
|
||||
AddParticleSystem(GateWormhole, Size = 0.6)
|
||||
|
||||
Strategic Icon: OrbitalIcons::1
|
||||
Icon Size: 0.03
|
||||
|
||||
IsGate()
|
||||
GlobalTradeNode()
|
||||
|
||||
CannotBuildManually()
|
||||
DisableOnFTLBlock()
|
||||
@@ -0,0 +1,24 @@
|
||||
Module: ArtificialPlanetoid
|
||||
Name: #ARTIFICIAL_PLANETOID
|
||||
Description: #ARTIFICIAL_PLANETOID_DESC
|
||||
Icon: PlanetType::1
|
||||
|
||||
Core: True
|
||||
Standalone: True
|
||||
|
||||
Build Cost: 1000
|
||||
Labor Cost: 100
|
||||
ConsumeCargo(Ore, 5000)
|
||||
|
||||
RequireUnlockTag(ArtificialPlanetoidUnlock)
|
||||
|
||||
Health: 50000
|
||||
Armor: 50000
|
||||
|
||||
Model: Shipyard
|
||||
Material: VolkurGeneric
|
||||
|
||||
Strategic Icon: PlanetType::1
|
||||
|
||||
OnEnable(SpawnPlanet(ArtificialPlanetoid, Owned = True, Add Status = ArtificialPlanetoid))
|
||||
OnEnable(Destroy())
|
||||
@@ -0,0 +1,28 @@
|
||||
Module: Ringworld
|
||||
Name: #RINGWORLD
|
||||
Description: #RINGWORLD_DESC
|
||||
Icon: PlanetType::14
|
||||
|
||||
Core: True
|
||||
Standalone: True
|
||||
|
||||
Build Cost: 3000
|
||||
Labor Cost: 2000
|
||||
ConsumeCargo(Ore, 25000)
|
||||
|
||||
RequireUnlockTag(RingworldUnlock)
|
||||
|
||||
Health: 500000
|
||||
Armor: 500000
|
||||
Size: 50
|
||||
|
||||
Model: Shipyard
|
||||
Material: SolarEngine
|
||||
|
||||
Strategic Icon: PlanetType::14
|
||||
|
||||
LimitOncePerSystem(RingworldFlag, Any Empire = True)
|
||||
|
||||
OnEnable(GiveAchievement(ACH_RINGWORLD))
|
||||
OnEnable(SpawnPlanet(Ringworld, Owned = True, Add Status = Ringworld, Radius = 550, Physics = False))
|
||||
OnEnable(Destroy())
|
||||
@@ -0,0 +1,36 @@
|
||||
Module: StarForge
|
||||
Name: #STARFORGE
|
||||
Blurb: #STARFORGE_BLURB
|
||||
Description: #STARFORGE_DESC
|
||||
Icon: GuiOrbitalIcons::16
|
||||
|
||||
Core: True
|
||||
Standalone: True
|
||||
Spin: 0
|
||||
|
||||
Build Cost: 1000
|
||||
Labor Cost: 100
|
||||
ConsumeCargo(Ore, 5000)
|
||||
|
||||
Health: 20000
|
||||
Armor: 30000
|
||||
|
||||
Model: Forge
|
||||
Material: GenericPBR_Forge
|
||||
Size: 30
|
||||
|
||||
Strategic Icon: OrbitalIcons::16
|
||||
|
||||
RequireCloseToStar()
|
||||
FacesOrbitCenter()
|
||||
|
||||
AllowConstruction(Ships = True, Orbitals = True)
|
||||
ForbidLaborExport()
|
||||
AddFleetCommand(256)
|
||||
AddCargoStorage(100000)
|
||||
|
||||
AddStatus(StarForge)
|
||||
|
||||
MultConstructionCost(0.5)
|
||||
|
||||
RequireUnlockTag(StarForgeUnlock)
|
||||
@@ -0,0 +1,25 @@
|
||||
Module: VacuumTelescope
|
||||
Name: #VACUUM_TELESCOPE
|
||||
Blurb: #VACUUM_TELESCOPE_BLURB
|
||||
Description: #VACUUM_TELESCOPE_DESC
|
||||
|
||||
Icon: GuiOrbitalIcons::17
|
||||
Strategic Icon: OrbitalIcons::17
|
||||
|
||||
Core: True
|
||||
Standalone: True
|
||||
|
||||
Build Cost: 1000
|
||||
Labor Cost: 100
|
||||
ConsumeCargo(Ore, 5000)
|
||||
|
||||
RequireUnlockTag(VacuumTelescopeUnlock)
|
||||
|
||||
Health: 50000
|
||||
Armor: 50000
|
||||
|
||||
Model: Observatory
|
||||
Material: GenericPBR_Telescope
|
||||
Size: 50
|
||||
|
||||
GrantAllFleetVision(System Space = False, Deep Space = True, In FTL = False, Stations = True)
|
||||
@@ -0,0 +1,22 @@
|
||||
Module: SupplyDepot
|
||||
Name: #ORB_SUPPLY_DEPOT
|
||||
Blurb: #ORB_SUPPLY_DEPOT_BLURB
|
||||
Description: #ORB_SUPPLY_DEPOT_DESC
|
||||
Icon: OrbitalIcons::7
|
||||
|
||||
Core: True
|
||||
Standalone: True
|
||||
|
||||
Build Cost: 500
|
||||
Maintenance: 100
|
||||
Labor Cost: 10
|
||||
|
||||
Health: 4000
|
||||
Armor: 1000
|
||||
|
||||
Model: Depot
|
||||
Material: GenericPBR_Depot
|
||||
|
||||
Strategic Icon: OrbitalIcons::7
|
||||
|
||||
AddRegionStatus(FastResupply)
|
||||
@@ -0,0 +1,27 @@
|
||||
Module: AncientEmbassy
|
||||
Name: #ORB_ANCIENT_EMBASSY
|
||||
Blurb: #ORB_ANCIENT_EMBASSY_BLURB
|
||||
Description: #ORB_ANCIENT_EMBASSY_DESC
|
||||
Icon: GuiOrbitalIcons::12
|
||||
|
||||
Core: True
|
||||
Standalone: True
|
||||
|
||||
Health: 15000
|
||||
Armor: 5000
|
||||
|
||||
Model: Research_Station
|
||||
Material: GenericPBR_Research_Station
|
||||
|
||||
CannotBuildManually()
|
||||
|
||||
ProtectSystem()
|
||||
AddFleetCommand(500)
|
||||
|
||||
GlobalTradeNode()
|
||||
|
||||
ModLocalLoyalty(+5)
|
||||
ModRegionTargetCostMod(-5)
|
||||
OnKillSpreadLeverageToFriendlies(Quality Factor = 12.0)
|
||||
|
||||
Strategic Icon: OrbitalIcons::12
|
||||
@@ -0,0 +1,35 @@
|
||||
Module: AncientReplicator
|
||||
Name: #ORB_ANCIENT_REPLICATOR
|
||||
Blurb: #ORB_ANCIENT_REPLICATOR_BLURB
|
||||
Description: #ORB_ANCIENT_REPLICATOR_DESC
|
||||
Icon: GuiOrbitalIcons::20
|
||||
Distant Icon: OrbitalIcons::20
|
||||
|
||||
Core: True
|
||||
Standalone: True
|
||||
|
||||
Size: 9
|
||||
|
||||
Build Cost: 1000
|
||||
Labor Cost: 111
|
||||
ConsumeCargo(Ore, 3500)
|
||||
|
||||
Health: 50000
|
||||
Armor: 50000
|
||||
|
||||
AddResistance(40.0)
|
||||
|
||||
Model: Mainframe
|
||||
Material: GenericPBR_Mainframe
|
||||
|
||||
RequireTrait(Ancient)
|
||||
|
||||
CountAsPlanet()
|
||||
|
||||
AddAccelerationBonus(5.0)
|
||||
|
||||
AddStatusToOrbitingPlanet(AncientReplicator, Only Owned = True, Allow Space = True, Set Origin Empire = True)
|
||||
|
||||
GrantAbility(AncientBuildCore) #version>=160
|
||||
GrantAbility(AncientBuildTransmuter) #version>=160
|
||||
GrantAbility(AncientBuildMiner) #version>=160
|
||||
@@ -0,0 +1,65 @@
|
||||
Module: Beacon
|
||||
Name: #ORB_BEACON
|
||||
Blurb: #ORB_BEACON_BLURB
|
||||
Description: #ORB_BEACON_DESC
|
||||
Icon: GuiOrbitalIcons::18
|
||||
Strategic Icon: OrbitalIcons::18
|
||||
|
||||
Core: True
|
||||
Standalone: True
|
||||
|
||||
Health: 50000
|
||||
Armor: 10000
|
||||
|
||||
Size: 16
|
||||
Icon Size: 0.04
|
||||
Mass: 50000
|
||||
|
||||
Model: Beacon
|
||||
Material: GenericPBR_Beacon
|
||||
|
||||
AutoMasterSlave()
|
||||
|
||||
AddResistance(10)
|
||||
AddFleetCommand(256)
|
||||
OnEnable(GenerateDefenseShips(15))
|
||||
|
||||
CannotBuildManually()
|
||||
CountAsPlanet()
|
||||
|
||||
IfMaster(AllowConstruction(Ships = True, Orbitals = True, Asteroids = True, Enable Fill From = True))
|
||||
IfNotMaster(AllowConstruction(Ships = False, Supports Only = True, Enable Fill From = True))
|
||||
IfMaster(AddLaborIncome(5))
|
||||
IfMaster(AddLaborEmpireAttribute(FactoryLaborMod))
|
||||
CopyLaborFromMaster()
|
||||
ForbidLaborExport()
|
||||
|
||||
IfMaster(RepeatEmpireAttribute(BeaconLaborUpgrades, AddLaborIncome(3)))
|
||||
IfMaster(RepeatEmpireAttribute(BeaconLaborUpgrades, AddLaborEmpireAttribute(FactoryLaborMod)))
|
||||
|
||||
SetSystemFlag(JumpdriveSafety)
|
||||
|
||||
GlobalTradeNode()
|
||||
GiveTrade()
|
||||
|
||||
AllowResourceImport()
|
||||
AddCargoStorage(1000000)
|
||||
|
||||
gameplay.extragalactic::RefugeeColonization()
|
||||
|
||||
CopyPressureToMaster()
|
||||
MoveCargoToMaster()
|
||||
MoveImportsToMaster()
|
||||
|
||||
AddHealthEmpireAttribute(BeaconHealthUpgrades, 50000)
|
||||
AddArmorEmpireAttribute(BeaconArmorUpgrades, 50000)
|
||||
AddResistanceEmpireAttribute(BeaconArmorUpgrades, 50)
|
||||
|
||||
RepeatExtended(AddTurret(Railgun, Range=400, Damage=5, Reload=0.25, Speed=150, Spread=0.03, FireArc=3.14, Tracking=0.4, FireTolerance=0.78), Base Attribute = BeaconWeaponUpgrades, Multiplier = 4)
|
||||
RepeatExtended(AddTurret(Laser, Range=300, DPS=5, Duration=2, Cooldown=0, Tracking=0.4), Base Attribute = BeaconWeaponUpgrades, Multiplier = 4)
|
||||
RepeatEmpireAttribute(BeaconWeaponUpgrades, RecordBonusDPS(100))
|
||||
|
||||
IfMaster(RepeatPressure(Labor, AddLaborIncome(0.75)))
|
||||
IfMaster(RepeatPressure(Defense, TriggerPeriodic(AddCargo(DefenseCargo, 1), Interval = 6)))
|
||||
IfMaster(RepeatPressure(Research, TriggerPeriodic(AddCargo(ResearchCargo, 1), Interval = 6)))
|
||||
IfMaster(RepeatPressure(Energy, TriggerPeriodic(AddCargo(EnergyCargo, 1), Interval = 6)))
|
||||
@@ -0,0 +1,21 @@
|
||||
Module: FTLStorage
|
||||
Name: #ORB_FTL_STORAGE
|
||||
Blurb: #ORB_FTL_STORAGE_DESC
|
||||
Description: #ORB_FTL_STORAGE_DESC
|
||||
Icon: GuiOrbitalIcons::19
|
||||
Strategic Icon: OrbitalIcons::19
|
||||
|
||||
Build Cost: 300
|
||||
Maintenance: 50
|
||||
Labor Cost: 10
|
||||
Size: 16
|
||||
|
||||
Health: 5000
|
||||
Armor: 1000
|
||||
|
||||
Model: FTLStorage
|
||||
Material: GenericPBR_FTLStorage
|
||||
|
||||
RequireTrait(StarChildren)
|
||||
|
||||
AddFTLStorage(300)
|
||||
@@ -0,0 +1,41 @@
|
||||
Module: Habitat
|
||||
Name: #ORB_HABITAT
|
||||
Blurb: #ORB_HABITAT_BLURB
|
||||
Description: #ORB_HABITAT_BLURB
|
||||
Icon: GuiOrbitalIcons::14
|
||||
Distant Icon: OrbitalIcons::14
|
||||
|
||||
Core: True
|
||||
Standalone: True
|
||||
Combat Repair: False
|
||||
|
||||
Health: 500
|
||||
Armor: 0
|
||||
Size: 8
|
||||
|
||||
Model: Outpost
|
||||
Material: GenericPBR_Outpost
|
||||
|
||||
CannotBuildManually()
|
||||
ProtectsOrbitSiege()
|
||||
|
||||
AddStatusToOrbitingPlanet(StarHabitats, Set Origin Empire = True)
|
||||
DestroyIfNotAroundOwnedPlanet(Do Colonize = True)
|
||||
|
||||
AddHealth(4000) #version>=115
|
||||
AddArmor(4000) #version>=115
|
||||
|
||||
AddHealthEmpireAttribute(HabitatUpgrade, 4000)
|
||||
AddArmorEmpireAttribute(HabitatUpgrade, 4000)
|
||||
|
||||
AddResistance(5.0)
|
||||
|
||||
AddTurret(Missile, Range=300, Damage=10, Reload=1, Speed=150, Tracking=6) #version>=115
|
||||
AddTurret(Laser, Range=200, DPS=5, Duration=2, Cooldown=0, Tracking=0.4) #version>=115
|
||||
|
||||
RepeatExtended(AddTurret(Missile, Range=300, Damage=6, Reload=1, Speed=150, Tracking=6), Base = 4, Multiply Attribute = StaticDamageFactor)
|
||||
RepeatExtended(AddTurret(Laser, Range=200, DPS=5, Duration=2, Cooldown=0, Tracking=0.4), Base = 2, Multiply Attribute = StaticDamageFactor)
|
||||
|
||||
RecordBonusDPS(35) #version>=115
|
||||
RepeatExtended(RecordBonusDPS(6), Base = 4, Multiply Attribute = StaticDamageFactor)
|
||||
RepeatExtended(RecordBonusDPS(5), Base = 2, Multiply Attribute = StaticDamageFactor)
|
||||
@@ -0,0 +1,25 @@
|
||||
Module: HeraldDefense
|
||||
Name: #CONS_HERALD_ORBITALS
|
||||
Icon: GuiOrbitalIcons::0
|
||||
|
||||
Core: True
|
||||
Standalone: True
|
||||
|
||||
Health: 10000
|
||||
Armor: 5000
|
||||
|
||||
Model: DefenseStation
|
||||
Material: VolkurGenericPBR
|
||||
|
||||
CannotBuildManually()
|
||||
|
||||
Strategic Icon: OrbitalIcons::0
|
||||
|
||||
Repeat(4, AddTurret(Railgun, Range=500, Damage=2, Reload=0.25, Speed=150, Spread=0.03, FireArc=3.14, Tracking=0.4, FireTolerance=0.78))
|
||||
Repeat(3, AddTurret(Laser, Range=400, DPS=10, Duration=2, Cooldown=0, Tracking=0.4))
|
||||
Repeat(4, AddTurret(Missile, Range=500, Damage=20, Reload=2, Speed=90, Tracking=3))
|
||||
RecordBonusDPS(100)
|
||||
|
||||
OnEnable(AddStatus(Expire, Duration = 600))
|
||||
|
||||
ProtectSystem()
|
||||
@@ -0,0 +1,42 @@
|
||||
Module: Mainframe
|
||||
Name: #ORB_MAINFRAME
|
||||
Blurb: #ORB_MAINFRAME_BLURB
|
||||
Description: #ORB_MAINFRAME_DESC
|
||||
Icon: GuiOrbitalIcons::20
|
||||
Distant Icon: OrbitalIcons::20
|
||||
|
||||
Core: True
|
||||
Standalone: True
|
||||
|
||||
Build Cost: 500
|
||||
Maintenance: 50
|
||||
Labor Cost: 25
|
||||
Size: 15
|
||||
|
||||
Health: 10000
|
||||
Armor: 10000
|
||||
|
||||
Model: Mainframe
|
||||
Material: GenericPBR_Mainframe
|
||||
|
||||
RequireTrait(Linked)
|
||||
|
||||
AddHealthEmpireAttribute(StaticDamageFactor, 5000)
|
||||
AddArmorEmpireAttribute(StaticDamageFactor, 10000)
|
||||
|
||||
AddResistance(10.0)
|
||||
|
||||
RepeatExtended(AddTurret(Missile, Range=450, Damage=25, Reload=1, Speed=150, Tracking=6), Base = 4, Multiply Attribute = StaticDamageFactor) #version<117
|
||||
RepeatExtended(AddTurret(Laser, Range=300, DPS=10, Duration=2, Cooldown=0, Tracking=0.4), Base = 4, Multiply Attribute = StaticDamageFactor) #version<117
|
||||
|
||||
IfInOwnedSpace(RepeatExtended(AddTurret(Missile, Range=450, Damage=25, Reload=1, Speed=150, Tracking=6), Base = 4, Multiply Attribute = StaticDamageFactor), Allow Allies = True) #version>=117
|
||||
IfInOwnedSpace(RepeatExtended(AddTurret(Laser, Range=300, DPS=10, Duration=2, Cooldown=0, Tracking=0.4), Base = 4, Multiply Attribute = StaticDamageFactor), Allow Allies = True) #version>=117
|
||||
|
||||
AddAccelerationBonus(0.4) #version>=117
|
||||
|
||||
RepeatExtended(RecordBonusDPS(25), Base = 4, Multiply Attribute = StaticDamageFactor)
|
||||
RepeatExtended(RecordBonusDPS(10), Base = 4, Multiply Attribute = StaticDamageFactor)
|
||||
|
||||
ShowRange(15000, #00ff00)
|
||||
|
||||
GrantAbility(RemoteScan)
|
||||
@@ -0,0 +1,25 @@
|
||||
Module: RemnantDefenseCore
|
||||
Name: #ORB_REMNANT_DEFENSE_CORE
|
||||
Blurb: #ORB_REMNANT_DEFENSE_CORE_BLURB
|
||||
Icon: GuiOrbitalIcons::0
|
||||
|
||||
Core: True
|
||||
Standalone: True
|
||||
|
||||
Build Cost: 400
|
||||
Maintenance: 200
|
||||
Labor Cost: 25
|
||||
|
||||
Health: 5000
|
||||
Armor: 2000
|
||||
|
||||
Model: DefenseStation
|
||||
Material: VolkurGenericPBR
|
||||
|
||||
CannotBuildManually()
|
||||
|
||||
Strategic Icon: OrbitalIcons::0
|
||||
|
||||
Repeat(2, AddTurret(Railgun, Range=400, Damage=2, Reload=0.25, Speed=150, Spread=0.03, FireArc=3.14, Tracking=0.4, FireTolerance=0.78))
|
||||
Repeat(3, AddTurret(Laser, Range=300, DPS=5, Duration=2, Cooldown=0, Tracking=0.4), Per Import = 2)
|
||||
Repeat(2, AddTurret(Missile, Range=400, Damage=20, Reload=2, Speed=90, Tracking=3), Per Import = 1)
|
||||
@@ -0,0 +1,23 @@
|
||||
Module: RemnantEnergyCore
|
||||
Name: #ORB_REMNANT_ENERGY_CORE
|
||||
Blurb: #ORB_REMNANT_ENERGY_CORE_BLURB
|
||||
Description: #ORB_REMNANT_ENERGY_CORE_DESC
|
||||
Icon: GuiOrbitalIcons::12
|
||||
|
||||
Core: True
|
||||
Standalone: True
|
||||
|
||||
Build Cost: 400
|
||||
Labor Cost: 25
|
||||
|
||||
Health: 5000
|
||||
Armor: 2000
|
||||
|
||||
Model: Research_Station
|
||||
Material: VolkurGenericPBR
|
||||
|
||||
CannotBuildManually()
|
||||
|
||||
Strategic Icon: OrbitalIcons::12
|
||||
|
||||
AddEnergyIncome(+0.6)
|
||||
@@ -0,0 +1,20 @@
|
||||
Module: SupportStation
|
||||
Name: #ORB_SUPPORT_STATION
|
||||
Blurb: #ORB_SUPPORT_STATION_BLURB
|
||||
Description: #ORB_SUPPORT_STATION_BLURB
|
||||
Icon: GuiOrbitalIcons::7
|
||||
Strategic Icon: OrbitalIcons::7
|
||||
|
||||
Health: 2000
|
||||
Armor: 3000
|
||||
|
||||
Size: 15
|
||||
|
||||
Model: Depot
|
||||
Material: GenericPBR_Depot
|
||||
|
||||
CannotBuildManually()
|
||||
AddHealthEmpireAttribute(StaticDamageFactor, 5000)
|
||||
AddArmorEmpireAttribute(StaticDamageFactor, 5000)
|
||||
|
||||
GrantAbility(SupportBeam)
|
||||
@@ -0,0 +1,30 @@
|
||||
Module: Temple
|
||||
Name: #ORB_TEMPLE
|
||||
Blurb: #ORB_TEMPLE_BLURB
|
||||
Description: #ORB_TEMPLE_DESC
|
||||
Icon: GuiOrbitalIcons::21
|
||||
Distant Icon: OrbitalIcons::21
|
||||
|
||||
Core: True
|
||||
Standalone: True
|
||||
|
||||
Build Cost: 300
|
||||
Maintenance: 30
|
||||
Labor Cost: 15
|
||||
Size: 7
|
||||
|
||||
Health: 6000
|
||||
Armor: 4000
|
||||
|
||||
Model: Temple
|
||||
Material: GenericPBR_Temple
|
||||
|
||||
RequireTrait(Evangelical)
|
||||
|
||||
AddHealthEmpireAttribute(OutpostBoost, 10000)
|
||||
|
||||
GiveTrade()
|
||||
|
||||
SpawnFreighters(1, Status = Evangelized, Duration = 600, Name = #MISSIONARY, Set Origin Empire = True, Visit Hostile = True, Skin = Missionary)
|
||||
|
||||
IfBorderSystem(ModEmpireAttribute(BorderOutposts, Add, 1)) #version>=162
|
||||
@@ -0,0 +1,22 @@
|
||||
Module: DryDock
|
||||
Name: #ORB_DRY_DOCK
|
||||
Blurb: #ORB_DRY_DOCK_BLURB
|
||||
Description: #ORB_DRY_DOCK_DESC
|
||||
Icon: GuiOrbitalIcons::3
|
||||
|
||||
Standalone: True
|
||||
Build Cost: 100
|
||||
Spin: 0
|
||||
|
||||
Health: 7500
|
||||
Armor: 2500
|
||||
|
||||
Model: Drydock
|
||||
Material: GenericPBR_Drydock
|
||||
Size: 10
|
||||
|
||||
Strategic Icon: OrbitalIcons::3
|
||||
Icon Size: 0.03
|
||||
|
||||
RequireNotTrait(Mechanoid)
|
||||
DryDockConstruction()
|
||||
@@ -0,0 +1,22 @@
|
||||
Module: Frame
|
||||
Name: #ORB_FRAME
|
||||
Blurb: #ORB_FRAME_BLURB
|
||||
Description: #ORB_FRAME_DESC
|
||||
Icon: GuiOrbitalIcons::3
|
||||
|
||||
Standalone: True
|
||||
Build Cost: 100
|
||||
Spin: 0
|
||||
|
||||
Health: 7500
|
||||
Armor: 2500
|
||||
|
||||
Model: Shipyard
|
||||
Material: GenericPBR_Shipyard
|
||||
Size: 10
|
||||
|
||||
Strategic Icon: OrbitalIcons::3
|
||||
Icon Size: 0.03
|
||||
|
||||
FrameConstruction(Cost Factor = 0.5, Labor Factor = 0.5, Labor Penalty Factor = 0.0)
|
||||
CannotBuildManually()
|
||||
@@ -0,0 +1,19 @@
|
||||
Module: Scaffolding
|
||||
Name: #ORB_SCAFFOLDING
|
||||
Blurb: #ORB_SCAFFOLDING_BLURB
|
||||
Description: #ORB_SCAFFOLDING_DESC
|
||||
Icon: GuiOrbitalIcons::24
|
||||
|
||||
Standalone: True
|
||||
Spin: 0
|
||||
|
||||
Model: ScaffoldRound
|
||||
Material: GenericPBR_ScaffoldRound
|
||||
Size: 10
|
||||
|
||||
Strategic Icon: OrbitalIcons::24
|
||||
Icon Size: 0.03
|
||||
|
||||
Can Fling: No //ARE YOU HAPPY NOW JURASIC??
|
||||
|
||||
CannotBuildManually()
|
||||
Reference in New Issue
Block a user