Commit Graph

91 Commits

Author SHA1 Message Date
18cf024cc5 now an entity can by itself interact, it does not need an EntityData. Useful for opening simpler custom entities, that just open guis. 2019-10-06 00:10:36 +02:00
fa4749f28d Fixed small mistakes in player's serialization, and deserialization. 2019-10-04 22:55:46 +02:00
7629584851 Cleaned up Stat's constructors. 2019-10-04 22:55:09 +02:00
7c6cb26aba Implemented looting. 2019-10-02 13:23:04 +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
fc35baf69f Fixed the arguments for a few script virtual callbacks. 2019-09-28 15:23:21 +02:00
d8d2ce895e Fix crash. 2019-09-28 01:04:26 +02:00
bcbc83596a Improved the targeting signals, and callbacks in entity. 2019-09-27 18:05:43 +02:00
d8f702dfb8 Added a mouse entered, and exited signal aswell. 2019-09-25 16:31:28 +02:00
3b1028ddf4 Added mouseover callbacks. 2019-09-25 12:59:21 +02:00
98e0126e19 Added EntityClassPlaystyleType enum, and removed CharacterWeaponDataTypes. 2019-09-25 12:00:11 +02:00
1d317c56b7 Now entity properly calls unref, on spell cast fails. 2019-09-24 15:18:35 +02:00
081750d4af Include guard fix. 2019-09-24 02:04:41 +02:00
6074b75ec3 Property style cleanup, and added an entity name changed signal. 2019-09-17 15:35:03 +02:00
5e68f551a3 Cleaned up the talent-related functions in entity. 2019-09-17 14:06:41 +02:00
bd6d2cfde5 Added a _canc_interact vmethod as well. 2019-09-17 02:17:47 +02:00
4aad057925 Added a few remaining things required for entity interactions. 2019-09-17 02:14:24 +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
f3a9a9e14a Added LevelStatData classes. 2019-09-16 03:13:52 +02:00
e0183a53c6 More from_dicts. 2019-09-14 20:44:50 +02:00
8cafa3bf7d Crash fix. 2019-09-14 02:58:02 +02:00
40ab1c9c00 Simple from_dict implementation. 2019-09-14 01:56:57 +02:00
62b5df080a More work on entity serialization. 2019-09-13 15:21:07 +02:00
7756cf51ec Work on serialization. 2019-09-13 09:26:53 +02:00
f036bf449b Added Spell learning, and Skill support into Entity. And added an XP Rate stat. Also the levelup, and xp gain signals are now actually called. 2019-09-13 01:23:28 +02:00
99be4306ce Added EntitySkill. 2019-09-13 00:23:39 +02:00
1a6bbf5016 Removed FactionComponent. 2019-09-12 23:52:11 +02:00
add4ab2b51 Removed the old (uncleaned) spell data related classes. 2019-09-12 23:45:28 +02:00
db06f601fc Added stat_points_per_level to EntityData. 2019-09-12 22:55:07 +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
cfb2373fd1 Added locked property to Stat. Also fixed a bunch of smaller errors. 2019-09-11 18:18:20 +02:00
7fbb0c4599 Fixed compile. 2019-09-11 17:24:22 +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
4bf99ac12d Fix uninitialized variables. 2019-09-11 11:30:29 +02:00
50062d8ad4 Added properties from the new enums into entity. 2019-09-11 11:25:52 +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
e1c83586a7 EntityData now has a parent EntityData property, for reusing parts of an another one. 2019-09-09 20:36:15 +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
396c49542c Finished up the previous change in CharacterClass. Added some temporary comments. 2019-09-08 23:10:22 +02:00
7640ff7884 Now The aura's added, and removed clientside signals are also called properly. 2019-09-08 00:02:21 +02:00