Commit Graph

428 Commits

Author SHA1 Message Date
46950b6378 Removed PlayerResourceType getter from EntityClassData as it is not needed anymore. 2020-04-27 17:16:53 +02:00
157edcc8d6 Fix xp_data property in the resource db. 2020-04-26 13:29:02 +02:00
85e06a4ca9 Fix typo. 2020-04-26 13:24:07 +02:00
fdcff467f1 Fix 2 typos. 2020-04-26 12:26:23 +02:00
9e64163f61 Fix crash by hiding a property that shouldn't have been visible from the editor. 2020-04-26 12:08:16 +02:00
e3f110a962 Fix typo. 2020-04-26 11:53:48 +02:00
5901fc66d0 Handle invalid/old properties better. 2020-04-25 21:27:26 +02:00
366d2336d5 Updated StatData's properties to use human readable names. 2020-04-25 19:58:29 +02:00
04b8772a1d Removed the MainStat enum. 2020-04-25 19:48:25 +02:00
0f49ea2ea6 Complex level stat data is using the new system now aswell. 2020-04-25 19:48:09 +02:00
9ede69c7b4 Add destructor to simple level stat data. 2020-04-25 19:32:50 +02:00
2c99111860 Entity's character level up uses the new system now aswell. 2020-04-25 19:25:00 +02:00
aa5cec5071 SimpleLevelStatData now uses the new flexible stat system. 2020-04-25 19:24:05 +02:00
f8f7d6bd0d Fix 2 typos. 2020-04-25 19:23:02 +02:00
38de5a7c1a Fix error in binding. 2020-04-25 19:11:45 +02:00
da845cb9df Add stat_is_property to ESS. 2020-04-25 19:02:17 +02:00
7f878a892d The ESS singleton will now create a property version aswell from the given stat enum string. 2020-04-25 18:51:37 +02:00
b3442919de Customizable stats - part 2. Removed the StatId enum. (The main stat enum still nees to be removed.) 2020-04-25 16:50:53 +02:00
c00a604102 Customizable stats - Part 1. The ESS singleton now stores stats, and they can be changed from the project settings. Stuff doesn't use it yet. 2020-04-25 14:38:52 +02:00
384c2530d0 Started implementing _get, _set, and _get_property_list for Entity, because the ability to save them into godot scenes would be really useful. 2020-04-24 23:43:37 +02:00
4615300293 Removed the info parameter of _setup. 2020-04-24 14:56:10 +02:00
909f34af03 Renamed skeleton to body in SpeciesModelData. Now Entity can store transforms, also it now has a few more convenience getters/setters. Also it will try to instantiate the body of an entity if it is set into the species data. 2020-04-24 13:35:30 +02:00
677f138a46 Added a c_is_controller property to Entity. the server will set it to true for the owner if this is the entity they are supposed to control. 2020-04-24 00:43:18 +02:00
49db594f4a Stat and StatModifier are back to being References. I found a better way to go about serializing stats. (Most likely they'll be merged into Entity, this should simplify the background logic aswell, and make it less awkward.) 2020-04-23 18:48:49 +02:00
572c5531ba Cooldown and CategoryCooldown is also a resouce now. 2020-04-23 12:28:18 +02:00
5f97b2d97a AuraData is a Resource now aswell. 2020-04-23 12:17:33 +02:00
9f5248b297 Stat and StatModifier is also a resource now. Stats are not yet exposed as properties, as they need a bit of rework to work properly this way. 2020-04-23 12:13:56 +02:00
6d65814169 Bag is now a resource. 2020-04-23 11:53:00 +02:00
a3f5c4ffbe Hide Entity's clientside properties, and Entity based properties from the inspector. Also fix a waring. 2020-04-23 11:50:06 +02:00
2f49f2360e Add missing class to config.py, also sync classref with current source. 2020-04-20 17:36:36 +02:00
da2a116426 Convert saving learned spells and recipes to use paths aswell. 2020-04-19 18:42:11 +02:00
178c2bf921 Fix typo. 2020-04-19 18:22:11 +02:00
457514cb39 Also update ESDragAndDrop to use resource paths. 2020-04-19 18:22:05 +02:00
5e2e58a07c Added a few const qualifiers. 2020-04-19 17:50:19 +02:00
db04b24273 ActionBarButtonEntry now also uses StringNames of resource paths instead of ints. 2020-04-19 17:47:14 +02:00
fa8f38fa5d Class profile now also uses resource paths instead of ids. 2020-04-19 17:41:42 +02:00
1893598fc3 Fix typo. 2020-04-19 17:32:51 +02:00
089c854c9e Now resource paths are used instead of ids for save files. (They are converted back on load - ids are better for networking) This makes remapping resource ids possible, which makes creating modules (and later mods into zips or pcks) simple. 2020-04-19 17:15:36 +02:00
246f8178eb Added hashmaps to ESSResoruceDB to easilz convert between ids and resource paths. 2020-04-19 12:26:27 +02:00
67395b3d35 Separated the data storage out from ESSResourceDBFolders into a new ESSResourceDBMap class. 2020-04-18 22:47:20 +02:00
875189d3d8 Fix a few profile defaults. 2020-04-18 21:25:22 +02:00
b5ed3b16c8 Improvements to the EssResourceDB's api, also add a missing bind to the ESS singleton. 2020-04-18 20:33:55 +02:00
6c9bea09bc Added a new class ESSEntitySpawner. It is a resource. This will make setting up entity spawning a lot less painful. Also the module will be able to contain a few built in solutions. An instance is available from the ESS singleton (can be set, or loaded/automatically loaded). Also fixed a few smaller issues with saving/loading. 2020-04-18 14:31:36 +02:00
5b14bf40bd Add missing classes to config.py. Also sync classref to the current source. 2020-04-18 02:33:42 +02:00
0f823f4206 Split ESSResourceDB into 2 classes and a base class. 2020-04-15 00:24:12 +02:00
5537bbe713 Fix build on master. 2020-04-14 17:46:35 +02:00
d5fa8c67bf Add the new resource db to config.py, and sync classrefs. 2020-04-14 16:57:34 +02:00
4935de4c5f Rename the EntityDataManager singleton to just simply ESS. 2020-04-14 16:55:21 +02:00
3cb26816d2 Moved the data out from EntityDataManager into a new ESSResourceDB class (Resource). The DataManager now stores an instance of this new resource instead. 2020-04-14 16:46:24 +02:00
d8ea28e221 Started reworking EntityDataManager's API, to make resource loading easily scriptable. 2020-04-14 14:15:38 +02:00