summaryrefslogtreecommitdiff
path: root/mesecons/mesecons_lightstone
diff options
context:
space:
mode:
Diffstat (limited to 'mesecons/mesecons_lightstone')
-rw-r--r--mesecons/mesecons_lightstone/depends.txt2
-rw-r--r--mesecons/mesecons_lightstone/doc/lightstone_blue/description.html1
-rw-r--r--mesecons/mesecons_lightstone/doc/lightstone_blue/preview.pngbin36865 -> 0 bytes
-rw-r--r--mesecons/mesecons_lightstone/doc/lightstone_blue/recipe.pngbin4403 -> 0 bytes
-rw-r--r--mesecons/mesecons_lightstone/doc/lightstone_darkgrey/description.html1
-rw-r--r--mesecons/mesecons_lightstone/doc/lightstone_darkgrey/preview.pngbin43641 -> 0 bytes
-rw-r--r--mesecons/mesecons_lightstone/doc/lightstone_darkgrey/recipe.pngbin4575 -> 0 bytes
-rw-r--r--mesecons/mesecons_lightstone/doc/lightstone_green/description.html1
-rw-r--r--mesecons/mesecons_lightstone/doc/lightstone_green/preview.pngbin48733 -> 0 bytes
-rw-r--r--mesecons/mesecons_lightstone/doc/lightstone_green/recipe.pngbin4597 -> 0 bytes
-rw-r--r--mesecons/mesecons_lightstone/doc/lightstone_lightgrey/description.html1
-rw-r--r--mesecons/mesecons_lightstone/doc/lightstone_lightgrey/preview.pngbin45430 -> 0 bytes
-rw-r--r--mesecons/mesecons_lightstone/doc/lightstone_lightgrey/recipe.pngbin4682 -> 0 bytes
-rw-r--r--mesecons/mesecons_lightstone/doc/lightstone_red/description.html1
-rw-r--r--mesecons/mesecons_lightstone/doc/lightstone_red/preview.pngbin32080 -> 0 bytes
-rw-r--r--mesecons/mesecons_lightstone/doc/lightstone_red/recipe.pngbin4009 -> 0 bytes
-rw-r--r--mesecons/mesecons_lightstone/doc/lightstone_yellow/description.html1
-rw-r--r--mesecons/mesecons_lightstone/doc/lightstone_yellow/preview.pngbin28281 -> 0 bytes
-rw-r--r--mesecons/mesecons_lightstone/doc/lightstone_yellow/recipe.pngbin4550 -> 0 bytes
-rw-r--r--mesecons/mesecons_lightstone/init.lua60
-rw-r--r--mesecons/mesecons_lightstone/textures/jeija_lightstone_blue_off.pngbin260 -> 0 bytes
-rw-r--r--mesecons/mesecons_lightstone/textures/jeija_lightstone_blue_on.pngbin545 -> 0 bytes
-rw-r--r--mesecons/mesecons_lightstone/textures/jeija_lightstone_darkgray_off.pngbin447 -> 0 bytes
-rw-r--r--mesecons/mesecons_lightstone/textures/jeija_lightstone_darkgray_on.pngbin667 -> 0 bytes
-rw-r--r--mesecons/mesecons_lightstone/textures/jeija_lightstone_gray_off.pngbin452 -> 0 bytes
-rw-r--r--mesecons/mesecons_lightstone/textures/jeija_lightstone_gray_on.pngbin662 -> 0 bytes
-rw-r--r--mesecons/mesecons_lightstone/textures/jeija_lightstone_green_off.pngbin446 -> 0 bytes
-rw-r--r--mesecons/mesecons_lightstone/textures/jeija_lightstone_green_on.pngbin705 -> 0 bytes
-rw-r--r--mesecons/mesecons_lightstone/textures/jeija_lightstone_red_off.pngbin408 -> 0 bytes
-rw-r--r--mesecons/mesecons_lightstone/textures/jeija_lightstone_red_on.pngbin650 -> 0 bytes
-rw-r--r--mesecons/mesecons_lightstone/textures/jeija_lightstone_yellow_off.pngbin291 -> 0 bytes
-rw-r--r--mesecons/mesecons_lightstone/textures/jeija_lightstone_yellow_on.pngbin486 -> 0 bytes
32 files changed, 0 insertions, 68 deletions
diff --git a/mesecons/mesecons_lightstone/depends.txt b/mesecons/mesecons_lightstone/depends.txt
deleted file mode 100644
index f9705e0..0000000
--- a/mesecons/mesecons_lightstone/depends.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-mesecons
-dye
diff --git a/mesecons/mesecons_lightstone/doc/lightstone_blue/description.html b/mesecons/mesecons_lightstone/doc/lightstone_blue/description.html
deleted file mode 100644
index 813e6ea..0000000
--- a/mesecons/mesecons_lightstone/doc/lightstone_blue/description.html
+++ /dev/null
@@ -1 +0,0 @@
-Effector, glows blue when powered.
diff --git a/mesecons/mesecons_lightstone/doc/lightstone_blue/preview.png b/mesecons/mesecons_lightstone/doc/lightstone_blue/preview.png
deleted file mode 100644
index 579f719..0000000
--- a/mesecons/mesecons_lightstone/doc/lightstone_blue/preview.png
+++ /dev/null
Binary files differ
diff --git a/mesecons/mesecons_lightstone/doc/lightstone_blue/recipe.png b/mesecons/mesecons_lightstone/doc/lightstone_blue/recipe.png
deleted file mode 100644
index ce8ebd7..0000000
--- a/mesecons/mesecons_lightstone/doc/lightstone_blue/recipe.png
+++ /dev/null
Binary files differ
diff --git a/mesecons/mesecons_lightstone/doc/lightstone_darkgrey/description.html b/mesecons/mesecons_lightstone/doc/lightstone_darkgrey/description.html
deleted file mode 100644
index 826ca0f..0000000
--- a/mesecons/mesecons_lightstone/doc/lightstone_darkgrey/description.html
+++ /dev/null
@@ -1 +0,0 @@
-Effector, glows dark grey when powered.
diff --git a/mesecons/mesecons_lightstone/doc/lightstone_darkgrey/preview.png b/mesecons/mesecons_lightstone/doc/lightstone_darkgrey/preview.png
deleted file mode 100644
index 56fe6ea..0000000
--- a/mesecons/mesecons_lightstone/doc/lightstone_darkgrey/preview.png
+++ /dev/null
Binary files differ
diff --git a/mesecons/mesecons_lightstone/doc/lightstone_darkgrey/recipe.png b/mesecons/mesecons_lightstone/doc/lightstone_darkgrey/recipe.png
deleted file mode 100644
index fed0db2..0000000
--- a/mesecons/mesecons_lightstone/doc/lightstone_darkgrey/recipe.png
+++ /dev/null
Binary files differ
diff --git a/mesecons/mesecons_lightstone/doc/lightstone_green/description.html b/mesecons/mesecons_lightstone/doc/lightstone_green/description.html
deleted file mode 100644
index cb5b515..0000000
--- a/mesecons/mesecons_lightstone/doc/lightstone_green/description.html
+++ /dev/null
@@ -1 +0,0 @@
-Effector, glows green when powered.
diff --git a/mesecons/mesecons_lightstone/doc/lightstone_green/preview.png b/mesecons/mesecons_lightstone/doc/lightstone_green/preview.png
deleted file mode 100644
index 9efc774..0000000
--- a/mesecons/mesecons_lightstone/doc/lightstone_green/preview.png
+++ /dev/null
Binary files differ
diff --git a/mesecons/mesecons_lightstone/doc/lightstone_green/recipe.png b/mesecons/mesecons_lightstone/doc/lightstone_green/recipe.png
deleted file mode 100644
index 6690064..0000000
--- a/mesecons/mesecons_lightstone/doc/lightstone_green/recipe.png
+++ /dev/null
Binary files differ
diff --git a/mesecons/mesecons_lightstone/doc/lightstone_lightgrey/description.html b/mesecons/mesecons_lightstone/doc/lightstone_lightgrey/description.html
deleted file mode 100644
index 990b501..0000000
--- a/mesecons/mesecons_lightstone/doc/lightstone_lightgrey/description.html
+++ /dev/null
@@ -1 +0,0 @@
-Effector, glows light grey when powered.
diff --git a/mesecons/mesecons_lightstone/doc/lightstone_lightgrey/preview.png b/mesecons/mesecons_lightstone/doc/lightstone_lightgrey/preview.png
deleted file mode 100644
index 0084fa3..0000000
--- a/mesecons/mesecons_lightstone/doc/lightstone_lightgrey/preview.png
+++ /dev/null
Binary files differ
diff --git a/mesecons/mesecons_lightstone/doc/lightstone_lightgrey/recipe.png b/mesecons/mesecons_lightstone/doc/lightstone_lightgrey/recipe.png
deleted file mode 100644
index e790012..0000000
--- a/mesecons/mesecons_lightstone/doc/lightstone_lightgrey/recipe.png
+++ /dev/null
Binary files differ
diff --git a/mesecons/mesecons_lightstone/doc/lightstone_red/description.html b/mesecons/mesecons_lightstone/doc/lightstone_red/description.html
deleted file mode 100644
index 699b1ee..0000000
--- a/mesecons/mesecons_lightstone/doc/lightstone_red/description.html
+++ /dev/null
@@ -1 +0,0 @@
-Effector, glows red when powered.
diff --git a/mesecons/mesecons_lightstone/doc/lightstone_red/preview.png b/mesecons/mesecons_lightstone/doc/lightstone_red/preview.png
deleted file mode 100644
index 5fd3eba..0000000
--- a/mesecons/mesecons_lightstone/doc/lightstone_red/preview.png
+++ /dev/null
Binary files differ
diff --git a/mesecons/mesecons_lightstone/doc/lightstone_red/recipe.png b/mesecons/mesecons_lightstone/doc/lightstone_red/recipe.png
deleted file mode 100644
index 7791a99..0000000
--- a/mesecons/mesecons_lightstone/doc/lightstone_red/recipe.png
+++ /dev/null
Binary files differ
diff --git a/mesecons/mesecons_lightstone/doc/lightstone_yellow/description.html b/mesecons/mesecons_lightstone/doc/lightstone_yellow/description.html
deleted file mode 100644
index 2bed7f2..0000000
--- a/mesecons/mesecons_lightstone/doc/lightstone_yellow/description.html
+++ /dev/null
@@ -1 +0,0 @@
-Effector, glows yellow when powered.
diff --git a/mesecons/mesecons_lightstone/doc/lightstone_yellow/preview.png b/mesecons/mesecons_lightstone/doc/lightstone_yellow/preview.png
deleted file mode 100644
index fb9f644..0000000
--- a/mesecons/mesecons_lightstone/doc/lightstone_yellow/preview.png
+++ /dev/null
Binary files differ
diff --git a/mesecons/mesecons_lightstone/doc/lightstone_yellow/recipe.png b/mesecons/mesecons_lightstone/doc/lightstone_yellow/recipe.png
deleted file mode 100644
index f17e9d4..0000000
--- a/mesecons/mesecons_lightstone/doc/lightstone_yellow/recipe.png
+++ /dev/null
Binary files differ
diff --git a/mesecons/mesecons_lightstone/init.lua b/mesecons/mesecons_lightstone/init.lua
deleted file mode 100644
index da7cc41..0000000
--- a/mesecons/mesecons_lightstone/init.lua
+++ /dev/null
@@ -1,60 +0,0 @@
-local lightstone_rules = {
- {x=0, y=0, z=-1},
- {x=1, y=0, z=0},
- {x=-1, y=0, z=0},
- {x=0, y=0, z=1},
- {x=1, y=1, z=0},
- {x=1, y=-1, z=0},
- {x=-1, y=1, z=0},
- {x=-1, y=-1, z=0},
- {x=0, y=1, z=1},
- {x=0, y=-1, z=1},
- {x=0, y=1, z=-1},
- {x=0, y=-1, z=-1},
- {x=0, y=-1, z=0},
-}
-
-function mesecon.lightstone_add(name, base_item, texture_off, texture_on)
- minetest.register_node("mesecons_lightstone:lightstone_" .. name .. "_off", {
- tiles = {texture_off},
- groups = {cracky=2, mesecon_effector_off = 1, mesecon = 2},
- description=name.." Lightstone",
- sounds = default.node_sound_stone_defaults(),
- mesecons = {effector = {
- rules = lightstone_rules,
- action_on = function (pos, node)
- minetest.swap_node(pos, {name = "mesecons_lightstone:lightstone_" .. name .. "_on", param2 = node.param2})
- end,
- }}
- })
- minetest.register_node("mesecons_lightstone:lightstone_" .. name .. "_on", {
- tiles = {texture_on},
- groups = {cracky=2,not_in_creative_inventory=1, mesecon = 2},
- drop = "mesecons_lightstone:lightstone_" .. name .. "_off",
- light_source = default.LIGHT_MAX-2,
- sounds = default.node_sound_stone_defaults(),
- mesecons = {effector = {
- rules = lightstone_rules,
- action_off = function (pos, node)
- minetest.swap_node(pos, {name = "mesecons_lightstone:lightstone_" .. name .. "_off", param2 = node.param2})
- end,
- }}
- })
-
- minetest.register_craft({
- output = "mesecons_lightstone:lightstone_" .. name .. "_off",
- recipe = {
- {"",base_item,""},
- {base_item,"default:torch",base_item},
- {"","group:mesecon_conductor_craftable",""}
- }
- })
-end
-
-
-mesecon.lightstone_add("red", "dye:red", "jeija_lightstone_red_off.png", "jeija_lightstone_red_on.png")
-mesecon.lightstone_add("green", "dye:green", "jeija_lightstone_green_off.png", "jeija_lightstone_green_on.png")
-mesecon.lightstone_add("blue", "dye:blue", "jeija_lightstone_blue_off.png", "jeija_lightstone_blue_on.png")
-mesecon.lightstone_add("gray", "dye:grey", "jeija_lightstone_gray_off.png", "jeija_lightstone_gray_on.png")
-mesecon.lightstone_add("darkgray", "dye:dark_grey", "jeija_lightstone_darkgray_off.png", "jeija_lightstone_darkgray_on.png")
-mesecon.lightstone_add("yellow", "dye:yellow", "jeija_lightstone_yellow_off.png", "jeija_lightstone_yellow_on.png")
diff --git a/mesecons/mesecons_lightstone/textures/jeija_lightstone_blue_off.png b/mesecons/mesecons_lightstone/textures/jeija_lightstone_blue_off.png
deleted file mode 100644
index 09acc22..0000000
--- a/mesecons/mesecons_lightstone/textures/jeija_lightstone_blue_off.png
+++ /dev/null
Binary files differ
diff --git a/mesecons/mesecons_lightstone/textures/jeija_lightstone_blue_on.png b/mesecons/mesecons_lightstone/textures/jeija_lightstone_blue_on.png
deleted file mode 100644
index 93c8638..0000000
--- a/mesecons/mesecons_lightstone/textures/jeija_lightstone_blue_on.png
+++ /dev/null
Binary files differ
diff --git a/mesecons/mesecons_lightstone/textures/jeija_lightstone_darkgray_off.png b/mesecons/mesecons_lightstone/textures/jeija_lightstone_darkgray_off.png
deleted file mode 100644
index 7e5aae7..0000000
--- a/mesecons/mesecons_lightstone/textures/jeija_lightstone_darkgray_off.png
+++ /dev/null
Binary files differ
diff --git a/mesecons/mesecons_lightstone/textures/jeija_lightstone_darkgray_on.png b/mesecons/mesecons_lightstone/textures/jeija_lightstone_darkgray_on.png
deleted file mode 100644
index e6d4d00..0000000
--- a/mesecons/mesecons_lightstone/textures/jeija_lightstone_darkgray_on.png
+++ /dev/null
Binary files differ
diff --git a/mesecons/mesecons_lightstone/textures/jeija_lightstone_gray_off.png b/mesecons/mesecons_lightstone/textures/jeija_lightstone_gray_off.png
deleted file mode 100644
index f168fc2..0000000
--- a/mesecons/mesecons_lightstone/textures/jeija_lightstone_gray_off.png
+++ /dev/null
Binary files differ
diff --git a/mesecons/mesecons_lightstone/textures/jeija_lightstone_gray_on.png b/mesecons/mesecons_lightstone/textures/jeija_lightstone_gray_on.png
deleted file mode 100644
index 24c5470..0000000
--- a/mesecons/mesecons_lightstone/textures/jeija_lightstone_gray_on.png
+++ /dev/null
Binary files differ
diff --git a/mesecons/mesecons_lightstone/textures/jeija_lightstone_green_off.png b/mesecons/mesecons_lightstone/textures/jeija_lightstone_green_off.png
deleted file mode 100644
index 2f214fa..0000000
--- a/mesecons/mesecons_lightstone/textures/jeija_lightstone_green_off.png
+++ /dev/null
Binary files differ
diff --git a/mesecons/mesecons_lightstone/textures/jeija_lightstone_green_on.png b/mesecons/mesecons_lightstone/textures/jeija_lightstone_green_on.png
deleted file mode 100644
index 225bf4e..0000000
--- a/mesecons/mesecons_lightstone/textures/jeija_lightstone_green_on.png
+++ /dev/null
Binary files differ
diff --git a/mesecons/mesecons_lightstone/textures/jeija_lightstone_red_off.png b/mesecons/mesecons_lightstone/textures/jeija_lightstone_red_off.png
deleted file mode 100644
index 3c828b2..0000000
--- a/mesecons/mesecons_lightstone/textures/jeija_lightstone_red_off.png
+++ /dev/null
Binary files differ
diff --git a/mesecons/mesecons_lightstone/textures/jeija_lightstone_red_on.png b/mesecons/mesecons_lightstone/textures/jeija_lightstone_red_on.png
deleted file mode 100644
index 512b0fe..0000000
--- a/mesecons/mesecons_lightstone/textures/jeija_lightstone_red_on.png
+++ /dev/null
Binary files differ
diff --git a/mesecons/mesecons_lightstone/textures/jeija_lightstone_yellow_off.png b/mesecons/mesecons_lightstone/textures/jeija_lightstone_yellow_off.png
deleted file mode 100644
index 2e7fed0..0000000
--- a/mesecons/mesecons_lightstone/textures/jeija_lightstone_yellow_off.png
+++ /dev/null
Binary files differ
diff --git a/mesecons/mesecons_lightstone/textures/jeija_lightstone_yellow_on.png b/mesecons/mesecons_lightstone/textures/jeija_lightstone_yellow_on.png
deleted file mode 100644
index 8943aca..0000000
--- a/mesecons/mesecons_lightstone/textures/jeija_lightstone_yellow_on.png
+++ /dev/null
Binary files differ