mirror of
https://github.com/minetest/minetest.git
synced 2024-11-24 00:23:46 +01:00
Dungeons: Use 'block' instead of 'brick' for nodebox stairs
Affects only sandstone dungeons. Nodebox stairs made from 'sandstone_block' look better because every step is undivided.
This commit is contained in:
parent
f1ab42fdff
commit
e10e5fd16c
@ -606,7 +606,7 @@ MapgenBasic::MapgenBasic(int mapgenid, MapgenParams *params, EmergeManager *emer
|
|||||||
c_stair_cobble = ndef->getId("mapgen_stair_cobble");
|
c_stair_cobble = ndef->getId("mapgen_stair_cobble");
|
||||||
c_stair_desert_stone = ndef->getId("mapgen_stair_desert_stone");
|
c_stair_desert_stone = ndef->getId("mapgen_stair_desert_stone");
|
||||||
c_sandstonebrick = ndef->getId("mapgen_sandstonebrick");
|
c_sandstonebrick = ndef->getId("mapgen_sandstonebrick");
|
||||||
c_stair_sandstonebrick = ndef->getId("mapgen_stair_sandstonebrick");
|
c_stair_sandstone_block = ndef->getId("mapgen_stair_sandstone_block");
|
||||||
|
|
||||||
// Fall back to more basic content if not defined
|
// Fall back to more basic content if not defined
|
||||||
if (c_mossycobble == CONTENT_IGNORE)
|
if (c_mossycobble == CONTENT_IGNORE)
|
||||||
@ -617,8 +617,8 @@ MapgenBasic::MapgenBasic(int mapgenid, MapgenParams *params, EmergeManager *emer
|
|||||||
c_stair_desert_stone = c_desert_stone;
|
c_stair_desert_stone = c_desert_stone;
|
||||||
if (c_sandstonebrick == CONTENT_IGNORE)
|
if (c_sandstonebrick == CONTENT_IGNORE)
|
||||||
c_sandstonebrick = c_sandstone;
|
c_sandstonebrick = c_sandstone;
|
||||||
if (c_stair_sandstonebrick == CONTENT_IGNORE)
|
if (c_stair_sandstone_block == CONTENT_IGNORE)
|
||||||
c_stair_sandstonebrick = c_sandstonebrick;
|
c_stair_sandstone_block = c_sandstonebrick;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -891,7 +891,7 @@ void MapgenBasic::generateDungeons(s16 max_stone_y, MgStoneType stone_type)
|
|||||||
case MGSTONE_SANDSTONE:
|
case MGSTONE_SANDSTONE:
|
||||||
dp.c_wall = c_sandstonebrick;
|
dp.c_wall = c_sandstonebrick;
|
||||||
dp.c_alt_wall = CONTENT_IGNORE;
|
dp.c_alt_wall = CONTENT_IGNORE;
|
||||||
dp.c_stair = c_stair_sandstonebrick;
|
dp.c_stair = c_stair_sandstone_block;
|
||||||
|
|
||||||
dp.diagonal_dirs = false;
|
dp.diagonal_dirs = false;
|
||||||
dp.holesize = v3s16(2, 2, 2);
|
dp.holesize = v3s16(2, 2, 2);
|
||||||
|
@ -268,7 +268,7 @@ protected:
|
|||||||
content_t c_mossycobble;
|
content_t c_mossycobble;
|
||||||
content_t c_stair_desert_stone;
|
content_t c_stair_desert_stone;
|
||||||
content_t c_sandstonebrick;
|
content_t c_sandstonebrick;
|
||||||
content_t c_stair_sandstonebrick;
|
content_t c_stair_sandstone_block;
|
||||||
|
|
||||||
int ystride;
|
int ystride;
|
||||||
int zstride;
|
int zstride;
|
||||||
|
Loading…
Reference in New Issue
Block a user