Commit Graph

641 Commits

Author SHA1 Message Date
01ca6911a9 * Pets are now saved on logout and spawned with the player on login
* Pets now teleport to their owner when they are too far away from them
* Limited the animals that can be tamed to `QuadrupedLow` and `QuadrupedSmall` to prevent players taming overly powerful creatures before the pet feature is further developed
* Added `Pet` component used to store pet information about an entity - currently only used to store the pet's database ID
* Added `pet` database table which stores a pet's `body_id` and `name`, alongside the `character_id` that it belongs to
* Replaced `HomeChunk` component with more flexible `Anchor` component which supports anchoring entities to other entities as well as chunks.
2021-07-28 22:36:41 +00:00
Sam
f164d6036e Made swapping equipped weapons a server event instead of being called in common to prevent server-client desyncs. 2021-07-25 18:30:17 -05:00
70d0840e96 Resolve unused '#[allow(clippy::unnecessary_wraps)]' error supressions 2021-07-24 20:14:26 +02:00
1ac3d1b761 Resolve unused '#[allow(clippy::same_item_push)]' error supressions 2021-07-24 20:08:08 +02:00
c16c83063f Reduce duplicate storage fetching since it has overhead 2021-07-18 15:09:37 -04:00
fafb344404 Adds a liveness check for mounting 2021-07-18 15:04:02 -04:00
b15f426ee5 Resolve all approved error supressions 2021-07-18 17:11:46 +00:00
f316f1da60 Make Guards Defend Villagers 2021-07-14 07:40:43 +00:00
9b3b21f368 fix clippy warnings 2021-07-12 12:09:09 +02:00
9333afc6f1 Merge branch 'DixieDev/569-fix-inventory-and-lantern-usage-while-dead' into 'master'
Fix players having inventory and lantern control while dead

Closes #569

See merge request veloren/veloren!2569
2021-07-07 18:44:01 +00:00
76fe63ed9a Fix players having inventory and lantern control while dead 2021-07-07 13:18:24 +01:00
1a60ebd5db Fix integral error calculations in PID controller, and change coefficients for airship and hot air balloon. 2021-07-06 16:52:12 -04:00
2bcfa0df7a Formatted code to omit continue keyword 2021-07-05 19:41:25 -07:00
5c5b8ed94e Added check for exploding lava and glowing blocks 2021-07-05 19:41:25 -07:00
8106ac492a Actually check if entity is alive 2021-07-05 16:09:39 +02:00
7e97b9e495 Check if entity is alive before applying a buff 2021-07-05 16:09:39 +02:00
3804c3d032 Implemented trading stackable items with a full inventory 2021-07-05 10:34:03 +00:00
d4c61ae2f3 (voxygen) Better support for multibuff items
+ change `effect` field in ItemKind::Consumable to `effects`, as it's
set of effects and not single effect.
2021-07-05 10:56:29 +03:00
dcdf1c83a3 Merge branch 'swrup/fix_combo_decay_on_death' into 'master'
fix combo not reset at respawn

See merge request veloren/veloren!2553
2021-07-05 03:56:24 +00:00
971dd9059c fix combo not reset at respawn 2021-07-04 17:28:11 +02:00
836f10ae63 Remove allocation in SpriteKind::collectible_id. 2021-07-03 15:32:36 -04:00
a757bf3dbd Sfx fixes and new test 2021-06-30 11:43:00 +00:00
0151e5aeed Merge branch 'potion-animations' into 'master'
Consumable Animations

See merge request veloren/veloren!2512
2021-06-29 16:36:41 +00:00
Sam
4cdf081a40 Removed potential for accessing OOB index and panicking in animations for combo melee.
Made only entities with a character state component emit a death outcome on death.
2021-06-29 06:20:26 -05:00
Sam
1978b590aa Destringified consumables 2021-06-29 05:59:02 -05:00
3ec5306ed0 Adds an outcome to death with SFX and VFX 2021-06-29 00:14:05 +02:00
ef6d6563ea Ajust new npcs from feedback 2021-06-25 03:26:32 +02:00
8760b69345 Husk brute animations 2021-06-24 19:31:19 +02:00
58b95d12d4 Adds alpaca and llama npcs 2021-06-24 19:30:15 +02:00
fef0f407d3 Removes warlord and warlock armours 2021-06-24 19:30:11 +02:00
Sam
ed503236d6 Slightly functional sprite summon. 2021-06-23 22:38:16 -05:00
79d7e79776 Accelerate econsim using arrays instead of hashmaps 2021-06-20 16:00:37 +00:00
294b6e394a Renamed command event 2021-06-18 11:31:06 +01:00
96cbf60c3f Made commands a distinct ClientMsg to avoid possible sanitisation problems for clients 2021-06-17 19:55:21 +01:00
9a5b95bc16 Added npc hurt sfx 2021-06-17 05:49:09 +00:00
b8749dc219 Added more cow noises, prepare for merge 2021-06-16 17:23:54 +01:00
0ef29a6989 VoiceKind for better sound effect specs 2021-06-16 17:23:22 +01:00
559311e1b0 Chasing sounds 2021-06-16 17:23:22 +01:00
8351aab25d Addresses comments about roc AI 2021-06-15 09:50:23 +02:00
3ba0500b90 Tornado summoning attack 2021-06-15 09:49:13 +02:00
97ce50e5d4 Add troll variants and roc npcs 2021-06-15 09:49:13 +02:00
9d4a65e8ac Adjust mining xp numbers and add SkillGroupKind information to Outcome::ExpChange. 2021-06-13 14:34:42 -04:00
01a04a80fa icons and naming 2021-06-13 14:34:42 -04:00
0e394029de Mining skill tree. 2021-06-13 14:34:42 -04:00
6c11aa80e0 adjust staff firebomb 2021-06-11 15:41:38 +03:00
4deeb42155 cave adjustments 2021-06-07 11:02:34 +02:00
8acd3832e3 more loot tables, overworld ores, more items 2021-06-07 11:00:00 +02:00
1c17d8fe5e cave changes 2021-06-07 10:59:44 +02:00
Sam
6790b71d53 Energy recovery stat functional. 2021-06-07 10:58:32 +02:00
1b575a5a04 crafting item partial re-organization, armor recipes, some specific animal drops 2021-06-07 10:56:35 +02:00