summaryrefslogtreecommitdiff
path: root/myhighscore
diff options
context:
space:
mode:
Diffstat (limited to 'myhighscore')
-rw-r--r--myhighscore/init.lua30
-rw-r--r--myhighscore/textures/myhighscore_back.pngbin0 -> 409 bytes
-rw-r--r--myhighscore/textures/myhighscore_front.pngbin0 -> 503 bytes
-rw-r--r--myhighscore/textures/myhighscore_side.pngbin0 -> 424 bytes
-rw-r--r--myhighscore/textures/myhighscore_top.pngbin0 -> 572 bytes
5 files changed, 30 insertions, 0 deletions
diff --git a/myhighscore/init.lua b/myhighscore/init.lua
new file mode 100644
index 0000000..4da6a0e
--- /dev/null
+++ b/myhighscore/init.lua
@@ -0,0 +1,30 @@
+minetest.register_node("myhighscore:score_board", {
+ description = "Score Board",
+ tiles = {
+ "myhighscore_top.png",
+ "myhighscore_back.png",
+ "myhighscore_side.png^[transformFX",
+ "myhighscore_side.png",
+ "myhighscore_back.png",
+ "myhighscore_front.png",
+ },
+ drawtype = "nodebox",
+ paramtype = "light",
+ paramtype2 = "facedir",
+ groups = {cracky = 1},
+ node_box = {
+ type = "fixed",
+ fixed = {
+ {-0.375, -0.5, -0.5, 0.375, -0.1875, 0.5},
+ {-0.375, -0.5, 0.1875, 0.375, 0.5, 0.5},
+ {-0.1875, -0.5, -0.3125, -0.125, 0, -0.25},
+ {-0.375, -0.5, 0, -0.3125, 0.5, 0.5},
+ {0.3125, -0.5, 0, 0.375, 0.5, 0.5},
+ {-0.375, 0.4375, 0, 0.375, 0.5, 0.5},
+ }
+ },
+
+on_rightclick = function(pos, node, player, itemstack, pointed_thing)
+end,
+
+})
diff --git a/myhighscore/textures/myhighscore_back.png b/myhighscore/textures/myhighscore_back.png
new file mode 100644
index 0000000..fb51dcf
--- /dev/null
+++ b/myhighscore/textures/myhighscore_back.png
Binary files differ
diff --git a/myhighscore/textures/myhighscore_front.png b/myhighscore/textures/myhighscore_front.png
new file mode 100644
index 0000000..a3106b3
--- /dev/null
+++ b/myhighscore/textures/myhighscore_front.png
Binary files differ
diff --git a/myhighscore/textures/myhighscore_side.png b/myhighscore/textures/myhighscore_side.png
new file mode 100644
index 0000000..f6b340c
--- /dev/null
+++ b/myhighscore/textures/myhighscore_side.png
Binary files differ
diff --git a/myhighscore/textures/myhighscore_top.png b/myhighscore/textures/myhighscore_top.png
new file mode 100644
index 0000000..a2460c3
--- /dev/null
+++ b/myhighscore/textures/myhighscore_top.png
Binary files differ