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

922 Commits

Author SHA1 Message Date
James Gillham
e736919008 Change clear_corpses command to corpses. 2022-12-22 15:56:40 +00:00
grilledham
1d7c232046
Add clear_corpses command. (#1328)
- Clears 128 tile around the player (Regular or higher).
- Use surface or s arg to clear whole surface (Admin only).
2022-07-03 19:18:29 +01:00
grilledham
157df6f40d
Add location for corpse looting. (#1317) 2022-05-01 16:19:08 +01:00
grilledham
ad16370301
Check regular/probation against know players. (#1316)
- Also allow force execute if command is rerun.
- Fix error in banning players that are not in game.
2022-05-01 15:51:17 +01:00
grilledham
1e3a26deef
fix desync (#1315) 2022-04-30 14:05:19 +01:00
grilledham
9514586032
Fix failed to index variable errors. (#1314) 2022-04-30 13:41:27 +01:00
grilledham
9c134907ce
Add 'donator' to chat triggers. (#1313) 2022-04-13 19:47:06 +01:00
Jayefuu
50c1bbdf47
Game statistics and player awards for danger ores. (#1305) 2022-04-01 12:22:33 +01:00
Jayefuu
69c90069a1
Updated donor features (#1262)
- Team buffs for donators with tier 2 or higher Patreon status
- Tier 2 (coal): +10% team hand mining bonus per online donator, up to a maximum of 10 online donators
- Tier 3 (solid fuel): +10% team hand crafting bonus per online donator, up to a max of 10 online donators
- Tier 4 (rocket fuel): +10% team run speed per online donator, up to a max of 10 online donators
- Tier 5 (nuclear fuel): +5 inventory slots for all. Up to max of 30 extra. Does not reduce down when donator logs off.
2022-03-30 19:36:18 +01:00
Jayefuu
71c8e7b9ff
A deconstruction planner control to easily group spiders to follow a leader (#1304) 2022-03-20 19:49:03 +00:00
Jayefuu
93b800583c
A point-and-click method to call AOE functions (#1295)
Allows players to point and click to call strike and barrage instead of using text commands.

Co-authored-by: James Gillham <jrdgillham@gmail.com>
2022-03-14 22:15:08 +00:00
grilledham
a6e2823d06
Remove game.print from set_start_data (#1300) 2022-03-14 15:24:08 +00:00
grilledham
04856c9ffe
Fix nil inventory when dumping inventory. (#1285) 2022-01-25 19:59:12 +00:00
grilledham
5e57cac9aa
Fix banned player's inventory dump. (#1272) 2022-01-04 20:53:31 +00:00
grilledham
15001b9e6b
Fix dumping corpse for banned players. (#1269) 2021-12-29 16:28:39 +00:00
Jayefuu
25f88f09f1
Eating fish causes a little flying text to show other players you're healing (#1268) 2021-12-26 16:35:59 +00:00
grilledham
f78db8a966
Add poison-cloud to entities_allowed_to_bomb. (#1267) 2021-12-23 20:19:49 +00:00
grilledham
355844bfb3
Add 'artillery-flare' to entities_allowed_to_bomb. (#1256) 2021-11-21 20:59:47 +00:00
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