From f1b7d8f107b0b52b608da4a7f827f0d147e9245c Mon Sep 17 00:00:00 2001 From: kilbith Date: Sun, 24 Apr 2016 12:37:02 +0200 Subject: [PATCH] Add Trampoline --- nodes.lua | 7 +++++++ recipes.lua | 9 +++++++++ textures/xdecor_trampoline.png | Bin 0 -> 1306 bytes textures/xdecor_trampoline_sides.png | Bin 0 -> 341 bytes 4 files changed, 16 insertions(+) create mode 100644 textures/xdecor_trampoline.png create mode 100644 textures/xdecor_trampoline_sides.png diff --git a/nodes.lua b/nodes.lua index 9387231..32e21d2 100644 --- a/nodes.lua +++ b/nodes.lua @@ -428,6 +428,13 @@ xdecor.register("tatami", { node_box = xdecor.nodebox.slab_y(0.0625) }) +xdecor.register("trampoline", { + description = "Trampoline", + tiles = {"xdecor_trampoline.png", "xdecor_trampoline_sides.png"}, + groups = {snappy=3, flammable=3, fall_damage_add_percent=-80, bouncy=90}, + node_box = xdecor.nodebox.slab_y(0.5) +}) + xdecor.register("tv", { description = "Television", light_source = 11, diff --git a/recipes.lua b/recipes.lua index ba1812e..33ea2c8 100644 --- a/recipes.lua +++ b/recipes.lua @@ -324,6 +324,15 @@ minetest.register_craft({ } }) +minetest.register_craft({ + output = "xdecor:trampoline", + recipe = { + {"farming:string", "farming:string", "farming:string"}, + {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"}, + {"default:steel_ingot", "", "default:steel_ingot"} + } +}) + minetest.register_craft({ output = "xdecor:tv", recipe = { diff --git a/textures/xdecor_trampoline.png b/textures/xdecor_trampoline.png new file mode 100644 index 0000000000000000000000000000000000000000..760f49d422f632c8740e53d74fa63f0dce2c7e7b GIT binary patch literal 1306 zcmV+#1?BpQP)4Tx062|}Ro!pfR1`mnZ(O7nKcKOW4i$^9Ra0BJ8yc;~21%2p=|UR0&DbiW z$#rfTQ`a`O(`{9s_5yDV_yd5l2Of}kLK+Oj_Ok5(v`JGz71bo9J#^YYXp{DWs&KBa zQ@dTpxRI}aIp=pi@6k0t$5)!;m`NF6-tt{FpOKHBn3g+MAqmexC-gw4rh87hTrL7G z#)U`L!(So6-Zux@>;H3gR;i~0B%VTSS3P|m@o9jRsXML@Al^p#@G0Lx-0?i(9WEw_ zSYddU<1E8793KxjQ|c&UmW!mTC>k>?{om1c9S zUx<6_jj_!T&^M{wWM#>IBbOSf*xP<^F{$j$aOQ5Y{cT zROCL1M7^NKKL z&(yA}mSw#iM0^;IB{ZO5!wl{^Sg-*ysE~&Yz8!E;Qv(A`lu*=Clo*MpVGd>OdF6n^ zam1Jntk;<}MrqIC5$=Q>n{*R}?8oOIDUw5En2dl--Xw34!z7E+5pr-OgyQ-soSab)C%saskMla`aQLVzg0+MZf20tJU&K{hZoBrUc+U4e9&3o zw|KmGEe4#xz17wBu{f`SS_4i66?j31EjY7n{zGfhONK~c+td!TS#B}JoR}5UAd7p& z5phTyXSkK0xCeD3xaYP^o&J~#Xp9xFb0C;HHml5fA<%h1eR|qw7wxF+oNL9T1Aits?sKNIwvGaN)^WO$I^cUV)HzL_| z1K?{9p!>B*)`xfEv!4N6IG{J&h49W#Bz^(#YWw%`e_a{8n{G9m5AeR~_yl0%<7V@p z4nJ za0`PlBg3pY5H=O_6IByTuM4h4#(SpLeD&1978nD+nzn0E9=PPa`Ez<^Ov0( z9tTMDohg{&b-0Pg+xYU`r>)1HwK-f>&HtTuy~KZ+ug)y{vgI#}Rvb>e_3=Q~D>M01 z2SS#LEL$kKEMwjrvE>UNZ4dsOxFaTMhfiUY%f~e``)i$ literal 0 HcmV?d00001