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,48 @@
Subsystem: AICore
Name: #S_AICORE
Description: #S_AICORE_DESC
BaseColor: #ffa4a0
Elevation: 4
Tags: Control, ControlCore, HasInternals
Tags: HeraldsDLC
Tags: NoBulkhead, BadFiller, Important
Tags: Category:Control
Hull: Support, Satellite
EvaluationOrder: -10
Size := HexSize * Hexes
Command := Hexes * 4
Repair := 3 * HexSize * (Hexes-1)
RepairSupplyCost := 0.25 * Repair
out SupplyDrain := RepairSupplyCost
Hex.Resistance := 0.1
Hex.HP := 8 * HexSize
Hex.Mass := 0.5 * HexSize
Hex.LaborCost := 0.03 * HexSize
Hex.BuildCost := 1.00 * HexSize
AddShipModifier: BuildCostFactor(1.25)
AddShipModifier: LaborCostFactor(0.75)
Assert: TagCount.Crewed == 0
Message: #ERROR_BRIDGE_AI
Unique: True
Effect: ControlCore
Provides:
Command = Command
Module: Default
Sprite: HexagonSubsystems::4 * #ffa4a0
Module: Core
Sprite: ComputerCore
Hex.HP := 4 * Hex.HP
Hex.Resistance := 0.35
Hex.BuildCost := 2 * Hex.BuildCost
@@ -0,0 +1,43 @@
Subsystem: CrewDeck
Name: #CREWDECK_NAME
Description: #CREWDECK_DESC
BaseColor: #c5f946
Picture: SubsystemButtonArt::8
Elevation: 4
Tags: DefaultUnlock, Crewed, Control, ControlCore, HasInternals
Tags: NoBulkhead, BadFiller, Important
Tags: Category:Control
Hull: Support, Satellite
EvaluationOrder: -10
Size := HexSize * Hexes
Crew := floor(40 * Size)
Command := Hexes * 4
Repair := 4 * HexSize * (Hexes-1)
RepairSupplyCost := 0.5 * Repair
out SupplyDrain := RepairSupplyCost
Hex.Resistance := 0.2
Hex.HP := 12 * HexSize
Hex.Mass := HexSize
Hex.LaborCost := 0.07 * HexSize
Hex.BuildCost := 0.75 * HexSize
Effect: ControlCore
Provides:
Crew = Crew
Command = Command
Module: Default
Sprite: CrewQuarters
Module: Core
Sprite: Bridge
Hex.HP := 4 * Hex.HP
Hex.Resistance := 0.35
Hex.BuildCost := 2 * Hex.BuildCost
@@ -0,0 +1,21 @@
Subsystem: SupportAmmoStorage
Name: #S_AMMOSTORAGE
Description: #S_AMMOSTORAGE_DESC
BaseColor: #2fd6b3
Elevation: 3
Tags: DefaultUnlock, NonContiguous, NoCore, HasInternals, Category:Control
Hull: Support
Size := HexSize * Hexes
SupportSupplyCapacity := Size * 175
Hex.LaborCost := 0.05 * HexSize
Hex.BuildCost := 1.0 * HexSize
Hex.Resistance := 0.2
Hex.HP := 18 * HexSize
Hex.Mass := 0.6 * HexSize
Module: Default
Sprite: SupplyStorage * #80ff80
@@ -0,0 +1,41 @@
Subsystem: SupportAncientCore
Name: #S_ANCIENT_CORE
Description: #S_ANCIENT_CORE_DESC
BaseColor: #c5f946
Elevation: 4
Tags: Crewed, Control, ControlCore, HasInternals, HeraldsDLC
Tags: NoBulkhead, BadFiller, Important
Tags: Category:Control
Hull: Support, Satellite
EvaluationOrder: -10
Size := HexSize * Hexes
Crew := floor(40 * Size)
Command := Hexes * 4
Repair := 5 * HexSize * (Hexes-1)
RepairSupplyCost := 0.4 * Repair
out SupplyDrain := RepairSupplyCost
Hex.Resistance := 0.2
Hex.HP := 16 * HexSize
Hex.Mass := HexSize
Hex.LaborCost := 0.06 * HexSize
Hex.BuildCost := 1.0 * HexSize
Effect: ControlCore
Provides:
Crew = Crew
Command = Command
Module: Default
Module: Core
Sprite: AncientComputerCore
Hex.HP := 4 * Hex.HP
Hex.Resistance := 0.35
Hex.BuildCost := 2 * Hex.BuildCost