From 551b77b9dc7da84299c39f333314eaa36e699981 Mon Sep 17 00:00:00 2001 From: DonBatman Date: Mon, 26 Oct 2015 14:08:55 -0700 Subject: updated schem and some textures --- mario/blocks.lua | 46 +++++++++++++++++++++++++++++++ mario/init.lua | 2 +- mario/schems/mario.mts | Bin 544 -> 566 bytes mario/textures/mario_exit.png | Bin 0 -> 191 bytes mario/textures/mario_mushroom.png | Bin 0 -> 293 bytes mario/textures/mario_mushroom_bottom.png | Bin 0 -> 202 bytes mario/textures/mario_mushroom_g.png | Bin 0 -> 282 bytes mario/textures/mario_mushroom_top.png | Bin 0 -> 299 bytes mario/textures/mario_mushroom_top_g.png | Bin 0 -> 312 bytes mario/textures/mario_turtle.png | Bin 307 -> 2485 bytes 10 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 mario/textures/mario_exit.png create mode 100644 mario/textures/mario_mushroom.png create mode 100644 mario/textures/mario_mushroom_bottom.png create mode 100644 mario/textures/mario_mushroom_g.png create mode 100644 mario/textures/mario_mushroom_top.png create mode 100644 mario/textures/mario_mushroom_top_g.png diff --git a/mario/blocks.lua b/mario/blocks.lua index a800526..f2afdac 100644 --- a/mario/blocks.lua +++ b/mario/blocks.lua @@ -50,3 +50,49 @@ minetest.register_node("mario:coin", { walkable = false, groups = {cracky = 2}, }) + +local nbox = { + type = "fixed", + fixed = { + {-0.25, -0.5, -0.25, 0.25, -0.0625, 0.25}, + {-0.3125, -0.4375, -0.3125, 0.3125, 0.4375, 0.3125}, + {-0.375, -0.375, -0.375, 0.375, 0.375, 0.375}, + {-0.375, -0.1875, -0.4375, 0.375, 0.3125, 0.4375}, + {-0.4375, -0.1875, -0.5, 0.4375, 0.1875, 0.5}, + {-0.1875, 0.4375, -0.1875, 0.1875, 0.5, 0.1875}, + {-0.5, -0.1875, -0.4375, 0.5, 0.1875, 0.4375}, + {-0.4375, -0.1875, -0.375, 0.4375, 0.3125, 0.375}, + } + } + +minetest.register_node("mario:mushroom",{ + description = "Mushroom", + tiles = { + "mario_mushroom_top.png", + "mario_mushroom_bottom.png", + "mario_mushroom.png", + "mario_mushroom.png", + "mario_mushroom.png", + "mario_mushroom.png", + }, + drawtype = "nodebox", + paramtype = "light", + groups = {cracky = 3}, + node_box = nbox, +}) + +minetest.register_node("mario:mushroom_green",{ + description = "Green Mushroom", + tiles = { + "mario_mushroom_top_g.png", + "mario_mushroom_bottom.png", + "mario_mushroom_g.png", + "mario_mushroom_g.png", + "mario_mushroom_g.png", + "mario_mushroom_g.png", + }, + drawtype = "nodebox", + paramtype = "light", + groups = {cracky = 3}, + node_box = nbox, +}) diff --git a/mario/init.lua b/mario/init.lua index 328f346..51b1b64 100644 --- a/mario/init.lua +++ b/mario/init.lua @@ -53,7 +53,7 @@ minetest.register_node("mario:exit",{ "mario_grey.png", "mario_grey.png", "mario_grey.png", - "mario_grey.png^mario_m.png", + "mario_grey.png^mario_exit.png", }, drawtype = "normal", paramtype = "light", diff --git a/mario/schems/mario.mts b/mario/schems/mario.mts index 182c610..8aba4c1 100644 Binary files a/mario/schems/mario.mts and b/mario/schems/mario.mts differ diff --git a/mario/textures/mario_exit.png b/mario/textures/mario_exit.png new file mode 100644 index 0000000..8807f8e Binary files /dev/null and b/mario/textures/mario_exit.png differ diff --git a/mario/textures/mario_mushroom.png b/mario/textures/mario_mushroom.png new file mode 100644 index 0000000..9c026a1 Binary files /dev/null and b/mario/textures/mario_mushroom.png differ diff --git a/mario/textures/mario_mushroom_bottom.png b/mario/textures/mario_mushroom_bottom.png new file mode 100644 index 0000000..fe5e2a8 Binary files /dev/null and b/mario/textures/mario_mushroom_bottom.png differ diff --git a/mario/textures/mario_mushroom_g.png b/mario/textures/mario_mushroom_g.png new file mode 100644 index 0000000..ab27afb Binary files /dev/null and b/mario/textures/mario_mushroom_g.png differ diff --git a/mario/textures/mario_mushroom_top.png b/mario/textures/mario_mushroom_top.png new file mode 100644 index 0000000..89f0987 Binary files /dev/null and b/mario/textures/mario_mushroom_top.png differ diff --git a/mario/textures/mario_mushroom_top_g.png b/mario/textures/mario_mushroom_top_g.png new file mode 100644 index 0000000..98238f2 Binary files /dev/null and b/mario/textures/mario_mushroom_top_g.png differ diff --git a/mario/textures/mario_turtle.png b/mario/textures/mario_turtle.png index 15f160e..f3e5709 100644 Binary files a/mario/textures/mario_turtle.png and b/mario/textures/mario_turtle.png differ -- cgit v1.2.3