Skip to content

Commit

Permalink
fix: Fixed being able to build sand extractors outside of nauvis.
Browse files Browse the repository at this point in the history
  • Loading branch information
notnotmelon committed Dec 12, 2024
1 parent d55412a commit 0b4faea
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions prototypes/sand-extractor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,16 @@ for extractor in pairs(maraxsis.MARAXSIS_SAND_EXTRACTORS) do
extractor.fixed_quality = "normal"
extractor.crafting_speed = extractor.mining_speed
extractor.mining_speed = nil
extractor.fast_replaceable_group = (extractor.fast_replaceable_group or extractor.name) .. "-sand-extractor"
extractor.next_upgrade = nil
extractor.allowed_effects = {"productivity", "consumption", "speed", "pollution", "quality"}
extractor.resource_drain_rate_percent = nil
extractor.name = extractor.name .. "-sand-extractor"
extractor.surface_conditions = {{
property = "pressure",
min = 200000,
max = 200000,
}}
data:extend {extractor}
end

Expand Down

0 comments on commit 0b4faea

Please sign in to comment.