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

1619 Commits

Author SHA1 Message Date
James Gillham
02f943695b Fix placing blueprint refined concrete on blue-refined-concrete. 2021-06-12 15:02:21 +01:00
James Gillham
d1d46d361f Prevent ghost refined concrete on blue concrete 2021-05-31 12:49:58 +01:00
James Gillham
6323605775 Remove dense patches from all danger ore maps. 2021-05-31 12:49:58 +01:00
James Gillham
dab5dae07b Terraforming danger ore balance changes. 2021-05-31 12:49:58 +01:00
James Gillham
167438f6fe Change uranium patches to smaller and more frequent. 2021-05-25 20:18:39 +01:00
James Gillham
3715775cda comment out unused variable. 2021-05-23 13:38:28 +01:00
James Gillham
b5fca58c08 Increase player force minning speed +100%, remove free space around oil. 2021-05-23 13:29:43 +01:00
James Gillham
dc5e76d5eb Danger ore balance changes:
- Ore starts at lower value but grows exponentially.
- Smaller spawn.
- Greater oil value from distance.
- Richer uranium.
2021-05-23 13:29:43 +01:00
James Gillham
835e3064c4 Remove unused code. 2021-05-23 11:59:44 +01:00
James Gillham
fa6f70c235 Refactor danger_ore_circles.
- Create builder functions for ring_pattern and ring_weighted_pattern.
- Use main ore rorate to rotate start ores.
- Shuffle start ores.
- Use same land tiles for start ores.
- Shuffle shapes rather than mutating the config.
- Rename scenario template from danger-ore-cricle to danger-ore-circles.
- Set restart command to use 'danger-ore-circles'.
2021-05-22 16:50:22 +01:00
Soggs
d73f3344ea Fix Desync on Chunk generation for Danger Ores Circle. 2021-05-22 14:19:23 +02:00
Soggs
940315614c Hotfix for Desync on terrain generation. 2021-05-21 23:10:45 +02:00
Soggs
2c61140d1d
Change the builder to properly avoid water tiles in the starting ore ring.
Co-authored-by: grilledham <jrdgillham@gmail.com>
2021-05-20 20:56:16 +02:00
Soggs
f38999d674 Added Danger Ores Circles to the scenario templates. 2021-05-19 23:05:52 +02:00
Soggs
1d48034b93 More changes. 2021-05-19 22:59:07 +02:00
Soggs
4b80c8c819 Merge branch 'master' of https://github.com/Soggs/RedMew 2021-05-19 22:54:05 +02:00
Soggs
ca77b4ce3b Clean up and improvment to danger_ores_circles. 2021-05-19 22:53:13 +02:00
Soggs
a009e9fb51 Merge remote-tracking branch 'refs/remotes/upstream/develop' 2021-05-19 22:52:18 +02:00
Soggs
e801f1acbd
Update map_gen/maps/danger_ores/presets/danger_ore_circles.lua
Co-authored-by: grilledham <jrdgillham@gmail.com>
2021-05-19 22:05:09 +02:00
Soggs
ee748a7033 Fixing things because Build check made me break things. 2021-05-19 18:35:37 +02:00
Soggs
e769ec0f61 More Build checks 2021-05-19 18:25:51 +02:00
Soggs
480de9f27f Build checks... 2021-05-19 18:23:36 +02:00
Soggs
f1106061aa Added a Circles preset for Danger Ores. 2021-05-19 17:51:03 +02:00
James Gillham
75ef275a93 Use SnowZy's ore ratios for danger ore. 2021-05-18 16:54:36 +01:00
James Gillham
2e749601a9 Remove test code + increase name textfield width. 2021-05-15 12:24:56 +01:00
James Gillham
ca381aa289 Add config-restart command.
- change Restart command to use server.start_game (offers setting the mod pack).
- Change danger ores and crashsite maps to use the new restart command.
2021-05-15 11:21:46 +01:00
James Gillham
66883a87b3 Change game.players -> game.get_player 2021-05-15 11:21:46 +01:00
James Gillham
ddc84d367d Blue concrete on landfill + danger_ore_chessboard_uniform. 2021-05-08 18:18:02 +01:00
James Gillham
84c3042c00 BlueRock's diggy suggestions. 2021-05-04 21:12:09 +01:00
James Gillham
0fded5f9ee Danger ore chessboard. 2021-05-03 15:16:45 +01:00
James Gillham
d7658fc1aa Danger ore split 2021-04-19 22:15:46 +01:00
James Gillham
56ac6954f4 Add hail hydra to danger_ore_normal_science 2021-04-14 20:54:46 +01:00
James Gillham
5975c700ae Add danger ore normal science 2021-04-13 21:44:54 +01:00
James Gillham
264ad2b2ce Liutio proposed changes to danger ore. 2021-04-09 21:09:07 +01:00
James Gillham
5823860a49 Update danger ores map descriptions 2021-04-08 17:56:28 +01:00
James Gillham
c54e75e6cc Add danger-ores scenario_templates 2021-04-08 17:56:28 +01:00
James Gillham
d26540c079 Add danger_ore_spiral.lua 2021-04-08 17:56:28 +01:00
James Gillham
9a5137a23b Update danger_ore maps
- Enabled dump inventories.
- Restart to danger-ore-next.
- make no stone the default.
2021-04-08 17:56:27 +01:00
James Gillham
85a7171406 danger ore updates 2021-04-08 16:43:56 +01:00
James Gillham
2987f8a47c Less stone for danger_ore_landfill 2021-03-31 20:59:06 +01:00
James Gillham
c33eed76ec Remove unsued variable. 2021-03-31 17:10:45 +01:00
James Gillham
5e025199d4 danger_ore_landfill 2021-03-31 17:04:43 +01:00
James Gillham
0cfe65b18a danger_ore_no_stone config changes 2021-03-31 16:30:51 +01:00
James Gillham
680580438c Add skip cutscene player setting. 2021-03-30 20:21:57 +01:00
James Gillham
e02d7bd47f Add danger_ore_no_stone preset. 2021-03-17 20:14:32 +00:00
James Gillham
32af8b8862 Fix no oil/uranium on danger ores gradient. 2021-03-08 21:47:14 +00:00
Jayefuu
8ae9c4ba0e Updated timer after testing on S10 2021-03-04 08:32:57 +00:00
James Gillham
02e2b59103 dump_offline_inventories fixes. 2021-03-03 20:13:25 +00:00
Jayefuu
a4d9707f42 WIP 2021-03-03 18:52:30 +00:00
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
James Gillham
03e40c57ea Increase danger ore richness 25% 2021-02-27 18:08:22 +00:00
Jayefuu
b74908f64b Updated errors 2021-02-24 19:04:03 +00:00
Jayefuu
4e466c8131 Added evo flying text on turret destruction to improve new player experience 2021-02-24 15:46:00 +00:00
Jayefuu
2be2501f39 Adjusted barrel prices to balance new meta
Players were buying a hundred barrels for 15 coins. Made blue belts V easy among other things, adjusted at request of Tigress.
2021-02-22 23:42:15 +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
21be255763 Updated as per suggestions 2021-02-19 14:25:17 +00:00
Jayefuu
55f0681bd6 Updated artillery behaviour to get rid of destroyer-capsule while avoiding part of pickup bug 2021-02-18 14:14:05 +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
grilledham
a62f81647b
Merge pull request #1174 from Refactorio/repair_tanks_everywhere!
Repair tanks in all versions
2021-02-14 10:41:09 +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
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
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
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
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
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
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
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
43260be5a3 fixed lua checks 2021-01-08 12:37:24 +00:00
Jayefuu
565249ff1b Added player_built and player_crafted to the crash site awards ceremony 2021-01-08 12:34:51 +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
Jayefuu
a93eb2d4ea
Merge pull request #1128 from Refactorio/rocket-tanks
Crash site rocket tanks
2020-12-28 08:32:17 +00:00
Jayefuu
903a78de54 Updated rocket tank balance
- Reduced intervals for each level from 3, 2, 1, 0.5 seconds to 2, 1.5, 1, 0.5 seconds.
- Reduced cost from 7500 per level to 4000 per level.

These changes should make the tank useful in the period of the game for which it's designed. I will watch the next few games to check balance and adjust if it's too OP.
2020-12-28 08:25:24 +00:00
James Gillham
2f53b43165 Send report to discord. 2020-12-27 15:57:22 +00:00
James Gillham
b6221a57c2 Fix broken item.name check 2020-12-27 14:17:42 +00:00
James Gillham
7501c7b28c Fix lua check 2020-12-27 14:07:06 +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
Jayefuu
deefaa6892 Final updates
- Made changes suggested by grilledham
- Disabled market item when research levels complete so that the tooltip can still be seen
- Changed cost to 7500 extra per level
2020-12-27 07:30:15 +00:00