Added resource table plugin
This commit is contained in:
28
example/Items/items/belt_2.tres
Normal file
28
example/Items/items/belt_2.tres
Normal file
@@ -0,0 +1,28 @@
|
||||
[gd_resource type="Resource" load_steps=4 format=3 uid="uid://c158a1idjr28m"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://h6p7lsxyhmyt" 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_laq2t"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="1"]
|
||||
atlas = ExtResource("2_laq2t")
|
||||
region = Rect2(24, 156, 24, 12)
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1")
|
||||
name = "belt_2"
|
||||
description = "desc_belt_2"
|
||||
max_stack_count = 1
|
||||
in_inventory_width = 2
|
||||
in_inventory_height = 1
|
||||
texture = SubResource("1")
|
||||
slot_flags = 13
|
||||
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_regen": 2.0
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user