Commit Graph

216 Commits

Author SHA1 Message Date
d20419621d Character, and Class levels are now customizable through ProjectSettings. 2020-05-19 02:19:23 +02:00
9fd0c23f5b Fix compile for 4.0. 2020-05-16 21:32:33 +02:00
b97bf3a767 Merged Stat into Entity. 2020-05-01 17:15:44 +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
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
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
1afc3511f8 Same to the global cooldown related methods. 2020-04-28 14:24:05 +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
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
909f34af03 Renamed skeleton to body in SpeciesModelData. Now Entity can store transforms, also it now has a few more convenience getters/setters. Also it will try to instantiate the body of an entity if it is set into the species data. 2020-04-24 13:35:30 +02:00
089c854c9e Now resource paths are used instead of ids for save files. (They are converted back on load - ids are better for networking) This makes remapping resource ids possible, which makes creating modules (and later mods into zips or pcks) simple. 2020-04-19 17:15:36 +02:00
4935de4c5f Rename the EntityDataManager singleton to just simply ESS. 2020-04-14 16:55:21 +02:00
3cb26816d2 Moved the data out from EntityDataManager into a new ESSResourceDB class (Resource). The DataManager now stores an instance of this new resource instead. 2020-04-14 16:46:24 +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
5a7ae51778 Added SpellFollowProjectile3D class. (just a skeleton for now). Renamed the delay_* parameters form yesterday to projectile_*. 2020-04-07 13:10:42 +02:00
bfd7bdcf42 Removed WorldSpell. Added a few properties into Spell that will replace it. 2020-04-07 02:10:10 +02:00
4dce51d019 Implemented EntityResources. 2020-03-11 16:08:07 +01:00
f3073c48e6 Added a few methods for spell heals. 2020-03-10 15:32:16 +01:00
0bf97e57da Now the default value for the spell scaling variable in spells, and auras (just added it) is a project setting. 2020-03-10 13:24:14 +01:00
3e10779dbc Updated old style getters/setters to use the new style. E.g. sget_ -> gets_. 2020-02-26 21:20:54 +01:00
a3dda3035f Fix compile. 2020-02-26 21:15:36 +01:00
2486590bd3 LootDataBase should be a lot more usable from now. 2020-02-26 21:05:39 +01:00
ceb71f56d4 Added similar api to Items. And fix typo. 2020-02-26 17:24:11 +01:00
a040f946fc Added the same api to Auras. 2020-02-26 16:57:17 +01:00
58e62da501 Spell's get_description can now replace some words with value of it's properties. e.g. "%%cast_cast_time " (not the whitespace at the end) will be replaced to the value stored in cast_cast_time. This value can scaled with class level like %#cast_cast_time, and with character level like %$cast_cast_time. Also made get_description overrideabe from scripts. And bound text_translation_key. 2020-02-26 16:49:52 +01:00
89c558d1ba Started working on proper spell tooltip description support, and translation. 2020-02-26 13:05:57 +01:00
581127cde5 Now entity also stores the class level, and class xp. Added separate class and character xp properties to EntityCreateInfo aswell. Standardized the remaining methods in XPData. 2020-02-20 12:18:55 +01:00
a2d4df0c89 Levels are now (properly) separated into class and character levels. 2020-02-19 12:17:10 +01:00
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