spaceship/VesselGasBomberComponent.gd
2026-08-16 21:38:07 +02:00

19 lines
443 B
GDScript

class_name VesselGasBomberComponent
extends "res://VesselCooldownFillComponent.gd"
var capability_id := "gas_bomber"
const READY_COLOR := Color(1.0, 0.25, 0.78)
const COOLING_COLOR := Color(0.38, 0.16, 0.32)
func _init() -> void:
cooldown_duration = 5.0
func consume_shot(duration: float) -> bool:
return _begin_cooldown(duration)
func _ready_color() -> Color: return READY_COLOR
func _cooling_color() -> Color: return COOLING_COLOR