mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-01-18 03:21:47 +02:00
2afc4ac5f0
You add a new surface by calling the get_surfaces() method in generate.lua And then inserting a new value in the key, value format: [surface_name] = shape Example `local Generate = require 'map_gen.shared.generate' game.create_surface('snake') Generate.get_surfaces()['snake'] = b.rectangle(45, 4)