summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonBatman <serfdon@gmail.com>2015-10-26 14:08:55 -0700
committerDonBatman <serfdon@gmail.com>2015-10-26 14:08:55 -0700
commit551b77b9dc7da84299c39f333314eaa36e699981 (patch)
tree38a8fc427e49db51b0e599002f8b9d77f3afb573
parenta9b9c4a94d8c4da128284b3de7626b7078680514 (diff)
updated schem and some textures
-rw-r--r--mario/blocks.lua46
-rw-r--r--mario/init.lua2
-rw-r--r--mario/schems/mario.mtsbin544 -> 566 bytes
-rw-r--r--mario/textures/mario_exit.pngbin0 -> 191 bytes
-rw-r--r--mario/textures/mario_mushroom.pngbin0 -> 293 bytes
-rw-r--r--mario/textures/mario_mushroom_bottom.pngbin0 -> 202 bytes
-rw-r--r--mario/textures/mario_mushroom_g.pngbin0 -> 282 bytes
-rw-r--r--mario/textures/mario_mushroom_top.pngbin0 -> 299 bytes
-rw-r--r--mario/textures/mario_mushroom_top_g.pngbin0 -> 312 bytes
-rw-r--r--mario/textures/mario_turtle.pngbin307 -> 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
index 182c610..8aba4c1 100644
--- a/mario/schems/mario.mts
+++ b/mario/schems/mario.mts
Binary files differ
diff --git a/mario/textures/mario_exit.png b/mario/textures/mario_exit.png
new file mode 100644
index 0000000..8807f8e
--- /dev/null
+++ b/mario/textures/mario_exit.png
Binary files differ
diff --git a/mario/textures/mario_mushroom.png b/mario/textures/mario_mushroom.png
new file mode 100644
index 0000000..9c026a1
--- /dev/null
+++ b/mario/textures/mario_mushroom.png
Binary files differ
diff --git a/mario/textures/mario_mushroom_bottom.png b/mario/textures/mario_mushroom_bottom.png
new file mode 100644
index 0000000..fe5e2a8
--- /dev/null
+++ b/mario/textures/mario_mushroom_bottom.png
Binary files differ
diff --git a/mario/textures/mario_mushroom_g.png b/mario/textures/mario_mushroom_g.png
new file mode 100644
index 0000000..ab27afb
--- /dev/null
+++ b/mario/textures/mario_mushroom_g.png
Binary files differ
diff --git a/mario/textures/mario_mushroom_top.png b/mario/textures/mario_mushroom_top.png
new file mode 100644
index 0000000..89f0987
--- /dev/null
+++ b/mario/textures/mario_mushroom_top.png
Binary files 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
--- /dev/null
+++ b/mario/textures/mario_mushroom_top_g.png
Binary files differ
diff --git a/mario/textures/mario_turtle.png b/mario/textures/mario_turtle.png
index 15f160e..f3e5709 100644
--- a/mario/textures/mario_turtle.png
+++ b/mario/textures/mario_turtle.png
Binary files differ