Commit Graph

457 Commits

Author SHA1 Message Date
e033d5a988 Clean ups to StatData. 2020-05-02 01:42:44 +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
65f0d3e7b3 Removed more things. 2020-04-30 15:32:02 +02:00
a53d7d2eb7 A change got left out. 2020-04-30 14:17:41 +02:00
58b318b9f4 Stat simplification/rework - Part 1. Stats doesn't work yet! Removed StatModifier, and initial Stat api simplification/cleanup. 2020-04-30 14:17:18 +02:00
085890cd15 Clenaups to Stat. 2020-04-30 11:19:45 +02:00
cbac91ae1e Cleaned up StatDataEntry. 2020-04-30 00:17:01 +02:00
94d2ddf73b Moved StatData into EntityData from EntityClassData. 2020-04-29 18:12:09 +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
e3eeb581c4 Updated a few more signals. 2020-04-28 11:58:56 +02:00
90ad406d73 A bit of cleanup for the new api. 2020-04-28 11:44:47 +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
8d680240ea Now health and speed are both considered EntityResources. They'll have automatic setup a bit later. If this system works out well Stats will be cleaned up, and simplified. 2020-04-27 18:37:43 +02:00
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