]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/script/cpp_api/s_node.cpp
[CSM] Add `on_punchnode` callback
[dragonfireclient.git] / src / script / cpp_api / s_node.cpp
index a905f843de4c0127493a2b6d1ecc9e4d9466d1ba..23c8f43b97b908080a8b61076ebc4b3fa6327c0e 100644 (file)
@@ -58,6 +58,10 @@ struct EnumString ScriptApiNode::es_ContentParamType2[] =
                {CPT2_WALLMOUNTED, "wallmounted"},
                {CPT2_LEVELED, "leveled"},
                {CPT2_DEGROTATE, "degrotate"},
+               {CPT2_MESHOPTIONS, "meshoptions"},
+               {CPT2_COLOR, "color"},
+               {CPT2_COLORED_FACEDIR, "colorfacedir"},
+               {CPT2_COLORED_WALLMOUNTED, "colorwallmounted"},
                {0, NULL},
        };
 
@@ -82,6 +86,7 @@ struct EnumString ScriptApiNode::es_NodeBoxType[] =
                {NODEBOX_FIXED, "fixed"},
                {NODEBOX_WALLMOUNTED, "wallmounted"},
                {NODEBOX_LEVELED, "leveled"},
+               {NODEBOX_CONNECTED, "connected"},
                {0, NULL},
        };