Bugfixes; One model slightly wrong; Define allow_in_creative_inv specifically, not generally
parent
36063916eb
commit
386b67a721
7
init.lua
7
init.lua
|
@ -398,7 +398,6 @@ function bigdoors.register(basename, basedef)
|
|||
basedef.walkable = true
|
||||
basedef.is_ground_content = false
|
||||
basedef.buildable_to = false
|
||||
basedef.groups.not_in_creative_inventory = 1
|
||||
basedef.groups.door = 1
|
||||
|
||||
|
||||
|
@ -429,7 +428,7 @@ function bigdoors.register(basename, basedef)
|
|||
local name = basename..size_string
|
||||
def.drop = name
|
||||
def.door.name = name
|
||||
|
||||
|
||||
local on_place = on_place_size(name, size, def)
|
||||
|
||||
-- Use inventory image for item, and remove from def
|
||||
|
@ -487,6 +486,10 @@ function bigdoors.register(basename, basedef)
|
|||
local defc = by_value(def)
|
||||
local defd = by_value(def)
|
||||
|
||||
defb.groups.not_in_creative_inventory = 1
|
||||
defc.groups.not_in_creative_inventory = 1
|
||||
defd.groups.not_in_creative_inventory = 1
|
||||
|
||||
local adbox = by_value(normalbox)
|
||||
local bcbox = by_value(normalbox)
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ v -1 -0.5 -0.375
|
|||
#LDB
|
||||
v -1 1.5 -0.5
|
||||
#LUB
|
||||
v -0.5 -0.5 -0.5
|
||||
v -1 -0.5 -0.5
|
||||
vt 0.842105 1.000000
|
||||
vt 0.894737 1.000000
|
||||
vt 0.894737 0.000000
|
||||
|
|
Loading…
Reference in New Issue