mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-10 04:05:54 +00:00
Tabbed inventory
This commit is contained in:
parent
c81a92679b
commit
6d7282f5cb
214 changed files with 9329 additions and 186 deletions
28
example/Items/items/ring_2.tres
Normal file
28
example/Items/items/ring_2.tres
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
[gd_resource type="Resource" load_steps=4 format=3 uid="uid://dwsqjeolbi2j6"]
|
||||
|
||||
[ext_resource type="Script" path="res://example/Items/item_type.gd" id="1"]
|
||||
[ext_resource type="Texture2D" uid="uid://dwi4ioxeauoc4" path="res://example/Items/item_icons/items.png" id="2_a2wrg"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="1"]
|
||||
atlas = ExtResource("2_a2wrg")
|
||||
region = Rect2(12, 192, 12, 12)
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1")
|
||||
name = "ring_2"
|
||||
description = "desc_ring_2"
|
||||
max_stack_count = 1
|
||||
in_inventory_width = 1
|
||||
in_inventory_height = 1
|
||||
texture = SubResource("1")
|
||||
slot_flags = 16
|
||||
default_properties = {
|
||||
"back_color": Color(1, 0.65098, 0, 1),
|
||||
"price": {
|
||||
"res://example/wyvernbox/item_types/consumable/coin_gold.tres": 50,
|
||||
"res://example/wyvernbox/item_types/consumable/coin_purple.tres": 10
|
||||
},
|
||||
"stats": {
|
||||
"health": 8.0
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue