mirror of
https://github.com/Steffo99/swear-jar.git
synced 2024-11-25 17:14:20 +00:00
Remove random value from gems
This commit is contained in:
parent
0caed819d8
commit
fe0db5fea2
1 changed files with 1 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
||||||
[gd_scene load_steps=10 format=3 uid="uid://bawprh8kluilq"]
|
[gd_scene load_steps=9 format=3 uid="uid://bawprh8kluilq"]
|
||||||
|
|
||||||
[ext_resource type="PhysicsMaterial" uid="uid://c6kn1an85lccr" path="res://entity/coin_physics_material.tres" id="1_vmemd"]
|
[ext_resource type="PhysicsMaterial" uid="uid://c6kn1an85lccr" path="res://entity/coin_physics_material.tres" id="1_vmemd"]
|
||||||
[ext_resource type="Texture2D" uid="uid://b21bsbo5f0ed7" path="res://entity/gem/gemstone.png" id="3_6jejy"]
|
[ext_resource type="Texture2D" uid="uid://b21bsbo5f0ed7" path="res://entity/gem/gemstone.png" id="3_6jejy"]
|
||||||
|
@ -6,7 +6,6 @@
|
||||||
[ext_resource type="PackedScene" uid="uid://bk1vvq5rug01m" path="res://collector/collectible.tscn" id="4_idoeu"]
|
[ext_resource type="PackedScene" uid="uid://bk1vvq5rug01m" path="res://collector/collectible.tscn" id="4_idoeu"]
|
||||||
[ext_resource type="PackedScene" uid="uid://ujpra0s1kpqi" path="res://value/valuable.tscn" id="5_7bd6c"]
|
[ext_resource type="PackedScene" uid="uid://ujpra0s1kpqi" path="res://value/valuable.tscn" id="5_7bd6c"]
|
||||||
[ext_resource type="Shader" path="res://entity/gem/gem_shading_material.gdshader" id="5_v6ppl"]
|
[ext_resource type="Shader" path="res://entity/gem/gem_shading_material.gdshader" id="5_v6ppl"]
|
||||||
[ext_resource type="Script" path="res://entity/gem/RandomValue.gd" id="6_3lulr"]
|
|
||||||
[ext_resource type="AudioStream" uid="uid://br25ip30mu174" path="res://audio/conversione/mechanic_sound.wav" id="6_svrnw"]
|
[ext_resource type="AudioStream" uid="uid://br25ip30mu174" path="res://audio/conversione/mechanic_sound.wav" id="6_svrnw"]
|
||||||
|
|
||||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_jkfas"]
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_jkfas"]
|
||||||
|
@ -40,10 +39,5 @@ type = &"Gem"
|
||||||
[node name="Valuable" parent="." instance=ExtResource("5_7bd6c")]
|
[node name="Valuable" parent="." instance=ExtResource("5_7bd6c")]
|
||||||
value = 1000
|
value = 1000
|
||||||
|
|
||||||
[node name="RandomValue" type="Node" parent="Valuable"]
|
|
||||||
script = ExtResource("6_3lulr")
|
|
||||||
min_value = 900
|
|
||||||
max_value = 1300
|
|
||||||
|
|
||||||
[node name="SoundWorking" type="AudioStreamPlayer" parent="."]
|
[node name="SoundWorking" type="AudioStreamPlayer" parent="."]
|
||||||
stream = ExtResource("6_svrnw")
|
stream = ExtResource("6_svrnw")
|
||||||
|
|
Loading…
Reference in a new issue