Bluestone_materials: update
This commit is contained in:
parent
589023053a
commit
ea793299db
20
files/bluestone/bluestone_materials/README.txt
Normal file
20
files/bluestone/bluestone_materials/README.txt
Normal file
@ -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.
|
47
files/bluestone/bluestone_materials/init.lua
Normal file
47
files/bluestone/bluestone_materials/init.lua
Normal file
@ -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")
|
Before Width: | Height: | Size: 950 B After Width: | Height: | Size: 950 B |
BIN
files/bluestone/bluestone_materials/textures/mesecons_glue.png
Normal file
BIN
files/bluestone/bluestone_materials/textures/mesecons_glue.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 504 B |
@ -1,47 +0,0 @@
|
||||
-- Glue
|
||||
minetest.register_craftitem("mesecons_materials:glue", {
|
||||
image = "mesecons_glue.png",
|
||||
on_place_on_ground = minetest.craftitem_place_item,
|
||||
description = "Glue",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mesecons_materials:glue 2",
|
||||
type = "cooking",
|
||||
recipe = "group:sapling",
|
||||
cooktime = 2
|
||||
})
|
||||
|
||||
-- Bluestone Block
|
||||
|
||||
minetest.register_node("mesecons_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 = "mesecons_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 = {
|
||||
{"mesecons_materials:bluestoneblock"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_alias("mesecons_torch:bluestoneblock", "mesecons_materials:bluestoneblock")
|
Binary file not shown.
Before Width: | Height: | Size: 285 B |
@ -463,7 +463,7 @@ minetest.register_craft({
|
||||
minetest.register_craft({
|
||||
output = "mesecons_pistons:piston_sticky_off",
|
||||
recipe = {
|
||||
{"mesecons_materials:glue"},
|
||||
{"bluestone_materials:glue"},
|
||||
{"mesecons_pistons:piston_normal_off"}
|
||||
}
|
||||
})
|
||||
|
@ -1,2 +1 @@
|
||||
mesecons
|
||||
mesecons_materials
|
||||
|
Loading…
x
Reference in New Issue
Block a user