From 1a509a97514664c614f0e332d623e0855e6860f9 Mon Sep 17 00:00:00 2001 From: Relintai Date: Wed, 26 Jan 2022 17:46:44 +0100 Subject: [PATCH] Added a description and a dependencies property to game module. --- game/scripts/game_modules/GameModule.gd | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/game/scripts/game_modules/GameModule.gd b/game/scripts/game_modules/GameModule.gd index d6b0629e..ddc5071e 100644 --- a/game/scripts/game_modules/GameModule.gd +++ b/game/scripts/game_modules/GameModule.gd @@ -2,6 +2,10 @@ extends Resource class_name GameModule export(bool) var enabled : bool = true +export(String) var description : String = "" +# You can put onther game modules (path) here, so it's easier to tell when a module depends on an another +# It's for humans at the moment +export(PoolStringArray) var dependencies : PoolStringArray = PoolStringArray() export(ESSResourceDB) var resource_db : ESSResourceDB