Commit Graph

52 Commits

Author SHA1 Message Date
378ebcff23 Update the copyright texts for 2021. 2021-04-19 10:13:51 +02:00
aa7e605d65 Fix compile for 4.0. 2021-02-06 11:44:14 +01:00
52cd322c88 Added SpeciesInstance to EntityData. 2020-10-19 12:20:12 +02:00
20811bb740 removed the entity_controller property from EntityData. 2020-10-19 11:53:57 +02:00
83a688f9dc Removed get_entity_type from EntityData, Entity now uses the one from EntitySpeciesData. 2020-10-19 11:48:00 +02:00
ee099a0f0e Moved StatData from EntityData to EntityClassData. 2020-10-18 23:15:09 +02:00
fe16d4573f Moved vendor item data, spell train data, item container data, and craft recipes from EntityData to EntityClassData. 2020-10-18 18:04:15 +02:00
a90d4f997a Removed AIFormation property from EntityData. 2020-10-18 16:20:24 +02:00
743dca09ec Removed the inherits property from EntityData (wasn't exposed to gdscript). 2020-10-18 15:55:14 +02:00
e94aa02506 Removed the notifications from EntityData. And made Entity call into the AI's notifications instead. 2020-06-14 16:23:37 +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
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
94d2ddf73b Moved StatData into EntityData from EntityClassData. 2020-04-29 18:12:09 +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
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
b2d4be96ea Added is_playable property to EntityData. 2020-04-13 22:04:14 +02:00
33bebb19b9 Added spell_train_data property to EntityData. Also fixed up and improved a few other bindings. 2020-03-20 19:20:56 +01:00
4dce51d019 Implemented EntityResources. 2020-03-11 16:08:07 +01:00
a2d4df0c89 Levels are now (properly) separated into class and character levels. 2020-02-19 12:17:10 +01:00
f1490c7543 Organized the data folder's classes into subfolders. 2020-02-03 13:01:17 +01:00
74eb8bcb2f Updated the license header for 2020, also added the license text to the top of the c++ files. Removed a now unneeded, unused file. 2020-01-31 19:34:47 +01:00
c072f69e2a Added quite a few const, and reference qualifiers. 2020-01-31 18:06:43 +01:00
6f3744e2cb Ran clang format on every file, I got used to it working by default in Visual Studio and I forgot about it. 2020-01-09 04:27:19 +01:00
fe6b3224c8 Refactored how entity resources are set up. 2019-11-30 19:26:12 +01:00
6bd6ad4623 Removed the old ai aswell. 2019-11-27 11:14:47 +01:00
675aeaeba2 Reworked the UtilityAI implementation into something that I think will actually be good, and useful. Also intial work on pet support. 2019-11-27 10:54:56 +01:00
d89871f1b4 now the text_name properties use resource's resource_name property to store data. 2019-11-09 17:49:05 +01:00
90e7e0064d Work on AI. 2019-10-31 01:35:29 +01:00
f07afba4ff Added EntitySpeciesData to EntityData. Also bound equipment_data. 2019-10-25 10:38:32 +02:00
1b8f94b818 Added description to EntityData and ENtityClassData. 2019-10-25 10:28:55 +02:00
48470111f3 Standardized resource name and description properties. I left the original properties for now, so upgrading is possible. 2019-10-19 12:12:09 +02:00
d490fa6b61 Added should_deny_equip. 2019-10-13 22:48:25 +02:00
3f586d46d2 Fixed some deserialization <-> setup related issues. 2019-10-13 20:05:03 +02:00
b578d928bd Added equip hooks. And added a non-existent signal. 2019-10-13 13:12:27 +02:00
1c48fc9634 Added craft recipes to EntityData. 2019-10-07 17:17:21 +02:00
435b57337a Added an sspell_cast_success callback. Also the clientside version was finished up. 2019-09-28 17:36:02 +02:00
d16e580bf4 Moved the container and vendor data into it's own classes from EntityData. 2019-09-17 01:14:19 +02:00
0a00a12c32 Split EntityData into EntityClassData, and a new EntityData. 2019-09-17 00:04:37 +02:00
18925ee236 Implemented Bags, and added a InteractionType enum. 2019-09-16 21:57:55 +02:00
db06f601fc Added stat_points_per_level to EntityData. 2019-09-12 22:55:07 +02:00
2c8becc27a Added xp and level based events. 2019-09-12 13:26:52 +02:00
4afc637801 Added 3 data classes. 2019-09-11 15:06:30 +02:00
41d94978e6 Added the money field. 2019-09-11 13:06:04 +02:00
870a1f406c Added the basic interact methods to entity, and EntityData. 2019-09-11 12:54:51 +02:00
39a335e36c Added the new enums into EntityData as well. Also small bug and typo fixes. 2019-09-11 12:26:41 +02:00
008bf34a34 Added 2 more events. 2019-09-11 11:01:30 +02:00
8cc7017351 Removed MobData, and merged it into EntityData. Also cleaned up PlayerCharacterData. 2019-09-09 22:12:04 +02:00