Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 14a73daa75 | |||
| 1dd4a694d0 | |||
| 9b8933e698 | |||
| 9f4cda0e6d | |||
| 1c865730a3 | |||
| 8e9359d6f8 | |||
| 7696271727 |
+1
-1
@@ -34,7 +34,7 @@ Signal_Debugger="*res://addons/SignalVisualizer/Debugger/SignalDebugger.gd"
|
|||||||
FightWorldAutoload="*res://prefabs/fight/fight_world_autoload.tscn"
|
FightWorldAutoload="*res://prefabs/fight/fight_world_autoload.tscn"
|
||||||
SaveGameManager="*res://scripts/CSharp/Common/Savegame/SaveGameManager.cs"
|
SaveGameManager="*res://scripts/CSharp/Common/Savegame/SaveGameManager.cs"
|
||||||
SettingsSaveController="*res://scripts/CSharp/Common/Savegame/SettingsSaveController.cs"
|
SettingsSaveController="*res://scripts/CSharp/Common/Savegame/SettingsSaveController.cs"
|
||||||
DayAndNight="*res://prefabs/day and night/day_and_night.tscn"
|
DayAndNight="*res://prefabs/day_and_night/day_and_night.tscn"
|
||||||
|
|
||||||
[dialogic]
|
[dialogic]
|
||||||
|
|
||||||
|
|||||||
@@ -54,6 +54,7 @@ _minigameController = NodePath("Minigame")
|
|||||||
[node name="Minigame" parent="MinigameHandler" instance=ExtResource("8_2b3cf")]
|
[node name="Minigame" parent="MinigameHandler" instance=ExtResource("8_2b3cf")]
|
||||||
process_mode = 4
|
process_mode = 4
|
||||||
visible = false
|
visible = false
|
||||||
|
position = Vector2(23, -29)
|
||||||
|
|
||||||
[node name="SwitchSceneOnFightEnd" type="Node" parent="." node_paths=PackedStringArray("_fightSceneSwitcher")]
|
[node name="SwitchSceneOnFightEnd" type="Node" parent="." node_paths=PackedStringArray("_fightSceneSwitcher")]
|
||||||
script = ExtResource("10_qqd8u")
|
script = ExtResource("10_qqd8u")
|
||||||
@@ -190,6 +191,7 @@ _label = NodePath("Label")
|
|||||||
_current = NodePath("Current")
|
_current = NodePath("Current")
|
||||||
|
|
||||||
[node name="Label" type="Label" parent="StateMachineDebugger"]
|
[node name="Label" type="Label" parent="StateMachineDebugger"]
|
||||||
|
visible = false
|
||||||
offset_left = -982.0
|
offset_left = -982.0
|
||||||
offset_top = -497.0
|
offset_top = -497.0
|
||||||
offset_right = -893.0
|
offset_right = -893.0
|
||||||
@@ -197,6 +199,7 @@ offset_bottom = -474.0
|
|||||||
text = "Hello world"
|
text = "Hello world"
|
||||||
|
|
||||||
[node name="Current" type="Label" parent="StateMachineDebugger"]
|
[node name="Current" type="Label" parent="StateMachineDebugger"]
|
||||||
|
visible = false
|
||||||
offset_left = 705.0
|
offset_left = 705.0
|
||||||
offset_top = -495.0
|
offset_top = -495.0
|
||||||
offset_right = 794.0
|
offset_right = 794.0
|
||||||
|
|||||||
@@ -19,7 +19,13 @@ public partial class VesnaAnimations : Node
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Signal] public delegate void LookDirectionEventHandler(Vector2 direction);
|
[Signal] public delegate void LookDirectionEventHandler(Vector2 direction);
|
||||||
|
|
||||||
public override void _Ready()
|
public override void _EnterTree()
|
||||||
|
{
|
||||||
|
// calling with a 1-frame delay to avoid race conditions.
|
||||||
|
CallDeferred(nameof(SetupSubscriptions));
|
||||||
|
}
|
||||||
|
|
||||||
|
private void SetupSubscriptions()
|
||||||
{
|
{
|
||||||
InventoryManager.Instance.playerInventory.InventoryContentsChanged += HandleNewItemInInventory;
|
InventoryManager.Instance.playerInventory.InventoryContentsChanged += HandleNewItemInInventory;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -62,11 +62,6 @@ public partial class PlantBehaviour2D : Node2D
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void IncrementDaysGrowing()
|
|
||||||
{
|
|
||||||
DayPlanted++;
|
|
||||||
}
|
|
||||||
|
|
||||||
public string PrefabPath => _prefabPath;
|
public string PrefabPath => _prefabPath;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user