From ea793299db7b0c22b25e364bd2e652d32cd7bfe1 Mon Sep 17 00:00:00 2001 From: MoNTE48 Date: Tue, 3 Mar 2020 16:23:22 +0100 Subject: [PATCH] Bluestone_materials: update --- .../bluestone/bluestone_materials/README.txt | 20 ++++++++ .../depends.txt | 0 files/bluestone/bluestone_materials/init.lua | 47 ++++++++++++++++++ .../textures/bluestone_block.png | Bin .../textures/mesecons_glue.png | Bin 0 -> 504 bytes files/bluestone/mesecons_materials/init.lua | 47 ------------------ .../textures/mesecons_glue.png | Bin 285 -> 0 bytes files/bluestone/mesecons_pistons/init.lua | 2 +- .../bluestone/mesecons_solarpanel/depends.txt | 1 - 9 files changed, 68 insertions(+), 49 deletions(-) create mode 100644 files/bluestone/bluestone_materials/README.txt rename files/bluestone/{mesecons_materials => bluestone_materials}/depends.txt (100%) create mode 100644 files/bluestone/bluestone_materials/init.lua rename files/bluestone/{mesecons_materials => bluestone_materials}/textures/bluestone_block.png (100%) create mode 100644 files/bluestone/bluestone_materials/textures/mesecons_glue.png delete mode 100644 files/bluestone/mesecons_materials/init.lua delete mode 100644 files/bluestone/mesecons_materials/textures/mesecons_glue.png diff --git a/files/bluestone/bluestone_materials/README.txt b/files/bluestone/bluestone_materials/README.txt new file mode 100644 index 0000000..04a2f82 --- /dev/null +++ b/files/bluestone/bluestone_materials/README.txt @@ -0,0 +1,20 @@ +MultiCraft Game mod: bluestone materials +======================================== + +License of source code +---------------------- +Copyright (C) 2019 MultiCraft Development Team + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU Lesser General Public License as published by +the Free Software Foundation; either version 3.0 of the License, or +(at your option) any later version. + +http://www.gnu.org/licenses/lgpl-3.0.html + +License of textures +------------------- +Copyright (C) 2016-2020 MultiCraft Development Team + +Graphics in this mod is NOT free and can be used only as part of the official MultiCraft build. +Allowed to be used in non-official builds ONLY for personal use. diff --git a/files/bluestone/mesecons_materials/depends.txt b/files/bluestone/bluestone_materials/depends.txt similarity index 100% rename from files/bluestone/mesecons_materials/depends.txt rename to files/bluestone/bluestone_materials/depends.txt diff --git a/files/bluestone/bluestone_materials/init.lua b/files/bluestone/bluestone_materials/init.lua new file mode 100644 index 0000000..b4041f1 --- /dev/null +++ b/files/bluestone/bluestone_materials/init.lua @@ -0,0 +1,47 @@ +-- Glue +minetest.register_craftitem("bluestone_materials:glue", { + description = "Glue", + inventory_image = "mesecons_glue.png" +}) + +minetest.register_craft({ + output = "bluestone_materials:glue 2", + type = "cooking", + recipe = "group:sapling", + cooktime = 2 +}) + +-- Bluestone Block +minetest.register_node("bluestone_materials:bluestoneblock", { + description = "Bluestone Block", + tiles = {"bluestone_block.png"}, + paramtype = "light", + is_ground_content = false, + groups = {cracky = 1}, + light_source = minetest.LIGHT_MAX - 4, + sounds = default.node_sound_stone_defaults(), + mesecons = {receptor = { + state = mesecon.state.on + }}, + on_blast = mesecon.on_blastnode +}) + +minetest.register_craft({ + output = "bluestone_materials:bluestoneblock", + recipe = { + {"mesecons:wire_00000000_off", "mesecons:wire_00000000_off", "mesecons:wire_00000000_off"}, + {"mesecons:wire_00000000_off", "mesecons:wire_00000000_off", "mesecons:wire_00000000_off"}, + {"mesecons:wire_00000000_off", "mesecons:wire_00000000_off", "mesecons:wire_00000000_off"} + } +}) + +minetest.register_craft({ + output = "mesecons:wire_00000000_off 9", + recipe = { + {"bluestone_materials:bluestoneblock"} + } +}) + +minetest.register_alias("mesecons_torch:bluestoneblock", "bluestone_materials:bluestoneblock") +minetest.register_alias("mesecons_materials:glue", "bluestone_materials:glue") +minetest.register_alias("mesecons_materials:bluestoneblock", "bluestone_materials:bluestoneblock") diff --git a/files/bluestone/mesecons_materials/textures/bluestone_block.png b/files/bluestone/bluestone_materials/textures/bluestone_block.png similarity index 100% rename from files/bluestone/mesecons_materials/textures/bluestone_block.png rename to files/bluestone/bluestone_materials/textures/bluestone_block.png diff --git a/files/bluestone/bluestone_materials/textures/mesecons_glue.png b/files/bluestone/bluestone_materials/textures/mesecons_glue.png new file mode 100644 index 0000000000000000000000000000000000000000..b9cfb2ebbccd12bca5d20022d22a2e14b82aa28e GIT binary patch literal 504 zcmVBK zFboANO11BQ{V~A zS^F&z|EwN@7Cl%<*7a4kiEq6P!F?Bt`jNiC(NTKQgHP}ALyAeD`nt0E&FO;U=mG|z zhirjLD|{f(rx+H3UR|75K8A=U#t_K{5S*8QJqW9UEo1{I?}mu82W=q{(7?$I#Jz=F z&}e`OT)_~3Y=A>BKwwU?1;r)6prat>6>t`S0YacKaTK+PwZN;RKu}WwC;2%}3wa07 zB$)1~R1l2tR6iHgyTOy63&1!@$|nMMOwhzypbNriuqhA-@)2Z+grS(o1l0lrB$*%+ zz*xa8d28TNP|74Q;vVG`a63zfDL*4T+M0aY@U1o;IsFqBO`YXRh~@pN$vk&t9<2%LC`fyX6&TD{&* zEe6)>E1N#QU&zXQH(^0yNa)w!HFm33v0T}do6XpC<6rmfX$lcqi;BVoHio4MZFkYR z$tt);