aboutsummaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorGabriel Pérez-Cerezo <gabriel@gpcf.eu>2018-05-03 18:05:50 +0200
committerGabriel Pérez-Cerezo <gabriel@gpcf.eu>2018-05-03 18:05:50 +0200
commit41765a0edb05545beb307222717ee90723061faf (patch)
treed95a7e9113b7854019c6edc365760a39808d6be7 /init.lua
parent036f8cf407ecee22495d81ac75f91b49b8f88fe5 (diff)
downloadehlphabet-41765a0edb05545beb307222717ee90723061faf.tar.gz
ehlphabet-41765a0edb05545beb307222717ee90723061faf.tar.bz2
ehlphabet-41765a0edb05545beb307222717ee90723061faf.zip
Added screwdriver support (courtesy of Och_Noe)
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index 300e256..2ed13fe 100644
--- a/init.lua
+++ b/init.lua
@@ -60,6 +60,9 @@ for _, name in ipairs(characters) do
{
description = "Ehlphabet Block '" .. name .. "'",
tiles = {"ehlphabet_" .. file .. ".png"},
+ paramtype2 = "facedir", -- neu
+ on_rotate = screwdriver.rotate_simple , -- neu
+ is_ground_content = false, --neu
groups = {cracky = 3, not_in_creative_inventory = 1, not_in_crafting_guide = 1}
}
)