1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-10 00:43:27 +02:00
ComfyFactorio/maps/pirates/surfaces/channel/channel.lua
2022-06-01 19:50:36 +01:00

35 lines
1.0 KiB
Lua

-- This file is part of thesixthroc's Pirate Ship softmod, licensed under GPLv3 and stored at https://github.com/danielmartin0/ComfyFactorio-Pirates.
-- local Memory = require 'maps.pirates.memory'
-- local Math = require 'maps.pirates.math'
-- local Balance = require 'maps.pirates.balance'
-- local Structures = require 'maps.pirates.structures.structures'
-- local Boats = require 'maps.pirates.structures.boats.boats'
-- local Common = require 'maps.pirates.common'
-- local Utils = require 'maps.pirates.utils_local'
local _inspect = require 'utils.inspect'.inspect
local Public = {}
Public.Data = require 'maps.pirates.surfaces.channel.data'
Public.info = {
display_name = 'Channel'
}
function Public.terrain(args)
if (args.p.y>30 or args.p.y<-20) and args.p.x>-80 and args.p.x<80 then
args.tiles[#args.tiles + 1] = {name = 'sand-1', position = args.p}
else
args.tiles[#args.tiles + 1] = {name = 'deepwater', position = args.p}
end
end
function Public.chunk_structures()
return nil
end
return Public