From ef285b2815962a7a01791059ed984cb12fdba4dd Mon Sep 17 00:00:00 2001 From: number Zero Date: Thu, 11 May 2017 23:24:12 +0300 Subject: Add 'plantlike_rooted' drawtype Useful for underwater plants. Node consists of a base cube plus a plantlike extension that can pass through liquid nodes above without creating air bubbles or interfering with liquid flow. Uses paramtype2 'leveled', param2 defines height of plantlike extension. --- src/script/common/c_content.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/script/common/c_content.cpp') diff --git a/src/script/common/c_content.cpp b/src/script/common/c_content.cpp index 3ee6913c9..8d94235ce 100644 --- a/src/script/common/c_content.cpp +++ b/src/script/common/c_content.cpp @@ -362,6 +362,7 @@ TileDef read_tiledef(lua_State *L, int index, u8 drawtype) bool default_culling = true; switch (drawtype) { case NDT_PLANTLIKE: + case NDT_PLANTLIKE_ROOTED: case NDT_FIRELIKE: default_tiling = false; // "break" is omitted here intentionaly, as PLANTLIKE -- cgit v1.2.3