summaryrefslogtreecommitdiff
path: root/jumping/init.lua
diff options
context:
space:
mode:
authorVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>2018-05-11 10:22:53 -0400
committerVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>2018-05-11 10:22:53 -0400
commit249daeb0e6a7d9b637eeb4e5cfda4710a68d59d3 (patch)
tree915217a9657158d2a02eb8d93507944f618d5142 /jumping/init.lua
parentaf2fedcf9998bb4a854c2cfd63e4cdad91a6dd5d (diff)
downloaddreambuilder_modpack-249daeb0e6a7d9b637eeb4e5cfda4710a68d59d3.tar
dreambuilder_modpack-249daeb0e6a7d9b637eeb4e5cfda4710a68d59d3.tar.gz
dreambuilder_modpack-249daeb0e6a7d9b637eeb4e5cfda4710a68d59d3.tar.bz2
dreambuilder_modpack-249daeb0e6a7d9b637eeb4e5cfda4710a68d59d3.tar.xz
dreambuilder_modpack-249daeb0e6a7d9b637eeb4e5cfda4710a68d59d3.zip
Add readme.md mostly taken from the forum thread (and markdown-ified)
Updated several mods: castles, homedecor, digilines, farming redo, jumping, maptools, mesecons, moreblocks, moretrees, pipeworks, signs_lib, technic, unified_dyes Deleted the peaceful_npc mod, as it is broken and unmaintained.
Diffstat (limited to 'jumping/init.lua')
-rw-r--r--jumping/init.lua74
1 files changed, 0 insertions, 74 deletions
diff --git a/jumping/init.lua b/jumping/init.lua
deleted file mode 100644
index 7937c63..0000000
--- a/jumping/init.lua
+++ /dev/null
@@ -1,74 +0,0 @@
-local trampolinebox = {
- type = "fixed",
- fixed = {
- {-0.5, -0.2, -0.5, 0.5, 0, 0.5},
-
- {-0.5, -0.5, -0.5, -0.4, -0.2, -0.4},
- { 0.4, -0.5, -0.5, 0.5, -0.2, -0.4},
- { 0.4, -0.5, 0.4, 0.5, -0.2, 0.5},
- {-0.5, -0.5, 0.4, -0.4, -0.2, 0.5},
- }
-}
-
-local cushionbox = {
- type = "fixed",
- fixed = {
- {-0.5, -0.5, -0.5, 0.5, -0.3, 0.5},
- }
-}
-
-local trampoline_punch = function(pos, node)
- local id = string.sub(node.name, #node.name)
- id = id + 1
- if id == 7 then id = 1 end
- minetest.add_node(pos, {name = string.sub(node.name, 1, #node.name - 1)..id})
-end
-
-for i = 1, 6 do
- minetest.register_node("jumping:trampoline"..i, {
- description = "Trampoline",
- drawtype = "nodebox",
- node_box = trampolinebox,
- selection_box = trampolinebox,
- paramtype = "light",
- on_punch = trampoline_punch,
- tiles = {
- "jumping_trampoline_top.png",
- "jumping_trampoline_bottom.png",
- "jumping_trampoline_sides.png^jumping_trampoline_sides_overlay"..i..".png"
- },
- groups = {dig_immediate=2, bouncy=20+i*20, fall_damage_add_percent=-70},
- })
-end
-
-minetest.register_node("jumping:cushion", {
- description = "Cushion",
- drawtype = "nodebox",
- node_box = cushionbox,
- selection_box = cushionbox,
- paramtype = "light",
- tiles = {
- "jumping_cushion_tb.png",
- "jumping_cushion_tb.png",
- "jumping_cushion_sides.png"
- },
- groups = {dig_immediate=2, disable_jump=1, fall_damage_add_percent=-100},
-})
-
-minetest.register_craft({
- output = "jumping:trampoline1",
- recipe = {
- {"default:wood", "default:wood", "default:wood"},
- {"default:leaves", "default:leaves", "default:leaves"},
- {"default:stick", "default:stick", "default:stick"}
- }
-})
-
-minetest.register_craft({
- output = "jumping:cushion",
- recipe = {
- {"default:leaves", "default:leaves", "default:leaves"},
- {"default:leaves", "default:leaves", "default:leaves"},
- {"default:stick", "default:stick", "default:stick"}
- }
-})