mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-12-22 16:10:18 +01:00
Add 3d printer (Prussa i3/"bedflinger" style)
This commit is contained in:
parent
67f2065408
commit
60be4a6320
11234
computer/models/computer_3dprinter_bedflinger.obj
Normal file
11234
computer/models/computer_3dprinter_bedflinger.obj
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,7 @@
|
|||||||
-- Printers of some kind or another
|
-- Printers of some kind or another
|
||||||
|
|
||||||
|
local S = homedecor.gettext
|
||||||
|
|
||||||
minetest.register_node("computer:printer", {
|
minetest.register_node("computer:printer", {
|
||||||
description = S("Printer-Scanner Combo"),
|
description = S("Printer-Scanner Combo"),
|
||||||
inventory_image = "computer_printer_inv.png",
|
inventory_image = "computer_printer_inv.png",
|
||||||
@ -26,3 +28,25 @@ minetest.register_node("computer:printer", {
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- "bedflinger" style 3D Printer (Prusa i3 or equivalent)
|
||||||
|
|
||||||
|
local cbox = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = {-0.25, -0.5, -0.25, 0.3, 0.25, 0.3 }
|
||||||
|
}
|
||||||
|
|
||||||
|
minetest.register_node("computer:3dprinter_bedflinger", {
|
||||||
|
description = S('3D Printer ("bedflinger")'),
|
||||||
|
inventory_image = "computer_3dprinter_bedflinger_inv.png",
|
||||||
|
tiles = {"computer_3dprinter_bedflinger.png"},
|
||||||
|
paramtype = "light",
|
||||||
|
paramtype2 = "facedir",
|
||||||
|
walkable = true,
|
||||||
|
groups = {snappy=3},
|
||||||
|
sound = default.node_sound_wood_defaults(),
|
||||||
|
drawtype = "mesh",
|
||||||
|
mesh = "computer_3dprinter_bedflinger.obj",
|
||||||
|
selection_box = cbox,
|
||||||
|
collision_box = cbox,
|
||||||
|
})
|
||||||
|
|
||||||
|
BIN
computer/textures/computer_3dprinter_bedflinger.png
Normal file
BIN
computer/textures/computer_3dprinter_bedflinger.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.0 KiB |
BIN
computer/textures/computer_3dprinter_bedflinger_inv.png
Normal file
BIN
computer/textures/computer_3dprinter_bedflinger_inv.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.8 KiB |
Loading…
Reference in New Issue
Block a user