Conveyor renamed to belt internally

This commit is contained in:
Rendo 2025-10-15 00:41:06 +05:00
commit eab885b9d3
8 changed files with 6 additions and 6 deletions

View file

@ -1,7 +1,7 @@
@tool
extends Inventory
class_name ConveyorInventory
class_name BeltInventory
## Amount of stacks that can be held in storage
@export var capacity : int:

View file

@ -1,14 +1,14 @@
extends Node2D
@onready var parent_structure : Structure = get_parent()
@onready var inventory : ConveyorInventory = parent_structure.inventory
@onready var inventory : BeltInventory = parent_structure.inventory
@onready var animator : AnimationPlayer = $"../AnimationPlayer"
func _ready() -> void:
sync_animations.call_deferred()
func sync_animations() -> void:
animator.seek(ConveyorManager.sync_time,true)
animator.seek(BeltManager.sync_time,true)
func _draw() -> void:
for i in range(inventory.capacity):