Commit Graph

355 Commits

Author SHA1 Message Date
affacaea58 Added change notifications to ProfileManager, and it's data classes. Also added option "automatic save" for the ProfileManager (still needs some work). 2020-03-18 03:04:50 +01:00
9cc99bbc27 Added a few setting to EntityDataManager for levelling. 2020-03-17 22:35:29 +01:00
3367f3bc96 Fix missing break. 2020-03-15 19:33:31 +01:00
bff7b220c4 Fix uninitialized variable. 2020-03-12 13:48:11 +01:00
b66de0a894 Removed the UnitFrame class, as it was only a placeholder class. 2020-03-11 16:36:23 +01:00
4dce51d019 Implemented EntityResources. 2020-03-11 16:08:07 +01:00
3686150a44 Rename max property in EntityResource, as it is a gdscript method. Also renamed the current property, for consistency. 2020-03-10 16:03:23 +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
a53115e26f Removed outdated information from Readme.md. 2020-03-09 00:35:48 +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
c5c0f2cddd Added support for item spells. 2020-02-25 14:00:55 +01:00
7666d11b2d Add use spell points setting. 2020-02-21 11:56: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
9d3bd194ee Added support for Entity relations. 2020-02-19 08:39:30 +01:00
a73f61628b Added deferred versions of request_world_spell_spawn, and request_world_spell. 2020-02-16 16:17:19 +01:00
0bdf71c431 Remove duplicate line. 2020-02-09 21:55:23 +01:00
0fcaa49641 Fix uninitialized variable. 2020-02-08 03:09:25 +01:00
dc23652f70 Add a WorldSpell property to SpellCastInfo. 2020-02-07 23:25:15 +01:00
d33a499847 Bind the ported methods in Entity. 2020-02-03 18:12:59 +01:00
ae725a22f8 More work on the new spawning system. 2020-02-03 18:01:43 +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
1704caafc8 Added more properties for EntityCreateInfo. 2020-02-02 18:17:22 +01:00
4d3bbdb4df Added an entity spawning request, and a world spell spawning request into EntityDataManager. This way actual spawning is easily scriptable. 2020-02-02 02:44:37 +01:00
26c638881b ProfileManager is now a singleton, and fixed automatic loading in EntityDataManager. 2020-02-01 15:38:46 +01:00
5f5cdac043 Made EntityDataManager a proper registered singleton. Also removed a double. 2020-02-01 11:17:24 +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
e03146759c Work on the bindings for pet support. 2020-01-05 02:17:02 +01:00
bf28679b95 Fix performance issue with the AI. 2020-01-04 13:27:45 +01:00
413031fb3c Now the module can be built as a shared library. This doesn't work on windows (at least it didn't a while ago when I tried it). 2020-01-03 15:52:26 +01:00
6aa2df4647 Now both Entity, and WorldSpell inherit from Node, this complicates the setup by a tiny bit (Entity's body property needs to be assigned), but now the module will work in both 2D, and 3D. Also removed the compile time option. 2020-01-02 22:56:24 +01:00
4a166becf4 Started porting code from Broken Seals. 2020-01-02 00:14:29 +01:00
5c503af08e Fix some underlines. 2019-12-30 16:24:56 +01:00
70ca5ed700 First draft documentation for bags, and crafting. 2019-12-30 13:01:10 +01:00