Commit Graph

55 Commits

Author SHA1 Message Date
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
46950b6378 Removed PlayerResourceType getter from EntityClassData as it is not needed anymore. 2020-04-27 17:16:53 +02:00
b2d4be96ea Added is_playable property to EntityData. 2020-04-13 22:04:14 +02:00
f29b01af8b Clang format. 2020-04-10 14:09:21 +02:00
9fa7c23462 Fix build for 4.0. (When 4.0 becomes stable I'll create a branch for it) 2020-04-09 12:32:05 +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
e0d733eb54 Fix android compile. 2019-12-02 21:40:53 +01:00
6a954f3381 Fix typo, and respect the should_process flag. 2019-12-01 01:16:28 +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
70cb694a12 Removed the temp properties. 2019-10-19 12:49:01 +02:00
056f9e0358 More bindings cleanup. 2019-10-19 12:47:30 +02:00
f0aca4afa4 Removed the temporary bindings. 2019-10-19 12:20:59 +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
88d9093996 Various levelling, and serialization related fixes, and improvements. 2019-10-10 00:46:12 +02:00
5c1c47f5ce implemented serialization for EntityDataContainer. 2019-10-08 13:37:08 +02:00
1c48fc9634 Added craft recipes to EntityData. 2019-10-07 17:17:21 +02:00
bbb92b244d Renamed _stat_points_per_level to _spell_points_per_level in entity class data, and added free point counters for both spell points, and talent points into entity. 2019-10-06 18:51:16 +02:00
262e278377 Merged Talent and Skill into Aura. 2019-10-06 18:19:04 +02:00
5afc9d4e08 Cleaned up the talent related functions in entity. 2019-10-06 16:47:03 +02:00
cd2022792b Fixed calling _cans_interact, and _sinteract in EntityData. 2019-10-02 11:22:20 +02:00
435b57337a Added an sspell_cast_success callback. Also the clientside version was finished up. 2019-09-28 17:36:02 +02:00
98e0126e19 Added EntityClassPlaystyleType enum, and removed CharacterWeaponDataTypes. 2019-09-25 12:00:11 +02:00
3d8010f028 Fix warning at startup. 2019-09-17 01:25:59 +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