Compare commits
2
Commits
67d544a323
...
56d88964bd
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
56d88964bd | ||
|
|
5b718930e1 |
+1
-6
@@ -4,7 +4,6 @@
|
||||
[ext_resource type="Script" uid="uid://dsjd6wkrtjwsa" path="res://stages/3d_scenes/cockpit_scene/cockpit_elements/mutation_discovered_screen/scripts/mutation_discovery_element.gd" id="1_udmux"]
|
||||
[ext_resource type="Texture2D" uid="uid://cgt4n1xwn4dc2" path="res://common/icons/hexagon.svg" id="1_wfsg0"]
|
||||
[ext_resource type="Texture2D" uid="uid://cul11ab04vf8i" path="res://common/icons/hexagon-lock.svg" id="3_udmux"]
|
||||
[ext_resource type="Texture2D" uid="uid://cwewx7cdy085h" path="res://common/icons/help-hexagon.svg" id="4_0ou8m"]
|
||||
[ext_resource type="Script" uid="uid://cf0b6gm06fvy1" path="res://entities/interactables/mutation_element/mutation_element.gd" id="6_0ou8m"]
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_g4v7s"]
|
||||
@@ -22,14 +21,10 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.605261e-10, 0, -0.012823343
|
||||
modulate = Color(1, 0.6509804, 0.09019608, 1)
|
||||
texture = ExtResource("1_wfsg0")
|
||||
|
||||
[node name="BackgroundHexagonQuestion" type="Sprite3D" parent="." unique_id=789745739]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(1.465, 0, 0, 0, 1.465, 0, 0, 0, 1.465, 0, 0, 0)
|
||||
texture = ExtResource("4_0ou8m")
|
||||
|
||||
[node name="BackgroundHexagonLocked" type="Sprite3D" parent="." unique_id=485550950]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(1.47, 0, 0, 0, 1.47, 0, 0, 0, 1.47, 0, 0, 0)
|
||||
visible = false
|
||||
texture = ExtResource("3_udmux")
|
||||
|
||||
[node name="MutationTexture" type="Sprite3D" parent="." unique_id=1932614651]
|
||||
|
||||
+2
-2
@@ -18,8 +18,8 @@ func _ready():
|
||||
|
||||
func update():
|
||||
if is_node_ready():
|
||||
%MutationTexture.visible = state == State.DISCOVERED || State.UNDISCOVERED
|
||||
%BackgroundHexagon.visible = state == State.DISCOVERED || State.UNDISCOVERED
|
||||
%MutationTexture.visible = state == State.DISCOVERED || state == State.UNDISCOVERED
|
||||
%BackgroundHexagon.visible = state == State.DISCOVERED || state == State.UNDISCOVERED
|
||||
%BackgroundHexagonLocked.visible = state == State.LOCKED
|
||||
if state == State.DISCOVERED:
|
||||
%MutationTexture.modulate = Color.WHITE
|
||||
|
||||
Reference in New Issue
Block a user