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

35 Commits

Author SHA1 Message Date
James Gillham
7c390fb498 Fix steel recipe not showing for magic crafters if player force hasn't unlocked steel tech. 2021-02-28 11:16:33 +00:00
Jayefuu
82077da982
Merge pull request #1179 from Refactorio/coin_pickup_fix
Fixed player coin count bug from picking up chests
2021-02-20 08:15:24 +00:00
Jayefuu
4e172f4598 LUA checks 2021-02-19 15:30:29 +00:00
Jayefuu
790c2a1506 Updated as per review 2021-02-19 15:28:14 +00:00
Jayefuu
ddc234cfec Updated pollution multiplier commands
- Changed so that both can be run from server
- Gave regulars the ability to query the current pollution settings.
2021-02-19 14:51:53 +00:00
Jayefuu
e303430dc1 lua checks 2021-02-18 13:55:47 +00:00
Jayefuu
26e5c35a26 LUA checks 2021-02-18 13:46:31 +00:00
Jayefuu
21fbde82fc Fixed coins ins chest count bug
- Removed events.on_player_mined_item from outpost_builder because we don't want to add coins every time they mine and it's duplicated in player_stats.
- Removed events.on_player_mined_item from player_stats because it doesn't tell us what entity the items came from.
- Added coin tracking to events.on_pre_player_mined_item event instead. Checks if the mined item was a chest with coins in it and adds to the player stats if so.
- Tested that coins from trees and rocks still track when market is enabled
- While I was at it, added a pretty coin floating text for when RNG gives coins from mining trees/rocks
2021-02-18 13:43:50 +00:00
Jayefuu
5c3af6aed6 Changed magic crafter force to fix unit_group command failure 2021-02-12 12:21:50 +00:00
Jayefuu
fed9388840 Fixed lua checks 2021-02-08 13:49:55 +00:00
Jayefuu
8754040a47 Updated as per suggestions 2021-02-08 13:00:34 +00:00
Jayefuu
3fb08af57c
Update map_gen/maps/crash_site/outpost_builder.lua
Co-authored-by: grilledham <jrdgillham@gmail.com>
2021-02-07 12:07:28 +00:00
Jayefuu
a363a70f33 Whitespace 2021-02-05 15:26:09 +00:00
Jayefuu
20c21f9c9c Suggested changes 2021-02-05 15:24:18 +00:00
Jayefuu
0b1a030bfe Fixed lua checks 2021-02-03 10:59:47 +00:00
Jayefuu
759aef17b3 Updated as per suggestions and fixed furance to furnace
- Replaced furance with furnace in all files
- Attempted to fix global desync issue, but probably not right
- Added server_player so /get_pollution_multiplier can be called from server
2021-02-03 10:57:19 +00:00
Jayefuu
0cb766fd22
Update map_gen/maps/crash_site/outpost_builder.lua
Co-authored-by: grilledham <jrdgillham@gmail.com>
2021-02-03 08:24:38 +00:00
Jayefuu
c048a5f448 Update outpost_builder.lua 2021-02-02 18:33:54 +00:00
Jayefuu
d3aa8f18e0 Added configurable pollution to outposts
My plan is to make a harder crash site version where getting free resources from outposts creates pollution.

My intention is to balance it so it's still better to get items from outposts, but this commit is intended to give me a way to take saved games and test different amounts of pollution to check for balance. I don't intend to test this on live for a while but want to test it offline, this will give me the ability to turn it on half way through a game.

Need to consider how it doesn't take into account what the item is so it will be better to get free end-game items and probably limit how much iron we let into base later in the game. Might also create interesting meta where we are careful about what resources we take from outposts depending upon the pollution making setting.
2021-02-02 18:26:17 +00:00
Jayefuu
d67928ac30 Updated crash site upgrade toasts to include player name
It's handy to know who's doing the upgrading so I've added their name to all the crash site toasts. This branch depends on the arrakis/dunes one as in that branch I moved some things into a features folder.
2021-01-08 14:46:57 +00:00
James Gillham
a127196e9c Updates:
- update .luacheckrc.
- Add stack limits to airstrike and rocket tank market items.
- Refactor rocket_tanks.lua
2020-12-27 14:03:18 +00:00
grilledham
e86cc2a8f5
Merge pull request #1114 from Refactorio/crash-site-air-strrike
Airstrike command
2020-11-29 19:47:27 +00:00
James Gillham
1d0aaabf58 Make spawn chest indestructible/unminable 2020-11-19 19:30:41 +00:00
James Gillham
473874be35 Add retailer event handler for airstrike. 2020-11-17 21:35:12 +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
Lynn
8a84ef7504 Cleanup of player stats functions 2019-05-31 23:18:19 +02:00
SimonFlapse
56b6dfbd01 More player -> character 2019-05-02 17:02:53 +02:00
grilledham
92d2ee4ae7 updates 2019-03-16 13:08:44 +00:00
grilledham
f1949e2b87 only render market text when in map view 2019-03-09 14:00:16 +00:00
grilledham
e53d91cfcf removed unused variables 2019-03-08 17:49:06 +00:00
grilledham
41f2fc8c50 render text when hover over market 2019-03-08 17:31:00 +00:00
grilledham
a59089c496 artillery targets players 2019-03-07 21:07:33 +00:00
grilledham
5f9ceda8e9 fix localised string to not exceed limit 2019-03-02 14:16:54 +00:00
plague006
a5fd1bce2e Fix outpost_builder, fix redmew_qol.
Add functions to donator and rank system to get full player tables.
2019-02-12 20:22:13 -05:00
Matthew
6aed6d6317
Change map loading method (#640)
Add map loader
2019-01-31 20:15:41 -05:00