Add bison model to default editor palette and object catalog
checkpoint / checkpoint (push) Successful in 6m10s

This commit is contained in:
2026-09-21 18:11:06 +00:00
parent ddcc0866b8
commit 509e85b53e
10 changed files with 251 additions and 2 deletions
+12 -2
View File
@@ -48,11 +48,21 @@ func is_loaded() -> bool:
func resolve(id: String) -> Dictionary:
if not _loaded:
return {}
return _catalog.get(id, {})
if _catalog.has(id):
return _catalog[id]
if (id.contains("bizon") or id.contains("bison")) and _catalog.has("bison"):
return _catalog["bison"]
return {}
func has_object(id: String) -> bool:
return _loaded and _catalog.has(id)
if not _loaded:
return false
if _catalog.has(id):
return true
if (id.contains("bizon") or id.contains("bison")) and _catalog.has("bison"):
return true
return false
func get_all_ids() -> Array[String]: