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

3817 Commits

Author SHA1 Message Date
Jayefuu
4cee264d63 Changed find_entitieS_filtered to count_entities_filtered 2020-11-25 21:33:04 +00:00
Jayefuu
2dffbba928 woops 2020-11-25 21:19:35 +00:00
Jayefuu
fa70f1e832 Updated as per comments 2020-11-25 21:18:07 +00:00
James Gillham
47b2c9b4ee more clean_cursor -> clear_cursor 2020-11-25 17:37:54 +00:00
James Gillham
0aa689127d train_saviour locale fix 2020-11-25 17:37:34 +00:00
Jayefuu
40d3b4e452 Uncommented admin print 2020-11-25 15:32:52 +00:00
Jayefuu
13a2c40acb Updated localisation and inconsistencies 2020-11-25 14:57:05 +00:00
James Gillham
deeb906bc0 luacheck remove unused label 2020-11-24 20:22:29 +00:00
James Gillham
89b3af7f15 Fix diggy gui button styles 2020-11-24 20:20:45 +00:00
James Gillham
4c227a14e8 luacheck - remove trailing whitespace 2020-11-24 20:20:26 +00:00
James Gillham
c72bba28e5 Remove blueprint helper 2020-11-24 17:47:02 +00:00
James Gillham
2bd3348287 ammo-category fixes 2020-11-24 17:45:07 +00:00
James Gillham
762d31d465 Gui fixes 2020-11-24 17:44:31 +00:00
James Gillham
171737e587 Remove removed items/entities. 2020-11-24 16:39:22 +00:00
James Gillham
0b95a25f1d Change train_saviour to use 'player-port' instead of 'small-plane'. 2020-11-24 16:39:22 +00:00
James Gillham
dd0ddd131e technology renames. 2020-11-24 16:39:22 +00:00
James Gillham
df4225eca1 clean_cursor -> clear_cursor 2020-11-24 16:39:21 +00:00
Jayefuu
45759bd39c Updated grief check
- Changed grief check to use xpos, ypos and radius
- Tested it works
2020-11-20 21:43:19 +00:00
Jayefuu
b25547c160 Update commands.lua 2020-11-20 00:29:45 +00:00
Jayefuu
5e78cb52d2 Fixed lua checks 2020-11-19 21:25:56 +00:00
Jayefuu
e33ba4462f Merge branch 'crash-site-air-strrike' of https://github.com/Refactorio/RedMew into crash-site-air-strrike 2020-11-19 21:19:32 +00:00
Jayefuu
8092086a94 Final airstrike features
- Added balance
- Updated market item descriptions
- Checked errors
- Added toasts
2020-11-19 21:19:26 +00:00
James Gillham
1d0aaabf58 Make spawn chest indestructible/unminable 2020-11-19 19:30:41 +00:00
Jayefuu
199394ab43
Merge pull request #1113 from Refactorio/spidertron-artillery-immunity-fix-attempt-2
Spidertron artillery immunity fix
2020-11-18 17:10:47 +00:00
James Gillham
473874be35 Add retailer event handler for airstrike. 2020-11-17 21:35:12 +00:00
Jayefuu
fdb0cf3469 WIP - airstrike command
- Type `/strike [gps=x,y,surface] to send a large cloud of poison into the enemy
- Searches a chest near spawn for poison capsules. Current cost for command is 100 capsules but could be balanced.
- Needs market items adding for technology research, bought with coins.
- Variables strikeCount and strikeRadius start low. As the market upgrades are made (start at 5k each?) the size of teh strike and amount of capsules increases.
- Should be balanced to allow use from mid-game onwards. Don't allow early game use as manual throwing is fine for early outposts. This should be to speed up the boring end-game clearing of worms.
2020-11-17 20:56:53 +00:00
grilledham
97808c15e6
Merge pull request #1111 from grilledham/report_time_fix
Fix report showing outdated time.
2020-11-17 20:15:42 +00:00
Jayefuu
4e4b62a152 Spidertron artillery immunity fix
- Added spidetron to artillery_target_entities list
- Added code to fire a rocket at spidertrons as well as the non-damaging artillery
- Tested effect of 4 and 8 artillery rockets on spidertron. Kills shields quick but spidertron takes about a minute to die. Enough to deter them from staying too long but not too OP.
2020-11-17 18:03:59 +00:00
James Gillham
6155a7d2f3 Fix report showing outdated time.
When an admin rejoins, if they have the reports open, reopen it again to update the time on the reports.
2020-11-15 20:10:20 +00:00
Jayefuu
e7295d9579
Merge pull request #1110 from grilledham/jail-character-bug
Fix unjail invulnerable characters
2020-11-15 17:09:23 +00:00
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