extends "res://buildings/BuildingVisualBase.gd" func _ready() -> void: _build_lab_pieces() queue_redraw() # #117: the instruments sweep while something is being researched, and are # parked otherwise. func is_working() -> bool: var id: int = building_id() if id == 0: return false var state: Node = _state() return state != null and not state.lab_research_order(id).is_empty() func apply_animation() -> void: _animate_ship_lab() func _draw() -> void: register_draw() _draw_ship_lab_static(self)