1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-14 10:13:13 +02:00
Commit Graph

855 Commits

Author SHA1 Message Date
Jayefuu
9ce26844f1
Merge pull request #1153 from Refactorio/accessibility_notifications
Added white text above player when mentioned in chat
2021-01-23 17:41:42 +00:00
Jayefuu
f9e5752dd0 Removed old comments 2021-01-23 17:38:34 +00:00
Jayefuu
75df3186b8 Update chat_triggers.lua
- Changed font size and line_to_live slightly on feedback from nibu and diffie
- Added check for if player is dead. Assume that if they're dead they're probably not distracted and will pay attention to chat.
- Removed us of game.get player and replaced with player.name
2021-01-21 14:46:18 +00:00
James Gillham
a46435ec00 Fix desync when changing global.config.biter_corpse_remover.max_queue_size 2021-01-20 17:10:21 +00:00
Jayefuu
476b07a2ab Fixed locale issues 2021-01-20 08:48:08 +00:00
Jayefuu
c88520cccb Update chat_triggers.lua 2021-01-19 13:37:00 +00:00
Jayefuu
5a585e38d9 Update chat_triggers.lua 2021-01-19 13:36:25 +00:00
James Gillham
98b39b93bf Updated corpse remover to remove worms. 2021-01-12 16:51:30 +00:00
Jayefuu
0a4355eb2c Updated corpse remover to only remove biter corpses 2021-01-12 08:33:44 +00:00
James Gillham
21ec6fb120 Change biter corpse remover.
The biter corpse remover was attempting to be clever about removing corpses and only remove them when they exceeded a certain threshold per chunk. For some reason it is no longer working and I can't figure out why.
So I replaced it with a simpler approach. Now we keep track of the corpses in a queue. When the queue size exceeds the threshold we remove and destroy the oldest corpse.
2021-01-10 15:45:28 +00:00
Jayefuu
0089075f9c
Merge pull request #1138 from Refactorio/player_stats_kill_tracking
Player data types updated and saved to server on restart
2021-01-03 08:53:04 +00:00
grilledham
0717eb2a3e
Merge pull request #1142 from grilledham/info_gui_updates
Fix info_gui layout issues.
2021-01-02 12:22:00 +00:00
grilledham
e093b92dc9
Merge pull request #1141 from grilledham/player_leave_reason
Add player leave reasons
2021-01-02 12:18:42 +00:00
grilledham
ad929499c6
Merge pull request #1140 from grilledham/loader_snap
When rotating loader connect to container.
2021-01-02 12:13:52 +00:00
James Gillham
741267873f Use PlayerStat names in player_list.lua 2021-01-02 12:12:10 +00:00
James Gillham
0e768ec608 Expose PlayerStats names publicly. 2021-01-02 12:00:21 +00:00
James Gillham
27e76d2ed0 Refactor get player index logic 2021-01-02 11:37:54 +00:00
Jayefuu
50bf98f8f2 Updated as per suggestions
- Added small fixes to commands.lua
- Added logic to player_stats.lua to count kills made with vehicles. Tested on S10 with a passenger.
2021-01-02 11:37:53 +00:00
James Gillham
b527d146f8 More player_list tweaks. 2021-01-02 11:37:16 +00:00
James Gillham
24bedfb925 grilledham's review changes:
- Rename biter_kill_counter->entity_died
- Refactor logic in entity_died function to reduce table lookups.
- Fix nil cause bug.
- Fix player_list kills header different size to cells.
2021-01-02 11:37:16 +00:00
Jayefuu
9b39e35d0d Player data types updated
- Saves more kill data to Scoreboard
- Displays total kills in score board
- Saves player data to crash site scenario data set
- Added scenario name to data set so that if we later want to add data for danger ores we can filter it out
2021-01-02 11:37:16 +00:00
grilledham
b18dad52cb
Merge pull request #1137 from grilledham/server_start_data
Add server start_data.
2021-01-01 18:22:45 +00:00
James Gillham
345029c10b Fix info_gui layout issues. 2021-01-01 18:04:14 +00:00
James Gillham
a2331b0a53 Don't hard code the filter slot count. 2021-01-01 16:26:21 +00:00
James Gillham
b6053fd3e3 Preserve loader filters when connecting 2021-01-01 15:49:07 +00:00
James Gillham
4634bcca00 When rotating loader connect to container. 2020-12-31 22:55:26 +00:00
James Gillham
7545a41e52 Add player leave reasons 2020-12-31 22:04:40 +00:00
James Gillham
c6739cd4d7 Fix loader gui layout issue in multiplayer
- Change the loader gui logic to be more conservative about when it deletes the loader frames. Now the layout issue should only happen when the player goes from having no loader recipes unlocked to any or vice versa Which in most cases will only happen once per game.
2020-12-31 20:17:43 +00:00
James Gillham
9564d51dcc Add server start_data. 2020-12-30 20:19:22 +00:00
James Gillham
d33392b1cf Remove /dc command, use /sc instead. 2020-12-28 22:44:42 +00:00
James Gillham
2f53b43165 Send report to discord. 2020-12-27 15:57:22 +00:00
Jayefuu
a6e64743ac Update redmew_settings.lua 2020-12-27 07:42:02 +00:00
James Gillham
281500aeb6 Don't draw loader frame when no loader recipe is unlocked. 2020-12-23 21:58:18 +00:00
James Gillham
0281a88350 Add named discord channels. 2020-12-23 13:08:20 +00:00
grilledham
42f82de031
Merge pull request #1119 from Refactorio/craft-loaders
Loader GUI buttons
2020-12-22 11:16:22 +00:00
James Gillham
4507ffbcdc redmew_qol laoder updates
- Use the player's force rather than the player force for determining whether the recipes are enabled.
- Call draw_loader_frame_for_player when player opens crafting gui instead of on_player_created.
- Check in the button events if the recipe is enabled.
- Draw the frames even if 'loader' recipe is not enabled to allow for the case that only 'fast-loader' or 'express-laoder' is enabled.
2020-12-21 11:29:54 +00:00
Jayefuu
a5bc9ac584 Update redmew_qol.lua 2020-12-21 09:06:58 +00:00
Jayefuu
73eb4f5ad1 Updated as per suggestions 2020-12-20 17:25:33 +00:00
Jayefuu
534fa6a790
Update landfill_remover.lua 2020-12-16 13:02:41 +00:00
Jayefuu
8e365dc89f
Update landfill_remover.lua
Just added a top comment to describe the feature so that players that find it don't need to work through the code to understand.
2020-12-16 12:51:26 +00:00
James Gillham
abddfe85b9 fix luacheck value assigned unused. 2020-12-14 20:26:14 +00:00
James Gillham
83befd776e Gui.destory when loader_crafter closes + update .luacheckrc 2020-12-14 20:25:22 +00:00
Jayefuu
ee2e77fbba Update redmew_qol.lua 2020-12-14 18:30:25 +00:00
Jayefuu
7b78dc036b Fixed failed lua checks 2020-12-14 18:28:03 +00:00
Jayefuu
be63ca9668 Features complete and tested. Needs review. 2020-12-14 18:22:17 +00:00
Jayefuu
c210c8a17e Update redmew_qol.lua 2020-12-14 10:06:33 +00:00
Jayefuu
e5e131ed07 Update redmew_qol.lua 2020-12-14 09:01:42 +00:00
James Gillham
ffa431f921 fix not converting number to string 2020-11-29 19:44:13 +00:00
James Gillham
47b2c9b4ee more clean_cursor -> clear_cursor 2020-11-25 17:37:54 +00:00
James Gillham
c72bba28e5 Remove blueprint helper 2020-11-24 17:47:02 +00:00