add the stone axe (currently unobtainable)

This commit is contained in:
2023-11-04 13:28:02 -07:00
parent 9eb4952d3b
commit bf126ec69c
4 changed files with 38 additions and 6 deletions

View File

@ -28,7 +28,7 @@ func change_tool(tool):
$body_pivot/body/tool.position = game_data.tools[tool].offset
func _ready():
change_tool("stick")
change_tool("stick") #this is when the starting tool is set
func _physics_process(delta):
var pre_velocity = Vector2(0, 0)

View File

@ -2,7 +2,7 @@
[ext_resource type="Texture2D" uid="uid://gfxfxkfu8uk4" path="res://textures/character/character.svg" id="1_f7cgp"]
[ext_resource type="Script" path="res://data/character/character.gd" id="1_qlitf"]
[ext_resource type="Texture2D" uid="uid://crw5j541ciab8" path="res://textures/tools/none.svg" id="3_c34pt"]
[ext_resource type="Texture2D" uid="uid://b7hh5vuwdmg0v" path="res://textures/tools/stick.svg" id="3_q8qyo"]
[ext_resource type="PackedScene" uid="uid://vaapoj5q16ko" path="res://data/character/hud.tscn" id="4_vgn11"]
[sub_resource type="CircleShape2D" id="CircleShape2D_653al"]
@ -56,6 +56,6 @@ texture = ExtResource("1_f7cgp")
[node name="tool" type="Sprite2D" parent="body_pivot/body"]
z_index = -1
texture = ExtResource("3_c34pt")
texture = ExtResource("3_q8qyo")
[node name="hud" parent="." instance=ExtResource("4_vgn11")]