From 883a94eccbffe21e5a6157c69be7b008e632e35f Mon Sep 17 00:00:00 2001 From: Frogoire Date: Wed, 10 Jun 2026 16:31:43 +0200 Subject: [PATCH] STON --- init.lua | 231 ++++++++++++++++++++- mod.conf | 2 +- textures/gildedtuferalddeepstone_ingot.png | Bin 0 -> 397 bytes textures/gildedtuferalddeepstone_pick.png | Bin 0 -> 401 bytes textures/gildedtuferalddeepstoneblock.png | Bin 0 -> 364 bytes textures/tgem_pick.png | Bin 0 -> 395 bytes textures/tuf_dust.png | Bin 0 -> 382 bytes textures/tuf_gem.png | Bin 0 -> 276 bytes textures/tuf_pick.png | Bin 0 -> 357 bytes textures/tuferaldblock.png | Bin 0 -> 363 bytes textures/tuferalddeepstoneblock.png | Bin 0 -> 368 bytes textures/tuferaldstoneblock.png | Bin 0 -> 364 bytes 12 files changed, 225 insertions(+), 8 deletions(-) create mode 100644 textures/gildedtuferalddeepstone_ingot.png create mode 100644 textures/gildedtuferalddeepstone_pick.png create mode 100644 textures/gildedtuferalddeepstoneblock.png create mode 100644 textures/tgem_pick.png create mode 100644 textures/tuf_dust.png create mode 100644 textures/tuf_gem.png create mode 100644 textures/tuf_pick.png create mode 100644 textures/tuferaldblock.png create mode 100644 textures/tuferalddeepstoneblock.png create mode 100644 textures/tuferaldstoneblock.png diff --git a/init.lua b/init.lua index 0b5d739..d15afde 100644 --- a/init.lua +++ b/init.lua @@ -1,10 +1,8 @@ -minetest.register_craft({ - output = "mcl_deepslate:tuff 64", - recipe = { - { "mcl_deepslate:tuff", "mcl_deepslate:tuff", "mcl_deepslate:tuff" }, - { "mcl_deepslate:tuff", "mcl_deepslate:tuff", "mcl_deepslate:tuff" }, - { "mcl_deepslate:tuff", "mcl_deepslate:tuff", "mcl_deepslate:tuff" }, - } +core.register_craft({ + type = "cooking", + output = "mcl_deepslate:tuff 6", + recipe = "tuf:tuf_dust", + cooktime = 20, }) core.register_craft({ @@ -31,3 +29,222 @@ minetest.register_on_item_eat(function(hp_change, replace_with_item, itemstack, mcl_potions.give_effect_by_level("slow_falling", user, 1, 120) end end) + +minetest.register_craftitem("tuf:tuf_dust", { + description = ("TUF dust"), + inventory_image = "tuf_dust.png", + stack_max = 64, +}) + +minetest.register_craft({ + output = "tuf:tuf_dust", + recipe = { + { "mcl_deepslate:tuff", "mcl_deepslate:tuff", "mcl_deepslate:tuff" }, + } +}) + +minetest.register_craftitem("tuf:tuf_gem", { + description = ("TUF gem"), + inventory_image = "tuf_gem.png", + stack_max = 64, +}) + +minetest.register_craft({ + output = "tuf:tuf_gem", + recipe = { + { "tuf:tuf_dust", "tuf:tuf_dust", "tuf:tuf_dust" }, + { "tuf:tuf_dust", "mcl_amethyst:amethyst_shard", "tuf:tuf_dust" }, + { "tuf:tuf_dust", "tuf:tuf_dust", "tuf:tuf_dust" }, + } +}) + +minetest.register_craft({ + output = "mcl_core:emerald 6", + recipe = { + { "mcl_nether:quartz", "mcl_amethyst:amethyst_shard", "mcl_nether:quartz" }, + { "mcl_core:diamond", "mcl_core:emerald", "mcl_core:diamond" }, + { "mcl_nether:quartz", "mcl_amethyst:amethyst_shard", "mcl_nether:quartz" }, + } +}) + +minetest.register_tool("tuf:pick_tuff", { + description = ("TUF PickAck"), + inventory_image = "tuf_pick.png", + wield_scale = wield_scale, + groups = { tool = 1, pickaxe = 1, dig_speed_class = 2, enchantability = 6 }, + tool_capabilities = { + -- 1/1.2 + full_punch_interval = 1, + max_drop_level = 2, + damage_groups = { fleshy = 3 }, + punch_attack_uses = 500, + }, + sound = { breaks = "default_tool_breaks" }, + _repair_material = "tuf:tuf_dust", + _mcl_toollike_wield = true, + _mcl_diggroups = { + pickaxey = { speed = 4, level = 3, uses = 1225 } + }, + _mcl_upgradable = false, +}) + +minetest.register_tool("tuf:pick_tgem", { + description = ("GEM PickAck"), + inventory_image = "tgem_pick.png", + wield_scale = wield_scale, + groups = { tool = 1, pickaxe = 1, dig_speed_class = 4, enchantability = 10 }, + tool_capabilities = { + -- 1/1.2 + full_punch_interval = 0.67, + max_drop_level = 4, + damage_groups = { fleshy = 7 }, + punch_attack_uses = 1000, + }, + sound = { breaks = "default_tool_breaks" }, + _repair_material = "tuf:tuf_gem", + _mcl_toollike_wield = true, + _mcl_diggroups = { + pickaxey = { speed = 7, level = 4, uses = 2137 } + }, + _mcl_upgradable = false, +}) + +minetest.register_craft({ + output = "tuf:pick_tuff", + recipe = { + { "mcl_deepslate:tuff", "mcl_deepslate:tuff", "mcl_deepslate:tuff" }, + { "", "mcl_core:stick", "" }, + { "", "mcl_core:stick", "" }, + } +}) + +minetest.register_craft({ + output = "tuf:pick_tgem", + recipe = { + { "tuf:tuf_gem", "tuf:tuf_gem", "tuf:tuf_gem" }, + { "", "mcl_core:stick", "" }, + { "", "mcl_core:stick", "" }, + } +}) + +minetest.register_node("tuf:tuferaldblock", { + description = ("BLOK of TUFrald"), + tiles = { "tuferaldblock.png" }, + is_ground_content = false, + stack_max = 64, + groups = { pickaxey = 4, building_block = 1 }, + sounds = mcl_sounds.node_sound_stone_defaults(), + _mcl_blast_resistance = 6, + _mcl_hardness = 5, +}) + +minetest.register_craft({ + output = "tuf:tuferaldblock", + recipe = { + { "tuf:tuf_gem", "mcl_core:emerald", "tuf:tuf_gem" }, + { "mcl_core:emerald", "mcl_core:emeraldblock", "mcl_core:emerald" }, + { "tuf:tuf_gem", "mcl_core:emerald", "tuf:tuf_gem" }, + } +}) + +minetest.register_node("tuf:tuferaldstoneblock", { + description = ("BLOK of TUFraldSTON"), + tiles = { "tuferaldstoneblock.png" }, + is_ground_content = false, + stack_max = 64, + groups = { pickaxey = 4, building_block = 1 }, + sounds = mcl_sounds.node_sound_stone_defaults(), + _mcl_blast_resistance = 6, + _mcl_hardness = 5, +}) + +minetest.register_craft({ + output = "tuf:tuferaldstoneblock", + recipe = { + { "tuf:tuf_dust", "mesecons_torch:redstoneblock", "tuf:tuf_dust" }, + { "mesecons_torch:redstoneblock", "tuf:tuferaldblock", "mesecons_torch:redstoneblock" }, + { "tuf:tuf_dust", "mesecons_torch:redstoneblock", "tuf:tuf_dust" }, + } +}) + +minetest.register_node("tuf:tuferalddeepstoneblock", { + description = ("BLOK of TUFraldDiipSTON"), + tiles = { "tuferalddeepstoneblock.png" }, + is_ground_content = false, + stack_max = 64, + groups = { pickaxey = 4, building_block = 1 }, + sounds = mcl_sounds.node_sound_stone_defaults(), + _mcl_blast_resistance = 6, + _mcl_hardness = 5, +}) + +minetest.register_craft({ + output = "tuf:tuferalddeepstoneblock", + recipe = { + { "mcl_core:emerald", "mcl_deepslate:deepslate", "mcl_core:emerald" }, + { "mcl_deepslate:deepslate", "tuf:tuferaldstoneblock", "mcl_deepslate:deepslate" }, + { "mcl_core:emerald", "mcl_deepslate:deepslate", "mcl_core:emerald" }, + } +}) + +minetest.register_node("tuf:gildedtuferalddeepstoneblock", { + description = ("GILTEn BLOK of TUFraldDiipSTON"), + tiles = { "gildedtuferalddeepstoneblock.png" }, + is_ground_content = false, + stack_max = 64, + groups = { pickaxey = 4, building_block = 1 }, + sounds = mcl_sounds.node_sound_stone_defaults(), + _mcl_blast_resistance = 6, + _mcl_hardness = 5, +}) + +minetest.register_craft({ + output = "tuf:gildedtuferalddeepstoneblock", + recipe = { + { "mcl_nether:ancient_debris", "mcl_core:goldblock", "mcl_nether:ancient_debris" }, + { "mcl_core:goldblock", "tuf:tuferalddeepstoneblock", "mcl_core:goldblock" }, + { "mcl_nether:ancient_debris", "mcl_core:goldblock", "mcl_nether:ancient_debris" }, + } +}) + +minetest.register_craftitem("tuf:gildedtuferalddeepstone_ingot", { + description = ("GILTEn IGNOD of TUFraldDiipSTON"), + inventory_image = "gildedtuferalddeepstone_ingot.png", + stack_max = 64, +}) +core.register_craft({ + type = "cooking", + output = "tuf:gildedtuferalddeepstone_ingot", + recipe = "tuf:gildedtuferalddeepstoneblock", + cooktime = 1000, +}) + +minetest.register_craft({ + output = "tuf:pick_gildedtuferalddeepstone", + recipe = { + { "tuf:gildedtuferalddeepstone_ingot", "tuf:gildedtuferalddeepstone_ingot", "tuf:gildedtuferalddeepstone_ingot" }, + { "", "mcl_core:stick", "" }, + { "", "mcl_core:stick", "" }, + } +}) + +minetest.register_tool("tuf:pick_gildedtuferalddeepstone", { + description = ("GILTEn TUFraldDiipSTON PickAck"), + inventory_image = "gildedtuferalddeepstone_pick.png", + wield_scale = wield_scale, + groups = { tool = 1, pickaxe = 1, dig_speed_class = 10, enchantability = 67 }, + tool_capabilities = { + -- 1/1.2 + full_punch_interval = 1, + max_drop_level = 6, + damage_groups = { fleshy = 10 }, + punch_attack_uses = 2137, + }, + sound = { breaks = "default_tool_breaks" }, + _repair_material = "tuf:gildedtuferalddeepstone_ingot", + _mcl_toollike_wield = true, + _mcl_diggroups = { + pickaxey = { speed = 10, level = 6, uses = 6767 } + }, + _mcl_upgradable = false, +}) diff --git a/mod.conf b/mod.conf index cecd8b9..0a7511f 100644 --- a/mod.conf +++ b/mod.conf @@ -1,3 +1,3 @@ name = tuf depends = mcl_core -version = 9.9.9 +version = 0.0.2 diff --git a/textures/gildedtuferalddeepstone_ingot.png b/textures/gildedtuferalddeepstone_ingot.png new file mode 100644 index 0000000000000000000000000000000000000000..d8e9b5718019e4a1d80602df9b25418468970c89 GIT binary patch literal 397 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D%z-923#Lo9le z6Be*WBxn4n?_Kz?KIw|lLhh7zSKG7a+_~;}LBOr#Y~%fVhkm}^*&?}wzslf>NvToN z3m0>SG~-Q-1_iH5O#GZ5#1-fzCOK^X8$4IzaFt#nTkqN35>c;CZLDI?)6%){?c1N^ z0=P@ra6oBF35Ij8W zle)u7vM{ji-AQA~jZw`x9Wlnr%>LOTU4MipPUdmiW5W~tTrcT}R20abCnDi3)yK8G z+4R((f1dByF}?la)7||y_BNbXf5TNB#?X|P?I>o~6aOkp%| gPRL0)8^XvCexqc~qLO=F!0=`8boFyt=akR{0G#QsmH+?% literal 0 HcmV?d00001 diff --git a/textures/gildedtuferalddeepstone_pick.png b/textures/gildedtuferalddeepstone_pick.png new file mode 100644 index 0000000000000000000000000000000000000000..9da16bbf2f616352f9982b001135d1fe9da3492a GIT binary patch literal 401 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D%zy**tVLo9le z6BY;0MqAoiro8phqfizV0n zjX1U7sNmTHKp-F~_GNw}5VT61P0S1XFK?8Sa^X=&T7mAIGY0h=C1d&)a3|U3{`2ns zU}OLUCGWM%S$CKSv#tu-^Upu0 z8Q8X&UEgSpeL>@bvl?*?nfr=A>K$J6x5d=hKtVM% zzopr050;dM*si- literal 0 HcmV?d00001 diff --git a/textures/gildedtuferalddeepstoneblock.png b/textures/gildedtuferalddeepstoneblock.png new file mode 100644 index 0000000000000000000000000000000000000000..de59f9653ce30e9b1d1d78f8ab707e7d052eb4c3 GIT binary patch literal 364 zcmV-y0h9iTP)Px$CP_p=R5*=|Qz34|Fc6&N4kRR?ikV5JD+wrUq<*2Spi*_{UJx8&P*U6%7*r>f z^db2`P@q|(0FxYvTHvm0JIVDHc}Kf5vtB!TxWE0zN>ufLx7Vu~p7EVMZ|P7ZdkeOw z<3-H?5Rrq!xG@DUUyE+EU|#-ta}BLJEn2dKPRcJQBVcf1+FCCXuJ-9!dA9pnPiR1^W!-LD-Pt_#=0000< KMNUMnLSTY5ftj)Z literal 0 HcmV?d00001 diff --git a/textures/tgem_pick.png b/textures/tgem_pick.png new file mode 100644 index 0000000000000000000000000000000000000000..32a665e5d97f0e1d194c057d731342e9c7799081 GIT binary patch literal 395 zcmV;60d)R}P)Px$MM*?KR5*>Lk}*gEVHk#=D~GH>lG31{AzBhnmk6{W;lT2ygvPeO(IqIdErJ3U zX=*B38x8`a;NT1*2njTB$%LY)#HeU#{9E!k&Gf2w`#*Tz|9w9`_@|`C!S?%(7}(e} z-^1Pv`Qsw{Z>s=g&Mu`?G9h%m#L@Yo^v%Gke7Y>GFhDpQM%POy$|#HL>DC5TsX8zTa z0p?t51R_3K8pLCY=ZZ4@U?^cO7%}Lz$cm=gGQQc_wE1y002ovPDHLkV1j1*wpRcE literal 0 HcmV?d00001 diff --git a/textures/tuf_dust.png b/textures/tuf_dust.png new file mode 100644 index 0000000000000000000000000000000000000000..54b812b23e2818c3621de1495b1520773f526df1 GIT binary patch literal 382 zcmV-^0fGLBP)Px$I7vi7R5*>@k-Y%+LTsaMT_xWN(n)!8ah|2o>QH}p1aOrI^TF|vI>~4%*TphwVjF;5zJMeKkfR}P^n2Py z*XBI)@VXeFTD@ayBWmZ87$6+<(>F~{4pWXMwjdUfCK*j-FnkA~RMB}Iyiq9L5)S$u zEtSoPEm^SO(~O2N8Y3)udG7X55^+iu9XT4}>7~cYvKPH+;9HzZLgFgJ(fCTR1dnYF(aXDc9;OjX$Q9cXr9;3--O)C4TvZS<(E= cg8yhf0lkcBfPS4hv}f19UCFq@_eU~0l_GYelRsfh-BV_+32W&S}C=nPw=ycyRW%xkQr0Muy90PM$kh@ajt@n_n5Dh|vdiRgblIKWMtC_{gl(fm1;j~6p Vq4>5gU!czzJYD@<);T3K0RWtdX0!kR literal 0 HcmV?d00001 diff --git a/textures/tuf_pick.png b/textures/tuf_pick.png new file mode 100644 index 0000000000000000000000000000000000000000..6147d5bd57c54d793debdc507153f2591ba90275 GIT binary patch literal 357 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D%z-Lo9le z6BY;^(`-0j-5Dg;DEr3gkSMK9rGXl{%!7Zn}=EF-nC!Px$B}qg5lRa+2KoEsLBP1-+AiN#D3ku3eNkyOBfE(C31IRu@%nj&h(^C;C zO*#sCcMhVmf@H}loUwP;7J^spj^_Q$XxDjpo|W8*-S}9a`*N7Ni@JFD-P}Y5a3sNH zIRapk^xG^T4GZJ``ToWHdwkj z2KgF#cENV;g4B28W3vNsm07PjD^Ia4_uUC@A?q*%(y+LT+!D~q`Yz<2h6QO@ko{zJ zyV literal 0 HcmV?d00001 diff --git a/textures/tuferalddeepstoneblock.png b/textures/tuferalddeepstoneblock.png new file mode 100644 index 0000000000000000000000000000000000000000..273fda339c18c11af1453a09c4e2421118f65a1e GIT binary patch literal 368 zcmV-$0gwKPP)Px$DoI2^R5*>5lf7z#P!z|1#tcd!G2@Ns{~-j=OE9IT<)kcS8Ot^mjyza!`2fjm5kWsQ%i5_Xi#v{{&C zw?HE4k*6>lHiph)(Eh@#@bnhcRrfmOERpaV-i{}@gzTaxklOkx@|l23cF#h`sjW$E zO?A8}aNa@dK2DZMD2}yD?h?4KOUasM%vmDAR7sm)iah3=H9iGkWs9kj(-!jZ(2Jfm zJ~&sZ2Ur}%;@}A@TfDc|m)>vGXbLM^hH%%+-HE*|*->`m;m>nLRpcM+4tgnj9&}d# O0000r&| literal 0 HcmV?d00001 diff --git a/textures/tuferaldstoneblock.png b/textures/tuferaldstoneblock.png new file mode 100644 index 0000000000000000000000000000000000000000..68bafb1e27991f40364e1483adab8b9564df4909 GIT binary patch literal 364 zcmV-y0h9iTP)Px$CP_p=R5*>5lQC|CKoCVACIvW^fiA9*LXiWcqE9#hMMTRbEMLMcN?|F5J1*eL zM{p$9q$AKl8jBS6!tNSb_OE6~^Z%dOoi*NGUpnr@);aX?g9rjE?vwk!^-W{|Lv)a| zCII<-HcE_&S~-6_eG^vxse{0Zq5UGWkMLU}3j$>Jk<1>*No$feOZKdph@|Z7xt>D4 zhKZigoyQ>ZTjwy`fp8VGUUT+bk4?85@8A})3`HO+>buAw?Sbx`wC2Sbc|1oGIJry3 znsa`R%kwiUBgoq&$ih8oO`@VED(ar>xgKe=1i*NFw>p5&pXZBF`0-0%7GVh5FAM6Zr=SGk)2TnLok+0000< KMNUMnLSTY6R-p9& literal 0 HcmV?d00001