diff --git a/macse/init.lua b/macse/init.lua new file mode 100644 index 0000000..4813e49 --- /dev/null +++ b/macse/init.lua @@ -0,0 +1,25 @@ +-------------------------------------------------------------------------------- +-- Macintosh SE +-------------------------------------------------------------------------------- + +minetest.register_node( 'macse:macse', { + description = 'Macintosh SE', + groups = { snappy = 1, + choppy = 2, + oddly_breakable_by_hand = 2 }, + tiles = { 'macse_u.png', 'macse_d.png', + 'macse_c.png', 'macse_s.png', + 'macse_b.png', 'macse_t.png' }, + drawtype = 'nodebox', + paramtype = 'light', + paramtype2 = 'facedir', + node_box = { type = 'fixed', + fixed = { + { -3/8, 3/8, -3/8, -1/8, 1/2, 3/8 }, + { -1/8, 3/8, -3/8, 1/8, 1/2, 3/16 }, + { 1/8, 3/8, -3/8, 3/8, 1/2, 3/8 }, + { -3/8, -3/8, -3/8, 3/8, 3/8, 3/8 }, + { -3/8, -1/2, -5/16, 3/8, -3/8, 3/8 } } }, + selection_box = { type = 'fixed', + fixed = { -3/8, -1/2, -3/8, 3/8, 1/2, 3/8 } }, +}) diff --git a/macse/textures/macse_b.png b/macse/textures/macse_b.png new file mode 100644 index 0000000..4c6cdcd Binary files /dev/null and b/macse/textures/macse_b.png differ diff --git a/macse/textures/macse_c.png b/macse/textures/macse_c.png new file mode 100644 index 0000000..053caf5 Binary files /dev/null and b/macse/textures/macse_c.png differ diff --git a/macse/textures/macse_d.png b/macse/textures/macse_d.png new file mode 100644 index 0000000..6856f1c Binary files /dev/null and b/macse/textures/macse_d.png differ diff --git a/macse/textures/macse_s.png b/macse/textures/macse_s.png new file mode 100644 index 0000000..04e4ebf Binary files /dev/null and b/macse/textures/macse_s.png differ diff --git a/macse/textures/macse_t.png b/macse/textures/macse_t.png new file mode 100644 index 0000000..eb4ea33 Binary files /dev/null and b/macse/textures/macse_t.png differ diff --git a/macse/textures/macse_u.png b/macse/textures/macse_u.png new file mode 100644 index 0000000..2e9364b Binary files /dev/null and b/macse/textures/macse_u.png differ