Implement item unlocking mechanism and refactor save functionality; update scene timer node

This commit is contained in:
Kirill
2026-08-27 23:04:56 +03:00
parent 23929e3651
commit 57cc023558
3 changed files with 96 additions and 64 deletions
+3 -3
View File
@@ -872,8 +872,8 @@ layout_mode = 2
wait_time = 0.2
autostart = true
[node name="SaveData" type="Timer" parent="Stage" unique_id=1208861837]
wait_time = 5.0
[node name="Unlock&Save" type="Timer" parent="Stage" unique_id=1208861837]
wait_time = 2.0
autostart = true
[connection signal="timeout" from="Background/Timer" to="Background" method="randomize_parallax"]
@@ -890,4 +890,4 @@ autostart = true
[connection signal="pressed" from="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader/AggressionIndicator" to="Stage" method="_on_indicator_pressed" binds= ["Aggression", 4]]
[connection signal="pressed" from="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader/TrendIndicator" to="Stage" method="_on_indicator_pressed" binds= ["Trends", 4]]
[connection signal="timeout" from="Stage/ItemAmountUpdate" to="Stage" method="set_owniverse_item_value"]
[connection signal="timeout" from="Stage/SaveData" to="Stage" method="_on_save_data"]
[connection signal="timeout" from="Stage/Unlock&Save" to="Stage" method="_on_unlock_and_save_timeout"]