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

904 Commits

Author SHA1 Message Date
jacobwatkinsgit
774236a670
qol when mining an inserter, pick up item an inserter dropped on the ground (#1250)
- Added qol so when an inserter is mined, an item put on the ground by the inserter is also picked up. enabled by default, tested and should work properly.
- inserter drops pickup, fix get_set_alt_on_create typo.
2021-11-16 20:32:14 +00:00
James Gillham
b5525604af Include 'assembling-machine' and 'furnace' for loader qol. 2021-08-07 14:32:17 +01:00
James Gillham
26b84037b1 Report script kicks and bans to moderation-log channel. 2021-06-26 16:21:54 +01:00
James Gillham
2e749601a9 Remove test code + increase name textfield width. 2021-05-15 12:24:56 +01:00
James Gillham
ca381aa289 Add config-restart command.
- change Restart command to use server.start_game (offers setting the mod pack).
- Change danger ores and crashsite maps to use the new restart command.
2021-05-15 11:21:46 +01:00
James Gillham
66883a87b3 Change game.players -> game.get_player 2021-05-15 11:21:46 +01:00
James Gillham
832848ac5b Set last user when connecting loader. 2021-05-12 17:21:18 +01:00
James Gillham
4db09f98f4 Require admin for poll command. 2021-05-08 20:29:32 +01:00
James Gillham
cc1bc3ba27 Require landfill research to remove landfill. 2021-03-31 17:05:25 +01:00
James Gillham
ef4be55e1a Add resource-layer to landfill remover collision mask. 2021-03-31 16:19:19 +01:00
James Gillham
6442eab80c Require auto trusted to use landfill remover. 2021-03-31 15:24:01 +01:00
James Gillham
6f1edb7a63 Add _NO_CUTSCENE flag 2021-03-31 12:01:17 +01:00
James Gillham
680580438c Add skip cutscene player setting. 2021-03-30 20:21:57 +01:00
James Gillham
f6ea2cbabc Remove corpse pings + Refactor redmew_settings. 2021-03-30 12:56:21 +01:00
James Gillham
d6a60bf09b Snap loader to container when built + extra cases for rotate loader. 2021-03-17 21:36:14 +00:00
James Gillham
ac78f22277 Refactor corpse features:
- Turn dump_offline_inventories on by default.
- Reduce corpse_util to storing and removing corpse tags.
- Add death_corpse_tags which handles adding tags for dead players. This prevents dump_offline_inventories from needing a dependency on what is now death_corpse_tags.
- If a player dies with no items, don't create a map tag and remove the corpse.
- Changed the message slightly for dump_offline_inventories to make it consistent with the other corpse messages.
2021-03-08 21:09:31 +00:00
James Gillham
8b429eed8c Add check that player is offline before dumping inventory.
I accidentally removed the check when testing and forgot to put it back in :(
2021-03-04 22:20:29 +00:00
Jayefuu
e2f164cadc Added feedback message. 2021-03-04 08:23:14 +00:00
James Gillham
02e2b59103 dump_offline_inventories fixes. 2021-03-03 20:13:25 +00:00
Jayefuu
e9d197999c Update dump_offline_inventories.lua 2021-03-03 19:09:30 +00:00
Jayefuu
a4d9707f42 WIP 2021-03-03 18:52:30 +00:00
Jayefuu
c0da8fbdc7 Removed some debug messages 2021-03-02 21:09:19 +00:00
Jayefuu
031c62f27b Fixed LUA checks 2021-03-02 21:01:39 +00:00
Jayefuu
c00fcd6a77 Update corpse_util.lua 2021-03-02 21:00:02 +00:00
Jayefuu
be9d32411f oops 2021-03-02 20:47:04 +00:00
Jayefuu
27ba6e412f Dump player inventories (not armor and weapons) after 15 mins 2021-03-02 20:46:42 +00:00
Jayefuu
81f10b1fe7 Limiting /zoom command to admins only
Would prefer a fast fix as players are abusing the fuck out of it in crash site after one of them found it :(
2021-02-27 19:18:31 +00:00
Jayefuu
329dfb346b Updated as per grilledham's comments. 2021-02-19 13:33:13 +00: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
James Gillham
0c63769c38 Fix error in player stats when robot built entity.
When the robot_owner is a spidertron there is no player for the owner and calling the player property would error, now we check that the owner is a character first.
2021-02-14 10:51:06 +00:00
grilledham
a3a389ff37
Merge pull request #1173 from grilledham/report_auto_bans
Send auto bans to discord moderation log channel.
2021-02-14 10:39:17 +00:00
Jayefuu
6851e36def
Update features/player_stats.lua
Co-authored-by: grilledham <jrdgillham@gmail.com>
2021-02-13 17:47:34 +00:00
James Gillham
9748482446 Send auto bans to discord moderation log channel. 2021-02-13 15:42:59 +00:00
Jayefuu
89f82d689f
Merge branch 'develop' into fish_munchers 2021-02-12 08:49:59 +00:00
grilledham
c26148b1e7
Merge pull request #1146 from Refactorio/entities_built_fix
Added player_built and player_crafted to the crash site awards ceremony
2021-02-11 19:26:34 +00:00
Jayefuu
d386dea2bf Updated as per suggestions 2021-02-11 11:25:39 +00:00
Jayefuu
826d5d3b99 Fixed logic error 2021-02-09 22:34:01 +00:00
Jayefuu
c2f2bf49e1 Updated with suggested corrections 2021-02-09 22:30:33 +00:00
Jayefuu
917c21da6a Sure I fixed this already :( 2021-02-09 19:53:27 +00:00
Jayefuu
f86ff01b31 Stupid lua checks 2021-02-09 18:14:59 +00:00
Jayefuu
5254a2ccf7 Fixed lua checks 2021-02-09 18:10:09 +00:00
Jayefuu
bb2da07962 Added recording and award for how many fish each player eats/uses 2021-02-09 18:08:03 +00:00
Jayefuu
1a72529e75 Updated behaviour for robot built entities
- Players get an increment to entities built when a robot they own builds something
- Players don't get an increment if they placed the blueprint and the base's roboport con bots build the entity OR if another players robots do the building.
2021-02-09 17:36:54 +00:00
James Gillham
71f6fede74 Add combat robots to corpse remover. 2021-02-06 15:56:03 +00:00
James Gillham
480f1dd888 Updates to sanitise_message. 2021-01-30 16:20:13 +00:00
Jayefuu
0430bfc64b Fixed bold titles and added sanitisation attempt 2021-01-29 09:06:51 +00:00
Jayefuu
48ca840671 Updated and tessted prettier line formatting 2021-01-28 09:14:32 +00:00
James Gillham
9ecf53d76a Add Player online time to discord report/jail embeds. 2021-01-27 21:27:41 +00:00
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