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

3650 Commits

Author SHA1 Message Date
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
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.
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
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.
2020-10-04 17:59:56 +01:00
grilledham
4b78d9eae3
Merge pull request #1092 from grilledham/test_framework
Test framework
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
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
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
2020-09-22 17:14:33 +01:00
grilledham
8070db8110
Merge pull request #1086 from grilledham/revert-commit
Revert "commands.lua update 2020"
2020-09-21 19:49:00 +01:00
James Gillham
00aa2c51c9 Revert "commands.lua update 2020"
This reverts commit d0dcf301d2.
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
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
James Gillham
24813ff2ea second pass 2020-09-19 14:48:08 +01:00
James Gillham
18f226b369 first pass 2020-09-19 12:41:24 +01:00
James Gillham
bffeb07ca3 Add missing utils.table require. 2020-09-16 20:07:31 +01:00
James Gillham
1487c55791 danger_ore_hub_spiral 2020-09-16 20:01:58 +01:00
grilledham
68c359be61
Merge pull request #1082 from grilledham/danger_ores_balance_changes
Terrafroming danger ore balance changes.
2020-09-13 14:11:58 +01:00
James Gillham
2ba12674f2 Remove unused variable. 2020-09-13 14:10:02 +01:00
grilledham
39568ebff2
Merge pull request #1081 from grilledham/paint_brush_color_concrete
Change paint tool to use coloured concrete.
2020-09-13 14:09:11 +01:00
James Gillham
0c1dd6f1ff Terrafroming danger ore balance changes. 2020-09-13 13:59:36 +01:00
James Gillham
5cc6ab82b6 Change paint tool to use coloured concrete. 2020-09-13 12:40:09 +01:00
grilledham
6837fa7264
Merge pull request #1080 from Refactorio/water_fill
Add landfill remove feature.
2020-09-10 19:44:00 +01:00