1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-01-18 03:21:47 +02:00
Jayefuu 21fbde82fc Fixed coins ins chest count bug
- Removed events.on_player_mined_item from outpost_builder because we don't want to add coins every time they mine and it's duplicated in player_stats.
- Removed events.on_player_mined_item from player_stats because it doesn't tell us what entity the items came from.
- Added coin tracking to events.on_pre_player_mined_item event instead. Checks if the mined item was a chest with coins in it and adds to the player stats if so.
- Tested that coins from trees and rocks still track when market is enabled
- While I was at it, added a pretty coin floating text for when RNG gives coins from mining trees/rocks
2021-02-18 13:43:50 +00:00
..
2021-01-28 09:19:36 +00:00
2021-02-05 15:24:18 +00:00
2021-02-13 18:06:08 +00:00
2019-03-03 17:21:59 -05:00
2019-03-08 17:49:06 +00:00
2020-07-18 12:57:57 +03:00
2021-02-13 18:55:57 +00:00
2021-02-13 18:06:08 +00:00