selling. really fucked up code.

This commit is contained in:
veclavtalica
2025-02-14 11:43:27 +03:00
parent 16be17ba73
commit 1132015349
13 changed files with 270 additions and 131 deletions

View File

@ -10,4 +10,4 @@ name = "Coin"
id = &"coin"
stackable = true
stack_limit = 100
sells_for = 0
sells_for = 1

View File

@ -1,6 +1,7 @@
[gd_resource type="Resource" script_class="InventoryItem" load_steps=4 format=3 uid="uid://cmeif37pci2ek"]
[gd_resource type="Resource" script_class="InventoryItem" load_steps=5 format=3 uid="uid://cmeif37pci2ek"]
[ext_resource type="Texture2D" uid="uid://cb6qv3c0iojfl" path="res://icon.svg" id="1_g8c3q"]
[ext_resource type="PackedScene" uid="uid://tdsbo3e5ic86" path="res://src/ingame/water_bomb.tscn" id="1_t62t2"]
[ext_resource type="PackedScene" uid="uid://ba2mut58elwrh" path="res://assets/water-bomb.glb" id="2_5cxkh"]
[ext_resource type="Script" path="res://src/lib/inventory_item.gd" id="2_pe2p8"]
@ -8,6 +9,7 @@
script = ExtResource("2_pe2p8")
icon = ExtResource("1_g8c3q")
model = ExtResource("2_5cxkh")
bomb = ExtResource("1_t62t2")
name = "Water Bomb"
id = &"water_bomb"
stackable = false