This commit is contained in:
2026-07-31 10:46:59 +02:00
6 changed files with 17 additions and 8 deletions
@@ -196,6 +196,7 @@ texture = ExtResource("5_tbsgm")
[node name="Wall1" type="Sprite3D" parent="Writings" unique_id=721718473]
transform = Transform3D(0.99170494, -0.12726313, -0.018050455, 0.07970211, 0.4986614, 0.86312467, -0.10084282, -0.8574034, 0.50466794, -29.599998, -17.031189, -6.9000006)
cast_shadow = 0
pixel_size = 0.005
shaded = true
alpha_cut = 1
@@ -203,6 +204,7 @@ texture = ExtResource("6_on72i")
[node name="Wall2" type="Sprite3D" parent="Writings" unique_id=759085966]
transform = Transform3D(0.9424416, -0.22922032, 0.24343787, 0.06502391, 0.8397868, 0.53900826, -0.32798755, -0.49215457, 0.8063549, -27.599998, -11.299988, -15)
cast_shadow = 0
pixel_size = 0.005
shaded = true
alpha_cut = 1
@@ -210,6 +212,7 @@ texture = ExtResource("7_kd1mw")
[node name="Wall3" type="Sprite3D" parent="Writings" unique_id=1200417759]
transform = Transform3D(0.9631755, -0.14006364, 0.22951505, 0.02751878, 0.90047455, 0.43403864, -0.2674653, -0.41173884, 0.87116885, -37.59999, -14.299988, -10.626168)
cast_shadow = 0
pixel_size = 0.005
shaded = true
alpha_cut = 1
@@ -217,6 +220,7 @@ texture = ExtResource("8_ipyd4")
[node name="Wall4" type="Sprite3D" parent="Writings" unique_id=612060231]
transform = Transform3D(0.5723594, 0.81974465, 0.020626552, -0.12535757, 0.0626126, 0.99013513, 0.8103656, -0.5692978, 0.13859814, -35.59999, -19.026611, 0.5999727)
cast_shadow = 0
pixel_size = 0.005
shaded = true
alpha_cut = 1
@@ -224,6 +228,7 @@ texture = ExtResource("9_r7duo")
[node name="Wall5" type="Sprite3D" parent="Writings" unique_id=1287618329]
transform = Transform3D(0.980034, 0.0050439783, 0.19876635, -0.021924706, 0.9963235, 0.0828185, -0.19761789, -0.085522816, 0.97654146, -45.6, -10.899994, -10.700001)
cast_shadow = 0
pixel_size = 0.005
shaded = true
alpha_cut = 1
@@ -18,10 +18,15 @@ func _ready():
func update():
if is_node_ready():
%MutationTexture.visible = state == State.DISCOVERED
%BackgroundHexagon.visible = state == State.DISCOVERED
%BackgroundHexagonQuestion.visible = state == State.UNDISCOVERED
%MutationTexture.visible = state == State.DISCOVERED || State.UNDISCOVERED
%BackgroundHexagon.visible = state == State.DISCOVERED || State.UNDISCOVERED
%BackgroundHexagonLocked.visible = state == State.LOCKED
if state == State.DISCOVERED:
%MutationTexture.modulate = Color.WHITE
%BackgroundHexagon.modulate = Color("ffa617")
elif state == State.UNDISCOVERED:
%MutationTexture.modulate = Color("96B3DB")
%BackgroundHexagon.modulate = Color.WHITE
if mutation:
%MutationTexture.texture = mutation.get_icon()
%MutationElement.mutation = mutation