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/nodedef.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/nodedef.h') diff --git a/src/nodedef.h b/src/nodedef.h index a0b5fc69e..66296016a 100644 --- a/src/nodedef.h +++ b/src/nodedef.h @@ -187,6 +187,8 @@ enum NodeDrawType NDT_GLASSLIKE_FRAMED_OPTIONAL, // Uses static meshes NDT_MESH, + // Combined plantlike-on-solid + NDT_PLANTLIKE_ROOTED, }; // Mesh options for NDT_PLANTLIKE with CPT2_MESHOPTIONS -- cgit v1.2.3