Help with cliffs
Posted: Fri Dec 15, 2017 5:40 pm
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
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