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,49 @@
Subsystem: CarpetBomb
Name: #S_CARPETBOMB
Description: #S_CARPETBOMB_DESC
BaseColor: #ff8931
TypeColor: #ff8931
Elevation: 2
Tags: BaseCost, Category:Weapons, Rotatable
Tags: ExteriorCore, Weapon, DefaultUnlock, Bombardment
Hull: Flagship
Size := HexSize * Hexes
Range := Size + 200
BombardStacks := max(floor(Size * 0.015), 1)
BombardDuration := Size * 3.0 / BombardStacks
Reload := 30.0
BombardCost := Size * 200
Hex.HP := 3 * HexSize
Hex.Mass := HexSize
Hex.Resistance := 0.2
Requires:
Command = 1
Modifier: RangeFactor(factor)
Range := Range * factor
Modifier: DamageFactor(factor)
BombardDuration := BombardDuration * factor
Module: Default
Hex.BuildCost := 3 * Hex.BuildCost
Module: Core
Hex.BuildCost := 3 * Hex.BuildCost
Hex.HP := Hex.HP * 4.0
Sprite: MissileLauncher::0 * #ffa0a0
DrawMode: 1
Effector: PopulationBomb
Range = Range
Speed = 35
Duration = BombardDuration
Stacks = BombardStacks
SupplyCost = BombardCost
Reload = Reload