diff --git a/entity/item/item_chalice.tscn b/entity/item/item_chalice.tscn index 13ae0e1..1922003 100644 --- a/entity/item/item_chalice.tscn +++ b/entity/item/item_chalice.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=8 format=3 uid="uid://451ddbtq4163"] +[gd_scene load_steps=9 format=3 uid="uid://451ddbtq4163"] [ext_resource type="PhysicsMaterial" uid="uid://c6kn1an85lccr" path="res://entity/coin_physics_material.tres" id="1_vp2el"] [ext_resource type="Texture2D" uid="uid://wpen8vmuyvqv" path="res://entity/item/item_chalice.png" id="2_rnc33"] @@ -6,6 +6,7 @@ [ext_resource type="PackedScene" uid="uid://vkvtap437nnf" path="res://color/colored.tscn" id="4_n40wg"] [ext_resource type="Shader" path="res://entity/gem/gem_shading_material.gdshader" id="5_bkxhb"] [ext_resource type="PackedScene" uid="uid://ujpra0s1kpqi" path="res://value/valuable.tscn" id="7_0qpb5"] +[ext_resource type="PackedScene" uid="uid://bk1vvq5rug01m" path="res://collector/collectible.tscn" id="8_ghhw4"] [ext_resource type="AudioStream" uid="uid://br25ip30mu174" path="res://audio/conversione/mechanic_sound.wav" id="9_v6jws"] [node name="ItemChalice" type="RigidBody2D"] @@ -33,6 +34,9 @@ texture = ExtResource("3_crdaw") [node name="Colored" parent="CollisionShape2D/Sprite" instance=ExtResource("4_n40wg")] shader = ExtResource("5_bkxhb") +[node name="Collectible" parent="." instance=ExtResource("8_ghhw4")] +type = &"Chalice" + [node name="Valuable" parent="." instance=ExtResource("7_0qpb5")] value = 7500 diff --git a/entity/item/item_crown.tscn b/entity/item/item_crown.tscn index bcc0d19..8e83ad8 100644 --- a/entity/item/item_crown.tscn +++ b/entity/item/item_crown.tscn @@ -1,10 +1,11 @@ -[gd_scene load_steps=10 format=3 uid="uid://d32fgw4klo4x3"] +[gd_scene load_steps=11 format=3 uid="uid://d32fgw4klo4x3"] [ext_resource type="PhysicsMaterial" uid="uid://c6kn1an85lccr" path="res://entity/coin_physics_material.tres" id="1_j1ug7"] [ext_resource type="Texture2D" uid="uid://brlo5pqo0x86l" path="res://entity/item/item_crown.png" id="2_4mgp8"] [ext_resource type="Texture2D" uid="uid://l7kr24oe0fc8" path="res://entity/item/item_crown_gems.png" id="3_cpnmq"] [ext_resource type="PackedScene" uid="uid://vkvtap437nnf" path="res://color/colored.tscn" id="4_ttx03"] [ext_resource type="Shader" path="res://entity/gem/gem_shading_material.gdshader" id="5_c6qlx"] +[ext_resource type="PackedScene" uid="uid://bk1vvq5rug01m" path="res://collector/collectible.tscn" id="6_5xyts"] [ext_resource type="PackedScene" uid="uid://ujpra0s1kpqi" path="res://value/valuable.tscn" id="7_7rpe6"] [ext_resource type="Script" path="res://entity/gem/RandomValue.gd" id="8_utkrs"] [ext_resource type="AudioStream" uid="uid://br25ip30mu174" path="res://audio/conversione/mechanic_sound.wav" id="9_6xmfi"] @@ -38,6 +39,9 @@ texture = ExtResource("3_cpnmq") [node name="Colored" parent="CollisionShape2D/Sprite" instance=ExtResource("4_ttx03")] shader = ExtResource("5_c6qlx") +[node name="Collectible" parent="." instance=ExtResource("6_5xyts")] +type = &"Crown" + [node name="Valuable" parent="." instance=ExtResource("7_7rpe6")] value = 10000 diff --git a/entity/item/item_ring.tscn b/entity/item/item_ring.tscn index a229974..3dffd81 100644 --- a/entity/item/item_ring.tscn +++ b/entity/item/item_ring.tscn @@ -1,10 +1,11 @@ -[gd_scene load_steps=9 format=3 uid="uid://y2p6j177k3nr"] +[gd_scene load_steps=10 format=3 uid="uid://y2p6j177k3nr"] [ext_resource type="PhysicsMaterial" uid="uid://c6kn1an85lccr" path="res://entity/coin_physics_material.tres" id="1_yyeot"] [ext_resource type="Texture2D" uid="uid://dcw3cq3ni253t" path="res://entity/item/item_ring.png" id="2_kevks"] [ext_resource type="Texture2D" uid="uid://dnfkvj0usdb6n" path="res://entity/item/item_ring_gems.png" id="3_foriv"] [ext_resource type="PackedScene" uid="uid://vkvtap437nnf" path="res://color/colored.tscn" id="4_dscrk"] [ext_resource type="Shader" path="res://entity/gem/gem_shading_material.gdshader" id="5_pu8lc"] +[ext_resource type="PackedScene" uid="uid://bk1vvq5rug01m" path="res://collector/collectible.tscn" id="6_mtl3w"] [ext_resource type="PackedScene" uid="uid://ujpra0s1kpqi" path="res://value/valuable.tscn" id="7_37tvl"] [ext_resource type="AudioStream" uid="uid://br25ip30mu174" path="res://audio/conversione/mechanic_sound.wav" id="9_0enei"] @@ -37,6 +38,9 @@ texture = ExtResource("3_foriv") [node name="Colored" parent="CollisionShape2D/Sprite" instance=ExtResource("4_dscrk")] shader = ExtResource("5_pu8lc") +[node name="Collectible" parent="." instance=ExtResource("6_mtl3w")] +type = &"Ring" + [node name="Valuable" parent="." instance=ExtResource("7_37tvl")] value = 5000