feat: add example splash item for inventory testing
This commit is contained in:
@@ -1,6 +1,16 @@
|
||||
extends Scene
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
super._ready()
|
||||
var def = ItemDefinition.new()
|
||||
def.id = "splash"
|
||||
def.name = "Splash"
|
||||
def.combination_category = "potion"
|
||||
InventoryManager.register_item(def)
|
||||
give_item("splash")
|
||||
|
||||
|
||||
func _on_meadow_interacted() -> void:
|
||||
$kq4_002_meadow.default_script(self)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user