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

3787 Commits

Author SHA1 Message Date
James Gillham
ecb0ee7867 Fix unjail invulnerable characters
- If a player didn't have a character when they were jailed we would record their previous destructible state as `nil` which was treated as `false`. Now we treat `nil` as no previous character info and set the previous destructible state on repsawn/join.
- If a player was unjailed when offline or dead, we wouldn't restore the player character's destructible state, now we wait for them to rejoin/respawn to do that.
2020-11-15 16:38:57 +00:00
grilledham
7350e8721d
Merge pull request #1105 from grilledham/feature/corpse_location
Ping corpse location on player death
2020-11-15 11:24:48 +00:00
James Gillham
9698d2b109 When not killed by player add 'a' in death message. 2020-11-14 21:44:07 +00:00
Jayefuu
c83f2b7206
Merge pull request #1109 from Refactorio/miner-grammor
Updated en locale message
2020-11-13 23:09:02 +00:00
James Gillham
671667adaf fix luacheck issues 2020-11-13 21:05:25 +00:00
Jayefuu
cf9e0b6d0c
Merge pull request #1108 from Refactorio/spidertron_jail_fix
Spidertron jail fix
2020-11-13 20:21:55 +00:00
Jayefuu
fd49d61d63 Updated en locale message 2020-11-13 20:21:03 +00:00
James Gillham
eb7b43cf1c Add player settings for corpse pings + tests. 2020-11-13 20:06:43 +00:00
Jayefuu
5098ab875a Whitespace (╯°□°)╯︵ ┻━┻ 2020-11-13 19:59:46 +00:00
Jayefuu
10bff3c5bc Linebreaks mkay! 2020-11-13 19:56:22 +00:00
Jayefuu
465f9441ec fixed whitespace 2020-11-13 19:36:46 +00:00
Jayefuu
9a2fcd03d5 Fixed jail bug when player in spidertron
As per issue #1102.
- Checks if player is in spidertron
- Sets autopilot destination to position when jail used.
- Tried using similar to the train check but it didn't work for spidertron.
2020-11-13 19:36:20 +00:00
James Gillham
86cbfac9a7 Ping corpse location on player death 2020-11-10 21:11:24 +00:00
James Gillham
4a0b003567 formatting 2020-11-10 21:11:24 +00:00
grilledham
b2f5cfb7c4
Merge pull request #1101 from Refactorio/crash-site-spy-command
Added a /spy command to allow players to reveal map
2020-11-10 21:04:59 +00:00
grilledham
9ed9260a31
Merge pull request #1106 from Refactorio/crash-site-artillery-wagon-changes
Add combat robots explode on artillery wagons.
2020-11-10 20:48:33 +00:00
Jayefuu
2c744211b1 Add combat robots explode on artillery wagons.
When a combat robot expires and is targeting an artillery wagon, it will now explode. This is a work around for a factorio bug where combat robots do not attack artillery wagons.
2020-11-10 20:45:37 +00:00
Jayefuu
1afccaa664 Fixed as per requests
- fixed use of game.player
- if player surface contains a number, now won't fail.
2020-11-10 20:11:18 +00:00
grilledham
c13b2822ca
Merge pull request #1094 from grilledham/gui_update
Gui update
2020-11-09 20:35:04 +00:00
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
grilledham
33bcc880a0
Merge pull request #1104 from Refactorio/revert-1099-crash-site-artillery-wagon-changes
Revert "Crash Site: Enemy combat robots now explode when they timeout"
2020-11-07 19:27:17 +00:00
grilledham
674e95993f
Revert "Crash Site: Enemy combat robots now explode when they timeout" 2020-11-07 19:26:09 +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
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