1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-01-18 03:21:47 +02:00

3660 Commits

Author SHA1 Message Date
Jayefuu
f2f2a6d766 Updated as per comments
- Changed get_inventory(1) to get_inventory(defines.inventory.character_main) to make it clearer which inventory we're getting.
- changed area charted to 3x3 full chunks cented on the chunk containing the pinged coordinate. Will now charta 96x96 tile area which is more reasonable considering the cost of /spy
2020-11-08 21:59:54 +00:00
Jayefuu
f06d34ca48 Fixed failed checks 2020-11-06 18:56:42 +00:00
Jayefuu
358c13c8ca Changed as per description
- Updated local to be specific to player that used the command (woops!)
- Success message now prints to all players not the user.
2020-11-06 18:52:33 +00:00
Jayefuu
f19c399bc6 Updated as per suggestions 2020-11-05 18:28:34 +00:00
Jayefuu
6bce1ad294 Fixed failed checks. 2020-11-04 16:24:14 +00:00
Jayefuu
05828cba29 Added a /spy command to allow players to reveal map 2020-11-04 16:19:52 +00:00
Jayefuu
5a82550acc
Merge pull request #1098 from Refactorio/Jayefuu-crash-site-scen-data-patch
Begin logging crash site game time to scenario data
release/2020-10-30-5a82550
2020-10-30 20:47:55 +00:00
Jayefuu
0c8a260bdf
Fixed failed checks 2020-10-29 16:38:14 +00:00
Jayefuu
f1956c7224
Begin logging crash site game time to scenario data
Added lines to store the unix time the restart happens as well as how many ticks the game lasted. Starting storing these now so I have some interesting data to use in a week or two.
2020-10-29 16:26:27 +00:00
grilledham
4c9cc3ed4c
Merge pull request #1097 from Refactorio/Jayefuu-crashsite-patch
Added Discord notification for "@crash site" when map restarts
release/2020-10-24-4c9cc3e
2020-10-24 12:52:14 +01:00
Jayefuu
cd242aaa80
Update commands.lua 2020-10-24 11:43:31 +01:00
Jayefuu
073198530b
Update commands.lua
Added changed requested by grilledham:
- Used format_time function
- Added local var to show that text string was role ID.
- Added another commented var with the ID of a test role in case we want to test something and not ping @crash_site
- Added markdown to make printed string bold
2020-10-23 17:10:04 +01:00
Jayefuu
4b2b22b05c
Added Discord notification for "@crash site" when map restarts
Added discord notification for the @crash site role when crash site is restarted using the /restart command. Pings users with @Crash Site role and prints the map time to add to competitiveness.
2020-10-22 18:56:53 +01:00
grilledham
e4712f9cdc
Merge pull request #1096 from Refactorio/Jayefuu-patch-crashsite-restart
Updated crashsite commands.lua to check total biter count
release/2020-10-10-e4712f9
2020-10-10 19:36:31 +01:00
Jayefuu
166186c11b
Update commands.lua
Added suggested text fixes and cleared up lua check failures.
2020-10-10 13:07:22 +01:00
Jayefuu
c674c1b5e5
Updated crashsite commands.lua to check total biter count
Allows players to restart if there are less than 20 biters left since they were struggling to find the last few.
2020-10-10 10:41:25 +01:00
grilledham
6315136ba4
Merge pull request #1095 from grilledham/crashsite-restart-cutscene
Change crashsite cutscene surface to not spawn enemies.
release/2020-10-06-6315136
2020-10-06 16:58:51 +01:00
James Gillham
3a3dcad250 Change crashsite cutscene surface to not spawn enemies. 2020-10-05 20:10:49 +01:00
grilledham
7720121848
Merge pull request #1093 from Refactorio/Jayefuu-patch-2
Update map.lua
release/2020-10-04-7720121
2020-10-04 19:44:40 +01:00
Jayefuu
5840f143f2
Update map.lua
Uses new builder function to ensure there are no rocks in the position the silo will spawn.
2020-10-04 18:04:04 +01:00
Jayefuu
ff989b9c30
Updated to add Builders.remove_map_gen_simple_entity to remove rocks
Space race has a bug that sometimes a rock will spawn where the silo needs to be. But the code only removes trees. This will allow me to call a function to delete rocks.
release/2020-10-04-ff989b9
2020-10-04 17:59:56 +01:00
grilledham
4b78d9eae3
Merge pull request #1092 from grilledham/test_framework
Test framework
release/2020-10-04-4b78d9e
2020-10-04 12:11:57 +01:00
James Gillham
08d291b62a Store surface_count in Global 2020-10-04 12:10:27 +01:00
James Gillham
31601c4ec3 include ignores deflated files 2020-10-04 11:44:50 +01:00
James Gillham
6d0b83e2bd better error handling 2020-10-04 11:44:12 +01:00
James Gillham
bb96ccf15f Add module names and better error handling. 2020-10-03 21:11:15 +01:00
James Gillham
980ca7672b More Landfill tests plus fix entity filter blacklist 2020-10-03 21:10:25 +01:00
grilledham
3e9b24fdf0
Merge pull request #1088 from Refactorio/Jayefuu-patch-1
Updated crash site /restart command so that auto trusted and regulars can call it when map is cleared
release/2020-10-03-3e9b24f
2020-10-03 21:07:51 +01:00
James Gillham
23bf630cc1 Fix non-admin restart
- Stop the entities count from counting entities on the 'nauvis' and 'cutscene' surfaces.
- Only print abort message to admins.
2020-10-03 15:32:57 +01:00
James Gillham
031517fb85 More landfill remover tests 2020-10-03 14:37:56 +01:00
Jayefuu
ca483ed3c9
Update commands.lua
- Fixed LUA check failures
- Added suggestions by grilledham
- Tested /restart still works from server console
2020-10-01 21:52:47 +01:00
Jayefuu
467092cd6e
Update commands.lua
- Changed behaviour for non-admins. Now checks for spawners, biters and turrets but doesn't require walls and power structures to be destroyed for restart
- Added checks to limit non-admins from changing the scenario by using an argument after /restart. Now defaults to current scenario for non-admins.
2020-10-01 21:08:09 +01:00
James Gillham
475b7dc8c6 More landfill_remover tests 2020-09-30 19:47:03 +01:00
James Gillham
965cebb005 stop_on_first_error option 2020-09-29 20:50:24 +01:00
James Gillham
00fbe5853e landfill_remover_tests refactor 2020-09-29 20:50:07 +01:00
James Gillham
7f659cbe58 test discovery 2020-09-28 21:03:31 +01:00
James Gillham
b4fa00ccdf context improvements 2020-09-28 20:40:47 +01:00
grilledham
628841b378
Merge pull request #1089 from grilledham/fix_name
danger_ore_deadlock_beltbox fix name and updates
release/2020-09-27-628841b
2020-09-27 13:18:45 +01:00
James Gillham
0aff9aabdd helper 2020-09-26 20:02:53 +01:00
James Gillham
df47b5aa02 module startup/teardown hooks 2020-09-25 20:33:46 +01:00
Jayefuu
1684d8924a
Update commands.lua 2020-09-25 11:30:48 +01:00
James Gillham
4742ced9d6 danger_ore_deadlock_beltbox fix name and updates 2020-09-24 20:08:00 +01:00
Jayefuu
4b2510cc47
Updated crash site /restart command so that guests and regulars can call it when map is cleared
Updated crash site /restart command so that guests and regulars can call it when map is cleared
- Only admin can abort, once the map is cleared.
- Guests and Regular can both call /restart when all enemy units and structures are dead
- Tested on S10 by running this command:
/c local surface=game.player.surface
for key, entity in pairs(surface.find_entities_filtered({force="enemy"})) do
	entity.destroy()
end
- Need to merge into develop to test on live server in case conditions at the end of the game are different
- Thought about adding rocket launched condition but decided against it.
2020-09-23 11:14:36 +01:00
grilledham
7b6b215584
Merge pull request #1083 from grilledham/danger_ore_hub_spiral
danger_ore_hub_spiral
release/2020-09-22-7b6b215
2020-09-22 17:14:33 +01:00
grilledham
8070db8110
Merge pull request #1086 from grilledham/revert-commit
Revert "commands.lua update 2020"
release/2020-09-21-8070db8
2020-09-21 19:49:00 +01:00
James Gillham
00aa2c51c9 Revert "commands.lua update 2020"
This reverts commit d0dcf301d2aece4696a10368949ca5ea45009455.
2020-09-21 19:34:51 +01:00
James Gillham
a1908b93d5 landfill_remover_tests 2020-09-21 19:29:02 +01:00
Claude
d0dcf301d2
commands.lua update 2020
check if bitters == 0 in crachsite map
release/2020-09-21-d0dcf30
2020-09-21 21:03:25 +03:00
James Gillham
f8f5fb7d17 viewer 2020-09-20 19:13:07 +01:00
James Gillham
e9f35319df third pass 2020-09-19 15:56:50 +01:00