fancy printer list, time to get ready for twenty10

This commit is contained in:
Tabby 2025-10-30 15:30:44 +11:00
parent c26b350e49
commit 319e30e3d4
5 changed files with 49 additions and 1 deletions

View file

@ -3,6 +3,7 @@ extends Node
var save_path : String = "user://librarySave.tres"
var save : LibrarySave
# nozzles here or in save maybe?
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
@ -41,7 +42,7 @@ func save_new():
func list_printers() -> String:
var response : String = "Current Printers:"
for printer : Printer in save.printers:
response += "\n- " + printer.name
response += "\n- " + printer.list_string()
return response
func printer_choies() -> Array[Dictionary]: