Added resource table plugin
This commit is contained in:
29
example/Items/items/melee_battleaxe.tres
Normal file
29
example/Items/items/melee_battleaxe.tres
Normal file
@@ -0,0 +1,29 @@
|
||||
[gd_resource type="Resource" load_steps=4 format=3 uid="uid://vi43b1o26w60"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://h6p7lsxyhmyt" 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_glg1x"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="1"]
|
||||
atlas = ExtResource("2_glg1x")
|
||||
region = Rect2(12, 72, 12, 48)
|
||||
|
||||
[resource]
|
||||
script = ExtResource("2")
|
||||
name = "melee_battleaxe"
|
||||
description = "desc_melee_battleaxe"
|
||||
max_stack_count = 1
|
||||
in_inventory_width = 1
|
||||
in_inventory_height = 4
|
||||
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": 8.0,
|
||||
"weapon_speed": 0.8
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user