From f3354f52da077c8000f98d5ad4dfc6bcbeafa838 Mon Sep 17 00:00:00 2001 From: BuckarooBanzay Date: Thu, 29 Feb 2024 13:37:38 +0100 Subject: [PATCH] disable param2type of octofloors --- nodes.json | 6 ++++-- nodes.lua | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/nodes.json b/nodes.json index 50a75b4..47f5db7 100644 --- a/nodes.json +++ b/nodes.json @@ -176,11 +176,13 @@ }, "octofloor": { "description": "Doom floor", - "sounds": "stone" + "sounds": "stone", + "paramtype2": "none" }, "octofloor2": { "description": "Brown Doom floor", - "sounds": "stone" + "sounds": "stone", + "paramtype2": "none" }, "doomwall1": { "description": "Doom wall 1" diff --git a/nodes.lua b/nodes.lua index 0bfc44d..61962f5 100644 --- a/nodes.lua +++ b/nodes.lua @@ -569,7 +569,7 @@ for name, def in pairs(nodes) do tiles = tiles, groups = {cracky=1, dig_generic = 3}, paramtype = "light", - paramtype2 = "facedir", + paramtype2 = def.paramtype2 or "facedir", light_source = def.light, sounds = sounds, }