diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2016-04-01 20:02:19 -0400 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2016-04-01 21:09:33 -0400 |
commit | da66780a569712c23ae4f2996cfb4608a9f9d69d (patch) | |
tree | 217556029a78bc23ad4564720afc86de97228a04 /mesecons/mesecons_powerplant | |
parent | 615b22df4d423aded3613db7716943a2f389b047 (diff) | |
download | dreambuilder_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.txt | 1 | ||||
-rw-r--r-- | mesecons/mesecons_powerplant/doc/powerplant/description.html | 1 | ||||
-rw-r--r-- | mesecons/mesecons_powerplant/doc/powerplant/preview.png | bin | 0 -> 61931 bytes | |||
-rw-r--r-- | mesecons/mesecons_powerplant/doc/powerplant/recipe.png | bin | 0 -> 2823 bytes | |||
-rw-r--r-- | mesecons/mesecons_powerplant/init.lua | 31 | ||||
-rw-r--r-- | mesecons/mesecons_powerplant/textures/jeija_power_plant.png | bin | 0 -> 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 Binary files differnew file mode 100644 index 0000000..473d15c --- /dev/null +++ b/mesecons/mesecons_powerplant/doc/powerplant/preview.png diff --git a/mesecons/mesecons_powerplant/doc/powerplant/recipe.png b/mesecons/mesecons_powerplant/doc/powerplant/recipe.png Binary files differnew file mode 100644 index 0000000..04a4002 --- /dev/null +++ b/mesecons/mesecons_powerplant/doc/powerplant/recipe.png 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 Binary files differnew file mode 100644 index 0000000..edc8891 --- /dev/null +++ b/mesecons/mesecons_powerplant/textures/jeija_power_plant.png |