Added a description and a dependencies property to game module.

This commit is contained in:
Relintai 2022-01-26 17:46:44 +01:00
parent 1ab2e6bd62
commit 1a509a9751

View File

@ -2,6 +2,10 @@ extends Resource
class_name GameModule class_name GameModule
export(bool) var enabled : bool = true 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 export(ESSResourceDB) var resource_db : ESSResourceDB