refactor: route core definitions through content catalog

This commit is contained in:
Rijad Zuzo
2026-08-12 20:13:50 +02:00
parent 758d240438
commit c218909649
6 changed files with 50 additions and 55 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
class_name ItemDefinition
extends Resource
const CATEGORY_RESOURCE := &"resource"
const CATEGORY_RESOURCE := SimulationIds.ITEM_CATEGORY_RESOURCE
const CATEGORY_WEAPON := SimulationIds.ITEM_CATEGORY_WEAPON
const VALID_CATEGORIES := [CATEGORY_RESOURCE, CATEGORY_WEAPON]