summaryrefslogtreecommitdiff
path: root/mesecons/mesecons_lightstone
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2016-04-01 20:02:19 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2016-04-01 21:09:33 -0400
commitda66780a569712c23ae4f2996cfb4608a9f9d69d (patch)
tree217556029a78bc23ad4564720afc86de97228a04 /mesecons/mesecons_lightstone
parent615b22df4d423aded3613db7716943a2f389b047 (diff)
downloaddreambuilder_modpack-da66780a569712c23ae4f2996cfb4608a9f9d69d.tar
dreambuilder_modpack-da66780a569712c23ae4f2996cfb4608a9f9d69d.tar.gz
dreambuilder_modpack-da66780a569712c23ae4f2996cfb4608a9f9d69d.tar.bz2
dreambuilder_modpack-da66780a569712c23ae4f2996cfb4608a9f9d69d.tar.xz
dreambuilder_modpack-da66780a569712c23ae4f2996cfb4608a9f9d69d.zip
copy all standard Dreambuilder mods in from the old subgame
(exactly as last supplied there, updates to these mods will follow later)
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.pngbin0 -> 36865 bytes
-rw-r--r--mesecons/mesecons_lightstone/doc/lightstone_blue/recipe.pngbin0 -> 4403 bytes
-rw-r--r--mesecons/mesecons_lightstone/doc/lightstone_darkgrey/description.html1
-rw-r--r--mesecons/mesecons_lightstone/doc/lightstone_darkgrey/preview.pngbin0 -> 43641 bytes
-rw-r--r--mesecons/mesecons_lightstone/doc/lightstone_darkgrey/recipe.pngbin0 -> 4575 bytes
-rw-r--r--mesecons/mesecons_lightstone/doc/lightstone_green/description.html1
-rw-r--r--mesecons/mesecons_lightstone/doc/lightstone_green/preview.pngbin0 -> 48733 bytes
-rw-r--r--mesecons/mesecons_lightstone/doc/lightstone_green/recipe.pngbin0 -> 4597 bytes
-rw-r--r--mesecons/mesecons_lightstone/doc/lightstone_lightgrey/description.html1
-rw-r--r--mesecons/mesecons_lightstone/doc/lightstone_lightgrey/preview.pngbin0 -> 45430 bytes
-rw-r--r--mesecons/mesecons_lightstone/doc/lightstone_lightgrey/recipe.pngbin0 -> 4682 bytes
-rw-r--r--mesecons/mesecons_lightstone/doc/lightstone_red/description.html1
-rw-r--r--mesecons/mesecons_lightstone/doc/lightstone_red/preview.pngbin0 -> 32080 bytes
-rw-r--r--mesecons/mesecons_lightstone/doc/lightstone_red/recipe.pngbin0 -> 4009 bytes
-rw-r--r--mesecons/mesecons_lightstone/doc/lightstone_yellow/description.html1
-rw-r--r--mesecons/mesecons_lightstone/doc/lightstone_yellow/preview.pngbin0 -> 28281 bytes
-rw-r--r--mesecons/mesecons_lightstone/doc/lightstone_yellow/recipe.pngbin0 -> 4550 bytes
-rw-r--r--mesecons/mesecons_lightstone/init.lua60
-rw-r--r--mesecons/mesecons_lightstone/textures/jeija_lightstone_blue_off.pngbin0 -> 260 bytes
-rw-r--r--mesecons/mesecons_lightstone/textures/jeija_lightstone_blue_on.pngbin0 -> 545 bytes
-rw-r--r--mesecons/mesecons_lightstone/textures/jeija_lightstone_darkgray_off.pngbin0 -> 447 bytes
-rw-r--r--mesecons/mesecons_lightstone/textures/jeija_lightstone_darkgray_on.pngbin0 -> 667 bytes
-rw-r--r--mesecons/mesecons_lightstone/textures/jeija_lightstone_gray_off.pngbin0 -> 452 bytes
-rw-r--r--mesecons/mesecons_lightstone/textures/jeija_lightstone_gray_on.pngbin0 -> 662 bytes
-rw-r--r--mesecons/mesecons_lightstone/textures/jeija_lightstone_green_off.pngbin0 -> 446 bytes
-rw-r--r--mesecons/mesecons_lightstone/textures/jeija_lightstone_green_on.pngbin0 -> 705 bytes
-rw-r--r--mesecons/mesecons_lightstone/textures/jeija_lightstone_red_off.pngbin0 -> 408 bytes
-rw-r--r--mesecons/mesecons_lightstone/textures/jeija_lightstone_red_on.pngbin0 -> 650 bytes
-rw-r--r--mesecons/mesecons_lightstone/textures/jeija_lightstone_yellow_off.pngbin0 -> 291 bytes
-rw-r--r--mesecons/mesecons_lightstone/textures/jeija_lightstone_yellow_on.pngbin0 -> 486 bytes
32 files changed, 68 insertions, 0 deletions
diff --git a/mesecons/mesecons_lightstone/depends.txt b/mesecons/mesecons_lightstone/depends.txt
new file mode 100644
index 0000000..f9705e0
--- /dev/null
+++ b/mesecons/mesecons_lightstone/depends.txt
@@ -0,0 +1,2 @@
+mesecons
+dye
diff --git a/mesecons/mesecons_lightstone/doc/lightstone_blue/description.html b/mesecons/mesecons_lightstone/doc/lightstone_blue/description.html
new file mode 100644
index 0000000..813e6ea
--- /dev/null
+++ b/mesecons/mesecons_lightstone/doc/lightstone_blue/description.html
@@ -0,0 +1 @@
+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
new file mode 100644
index 0000000..579f719
--- /dev/null
+++ b/mesecons/mesecons_lightstone/doc/lightstone_blue/preview.png
Binary files differ
diff --git a/mesecons/mesecons_lightstone/doc/lightstone_blue/recipe.png b/mesecons/mesecons_lightstone/doc/lightstone_blue/recipe.png
new file mode 100644
index 0000000..ce8ebd7
--- /dev/null
+++ b/mesecons/mesecons_lightstone/doc/lightstone_blue/recipe.png
Binary files differ
diff --git a/mesecons/mesecons_lightstone/doc/lightstone_darkgrey/description.html b/mesecons/mesecons_lightstone/doc/lightstone_darkgrey/description.html
new file mode 100644
index 0000000..826ca0f
--- /dev/null
+++ b/mesecons/mesecons_lightstone/doc/lightstone_darkgrey/description.html
@@ -0,0 +1 @@
+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
new file mode 100644
index 0000000..56fe6ea
--- /dev/null
+++ b/mesecons/mesecons_lightstone/doc/lightstone_darkgrey/preview.png
Binary files differ
diff --git a/mesecons/mesecons_lightstone/doc/lightstone_darkgrey/recipe.png b/mesecons/mesecons_lightstone/doc/lightstone_darkgrey/recipe.png
new file mode 100644
index 0000000..fed0db2
--- /dev/null
+++ b/mesecons/mesecons_lightstone/doc/lightstone_darkgrey/recipe.png
Binary files differ
diff --git a/mesecons/mesecons_lightstone/doc/lightstone_green/description.html b/mesecons/mesecons_lightstone/doc/lightstone_green/description.html
new file mode 100644
index 0000000..cb5b515
--- /dev/null
+++ b/mesecons/mesecons_lightstone/doc/lightstone_green/description.html
@@ -0,0 +1 @@
+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
new file mode 100644
index 0000000..9efc774
--- /dev/null
+++ b/mesecons/mesecons_lightstone/doc/lightstone_green/preview.png
Binary files differ
diff --git a/mesecons/mesecons_lightstone/doc/lightstone_green/recipe.png b/mesecons/mesecons_lightstone/doc/lightstone_green/recipe.png
new file mode 100644
index 0000000..6690064
--- /dev/null
+++ b/mesecons/mesecons_lightstone/doc/lightstone_green/recipe.png
Binary files differ
diff --git a/mesecons/mesecons_lightstone/doc/lightstone_lightgrey/description.html b/mesecons/mesecons_lightstone/doc/lightstone_lightgrey/description.html
new file mode 100644
index 0000000..990b501
--- /dev/null
+++ b/mesecons/mesecons_lightstone/doc/lightstone_lightgrey/description.html
@@ -0,0 +1 @@
+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
new file mode 100644
index 0000000..0084fa3
--- /dev/null
+++ b/mesecons/mesecons_lightstone/doc/lightstone_lightgrey/preview.png
Binary files differ
diff --git a/mesecons/mesecons_lightstone/doc/lightstone_lightgrey/recipe.png b/mesecons/mesecons_lightstone/doc/lightstone_lightgrey/recipe.png
new file mode 100644
index 0000000..e790012
--- /dev/null
+++ b/mesecons/mesecons_lightstone/doc/lightstone_lightgrey/recipe.png
Binary files differ
diff --git a/mesecons/mesecons_lightstone/doc/lightstone_red/description.html b/mesecons/mesecons_lightstone/doc/lightstone_red/description.html
new file mode 100644
index 0000000..699b1ee
--- /dev/null
+++ b/mesecons/mesecons_lightstone/doc/lightstone_red/description.html
@@ -0,0 +1 @@
+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
new file mode 100644
index 0000000..5fd3eba
--- /dev/null
+++ b/mesecons/mesecons_lightstone/doc/lightstone_red/preview.png
Binary files differ
diff --git a/mesecons/mesecons_lightstone/doc/lightstone_red/recipe.png b/mesecons/mesecons_lightstone/doc/lightstone_red/recipe.png
new file mode 100644
index 0000000..7791a99
--- /dev/null
+++ b/mesecons/mesecons_lightstone/doc/lightstone_red/recipe.png
Binary files differ
diff --git a/mesecons/mesecons_lightstone/doc/lightstone_yellow/description.html b/mesecons/mesecons_lightstone/doc/lightstone_yellow/description.html
new file mode 100644
index 0000000..2bed7f2
--- /dev/null
+++ b/mesecons/mesecons_lightstone/doc/lightstone_yellow/description.html
@@ -0,0 +1 @@
+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
new file mode 100644
index 0000000..fb9f644
--- /dev/null
+++ b/mesecons/mesecons_lightstone/doc/lightstone_yellow/preview.png
Binary files differ
diff --git a/mesecons/mesecons_lightstone/doc/lightstone_yellow/recipe.png b/mesecons/mesecons_lightstone/doc/lightstone_yellow/recipe.png
new file mode 100644
index 0000000..f17e9d4
--- /dev/null
+++ b/mesecons/mesecons_lightstone/doc/lightstone_yellow/recipe.png
Binary files differ
diff --git a/mesecons/mesecons_lightstone/init.lua b/mesecons/mesecons_lightstone/init.lua
new file mode 100644
index 0000000..da7cc41
--- /dev/null
+++ b/mesecons/mesecons_lightstone/init.lua
@@ -0,0 +1,60 @@
+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
new file mode 100644
index 0000000..09acc22
--- /dev/null
+++ b/mesecons/mesecons_lightstone/textures/jeija_lightstone_blue_off.png
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
new file mode 100644
index 0000000..93c8638
--- /dev/null
+++ b/mesecons/mesecons_lightstone/textures/jeija_lightstone_blue_on.png
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
new file mode 100644
index 0000000..7e5aae7
--- /dev/null
+++ b/mesecons/mesecons_lightstone/textures/jeija_lightstone_darkgray_off.png
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
new file mode 100644
index 0000000..e6d4d00
--- /dev/null
+++ b/mesecons/mesecons_lightstone/textures/jeija_lightstone_darkgray_on.png
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
new file mode 100644
index 0000000..f168fc2
--- /dev/null
+++ b/mesecons/mesecons_lightstone/textures/jeija_lightstone_gray_off.png
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
new file mode 100644
index 0000000..24c5470
--- /dev/null
+++ b/mesecons/mesecons_lightstone/textures/jeija_lightstone_gray_on.png
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
new file mode 100644
index 0000000..2f214fa
--- /dev/null
+++ b/mesecons/mesecons_lightstone/textures/jeija_lightstone_green_off.png
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
new file mode 100644
index 0000000..225bf4e
--- /dev/null
+++ b/mesecons/mesecons_lightstone/textures/jeija_lightstone_green_on.png
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
new file mode 100644
index 0000000..3c828b2
--- /dev/null
+++ b/mesecons/mesecons_lightstone/textures/jeija_lightstone_red_off.png
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
new file mode 100644
index 0000000..512b0fe
--- /dev/null
+++ b/mesecons/mesecons_lightstone/textures/jeija_lightstone_red_on.png
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
new file mode 100644
index 0000000..2e7fed0
--- /dev/null
+++ b/mesecons/mesecons_lightstone/textures/jeija_lightstone_yellow_off.png
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
new file mode 100644
index 0000000..8943aca
--- /dev/null
+++ b/mesecons/mesecons_lightstone/textures/jeija_lightstone_yellow_on.png
Binary files differ