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
@@ -0,0 +1,31 @@
Subsystem: Gate
Name: Gate Constructor
Description: Allows the ship to construct into a gate and back.
BaseColor: #8ed2ff
TypeColor: #8ed2ff
Picture: SubsystemButtonArt::10
Elevation: 0
Tags: Engine, Gate, HasInternals, Category:FTL
Tags: Ability:UnpackGate
Hull: Flagship
Size := HexSize * Hexes
Hex.Mass := HexSize
Hex.Resistance := 0.2
Hex.HP := 18 * HexSize
Effect: FTLUpkeep
Amount = 0.15
Requires:
Command = 1
Module: Core
Sprite: HexagonSubsystems::10
Hex.BuildCost := 273
Hex.LaborCost := 6
Assert: Size >= 5
Message: Gate Constructor must be at least size 5.
@@ -0,0 +1,30 @@
Subsystem: Hyperdrive
Name: Hyperdrive
Description: Allows for hyperdrive navigation. The larger the hyperdrive the faster the FTL speed.
BaseColor: #a767ad
TypeColor: #a767ad
Picture: SubsystemButtonArt::10
Elevation: 0
Tags: BaseCost, Category:Propulsion
Tags: Engine, Hyperdrive, HasInternals
Hull: Flagship
Size := HexSize * Hexes
HyperdriveSpeed := 3200.0 * Size / ShipSize
Hex.Mass := HexSize
Hex.Resistance := 0.2
Hex.HP := 18 * HexSize
Requires:
Command = 1
Modifier: SpeedFactor(factor)
HyperdriveSpeed := HyperdriveSpeed * factor
Module: Default
Module: Core
Sprite: HexagonSubsystems::10
Hex.BuildCost := 2 * Hex.BuildCost
@@ -0,0 +1,28 @@
Subsystem: Slipstream
Name: Slipstream Generator
Description: Grants the ability to generate slipstream portals.
BaseColor: #67a7ad
TypeColor: #67a7ad
Picture: SubsystemButtonArt::10
Elevation: 0
Tags: BaseCost, Category:FTL
Tags: Engine, Slipstream, HasInternals
Hull: Flagship, Station
Size := HexSize * Hexes
Hex.Mass := HexSize
Hex.Resistance := 0.2
Hex.HP := 18 * HexSize
SlipstreamOverhead := 60 * sqrt(Size/32)
SlipstreamDistCost := 6
SlipstreamDuration := 90 + 150 * (Size/32)
Requires:
Command = 1
Module: Core
Sprite: HexagonSubsystems::10
Hex.BuildCost := 2 * Hex.BuildCost