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

3914 Commits

Author SHA1 Message Date
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
92373bce63
Merge pull request #1099 from Refactorio/crash-site-artillery-wagon-changes
Crash Site: Enemy combat robots now explode when they timeout
2020-11-05 16:40:36 +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
64d78f590c Enemy combat robots now explode when they timeout
Players were using remotely located artillery wagons in lakes to cheesily clear the map with no repercussions. Swarms of destroyer capsules would hover over the artillery but not target it. They would timeout and  the player could then refill the wagon with ammo.

I've changed the entity_died_events file to events.lua since it now has on_entity_died, on_player_died and on_combat_robot_expired.

I have added the on_combat_robot_expired event so that when the robots timeout they explode, damaging nearby entities.
2020-11-04 11:30:30 +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
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
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
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
James Gillham
50db0ba5c3 Fix luacheck errors 2020-10-04 21:23:14 +01:00
James Gillham
2d238750d3 Ensure Poll is never nil. 2020-10-04 21:19:05 +01:00
James Gillham
0293d92791 Consistent style for close buttons 2020-10-04 21:13:09 +01:00
James Gillham
aaa87601f9 change close buttons 2020-10-04 21:12:32 +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