veloren/common/state/src
Ben Wallis 34f580dfaa Introduced loot ownership rules to combat loot stealing by players
* Added `LootOwner` component used to indicate that an `ItemDrop` entity is owned by another entity
* A loot winner is now calculated after EXP allocation using the EXP per entity for weighted chance distribution
* Used existing Inventory Full overitem text to show "Owned by {player} for {seconds}secs" when a pickup fails due to a loot ownership check
* Updated agent code to take into account loot ownership when searching for `ItemDrop` targets to pick up
* Added `loot` ECS system to clear expired loot ownerships
2022-05-28 12:06:49 +00:00
..
plugin Remove unused clippy suppressions 2021-12-05 17:59:02 +00:00
build_areas.rs Revert "Merge branch 'revert-b10718c5' into 'master'" 2021-04-21 17:10:13 +00:00
lib.rs Revert "Merge branch 'revert-b10718c5' into 'master'" 2021-04-21 17:10:13 +00:00
state.rs Introduced loot ownership rules to combat loot stealing by players 2022-05-28 12:06:49 +00:00