defineObject{
name = "table_alcove_east_left",
class = "Alcove",
anchorPos = vec(-1, 0.85, 0.114),
anchorRotation = vec(0, 0, 0),
targetPos = vec(0, 0.87, 0.114),
targetSize = vec(0.5, 0.3, 0.9),
placement = "wall",
editorIcon = 92,
onInsertItem = function(self, item)
if self:getItemCount() == 1 then
return false
else
return true
end
end
}
defineObject{
name = "table_alcove_east_right",
class = "Alcove",
anchorPos = vec(1, 0.85, 0.114),
anchorRotation = vec(0, 0, 0),
targetPos = vec(0, 0.87, 0.114),
targetSize = vec(0.5, 0.3, 0.9),
placement = "wall",
editorIcon = 92,
onInsertItem = function(self, item)
if self:getItemCount() == 1 then
return false
else
return true
end
end
}
defineObject{
name = "table_alcove_west_left",
class = "Alcove",
anchorPos = vec(-1, 0.85, 0.114),
anchorRotation = vec(0, 0, 0),
targetPos = vec(0, 0.87, 0.114),
targetSize = vec(0.5, 0.3, 0.9),
placement = "wall",
editorIcon = 92,
onInsertItem = function(self, item)
if self:getItemCount() == 1 then
return false
else
return true
end
end
}
defineObject{
name = "table_alcove_west_right",
class = "Alcove",
anchorPos = vec(1, 0.85, 0.114),
anchorRotation = vec(0, 0, 0),
targetPos = vec(0, 0.87, 0.114),
targetSize = vec(0.5, 0.3, 0.9),
placement = "wall",
editorIcon = 92,
onInsertItem = function(self, item)
if self:getItemCount() == 1 then
return false
else
return true
end
end
}
defineObject{
name = "table_alcove_east",
class = "Alcove",
anchorPos = vec(0, 0.85, 0.114),
anchorRotation = vec(0, 0, 0),
targetPos = vec(0, 0.87, 0.114),
targetSize = vec(0.2, 0.2, 0.2),
placement = "wall",
editorIcon = 92,
}
defineObject{
name = "table_alcove_west",
class = "Alcove",
anchorPos = vec(0, 0.85, 0.114),
anchorRotation = vec(0,0, 0),
targetPos = vec(0, 0.87, 0.114),
targetSize = vec(0.2, 0.2, 0.2),
placement = "wall",
editorIcon = 92,
}
defineObject{
name = "table_alcove_north",
class = "Alcove",
anchorPos = vec(0, 0.85, -0.114),
anchorRotation = vec(0, 0, 0),
targetPos = vec(0, 0.87, -0.114),
targetSize = vec(0.2, 0.2, 0.2),
placement = "wall",
editorIcon = 92,
}
defineObject{
name = "table_alcove_south",
class = "Alcove",
anchorPos = vec(0, 0.85, -0.114),
anchorRotation = vec(0, 0, 0),
targetPos = vec(0, 0.87, -0.114),
targetSize = vec(0.2, 0.2, 0.2),
placement = "wall",
editorIcon = 92,
}