diff options
author | DonBatman <serfdon@gmail.com> | 2015-10-26 14:08:55 -0700 |
---|---|---|
committer | DonBatman <serfdon@gmail.com> | 2015-10-26 14:08:55 -0700 |
commit | 551b77b9dc7da84299c39f333314eaa36e699981 (patch) | |
tree | 38a8fc427e49db51b0e599002f8b9d77f3afb573 | |
parent | a9b9c4a94d8c4da128284b3de7626b7078680514 (diff) |
updated schem and some textures
-rw-r--r-- | mario/blocks.lua | 46 | ||||
-rw-r--r-- | mario/init.lua | 2 | ||||
-rw-r--r-- | mario/schems/mario.mts | bin | 544 -> 566 bytes | |||
-rw-r--r-- | mario/textures/mario_exit.png | bin | 0 -> 191 bytes | |||
-rw-r--r-- | mario/textures/mario_mushroom.png | bin | 0 -> 293 bytes | |||
-rw-r--r-- | mario/textures/mario_mushroom_bottom.png | bin | 0 -> 202 bytes | |||
-rw-r--r-- | mario/textures/mario_mushroom_g.png | bin | 0 -> 282 bytes | |||
-rw-r--r-- | mario/textures/mario_mushroom_top.png | bin | 0 -> 299 bytes | |||
-rw-r--r-- | mario/textures/mario_mushroom_top_g.png | bin | 0 -> 312 bytes | |||
-rw-r--r-- | mario/textures/mario_turtle.png | bin | 307 -> 2485 bytes |
10 files changed, 47 insertions, 1 deletions
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 Binary files differindex 182c610..8aba4c1 100644 --- a/mario/schems/mario.mts +++ b/mario/schems/mario.mts diff --git a/mario/textures/mario_exit.png b/mario/textures/mario_exit.png Binary files differnew file mode 100644 index 0000000..8807f8e --- /dev/null +++ b/mario/textures/mario_exit.png diff --git a/mario/textures/mario_mushroom.png b/mario/textures/mario_mushroom.png Binary files differnew file mode 100644 index 0000000..9c026a1 --- /dev/null +++ b/mario/textures/mario_mushroom.png diff --git a/mario/textures/mario_mushroom_bottom.png b/mario/textures/mario_mushroom_bottom.png Binary files differnew file mode 100644 index 0000000..fe5e2a8 --- /dev/null +++ b/mario/textures/mario_mushroom_bottom.png diff --git a/mario/textures/mario_mushroom_g.png b/mario/textures/mario_mushroom_g.png Binary files differnew file mode 100644 index 0000000..ab27afb --- /dev/null +++ b/mario/textures/mario_mushroom_g.png diff --git a/mario/textures/mario_mushroom_top.png b/mario/textures/mario_mushroom_top.png Binary files differnew file mode 100644 index 0000000..89f0987 --- /dev/null +++ b/mario/textures/mario_mushroom_top.png diff --git a/mario/textures/mario_mushroom_top_g.png b/mario/textures/mario_mushroom_top_g.png Binary files differnew file mode 100644 index 0000000..98238f2 --- /dev/null +++ b/mario/textures/mario_mushroom_top_g.png diff --git a/mario/textures/mario_turtle.png b/mario/textures/mario_turtle.png Binary files differindex 15f160e..f3e5709 100644 --- a/mario/textures/mario_turtle.png +++ b/mario/textures/mario_turtle.png |