From fe0db5fea23f557a7ebf5a978b773fa6191bbbf1 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 3 Oct 2023 02:41:22 +0200 Subject: [PATCH] Remove random value from gems --- entity/gem/gem.tscn | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/entity/gem/gem.tscn b/entity/gem/gem.tscn index ec7bebc..de57be8 100644 --- a/entity/gem/gem.tscn +++ b/entity/gem/gem.tscn @@ -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="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://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="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"] [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_jkfas"] @@ -40,10 +39,5 @@ type = &"Gem" [node name="Valuable" parent="." instance=ExtResource("5_7bd6c")] 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="."] stream = ExtResource("6_svrnw")