1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-24 03:47:58 +02:00

35 lines
1.0 KiB
Lua
Raw Normal View History

-- This file is part of thesixthroc's Pirate Ship softmod, licensed under GPLv3 and stored at https://github.com/danielmartin0/ComfyFactorio-Pirates.
2021-10-13 09:21:53 +01:00
2022-03-19 21:20:55 +00:00
-- 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
2021-10-13 09:21:53 +01:00
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
2022-03-19 21:20:55 +00:00
function Public.chunk_structures()
2022-03-04 17:57:58 +00:00
return nil
2021-10-13 09:21:53 +01:00
end
return Public