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

3924 Commits

Author SHA1 Message Date
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
5e86b9580e
Merge pull request #1176 from grilledham/fix_robot_built_error
Fix error in player stats when robot built entity.
2021-02-14 12:39:18 +00:00
James Gillham
0c63769c38 Fix error in player stats when robot built entity.
When the robot_owner is a spidertron there is no player for the owner and calling the player property would error, now we check that the owner is a character first.
2021-02-14 10:51:06 +00:00
grilledham
a62f81647b
Merge pull request #1174 from Refactorio/repair_tanks_everywhere!
Repair tanks in all versions
2021-02-14 10:41:09 +00:00
grilledham
a3a389ff37
Merge pull request #1173 from grilledham/report_auto_bans
Send auto bans to discord moderation log channel.
2021-02-14 10:39:17 +00:00
grilledham
5d35e50e27
Merge pull request #1175 from Refactorio/fix_coin_spill
Fixed coin pickup on entity death
2021-02-13 19:59:00 +00:00
Jayefuu
94a50d3ec5 Fixed coin pickup on entity death 2021-02-13 18:55:57 +00:00
Jayefuu
1e96f3fd80 Repair tanks in all versions 2021-02-13 18:06:08 +00:00
Jayefuu
ca873a8d89
Merge pull request #1172 from Refactorio/biter_unit_group_pathing_fix
Changed magic crafter force to fix unit_group command failure
2021-02-13 17:53:49 +00:00
Jayefuu
6aa3fc3a71
Merge pull request #1171 from Refactorio/fish_munchers
Added fish consumed to player_stats and crash site awards
2021-02-13 17:47:47 +00:00
Jayefuu
6851e36def
Update features/player_stats.lua
Co-authored-by: grilledham <jrdgillham@gmail.com>
2021-02-13 17:47:34 +00:00
James Gillham
9748482446 Send auto bans to discord moderation log channel. 2021-02-13 15:42:59 +00:00
Jayefuu
5c3af6aed6 Changed magic crafter force to fix unit_group command failure 2021-02-12 12:21:50 +00:00
Jayefuu
89f82d689f
Merge branch 'develop' into fish_munchers 2021-02-12 08:49:59 +00:00
grilledham
c26148b1e7
Merge pull request #1146 from Refactorio/entities_built_fix
Added player_built and player_crafted to the crash site awards ceremony
2021-02-11 19:26:34 +00:00
Jayefuu
d386dea2bf Updated as per suggestions 2021-02-11 11:25:39 +00:00
Jayefuu
826d5d3b99 Fixed logic error 2021-02-09 22:34:01 +00:00
Jayefuu
ff29cc958d Fixed mistake with scenario display name conversion 2021-02-09 22:32:36 +00:00
Jayefuu
c2f2bf49e1 Updated with suggested corrections 2021-02-09 22:30:33 +00:00
Jayefuu
917c21da6a Sure I fixed this already :( 2021-02-09 19:53:27 +00:00
Jayefuu
f86ff01b31 Stupid lua checks 2021-02-09 18:14:59 +00:00
Jayefuu
5254a2ccf7 Fixed lua checks 2021-02-09 18:10:09 +00:00
Jayefuu
bb2da07962 Added recording and award for how many fish each player eats/uses 2021-02-09 18:08:03 +00:00
Jayefuu
1a72529e75 Updated behaviour for robot built entities
- Players get an increment to entities built when a robot they own builds something
- Players don't get an increment if they placed the blueprint and the base's roboport con bots build the entity OR if another players robots do the building.
2021-02-09 17:36:54 +00:00
Jayefuu
70fd9b50f8
Merge pull request #1170 from Refactorio/coin_spill_changes
Player kills deposit coins in inventory
2021-02-09 08:24:41 +00:00
Jayefuu
585b4e35e4 Updated as per suggestions 2021-02-08 22:53:59 +00:00
Jayefuu
c4d76243dc
Merge pull request #1167 from Refactorio/crash_site_outpost_pollution
Added configurable pollution to outposts for future testing
2021-02-08 22:47:49 +00:00
grilledham
adeb487245
Merge pull request #1169 from grilledham/remove_combat_robot_corpse
Add combat robots to corpse remover.
2021-02-08 22:14:43 +00:00
Jayefuu
28bcd68786 Updated as per review suggestions 2021-02-08 21:52:36 +00:00
Jayefuu
fed9388840 Fixed lua checks 2021-02-08 13:49:55 +00:00
Jayefuu
c9d8189218 Player kills deposit coins in inventory 2021-02-08 13:32:05 +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
James Gillham
71f6fede74 Add combat robots to corpse remover. 2021-02-06 15:56:03 +00:00
grilledham
deeea932fd
Merge pull request #1168 from Refactorio/artillery_balance_change
Updated artillery turret bot spawn balance
2021-02-06 11:30:10 +00:00
Jayefuu
b186e7cc10 Updated artillery turret bot spawn balance 2021-02-06 09:05:40 +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
grilledham
e2a8bb5a1d
Merge pull request #1166 from Refactorio/projectile_range_fix_for_bot_spawns
Updated max_range for projectiles used in bot spawn
2021-02-02 19:43:06 +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
e02d851dea Updated max_range for projectiles used in bot spawn 2021-02-02 07:33:22 +00:00
Jayefuu
eafb3d8bdd
Merge pull request #1163 from Refactorio/make_destroyers_attack_arty_wagon
Update destroyer attack behaviour for artillery wagons
2021-02-01 17:28:07 +00:00
Jayefuu
8e8b7ee818 Update events.lua 2021-02-01 17:06:43 +00:00
Jayefuu
d53e3d320c Updated as per suggestions
- Added function to check distance between two entities as I couldn't find one in utils
- Added call to check how far from destroyer to wagon
- Since there's now a check I removed the 2 second wait between spawning and starting to fire in favour of using distance instead (384, 386)
2021-02-01 16:09:07 +00:00