1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-03-03 14:53:01 +02:00
RedMew/features
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
..
2019-10-11 20:24:28 +02:00
2019-05-16 12:11:01 +01:00
2019-06-26 13:19:08 +01:00
2019-06-19 18:20:04 +01:00
2021-01-23 17:38:34 +00:00
2020-11-13 21:05:25 +00:00
2020-11-13 21:05:25 +00:00
2020-02-05 01:57:12 +02:00
2019-03-03 17:54:51 -05:00
2019-03-03 17:21:59 -05:00
2019-05-16 12:11:01 +01:00
2021-02-18 13:43:50 +00:00
2019-03-03 17:21:59 -05:00
2019-10-07 22:44:17 +02:00
2019-04-16 17:33:08 -04:00
2021-01-01 18:04:14 +00:00
2019-03-03 17:21:59 -05:00
2020-01-01 15:04:33 +00:00
2020-12-30 20:19:22 +00:00
2019-10-09 02:02:48 +02:00