mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-12 15:45:54 +00:00
Tabbed inventory
This commit is contained in:
parent
c81a92679b
commit
6d7282f5cb
214 changed files with 9329 additions and 186 deletions
29
example/Items/items/melee_sword.tres
Normal file
29
example/Items/items/melee_sword.tres
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
[gd_resource type="Resource" load_steps=4 format=3 uid="uid://cidvqmpxobgv7"]
|
||||
|
||||
[ext_resource type="Script" path="res://example/Items/item_type.gd" id="2"]
|
||||
[ext_resource type="Texture2D" uid="uid://dwi4ioxeauoc4" path="res://example/Items/item_icons/items.png" id="2_qyy4c"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="1"]
|
||||
atlas = ExtResource("2_qyy4c")
|
||||
region = Rect2(0, 72, 12, 36)
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2")
|
||||
name = "melee_sword"
|
||||
description = "desc_melee_sword"
|
||||
max_stack_count = 1
|
||||
in_inventory_width = 1
|
||||
in_inventory_height = 3
|
||||
texture = SubResource("1")
|
||||
slot_flags = 9
|
||||
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": {
|
||||
"weapon_damage": 4.0,
|
||||
"weapon_speed": 1.5
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue