Commit Graph

167 Commits

Author SHA1 Message Date
f2d35f8b2c Bit more work on fixing the crash. Haven't yet found the culprit. Fortunately it's only crashing sometimes. 2020-06-18 20:47:02 +02:00
4405178f06 (Hopefully) fixed the crash that sometimes occurs on scene changes. 2020-06-18 13:38:23 +02:00
712accde54 Properties for cooldowns, and category cooldowns. 2020-06-15 13:40:12 +02:00
924e258d33 Property for datas. 2020-06-15 13:23:43 +02:00
f13dff0dfd Also added a property for spells. 2020-06-15 13:18:07 +02:00
cd0acdf329 Property for serverside craft recipes. 2020-06-15 13:12:50 +02:00
c809b04ba8 Also added properties for all class talents and character talents. 2020-06-15 13:05:14 +02:00
4d7983b6fc Added a property for serverside auras aswell. 2020-06-15 12:47:08 +02:00
f7847dfafc Also added a property for serverside skills. 2020-06-15 12:34:35 +02:00
545bd9b4de Added an PoolIntArray based property for server side states. Also fixed a few states specific properties. 2020-06-15 12:22:39 +02:00
827d67cca0 Added a getter and setter for all EntityResources into Entity. 2020-06-15 11:59:33 +02:00
503481924f Added sgcd, and cgcd properties. 2020-06-15 11:48:22 +02:00
fb3a5cde04 Removed the Cooldown and the CategoryCooldown classes. Entity now stores these with a small internal struct. The notifications are not all perfect, but I'm going to rework them a bit in the next few commits, and they will be fixed then. 2020-06-13 21:51:28 +02:00
64cb83c543 Remove TalentRowData from config.py, also removed a now unneeded forward declaration. 2020-06-05 17:51:07 +02:00
55fafecc9d Now Entity has class and character talents. 2020-06-04 12:46:38 +02:00
d063f8da28 Rename both ESS::get_instance, and ProfileManager::get_instance to <class>::get_singleton, to match Godot's standard. 2020-05-23 16:29:47 +02:00
7bbca9ae89 Centralized most of the 4.0 port code into a new header. 2020-05-22 20:48:08 +02:00
18f3095832 Removed the EntityGender enum. Now everything uses plain int model indexes. 2020-05-20 20:38:10 +02:00
69c6af4882 Removed the EntityTypes enum. 2020-05-20 11:51:05 +02:00
b1efeb662a EquipSlots are now customizable from the ProjectSettings. 2020-05-19 18:58:01 +02:00
9fd0c23f5b Fix compile for 4.0. 2020-05-16 21:32:33 +02:00
c3a1bc4503 Fix initial value of EntityStat's percent. 2020-05-02 23:52:21 +02:00
760254b7b1 Added a new convenience stat setter. 2020-05-02 01:54:12 +02:00
ca07679be1 Implement the new setters in Entity, and also bind the new methods. 2020-05-01 18:06:20 +02:00
b97bf3a767 Merged Stat into Entity. 2020-05-01 17:15:44 +02:00
a53d7d2eb7 A change got left out. 2020-04-30 14:17:41 +02:00
19fd2ea109 Added an _initialize vmethod to entity, this makes the health and speed resources customizable. 2020-04-29 01:25:02 +02:00
38d6181469 Now health and speed are automatically allocated in Entity, the resource management methods have been adjusted to ignore them (they can be removed, and or replaced deliberately though). 2020-04-29 01:05:31 +02:00
bebab39f34 Added a simple Speed and Health resource. 2020-04-28 23:54:23 +02:00
2c47f9f550 Standardized notification methods to have the "notification" prefix, instead of the "on", and changed the naming a bit. This makes them stand out inside the docs, and it's easier to get completions for them while using the api. 2020-04-28 20:47:34 +02:00
0a9d4d3c72 Few more renames. 2020-04-28 19:03:17 +02:00
8864cdee06 Even more renames. 2020-04-28 19:01:46 +02:00
f1e38e5a2a More renames. 2020-04-28 16:50:26 +02:00
37660951ca More renames. 2020-04-28 16:39:42 +02:00
86aaf2eaf5 More renames. 2020-04-28 16:17:54 +02:00
9be4cba706 Same treatment to aura related methods. 2020-04-28 16:07:36 +02:00
68a6256e67 Converted more methods. 2020-04-28 15:58:20 +02:00
a5fb39a002 Same treatment to the crafting related methods. 2020-04-28 15:41:48 +02:00
1afc3511f8 Same to the global cooldown related methods. 2020-04-28 14:24:05 +02:00
c28fbd155b Same treatment to entity_resource related methods. 2020-04-28 13:10:57 +02:00
62d3928ced Equpiment-related methods now start with the equip keyword. 2020-04-28 12:31:03 +02:00
06283f3768 Same api cleanup to the clientside versions of the methods. 2020-04-28 03:09:26 +02:00
d110b3368f Moved cast, damage, heal and aura related serverside events into combined events to work similarly as notifications in Node. This makes creating events like these possible from scripts. (The rest will be converted aswell.) 2020-04-27 21:30:59 +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
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
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
0f823f4206 Split ESSResourceDB into 2 classes and a base class. 2020-04-15 00:24:12 +02:00