Starting Cooking System
This commit is contained in:
11
scripts/System/CookingSystem.gd
Normal file
11
scripts/System/CookingSystem.gd
Normal file
@@ -0,0 +1,11 @@
|
||||
class_name CookingSystem extends Node;
|
||||
const CookingGame = preload("res://scripts/Cooking/CookingGame.gd");
|
||||
|
||||
var game:CookingGame = null;
|
||||
|
||||
func getSystems():
|
||||
return get_tree().current_scene.get_node("Systems");
|
||||
|
||||
func setCookingGame(game:CookingGame):
|
||||
self.game = game;
|
||||
print("CookingSystem: CookingGame set");
|
@@ -5,6 +5,7 @@ const QuestSystem = preload("res://scripts/System/QuestSystem.gd");
|
||||
const VNSystem = preload("res://scripts/System/VNSystem.gd");
|
||||
const PauseSystem = preload("res://scripts/System/PauseSystem.gd");
|
||||
const BattleSystem = preload("res://scripts/System/BattleSystem.gd");
|
||||
const CookingSystem = preload("res://scripts/System/CookingSystem.gd");
|
||||
|
||||
var ITEM:ItemSystem;
|
||||
var CUTSCENE:CutsceneSystem;
|
||||
@@ -12,6 +13,7 @@ var QUEST:QuestSystem;
|
||||
var VN:VNSystem;
|
||||
var PAUSE:PauseSystem;
|
||||
var BATTLE:BattleSystem;
|
||||
var COOKING:CookingSystem;
|
||||
|
||||
func _ready():
|
||||
ITEM = $Item;
|
||||
@@ -20,6 +22,7 @@ func _ready():
|
||||
VN = $VN;
|
||||
PAUSE = $Pause;
|
||||
BATTLE = $Battle;
|
||||
COOKING = $Cooking;
|
||||
|
||||
func _process(delta):
|
||||
pass
|
||||
|
Reference in New Issue
Block a user