Open source Star Ruler 2 source code!
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
Template: hexVar/HP, tag/Weapon, !tag/NoAugment
|
||||
Module: AugmentReload
|
||||
Name: #S_AUGMENT_RELOAD
|
||||
Description: #S_AUGMENT_RELOAD_DESC
|
||||
Unique: True
|
||||
|
||||
Color: #ffff00
|
||||
Sprite: SupportCommand * #ffff00
|
||||
|
||||
Hex.HP := 3.0 * Hex.HP
|
||||
Hex.BuildCost := Size
|
||||
|
||||
AddModifier: optional ReloadFactor(0.8)
|
||||
AddModifier: optional CooldownFactor(0.8)
|
||||
AddModifier: HPFactor(0.5)
|
||||
|
||||
Module: AugmentDamage
|
||||
Name: #S_AUGMENT_DAMAGE
|
||||
Description: #S_AUGMENT_DAMAGE_DESC
|
||||
Unique: True
|
||||
|
||||
Color: #ff8080
|
||||
Sprite: SupportCommand * #ff8080
|
||||
|
||||
Hex.HP := 3.0 * Hex.HP
|
||||
Hex.BuildCost := Size
|
||||
|
||||
AddModifier: optional RangeFactor(0.5)
|
||||
AddModifier: optional DamageFactor(1.25)
|
||||
AddModifier: optional BeamDPSFactor(1.25)
|
||||
|
||||
Template: hexVar/HP, var/SupplyCost, tag/Weapon, !tag/NoAugment
|
||||
Module: AugmentSupply
|
||||
Name: #S_AUGMENT_SUPPLY
|
||||
Description: #S_AUGMENT_SUPPLY_DESC
|
||||
Unique: True
|
||||
|
||||
Color: #8080ff
|
||||
Sprite: SupportCommand * #8080ff
|
||||
|
||||
Hex.HP := 3.0 * Hex.HP
|
||||
Hex.BuildCost := Size
|
||||
|
||||
AddModifier: optional SupplyCostFactor(0.7)
|
||||
AddModifier: optional FireArcFactor(0.5)
|
||||
AddModifier: optional SpeedFactor(0.5)
|
||||
@@ -0,0 +1,12 @@
|
||||
Template: hexVar/BuildCost, hexVar/HP, !tag/NoBulkhead, !tag/NoCore, !tag/IsArmor, !tag/SupportHull
|
||||
Module: Bulkhead
|
||||
Name: #BULKHEAD_NAME
|
||||
Description: #BULKHEAD_DESC
|
||||
|
||||
Color: #eda1ff
|
||||
Sprite: HexagonSubsystems::0 * #cf00ff
|
||||
|
||||
Hex.HP := 3.0 * Hex.HP
|
||||
|
||||
AddModifier: AddBaseHP(1.5)
|
||||
AddModifier: BuildCostFactor(2.0)
|
||||
@@ -0,0 +1,15 @@
|
||||
Template: var/PowerUse, !tag/NoQuantumBattery, !tag/SupportHull
|
||||
Module: QuantumBattery
|
||||
Name: #S_QUANTUM_BATTERY
|
||||
Description: #S_QUANTUM_BATTERY_DESC
|
||||
Vital: True
|
||||
|
||||
Color: #d8cc48
|
||||
Sprite: QuantumBattery
|
||||
|
||||
PowerUse := PowerUse * 0.5
|
||||
EnergyBuildCost := EnergyBuildCost + ceil(sqrt(Size) * 40)
|
||||
|
||||
Hex.BuildCost := Hex.BuildCost * 2.0
|
||||
Hex.MaintainCost := Hex.MaintainCost * 3.0
|
||||
Hex.HP := Hex.HP * 0.25
|
||||
@@ -0,0 +1,21 @@
|
||||
Template: tag/Compressible
|
||||
Module: QuantumCompressor
|
||||
Name: #S_QUANTUM_COMPRESSOR
|
||||
Description: #S_QUANTUM_COMPRESSOR_DESC
|
||||
|
||||
Tags: HeraldsDLC
|
||||
|
||||
Color: #69eaf2
|
||||
Sprite: QuantumCompressor
|
||||
|
||||
Requires:
|
||||
Power = HexSize * 60
|
||||
|
||||
OnCheckErrors: heralds_designs::checkSurroundedInSystem
|
||||
|
||||
EnergyBuildCost := EnergyBuildCost + ceil(sqrt(ShipSize) * 20)
|
||||
|
||||
Hex.BuildCost := Hex.BuildCost * 3.0
|
||||
Hex.HP := Hex.HP * 0.25
|
||||
|
||||
AddModifier: Compress(6)
|
||||
@@ -0,0 +1,14 @@
|
||||
Template: hexVar/BuildCost, hexVar/HP, tag/Weapon, var/Range, var/SupplyCost, !tag/SupportHull
|
||||
Module: TargetingSensor
|
||||
Name: #TARGETINGSENSOR_NAME
|
||||
Description: #TARGETINGSENSOR_DESC
|
||||
|
||||
Color: #00ff00
|
||||
Sprite: SupportCommand * #00ff00
|
||||
|
||||
AddModifier: BuildCostFactor(3.0)
|
||||
AddModifier: SupplyCostFactor(2.0)
|
||||
AddModifier: optional SpeedFactor(2.0)
|
||||
AddModifier: optional SpreadFactor(0.5)
|
||||
|
||||
Range := Range + Base::Range * 0.5
|
||||
Reference in New Issue
Block a user