Hey guys, I'm making a small mod for myself where you would be able to use landfill on land and the result would be cliffs.
I have figured out the landfill part of it but i can't for the life of me find what the cliff entity name is.
This is the closest thing i can find but it is in a local function scaled_cliff. Line 87 in demo-entities.lua
return {
type = "cliff",
name = name,
icon = "__base__/graphics/icons/cliff-icon.png",
icon_size = 32,
subgroup = "cliffs",
flags = {"placeable-neutral"},
I can't figure out what the result should be...
place_as_tile =
{
result = "small-cliff",
condition_size = 1,
condition = { "water-tile" }
}
thanks,
Samuel
Help with cliffs
Re: Help with cliffs
there is cliff and small-cliff in the code, so probabaly one of those.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Re: Help with cliffs
yeah i have tried both of those. ugh this is FrustratingBilka wrote:there is cliff and small-cliff in the code, so probabaly one of those.
Re: Help with cliffs
Cliffs are entities, not tiles. You can't use place_as_tile to create cliffs.