Commit Graph

530 Commits

Author SHA1 Message Date
20aabfda70 ItemInstance now has a stat_modifiers property. 2020-06-20 20:59:03 +02:00
1946fd96a4 Use resource's built in changed signal in EntityResource, instead of a custom one. 2020-06-20 16:10:52 +02:00
d3951436bd Removed a few forgotten debug lines. 2020-06-20 15:44:55 +02:00
927e1d5b14 Fix error in console if you have 0 bone attachments in the ProjectSettings array. 2020-06-20 15:37:00 +02:00
94e9a2c02e Removed EntityResourceData. Now EntityResources just get duplicated. 2020-06-20 15:26:21 +02:00
54bd0ff16b Don't set the entity data twice if an Entity is deserialized. 2020-06-18 21:32:37 +02:00
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
2acdb0f6d7 Also add common points for shields. 2020-06-16 18:43:21 +02:00
8df57415dc Add 2 more weapon entries to the CommonCharacterSkeletonPoints enum. 2020-06-16 17:36:07 +02:00
c3ac4bf02a Added a type property to ModelVisualEntry, also it now hides the irrelevant properties based on it's type. Implemented handling of the attachment ModelVisuals in CharacterSkeleton3D. Also Small api change to CharacterSkeleton3D. 2020-06-16 15:53:33 +02:00
e93b99079d Added common weapon attach points. 2020-06-16 15:11:55 +02:00
3bafbe596e Removed the CharacterSkeletonPoints enum. 2020-06-16 13:50:44 +02:00
29e07fd649 Now the entries also use the bones from the project setting in Character Skeleton 3D. 2020-06-16 13:46:02 +02:00
68a674da8c Reimplemented attach points into CharacterSkeleton3D. Also added the CommonCharacterSkeletonPoints enum into EntityEnums, and a customizable skeleton bone attachment points string array into the ProjectSettings, and ESS singleton. 2020-06-16 13:38:33 +02:00
022775d916 Now CharacterSkeleton3D will actually use the bone from the VisualEntry itself. 2020-06-16 11:38:56 +02:00
e82dca60f8 Cleaned up the properties exposed inside the inspector for Entity. The properties can be brought back with a debug define. (They do get serialized though!) 2020-06-15 14:47:28 +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
adf0f3b715 Removed the client side notifications from EntityAI. 2020-06-14 16:27:09 +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
dc452d3937 A few more notifications in Entity are also macro based now. 2020-06-14 10:42:58 +02:00
a1a4a9c7d2 Temporarily added back start_casting into EntityClassData. 2020-06-13 23:17:03 +02:00
316d75d344 Started replacing notification logic in Entity with macros. 2020-06-13 23:13:05 +02:00
548a1155ad Moved a few emit signals into the notification methods. 2020-06-13 22:26:19 +02:00
3f577d0fbb Also remove Cooldown and CategoryCooldown from config.py. 2020-06-13 22:21:45 +02:00
b4a6153d13 Updated the remaining vmethod signatures. 2020-06-13 22:21:23 +02:00
d3b3ae66a8 Added all of the event handlers to EntityAI. 2020-06-13 22:16:25 +02:00
1b461657d2 Removed the event handlers from EntityClassData as the AI's design have changed since I set it up like this. 2020-06-13 22:03:33 +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
6a27714c5c Implemented _get, _set for equipment. 2020-06-13 19:49:00 +02:00
af9109d788 Fix duplicate signal. 2020-06-13 18:51:54 +02:00
10bae15bdb SpellCastInfo, EntitySkill, EntityResource, EntityDataContainer, and ItemInstance are now Resources, so Godot will be able to serialize them with Entity. 2020-06-13 18:33:51 +02:00
68443b835c Reworked SpeciesModelData's interface. 2020-06-12 15:13:31 +02:00
62586d9112 Hide the trigger properties in Aura from gdscript. 2020-06-07 15:03:09 +02:00
cb0b8271e1 ItemInstance now also stores stat modifier data like ItemTemplate. 2020-06-07 14:55:39 +02:00
2d2629ba09 Converted the stat modifier related functions in ItemTemplate, and ItemInstance to the new style. Also ItemTemplateStatModifier is now a struct in ItemTemplate. 2020-06-07 00:50:24 +02:00
e3be2555d2 The diminishing return categories are now customizable. 2020-06-06 18:06:30 +02:00
8ed462ece2 Also reworked how AuraStatAttributes are stored. 2020-06-06 16:55:14 +02:00
598d02022a Reworked how aura trigger data is stored. The trigger logic is not yet implemented (soon), but it will be mostly trivial to do at this point. Also changed the stat attribute mod functions in aura to the new style. 2020-06-06 16:26:21 +02:00
6a3716bc42 comvert quite a few more getters/setters to the newer style. 2020-06-05 19:40:53 +02:00
64cb83c543 Remove TalentRowData from config.py, also removed a now unneeded forward declaration. 2020-06-05 17:51:07 +02:00