From 5f23baab9d22d0b19e58002591df9d29d6b207de Mon Sep 17 00:00:00 2001 From: Juraj Vajda Date: Sun, 7 May 2023 15:35:06 -0400 Subject: [PATCH] Add cyan crystal variant --- LICENSE.txt | 2 ++ crafting.lua | 15 ++++++++++++ nodes.lua | 24 +++++++++++++++++++ textures/everness_crystal_block_cyan.png | Bin 0 -> 272 bytes textures/everness_crystal_block_cyan_top.png | Bin 0 -> 265 bytes 5 files changed, 41 insertions(+) create mode 100644 textures/everness_crystal_block_cyan.png create mode 100644 textures/everness_crystal_block_cyan_top.png diff --git a/LICENSE.txt b/LICENSE.txt index 7e83748..efe6fc4 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -876,6 +876,8 @@ GNU Lesser General Public License v2.1 or later - everness_crystal_stone.png - everness_crystal_cobble.png - everness_cursed_stone_carved.png +- everness_crystal_block_cyan_top.png +- everness_crystal_block_cyan.png **CC-BY-SA-4.0, Pixel Perfection by XSSheep**, https://minecraft.curseforge.com/projects/pixel-perfection-freshly-updated diff --git a/crafting.lua b/crafting.lua index 7db0a68..a9bf514 100644 --- a/crafting.lua +++ b/crafting.lua @@ -629,6 +629,21 @@ minetest.register_craft({ recipe = { 'everness:crystal_block_orange' } }) +minetest.register_craft({ + output = 'everness:crystal_block_cyan', + recipe = { + { 'everness:crystal_cyan', 'everness:crystal_cyan', 'everness:crystal_cyan' }, + { 'everness:crystal_cyan', 'everness:crystal_cyan', 'everness:crystal_cyan' }, + { 'everness:crystal_cyan', 'everness:crystal_cyan', 'everness:crystal_cyan' }, + } +}) + +minetest.register_craft({ + output = 'everness:crystal_cyan 9', + type = 'shapeless', + recipe = { 'everness:crystal_block_cyan' } +}) + -- -- Tools -- diff --git a/nodes.lua b/nodes.lua index 806b50c..3d036a5 100644 --- a/nodes.lua +++ b/nodes.lua @@ -1472,6 +1472,30 @@ Everness:register_node('everness:crystal_block_orange', { sounds = Everness.node_sound_crystal_defaults(), }) +Everness:register_node('everness:crystal_block_cyan', { + description = S('Cyan Crystal Block'), + paramtype2 = 'facedir', + place_param2 = 0, + tiles = { + 'everness_crystal_block_cyan_top.png', + 'everness_crystal_block_cyan_top.png', + 'everness_crystal_block_cyan.png' + }, + is_ground_content = false, + groups = { + -- MTG + cracky = 2, + -- MCL + pickaxey = 1, + building_block = 1, + material_stone = 1 + }, + _mcl_blast_resistance = 6, + _mcl_hardness = 1.5, + light_source = 7, + sounds = Everness.node_sound_crystal_defaults(), +}) + -- Quartz -- Quartz Block diff --git a/textures/everness_crystal_block_cyan.png b/textures/everness_crystal_block_cyan.png new file mode 100644 index 0000000000000000000000000000000000000000..9a8599fb16adc1ba5a436c6bd5b26aea95baf6f2 GIT binary patch literal 272 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!73?$#)eFPFP2=EDUHO=lbXj^95z1m{>I{yQ^ z&GRNX%-?3ww@$lp;pCgw!j2#E+_lvxz1twQ!>VMuesa72>62H1dS`pOIEHXUGfrU0 z|Ig62f^~{asFE(jM{(Aj%UNf+GsvoovS$gbG+|h@Wko25;6*crj-4r`AzO6Y7~0*Y z?Km>o{UF1^Lun~mnO6D?46I^C4Q5`I5~YD=jSO3ySlK&5)s+}_T9>k{E(qmd zaGSj7$Tau3rwj*^t-CE#RG%`)Hk&I5r#VJ2EV`sF5M8bg=d#Wzp$PzKyIf8H literal 0 HcmV?d00001 diff --git a/textures/everness_crystal_block_cyan_top.png b/textures/everness_crystal_block_cyan_top.png new file mode 100644 index 0000000000000000000000000000000000000000..cd70697874687e9953e77843f77b9f7f43174b0e GIT binary patch literal 265 zcmV+k0rvihP)Xb(mJi!b!TdIhe0GeV##}w=;>UQI4mZ;odEIn+DnRJpcdzmq|oH zRCwAQi~$YMQhvb|IeLWOfb1{-~y5sDYb6{6v@^hsE!3f8HWD$PAShBpt5xL zuyL>iQ+>AIu2Bc)FxwR*`z!!M<=46Y5)X`T zMYayFORqz4K