Commit Graph

182 Commits

Author SHA1 Message Date
e16c021ac8 Added bindings for item use support, and marked quite a few methods/arguments as const. 2020-02-19 09:11:36 +01:00
aee1e1f8cf Added SpeciesInstance, it can store an entity's look setup (like hair index etc.). Also added SpeciesData loading/storing into EntityDataManager. 2020-02-03 16:13:42 +01:00
fceecac17c Moved the atlases folder into data aswell. 2020-02-03 13:03:33 +01:00
f1490c7543 Organized the data folder's classes into subfolders. 2020-02-03 13:01:17 +01:00
5ea00de13e Ported a few of Entity's virtual methods from BrokenSeals. Started reworking spawning, and Entity initialization. Moved the singletons into a new singletons folder, and renamed the profile_manager folder to profiles. 2020-02-03 11:56:52 +01:00
29a26d9774 Fix duplicate binding. 2020-02-01 02:39:53 +01:00
7976706157 Ported the spell and aura script from BrokenSeals. Also small work on WorldSpell. 2020-02-01 02:37:10 +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
6b2c97df9a Fix a few small issues with spell's bindings. 2020-01-06 14:29:13 +01:00
4a166becf4 Started porting code from Broken Seals. 2020-01-02 00:14:29 +01:00
52fb82506a Fix 2 typos. 2019-12-29 16:38:25 +01:00
47da2d28b1 Added bindings for dispells into Spell, and Aura. Cleaned up Spell's scaling bindings. The AuraTypes enum can now be used as flags aswell. Unified has_global_cooldown like bindings. 2019-12-29 01:58:25 +01:00
1c96daba5f Proper doc setup. 2019-12-25 14:08:01 +01:00
e9a7a92fb2 Moved MeshDataResource to it's own module. This module will now detect it's presence. 2019-12-20 16:13:33 +01:00
897c051982 Cleaned up spell's Projectile, and aoe binds. 2019-12-13 09:37:12 +01:00
251f9e6e2a Added a son_physics_process callback to spells, spell scripts can register for it in entities. 2019-12-12 16:44:43 +01:00
7f3b1eecdd Merged SpellProjectile and WorldEffect into a new WorldSpell class. 2019-12-09 21:23:57 +01:00
fcf23281e8 Small fixes. Improved the usability of XPData. 2019-12-02 19:14:40 +01:00
905da5161e Moved the EntityDataManager into a new autoloads subfolder. 2019-12-01 22:56:53 +01:00
e57c0ef30e Moved in-world spell related classes into a different folder. 2019-12-01 21:21:51 +01:00
8c11a22209 Added EntitySkillData. 2019-12-01 18:00:09 +01:00
abb564acdc Resources should work in multiplayer now, also work on bindings. 2019-12-01 00:24:38 +01:00
992d0672f9 Fixed sending item count changes to the client. Also added the stack_size_changed signal to ItemInstance. 2019-11-29 10:16:59 +01:00
7a0e861c7d Fix compile. 2019-11-11 21:41:28 +01:00
79a82810b5 Fixed serializing caster's path as ".". 2019-11-11 00:46:31 +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
d2c29095bb Added gender enum, and added it to ItemVisualEntry. 2019-11-03 22:39:19 +01:00
81d5e867ab Fix bindings. 2019-11-01 23:40:54 +01:00
0bdf6652a6 Better/Different AuraGroup implementation. 2019-11-01 22:07:56 +01:00
056791b313 Improved the design a bit, implemented serializing SpellDamageInfo, and SpellHealInfo. Also fixed a crash. 2019-10-29 18:12:15 +01:00
e267217b84 Removed the now unneeded CharacterSkeletonVisualEntry, and it's related properties/classes. 2019-10-26 15:28:58 +02:00
952bbb113d Small cleanups. 2019-10-26 15:13:04 +02:00
82893c5a61 Restored EquipmentDataEntry. 2019-10-24 22:25:25 +02:00
be520eb184 Compile fix. 2019-10-24 22:12:11 +02:00
dba901cc9e Started implementing switchable equipment. 2019-10-24 22:06:47 +02:00
b0ce9818c1 Renamed DataManager to EntityDataManager. Also moved it to the root of the project. 2019-10-19 13:21:21 +02:00
df0aeb715f Removed the commented out transpiled code from aura.cpp. 2019-10-19 12:50:06 +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
e463b32f87 Removed the property with the typo. 2019-10-19 12:34:32 +02:00
1c0e999bac Typo fix. 2019-10-19 12:29:39 +02:00
f0aca4afa4 Removed the temporary bindings. 2019-10-19 12:20:59 +02:00
1081f48cff Fix Typo. 2019-10-19 12:15:12 +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
1334cf5b75 Added name to a few resources. 2019-10-17 21:42:01 +02:00
e2aabbf150 Improved XPData's bindings. 2019-10-16 13:28:16 +02:00
53c66c2136 Small logic fixes. 2019-10-16 02:33:26 +02:00
d490fa6b61 Added should_deny_equip. 2019-10-13 22:48:25 +02:00
051aef3659 Added required_skills, and armor type to Itemtemplate. 2019-10-13 22:00:41 +02:00
3f586d46d2 Fixed some deserialization <-> setup related issues. 2019-10-13 20:05:03 +02:00
885504c864 Added the new classes to the build. Also small fixes. 2019-10-13 19:39:11 +02:00
21b8d432e0 Added EquipmentData. 2019-10-13 15:21:28 +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
f12640dbcc implemented serialization for ItemInstance. 2019-10-07 19:19:34 +02:00
f3f019b5cb Added teaches_craft_recipe to spell. 2019-10-07 18:29:25 +02:00
3fc6579aee Renamed CraftDataAttribute into CraftRecipe. Also added a few more crafting categories. 2019-10-07 15:25:36 +02:00
26ba90a9d3 implemented equipslots. 2019-10-07 00:29:05 +02:00
262e278377 Merged Talent and Skill into Aura. 2019-10-06 18:19:04 +02:00
f819668ab0 Removed spell's next rank member, and a bit more work on the talent management functions. 2019-10-06 17:18:44 +02:00
0d294e89cd Cleaned up Talent a bit. 2019-10-06 17:04:28 +02:00
fa4749f28d Fixed small mistakes in player's serialization, and deserialization. 2019-10-04 22:55:46 +02:00
915e6fb3b4 Fix warning. 2019-09-28 22:06:11 +02:00
d269ebb51a Fixed a few potential crashes. 2019-09-28 21:46:13 +02:00
435b57337a Added an sspell_cast_success callback. Also the clientside version was finished up. 2019-09-28 17:36:02 +02:00
a4554f5bf7 -Removed the fail cond from Bag::get_item.
-Removed the bag include from item template.
2019-09-27 16:35:55 +02:00
f337ab57c4 Cleaned up ItemInstance, and ESDragAndDrop a bit. Reenabled AISpellActionContainer and fixed android build with it. 2019-09-27 00:49:21 +02:00
18925ee236 Implemented Bags, and added a InteractionType enum. 2019-09-16 21:57:55 +02:00
2578bbb0ba Added training related data. 2019-09-12 23:43:53 +02:00
d87668f779 Now caster aura apply, and target aura apply in Spell are done using Arrays. Also added a new array "Apply Auras On Learn". 2019-09-12 23:28:18 +02:00
e65b2f4ecb Added SpellCategory to Spell. Also removed the old commented out code from Spell. 2019-09-12 23:06:24 +02:00
d5d38aea1c Added a few spell and aura arrays to ItemTemplate, added a new enum, and fixed compile. 2019-09-12 22:45:29 +02:00
aadb56411a Added skills. 2019-09-12 18:22:50 +02:00
d6f7c7aee2 Datamanger now loads the xpdata as well. 2019-09-12 15:05:42 +02:00
544aa45a80 Bindings for XPData. 2019-09-12 14:40:57 +02:00
2c8becc27a Added xp and level based events. 2019-09-12 13:26:52 +02:00
d50a8748f6 Added a price field for ItemTemplate. 2019-09-11 18:36:05 +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
6a4d0be1d5 Fix search and replace fail. 2019-09-09 15:50:39 +02:00
ca2fe9a6c4 Renamed CharacterClass to EntityData. Also moved it around, with a few related classes. 2019-09-09 14:26:18 +02:00
2b45d35cf7 Fixed uninitialized variables in Spell. 2019-09-09 01:55:37 +02:00
627ec8613f Now CharacterSpec also uses variant vectors for the inspector. 2019-09-09 01:48:14 +02:00
3201488ac4 Added 3 AIAction classes, also added an array for them into CharacterClass. 2019-09-09 01:28:29 +02:00
396c49542c Finished up the previous change in CharacterClass. Added some temporary comments. 2019-09-08 23:10:22 +02:00
e070031073 Started reworking CharacterClass to use variant vector properties. 2019-09-08 21:26:05 +02:00
1f83d7ac6c Fixed uninitialized variable. 2019-09-08 15:33:25 +02:00
c6b50a2c66 Added a bunch on new classes (Visual related). Moved some of the bindings around. 2019-08-26 20:10:26 +02:00
c483fa38d6 The ItemVisual and ItemVisualEntry is a resource now. 2019-08-24 16:17:58 +02:00
9267eb3fd9 Added a simple itemVisual class, and an ItemVisualEntry Class. 2019-08-24 15:53:56 +02:00
3cce6b0ae8 -Talent is now inherited from Aura.
-Cleaned up the talent system specific classes.
-The ResourceManager now loads talents aswell.
-Cleaned up, and made the EntityResource system scriptable.
-Fixed the stat signals, the stat parameter was null every time. ("this" should've been wrapped in a Ref.)
2019-08-13 23:58:42 +02:00
1ae265a171 -Implemented MobData, and playerCharacterData.
-Also added them to the data manager.
2019-08-09 13:18:09 +02:00
baec5b1091 Added data classes for loot. Also added MobData, and PlayerCharacterData files (placeholder). 2019-08-09 02:10:08 +02:00
e6e717719b More getters, setters, and a small fix. 2019-08-07 02:46:23 +02:00
895525a998 Work on fleshing out the inventory system. 2019-08-07 01:54:59 +02:00
38b155d4ad -Moved StatModifier from Stats to it's own file. Also updated i.
-Removed the old, now unneeded SpellCastData stuff from Entity.
-Small interface fixed to stat, also fixed applying and deapplying modifiers.
-Fixed AuraStatAttribute's bindings.
-Made the aura commands a little more intuitive.
-Added gcd callback bindings.
-Has Global Cooldonw in spell is now defaults to true.
-Small binding fixes.
2019-08-05 23:59:37 +02:00
c3828efe05 A lot of work, mostly on the entity bindings. Added a lot of callbacks, and fixed a few bugs. 2019-08-05 01:36:33 +02:00
4f3c21a0cf Added the aura callbacks into the CharacterClass, and Entity, so they can be scripted via GDScript. Entity calls everything as needed.
Also added death events, and callbacks.
2019-08-04 19:13:00 +02:00