use mesh node for coffee maker
|
@ -97,46 +97,30 @@ homedecor.register_furnace("homedecor:microwave_oven", {
|
|||
-- coffee!
|
||||
-- coffee!
|
||||
-- coffee!
|
||||
|
||||
local cm_cbox = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{ 0, -8/16, 0, 7/16, 3/16, 8/16 },
|
||||
{ -4/16, -8/16, -6/16, -1/16, -5/16, -3/16 }
|
||||
}
|
||||
}
|
||||
|
||||
homedecor.register("coffee_maker", {
|
||||
mesh = "homedecor_coffeemaker.obj",
|
||||
tiles = {
|
||||
"homedecor_coffeemaker_top.png",
|
||||
"homedecor_coffeemaker_bottom.png",
|
||||
"homedecor_coffeemaker_right.png",
|
||||
"homedecor_coffeemaker_right.png^[transformFX",
|
||||
"homedecor_coffeemaker_back.png",
|
||||
"homedecor_coffeemaker_front.png"
|
||||
"homedecor_coffeemaker_decanter.png",
|
||||
"homedecor_coffeemaker_cup.png",
|
||||
"homedecor_coffeemaker_case.png",
|
||||
},
|
||||
description = "Coffee Maker",
|
||||
inventory_image = "homedecor_coffeemaker_inv.png",
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
sunlight_propagates = true,
|
||||
groups = {snappy=3},
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{0.0625, -0.5, -0.025, 0.375, -0.375, 0.5}, -- NodeBox1
|
||||
{0.0625, -0.375, 0.3125, 0.375, 0, 0.5}, -- NodeBox2
|
||||
{0.0625, -0.052, 0.02, 0.375, 0.19, 0.5}, -- NodeBox3
|
||||
{0.078, -0.375, 0, 0.36, -0.0625, 0.3125}, -- NodeBox4
|
||||
{0.1875, -0.098, -0.0525, 0.25, -0.078, 0}, -- NodeBox5
|
||||
{0.1875, -0.36, -0.090, 0.25, -0.078, -0.0525}, -- NodeBox6
|
||||
{0.1875, -0.36, -0.0525, 0.25, -0.34, 0}, -- NodeBox7
|
||||
{-0.1875, -0.5, -0.3125, -0.1, -0.4, -0.225}, -- NodeBox8
|
||||
{-0.1975, -0.5, -0.3225, -0.1, -0.375, -0.3125}, -- NodeBox9
|
||||
{-0.1975, -0.5, -0.235, -0.1, -0.375, -0.225}, -- NodeBox10
|
||||
{-0.1975, -0.5, -0.3225, -0.1875, -0.375, -0.225}, -- NodeBox11
|
||||
{-0.11, -0.5, -0.3225, -0.1, -0.375, -0.225}, -- NodeBox12
|
||||
{-0.1, -0.485, -0.2838, -0.06, -0.475, -0.2638}, -- NodeBox13
|
||||
{-0.1, -0.4, -0.2838, -0.06, -0.39, -0.2638}, -- NodeBox14
|
||||
{-0.075, -0.485, -0.2838, -0.06, -0.39, -0.2638}, -- NodeBox15
|
||||
}
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = { -0.22, -0.5, -0.35, 0.4, 0.21, 0.5 }
|
||||
}
|
||||
selection_box = cm_cbox,
|
||||
node_box = cm_cbox
|
||||
})
|
||||
|
||||
local fdir_to_steampos = {
|
||||
|
|
1852
homedecor/models/homedecor_coffeemaker.obj
Normal file
Before Width: | Height: | Size: 157 B |
Before Width: | Height: | Size: 75 B |
BIN
homedecor/textures/homedecor_coffeemaker_case.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
homedecor/textures/homedecor_coffeemaker_cup.png
Normal file
After Width: | Height: | Size: 417 B |
BIN
homedecor/textures/homedecor_coffeemaker_decanter.png
Normal file
After Width: | Height: | Size: 708 B |
Before Width: | Height: | Size: 222 B |
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 187 B |
Before Width: | Height: | Size: 198 B |