1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-01-30 04:30:58 +02:00

Merge pull request #185 from grilledham/master

Factory map
This commit is contained in:
grilledham 2018-06-12 12:40:34 +01:00 committed by GitHub
commit f8ad33f5f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 1828 additions and 7 deletions

View File

@ -10,7 +10,7 @@ require 'walk_distance'
require 'follow' require 'follow'
require 'autodeconstruct' require 'autodeconstruct'
require 'corpse_util' require 'corpse_util'
require 'infinite_storage_chest' --require 'infinite_storage_chest'
require 'fish_market' require 'fish_market'
require 'reactor_meltdown' require 'reactor_meltdown'
require 'map_layout' require 'map_layout'
@ -155,9 +155,5 @@ Event.add(
local gui = player.gui local gui = player.gui
gui.top.style = 'slot_table_spacing_horizontal_flow' gui.top.style = 'slot_table_spacing_horizontal_flow'
gui.left.style = 'slot_table_spacing_vertical_flow' gui.left.style = 'slot_table_spacing_vertical_flow'
--[[ player.insert {name = 'infinity-chest', count = 10}
player.insert {name = 'electric-energy-interface', count = 10}
player.cheat_mode = true ]]
end end
) )

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,7 @@
local b = require "map_gen.shared.builders"
local pic = require "map_gen.data.presets.factory"
local pic = b.decompress(pic)
local map = b.picture(pic)
return map

View File

@ -8,7 +8,7 @@ in this file and your run_*type*_module(event) function will be called.
local b = require 'map_gen.shared.builders' local b = require 'map_gen.shared.builders'
local shape = nil local shape = nil
local regen_decoratives = true local regen_decoratives = false
local tiles_per_tick = 32 local tiles_per_tick = 32
--combined-- --combined--
@ -64,6 +64,7 @@ local tiles_per_tick = 32
--shape = require "map_gen.presets.line_and_trees" --shape = require "map_gen.presets.line_and_trees"
--shape = require "map_gen.presets.square_spiral" --shape = require "map_gen.presets.square_spiral"
--shape = require "map_gen.presets.beach" --shape = require "map_gen.presets.beach"
--shape = require "map_gen.presets.factory"
--shape = require "map_gen.presets.test" --shape = require "map_gen.presets.test"
--shapes-- --shapes--

View File

@ -305,5 +305,16 @@ return {
['wadiyatalkinabeet'] = true, ['wadiyatalkinabeet'] = true,
['builder101'] = true, ['builder101'] = true,
['brftjx'] = true, ['brftjx'] = true,
['baronting'] = true ['baronting'] = true,
['Haribo112'] = true,
['ZjosH'] = true,
['NbITUK'] = true,
['heardofsnails'] = true,
['JinNJuice'] = true,
['VERBUGA'] = true,
['dmaonk'] = true,
['Drlloyd1337'] = true,
['rhobes'] = true,
['cpenguinred'] = true,
['SimonFlapse'] = true
} }