summaryrefslogtreecommitdiff
path: root/mesecons/mesecons_powerplant
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_powerplant
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_powerplant')
-rw-r--r--mesecons/mesecons_powerplant/depends.txt1
-rw-r--r--mesecons/mesecons_powerplant/doc/powerplant/description.html1
-rw-r--r--mesecons/mesecons_powerplant/doc/powerplant/preview.pngbin0 -> 61931 bytes
-rw-r--r--mesecons/mesecons_powerplant/doc/powerplant/recipe.pngbin0 -> 2823 bytes
-rw-r--r--mesecons/mesecons_powerplant/init.lua31
-rw-r--r--mesecons/mesecons_powerplant/textures/jeija_power_plant.pngbin0 -> 437 bytes
6 files changed, 33 insertions, 0 deletions
diff --git a/mesecons/mesecons_powerplant/depends.txt b/mesecons/mesecons_powerplant/depends.txt
new file mode 100644
index 0000000..acaa924
--- /dev/null
+++ b/mesecons/mesecons_powerplant/depends.txt
@@ -0,0 +1 @@
+mesecons
diff --git a/mesecons/mesecons_powerplant/doc/powerplant/description.html b/mesecons/mesecons_powerplant/doc/powerplant/description.html
new file mode 100644
index 0000000..12abbbb
--- /dev/null
+++ b/mesecons/mesecons_powerplant/doc/powerplant/description.html
@@ -0,0 +1 @@
+A power plant is a receptor that is always turned on: It provides energy.
diff --git a/mesecons/mesecons_powerplant/doc/powerplant/preview.png b/mesecons/mesecons_powerplant/doc/powerplant/preview.png
new file mode 100644
index 0000000..473d15c
--- /dev/null
+++ b/mesecons/mesecons_powerplant/doc/powerplant/preview.png
Binary files differ
diff --git a/mesecons/mesecons_powerplant/doc/powerplant/recipe.png b/mesecons/mesecons_powerplant/doc/powerplant/recipe.png
new file mode 100644
index 0000000..04a4002
--- /dev/null
+++ b/mesecons/mesecons_powerplant/doc/powerplant/recipe.png
Binary files differ
diff --git a/mesecons/mesecons_powerplant/init.lua b/mesecons/mesecons_powerplant/init.lua
new file mode 100644
index 0000000..a5e3327
--- /dev/null
+++ b/mesecons/mesecons_powerplant/init.lua
@@ -0,0 +1,31 @@
+-- The POWER_PLANT
+-- Just emits power. always.
+
+minetest.register_node("mesecons_powerplant:power_plant", {
+ drawtype = "plantlike",
+ visual_scale = 1,
+ tiles = {"jeija_power_plant.png"},
+ inventory_image = "jeija_power_plant.png",
+ paramtype = "light",
+ walkable = false,
+ groups = {dig_immediate=3, mesecon = 2},
+ light_source = default.LIGHT_MAX-9,
+ description="Power Plant",
+ selection_box = {
+ type = "fixed",
+ fixed = {-0.3, -0.5, -0.3, 0.3, -0.5+0.7, 0.3},
+ },
+ sounds = default.node_sound_leaves_defaults(),
+ mesecons = {receptor = {
+ state = mesecon.state.on
+ }}
+})
+
+minetest.register_craft({
+ output = "mesecons_powerplant:power_plant 1",
+ recipe = {
+ {"group:mesecon_conductor_craftable"},
+ {"group:mesecon_conductor_craftable"},
+ {"group:sapling"},
+ }
+})
diff --git a/mesecons/mesecons_powerplant/textures/jeija_power_plant.png b/mesecons/mesecons_powerplant/textures/jeija_power_plant.png
new file mode 100644
index 0000000..edc8891
--- /dev/null
+++ b/mesecons/mesecons_powerplant/textures/jeija_power_plant.png
Binary files differ