extends Node ## Throwaway probe: prints how GDScript reports typed-array properties, so ## NetReplication's filter can exclude Array[Node3D] / Array[FoodItem] without ## guessing at the hint format. func _ready() -> void: for path in [ "res://Containers/container.gd", "res://Containers/plate_controller.gd", "res://Stations/sink.gd", "res://Stations/item_dispenser.gd", "res://Stations/hob.gd", ]: var script: Script = load(path) print("=== ", path) for prop in script.get_script_property_list(): if not (prop["usage"] & PROPERTY_USAGE_SCRIPT_VARIABLE): continue print(" name=%s type=%d hint=%d hint_string=%s" % [ prop["name"], prop["type"], prop["hint"], prop["hint_string"], ]) print("TYPE_ARRAY=%d TYPE_OBJECT=%d" % [TYPE_ARRAY, TYPE_OBJECT]) get_tree().quit()