Surfaces Reloaded deprecated

by Danacus

Reach up to the skies or dig deep below, expand your base vertically... If you're into that kind of thing. Original by Simcra, ported to 0.14-0.16 by Erdbeerbaer. Port to 0.17 started by DeltaNedas and continued by Danacus.

3 years ago
0.17 - 1.1
589

b crash on load

3 years ago

I'm sorry, but I don't have time to fix these issues at the moment.
For now you'll have to use version 1.1.5 on stable factorio until I have time (unless you can fix it yourself).
Thanks for reporting though.

3 years ago

yes bug

3 years ago

problem fix?

3 years ago

no, sorry, no time. fix later, not now

3 years ago
(updated 3 years ago)

Fixed it, replace the _prototype.tile block in proto.lua, line 478 by

_prototypes.tile = { -- Tiles
    common = {type = "tile", decorative_removal_probability = 1, collision_mask = {"ground-tile"}, needs_correction = false, 
        ageing = 0, group = _prototypes.item_group.surfaces.name
    },
    underground_dirt = {
        name = "underground-dirt",
        icon = _gfxpath.icon .. "underground-dirt.png",
        icon_size=64,
        layer = 45,
        variants = struct.Variants(_gfxpath.terrain, "underground-dirt", {4,0,0,0,0,0}, {1}),
        walking_speed_modifier = 0.8,
        map_color = util.RGB(107, 44, 4),
        pollution_absorption_per_second = 0.0000066
    },
    sky_void = {
        name = "sky-void",
        icon = _gfxpath.icon .. "sky-void.png",
        icon_size=64,
        layer = 45,
        collision_mask = {"ground-tile", "resource-layer", "floor-layer", "item-layer", "object-layer", "player-layer", "doodad-layer"},
        variants = struct.Variants(_gfxpath.terrain, "sky-void", {2,0,0,0,0,0}, {1}),
        map_color = util.RGB(4, 172, 251),
        pollution_absorption_per_second = 0.0000066
    },
    underground_wall = {
        name = "underground-wall",
        icon = _gfxpath.icon .. "underground-wall.png",
        icon_size=64,
        layer = 46,
        collision_mask = {"floor-layer", "item-layer", "doodad-layer"},
        variants = struct.Variants(_gfxpath.terrain, "underground-wall", {1,0,0,0,0,0}, {1}),
        map_color = _prototypes.entity.underground_wall.map_color,
        pollution_absorption_per_second = 0.00001
    },
    floor = {
        common = {minable = {hardness = 0.2, mining_time = 0.5}, walking_speed_modifier = 1, subgroup = _prototypes.item_subgroup.surfaces.tile.name,
            override = true},
        wood = {
            name = _prototypes.item.floor.wood.name,
            layer = 59,
            variants = struct.Variants(_gfxpath.terrain, _prototypes.item.floor.wood.name, {1,1,1,1,1,1}, {1}),
            map_color = util.RGB(193, 140, 89),
            pollution_absorption_per_second = 0.000005
        }
    }
}

was just three icon_size=64 missing

3 years ago

Thank you very much! If you are familiar with git, feel free to create a pull request. If not I will commit the changes myself and publish a new version of the mod very soon.

3 years ago
(updated 3 years ago)

Merge request done ...

3 years ago

New version published on the Mod Portal, it should work now.

New response