diff options
Diffstat (limited to 'game/items/inventory/knife.tscn')
| -rw-r--r-- | game/items/inventory/knife.tscn | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/game/items/inventory/knife.tscn b/game/items/inventory/knife.tscn new file mode 100644 index 0000000..0516711 --- /dev/null +++ b/game/items/inventory/knife.tscn @@ -0,0 +1,27 @@ +[gd_scene format=3 uid="uid://6wgnuvvjsloy"] + +[ext_resource type="Script" uid="uid://dshelmw7y44qg" path="res://addons/escoria-core/game/core-scripts/esc_item.gd" id="1_wstns"] +[ext_resource type="Texture2D" uid="uid://clj3yokn678qq" path="res://game/items/inventory/knife.png" id="2_ur0l8"] + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_pideq"] +size = Vector2(156, 70) + +[node name="Knife" type="Area2D" unique_id=1205297015] +process_mode = 1 +script = ExtResource("1_wstns") +global_id = "knife" +esc_script = "res://game/items/inventory/knife.esc" +tooltip_name = "Knife" +combine_when_selected_action_is_in = PackedStringArray("use") +default_action_inventory = "use" +use_from_inventory_only = true +inventory_texture = ExtResource("2_ur0l8") +inventory_texture_hovered = ExtResource("2_ur0l8") +metadata/_custom_type_script = "uid://dshelmw7y44qg" + +[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1569248865] +texture = ExtResource("2_ur0l8") + +[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1118525312] +position = Vector2(1, -2) +shape = SubResource("RectangleShape2D_pideq") |
