Files
bionickatana 2776482c21
Build Godot Project (Linux & Windows) / build-linux (push) Successful in 29s
Build Godot Project (Linux & Windows) / build-windows (push) Successful in 32s
finished belts. Some random errors in corners...
2026-06-22 21:21:32 -06:00

21 lines
548 B
GDScript

extends Sprite2D
var producer_value: int
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
print("Placed Extractor at: (%s, %s)" % [self.global_position[0], self.global_position[1]])
func setup(setup_value):
producer_value = setup_value
print("extractor value set as %s" % producer_value)
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass
func value() -> int:
print("extractor value is %s" % producer_value)
return producer_value