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

1426 Commits

Author SHA1 Message Date
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
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
Jayefuu
f4ca719296
Merge pull request #1164 from EigenMan-Factorio/develop
Multi-coordinate support for /spy and /strike.
2021-02-01 15:15:49 +00:00
James Gillham
a7ce905428 Remove dynamic requires from diggy. 2021-01-30 21:56:29 +00:00
EigenMan-Factorio
421ff0959f Made changes to address items found during review:
- fixed code indenting
- added comments to warm about potential issues with surface names
- modified check for chest containing poison so it only happens once per /strike command
2021-01-30 11:12:38 -07:00
EigenMan-Factorio
76ae7c6d19 Added a limit of 10 coordinates per strike command. 2021-01-29 10:38:18 -07:00
EigenMan-Factorio
537f9386bb Added multi-coordinate support to the /spy and /strike commands. Also
added help text to the /strike command.
2021-01-29 06:26:57 -07:00
Jayefuu
78a5c27dc1 Update events.lua 2021-01-29 13:07:30 +00:00
Jayefuu
6a3682a114 Update events.lua 2021-01-29 13:05:21 +00:00
Jayefuu
61c8b33f8a Updated as per requests. 2021-01-28 09:19:36 +00:00
Jayefuu
025f35e3ce Fixed callback crash when no position for worm found
- If it couldn't find a non-colliding position it errored when trying to use the worm position to spawn biters
- This would cause the callback to stop working and the roboport wouldn't spawn worms.
-  Fixed by adding check for nil worm position
2021-01-26 16:29:17 +00:00
Jayefuu
6973042ce6
Merge pull request #1159 from Refactorio/airstrike_improvements
Added some rendering to make airstrike nicer to use
2021-01-26 07:52:17 +00:00
Jayefuu
2412e544c2 Updated as per suggestions
- Removed surface and force hard coding
- Added floating text on surface so players don't need to use map view to see strike sender
2021-01-25 07:53:29 +00:00
Jayefuu
88f80aa8e3 Fixed the message for spy cost 2021-01-24 15:52:38 +00:00
Jayefuu
cd791e73eb Added some rendering to make airstrike nicer to use
- Shows all players where the airstrike was aimed
- Shows the user of airstrike the radius their strike will roughly cover
2021-01-24 14:47:39 +00:00
Jayefuu
ab8a21ec4b Reduced cost of spy. It wasn't being used since strike is available early to mid game 2021-01-23 17:44:05 +00:00
Jayefuu
91f91dc04a
Merge pull request #1154 from Refactorio/airstrike_message_cooldown
Made strike command less spammy, replaced map pings with tags
2021-01-20 19:32:56 +00:00
Jayefuu
5301cba3ad Update commands.lua 2021-01-20 19:20:32 +00:00
Jayefuu
e15d0806e3 Removed print to player
Feedback from Anubi5 asked for no print to player. I think he's right, it's much more peaceful now.
2021-01-20 13:35:16 +00:00
Jayefuu
d33a2c5ea4 Made strike command less spammy, replaced map pings with tags 2021-01-20 08:38:41 +00:00
James Gillham
1032010907 Fix ore values + luacheck. 2021-01-13 21:14:00 +00:00
James Gillham
c0de80df29 Gradient danger ores 2021-01-13 21:08:32 +00:00
Jayefuu
df3230a8a4 Update scenario.lua 2021-01-11 20:31:42 +00:00
Jayefuu
cb2b142e42
Merge pull request #1144 from Refactorio/crash_site_dunes
Crash Site Arrakis
2021-01-08 19:13:45 +00:00
Jayefuu
c728304a10 Added discord prints to rocket tank and airstrike spawn market upgrades 2021-01-08 15:29:35 +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
Jayefuu
67ce804c64 Updated as per requests 2021-01-08 14:10:25 +00:00
Jayefuu
dec40ab588 Added entity validity checks 2021-01-06 09:03:03 +00:00
Jayefuu
d1c5c8e366 Changed balance and updated as per requests
sandworms.lua
- Added feedback to player that places the roboport
- Added floating text *thump* as warning when roboport placed and 30 seconds before attack
- Changed worm/biter spawn balance
- Fixed failed lua check
- Changed spawn time to 5 to 15 minutes instead of 6 to 20 minutes

repair_cars.lua:
- Removed surplus else statement as requested
- Added ability for tanks to repair. Cars were very underwhelming past medium worms, their health is too low to be useful.

others:
- Fixed multiline strings in ScenarioInfo
2021-01-05 16:03:08 +00:00
Jayefuu
e77ae7fb9d Updated as per suggestions 2021-01-05 15:12:00 +00:00
Jayefuu
d57c498d64 Updated as per requests 2021-01-04 17:05:59 +00:00
Jayefuu
4667786cc9 Fixed failed lua checks 2021-01-04 10:46:57 +00:00
Jayefuu
1eb5f26559 Calculate awards and print to discord upon crash site restart 2021-01-04 10:44:31 +00:00
Jayefuu
87a6f2fd49 Fixed lua check fails 2021-01-03 15:42:54 +00:00
Jayefuu
ad4591a13f Crash Site Arrakis 2021-01-03 15:35:53 +00:00
Jayefuu
0089075f9c
Merge pull request #1138 from Refactorio/player_stats_kill_tracking
Player data types updated and saved to server on restart
2021-01-03 08:53:04 +00:00
grilledham
b0ffbe43db
Merge pull request #1143 from grilledham/danger_ore_balance
terraforming danger ore balance updates
2021-01-02 23:42:08 +00:00
James Gillham
820b1e6995 terraforming danger ore balance updates 2021-01-02 23:40:30 +00:00
James Gillham
0e768ec608 Expose PlayerStats names publicly. 2021-01-02 12:00:21 +00:00
Jayefuu
50bf98f8f2 Updated as per suggestions
- Added small fixes to commands.lua
- Added logic to player_stats.lua to count kills made with vehicles. Tested on S10 with a passenger.
2021-01-02 11:37:53 +00:00
Jayefuu
9b39e35d0d Player data types updated
- Saves more kill data to Scoreboard
- Displays total kills in score board
- Saves player data to crash site scenario data set
- Added scenario name to data set so that if we later want to add data for danger ores we can filter it out
2021-01-02 11:37:16 +00:00
grilledham
b18dad52cb
Merge pull request #1137 from grilledham/server_start_data
Add server start_data.
2021-01-01 18:22:45 +00:00
James Gillham
9564d51dcc Add server start_data. 2020-12-30 20:19:22 +00:00
Jayefuu
58eaa07add Updated price after balance testing 2020-12-30 15:16:28 +00:00
grilledham
b7ad574517
Merge pull request #1131 from grilledham/danger_ore_restart
Danger ore: Add simple rocket launch condition and restart command.
2020-12-29 12:58:32 +00:00
James Gillham
8f7d040c12 Change locale danger_ore->danger_ores 2020-12-29 12:38:25 +00:00
Jayefuu
7b4ac037f7 Updated crash site data save location
Changed  data_set name that crash site data is stored in from test set to real.
2020-12-29 06:29:42 +00:00
James Gillham
e55d8987e8 Add simple rocket launch condition and restart command. 2020-12-28 22:28:21 +00:00