mirror of
https://github.com/Steffo99/swear-jar.git
synced 2024-11-21 23:34:18 +00:00
Make artifacts Collectible
This commit is contained in:
parent
bf9f8d1b2d
commit
81e5211ef2
3 changed files with 15 additions and 3 deletions
|
@ -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="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"]
|
[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="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="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://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"]
|
[ext_resource type="AudioStream" uid="uid://br25ip30mu174" path="res://audio/conversione/mechanic_sound.wav" id="9_v6jws"]
|
||||||
|
|
||||||
[node name="ItemChalice" type="RigidBody2D"]
|
[node name="ItemChalice" type="RigidBody2D"]
|
||||||
|
@ -33,6 +34,9 @@ texture = ExtResource("3_crdaw")
|
||||||
[node name="Colored" parent="CollisionShape2D/Sprite" instance=ExtResource("4_n40wg")]
|
[node name="Colored" parent="CollisionShape2D/Sprite" instance=ExtResource("4_n40wg")]
|
||||||
shader = ExtResource("5_bkxhb")
|
shader = ExtResource("5_bkxhb")
|
||||||
|
|
||||||
|
[node name="Collectible" parent="." instance=ExtResource("8_ghhw4")]
|
||||||
|
type = &"Chalice"
|
||||||
|
|
||||||
[node name="Valuable" parent="." instance=ExtResource("7_0qpb5")]
|
[node name="Valuable" parent="." instance=ExtResource("7_0qpb5")]
|
||||||
value = 7500
|
value = 7500
|
||||||
|
|
||||||
|
|
|
@ -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="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://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="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="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="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="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="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"]
|
[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")]
|
[node name="Colored" parent="CollisionShape2D/Sprite" instance=ExtResource("4_ttx03")]
|
||||||
shader = ExtResource("5_c6qlx")
|
shader = ExtResource("5_c6qlx")
|
||||||
|
|
||||||
|
[node name="Collectible" parent="." instance=ExtResource("6_5xyts")]
|
||||||
|
type = &"Crown"
|
||||||
|
|
||||||
[node name="Valuable" parent="." instance=ExtResource("7_7rpe6")]
|
[node name="Valuable" parent="." instance=ExtResource("7_7rpe6")]
|
||||||
value = 10000
|
value = 10000
|
||||||
|
|
||||||
|
|
|
@ -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="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://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="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="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="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="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"]
|
[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")]
|
[node name="Colored" parent="CollisionShape2D/Sprite" instance=ExtResource("4_dscrk")]
|
||||||
shader = ExtResource("5_pu8lc")
|
shader = ExtResource("5_pu8lc")
|
||||||
|
|
||||||
|
[node name="Collectible" parent="." instance=ExtResource("6_mtl3w")]
|
||||||
|
type = &"Ring"
|
||||||
|
|
||||||
[node name="Valuable" parent="." instance=ExtResource("7_37tvl")]
|
[node name="Valuable" parent="." instance=ExtResource("7_37tvl")]
|
||||||
value = 5000
|
value = 5000
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue