1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-01-05 22:53:39 +02:00
This commit is contained in:
grilledham 2018-06-07 17:26:52 +01:00
parent 8e7e0351dc
commit 76cdd26172
3 changed files with 9 additions and 3 deletions

View File

@ -212,3 +212,6 @@ Gui.on_custom_close(
event.element.destroy()
end
)
local market_items = require 'resources.market_items'
table.insert(market_items, {price = {{'raw-fish', 100}}, offer = {type = 'give-item', item = 'infinity-chest'}})

View File

@ -80,4 +80,6 @@ local map = b.any {b.translate(water_shape, 64, -32), sand_shape, grass}
map = b.choose(bounds, map, b.empty_shape)
map = b.translate(map, 0, -64)
return map

View File

@ -128,13 +128,14 @@ end
if shape then
local surfaces = {
['nauvis'] = shape,
['nauvis'] = shape,
}
--require('map_gen.shared.generate')({surfaces = surfaces, regen_decoratives = regen_decoratives, tiles_per_tick = tiles_per_tick})
require ("map_gen.shared.generate_not_threaded")({surfaces = surfaces, regen_decoratives = regen_decoratives})
require('map_gen.shared.generate')({surfaces = surfaces, regen_decoratives = regen_decoratives, tiles_per_tick = tiles_per_tick})
--require ("map_gen.shared.generate_not_threaded")({surfaces = surfaces, regen_decoratives = regen_decoratives})
end
local Event = require 'utils.event'
Event.add(
defines.events.on_player_built_tile,
function(event)