Starting item and inventory tools, sketched spear animation templates.

This commit is contained in:
2025-08-28 08:36:20 -04:00
parent 2a236ea041
commit c41cac58c2
11 changed files with 183 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
extends Node2D
var test_adv = preload("res://templates/test_adventurer.tscn")
var test_item = preload("res://data/items/pitchfork.tres")
@onready var door_player : AudioStreamPlayer = $AudioStreamPlayer
func _ready() -> void:
#var adv : Adventurer = test_adv.instantiate() as Adventurer
@@ -13,6 +13,9 @@ func _ready() -> void:
quest.events.append(evt)
Guild.add_quest(quest)
Guild.assign_quest(Game.player.data, quest)
var itm = test_item.duplicate()
Game.player.data.pickup_item(itm)
Game.player.data.move_item(Vector2(0,0), Vector2(1,0))
#Game.end_shift()
#var tween = create_tween()
#tween.tween_interval(3)