|
@ -0,0 +1,87 @@
|
|||
-- Minetest 0.4 mod: slime bucket
|
||||
-- See README.txt for licensing and other information.
|
||||
|
||||
-- minetest.register_alias("bucket_slime_solid_cyan", "slimenodes:bucket_slime_solid_cyan")
|
||||
-- minetest.register_alias("bucket_slime_solid_green", "slimenodes:bucket_slime_solid_green")
|
||||
-- minetest.register_alias("bucket_slime_solid_orange", "slimenodes:bucket_slime_solid_orange")
|
||||
-- minetest.register_alias("bucket_slime_solid_violet", "slimenodes:bucket_slime_solid_violet")
|
||||
|
||||
-- Register a new liquid
|
||||
-- source = name of the source node
|
||||
-- flowing = name of the flowing node
|
||||
-- itemname = name of the new bucket item (or nil if liquid is not takeable)
|
||||
-- inventory_image = texture of the new bucket item (ignored if itemname == nil)
|
||||
-- name = text description of the bucket item
|
||||
-- groups = (optional) groups of the bucket item, for example {water_bucket = 1}
|
||||
-- force_renew = (optional) bool. Force the liquid source to renew if it has a
|
||||
-- source neighbour, even if defined as 'liquid_renewable = false'.
|
||||
-- Needed to avoid creating holes in sloping rivers.
|
||||
-- This function can be called from any mod (that depends on bucket).
|
||||
|
||||
bucket.register_liquid(
|
||||
"slimenodes:slime_liquid_cyan",
|
||||
"slimenodes:slime_liquid_cyan",
|
||||
"slimenodes:bucket_slime_liquid_cyan",
|
||||
"slimenodes_bucket_slime_liquid_cyan.png",
|
||||
"Liquid Cyan Slime Bucket"
|
||||
)
|
||||
bucket.register_liquid(
|
||||
"slimenodes:slime_solid_cyan",
|
||||
"slimenodes:slime_solid_cyan",
|
||||
"slimenodes:bucket_slime_solid_cyan",
|
||||
"slimenodes_bucket_slime_solid_cyan.png",
|
||||
"Solid Cyan Slime Bucket"
|
||||
)
|
||||
|
||||
bucket.register_liquid(
|
||||
"slimenodes:slime_liquid_green",
|
||||
"slimenodes:slime_liquid_green",
|
||||
"slimenodes:bucket_slime_liquid_green",
|
||||
"slimenodes_bucket_slime_liquid_green.png",
|
||||
"Liquid Green Slime Bucket"
|
||||
)
|
||||
bucket.register_liquid(
|
||||
"slimenodes:slime_solid_green",
|
||||
"slimenodes:slime_solid_green",
|
||||
"slimenodes:bucket_slime_solid_green",
|
||||
"slimenodes_bucket_slime_solid_green.png",
|
||||
"Solid Green Slime Bucket"
|
||||
)
|
||||
|
||||
bucket.register_liquid(
|
||||
"slimenodes:slime_liquid_orange",
|
||||
"slimenodes:slime_liquid_orange",
|
||||
"slimenodes:bucket_slime_liquid_orange",
|
||||
"slimenodes_bucket_slime_liquid_orange.png",
|
||||
"Liquid Orange Slime Bucket"
|
||||
)
|
||||
bucket.register_liquid(
|
||||
"slimenodes:slime_solid_orange",
|
||||
"slimenodes:slime_solid_orange",
|
||||
"slimenodes:bucket_slime_solid_orange",
|
||||
"slimenodes_bucket_slime_solid_orange.png",
|
||||
"Solid Orange Slime Bucket"
|
||||
)
|
||||
|
||||
bucket.register_liquid(
|
||||
"slimenodes:slime_liquid_violet",
|
||||
"slimenodes:slime_liquid_violet",
|
||||
"slimenodes:bucket_slime_liquid_violet",
|
||||
"slimenodes_bucket_slime_liquid_violet.png",
|
||||
"Liquid Violet Slime Bucket"
|
||||
)
|
||||
bucket.register_liquid(
|
||||
"slimenodes:slime_solid_violet",
|
||||
"slimenodes:slime_solid_violet",
|
||||
"slimenodes:bucket_slime_solid_violet",
|
||||
"slimenodes_bucket_slime_solid_violet.png",
|
||||
"Solid Violet Slime Bucket"
|
||||
)
|
||||
|
||||
-- minetest.register_craft({
|
||||
-- type = "fuel",
|
||||
-- recipe = "bucket:bucket_lava",
|
||||
-- burntime = 60,
|
||||
-- replacements = {{"bucket:bucket_lava", "bucket:bucket_empty"}},
|
||||
-- })
|
||||
|
|
@ -1 +1,4 @@
|
|||
default
|
||||
dye
|
||||
intllib?
|
||||
mesecons?
|
||||
|
|
74
init.lua
|
@ -8,10 +8,15 @@ end
|
|||
|
||||
minetest.register_node("slimenodes:slime_liquid_cyan", {
|
||||
description = S("Cyan liquid slime"),
|
||||
inventory_image = minetest.inventorycube("slimenodes_liquidslime_cyan.png"),
|
||||
inventory_image = minetest.inventorycube("slimenodes_slime_liquid_cyan.png"),
|
||||
drawtype = "liquid",
|
||||
tiles = { "slimenodes_liquidslime_cyan.png" },
|
||||
special_tiles = { { name = "slimenodes_liquidslime_cyan.png", backface_culling = false } },
|
||||
tiles = { "slimenodes_slime_liquid_cyan.png" },
|
||||
special_tiles = {
|
||||
{
|
||||
name = "slimenodes_slime_liquid_cyan.png",
|
||||
backface_culling = false
|
||||
},
|
||||
},
|
||||
alpha = 120,
|
||||
sunlight_propagates = true,
|
||||
paramtype = "light",
|
||||
|
@ -29,20 +34,19 @@ minetest.register_node("slimenodes:slime_liquid_cyan", {
|
|||
liquids_pointable = true,
|
||||
drowning = 0,
|
||||
post_effect_color = {a=16, r=0, g=255, b=255},
|
||||
groups = {liquid=3, slimey=3, oddly_breakable_by_hand=1},
|
||||
groups = {fall_damage_add_percent=-100, disable_jump=1, puts_out_fire=1, cools_lava=1, liquid=3, slimey=3},
|
||||
sounds = {
|
||||
dig = {name="slimenodes_dig", gain=0.3},
|
||||
dug = {name="slimenodes_dug", gain=0.6},
|
||||
dug = {name="slimenodes_dig", gain=0.6},
|
||||
place = {name="slimenodes_place", gain=0.6},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_node("slimenodes:slime_liquid_green", {
|
||||
description = S("Green liquid slime"),
|
||||
inventory_image = minetest.inventorycube("slimenodes_liquidslime_green.png"),
|
||||
inventory_image = minetest.inventorycube("slimenodes_slime_liquid_green.png"),
|
||||
drawtype = "liquid",
|
||||
tiles = { "slimenodes_liquidslime_green.png" },
|
||||
special_tiles = { { name = "slimenodes_liquidslime_green.png", backface_culling = false } },
|
||||
tiles = { "slimenodes_slime_liquid_green.png" },
|
||||
special_tiles = { { name = "slimenodes_slime_liquid_green.png", backface_culling = false } },
|
||||
alpha = 170,
|
||||
sunlight_propagates = false,
|
||||
paramtype = "light",
|
||||
|
@ -60,20 +64,19 @@ minetest.register_node("slimenodes:slime_liquid_green", {
|
|||
liquids_pointable = true,
|
||||
drowning = 0,
|
||||
post_effect_color = {a=64, r=100, g=200, b=100},
|
||||
groups = {liquid=3, slimey=3, level=1},
|
||||
groups = {fall_damage_add_percent=-100, disable_jump=1, puts_out_fire=1, cools_lava=1, liquid=3, slimey=3, level=1},
|
||||
sounds = {
|
||||
dig = {name="slimenodes_dig", gain=0.3},
|
||||
dug = {name="slimenodes_dug", gain=0.6},
|
||||
dug = {name="slimenodes_dig", gain=0.6},
|
||||
place = {name="slimenodes_place", gain=0.6},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_node("slimenodes:slime_liquid_orange", {
|
||||
description = S("Orange liquid slime"),
|
||||
inventory_image = minetest.inventorycube("slimenodes_liquidslime_orange.png"),
|
||||
inventory_image = minetest.inventorycube("slimenodes_slime_liquid_orange.png"),
|
||||
drawtype = "liquid",
|
||||
tiles = { "slimenodes_liquidslime_orange.png" },
|
||||
special_tiles = { { name = "slimenodes_liquidslime_orange.png", backface_culling = false } },
|
||||
tiles = { "slimenodes_slime_liquid_orange.png" },
|
||||
special_tiles = { { name = "slimenodes_slime_liquid_orange.png", backface_culling = false } },
|
||||
alpha = 200,
|
||||
sunlight_propagates = false,
|
||||
paramtype = "light",
|
||||
|
@ -91,20 +94,19 @@ minetest.register_node("slimenodes:slime_liquid_orange", {
|
|||
liquids_pointable = true,
|
||||
drowning = 0,
|
||||
post_effect_color = {a=96, r=200, g=100, b=0},
|
||||
groups = {liquid=3, slimey=3, level=2, flammable=1},
|
||||
groups = {fall_damage_add_percent=-100, disable_jump=1, puts_out_fire=1, cools_lava=1, liquid=3, slimey=3, level=2},
|
||||
sounds = {
|
||||
dig = {name="slimenodes_dig", gain=0.3},
|
||||
dug = {name="slimenodes_dug", gain=0.6},
|
||||
dug = {name="slimenodes_dig", gain=0.6},
|
||||
place = {name="slimenodes_place", gain=0.6},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_node("slimenodes:slime_liquid_violet", {
|
||||
description = S("Violet liquid slime"),
|
||||
inventory_image = minetest.inventorycube("slimenodes_liquidslime_violet.png"),
|
||||
inventory_image = minetest.inventorycube("slimenodes_slime_liquid_violet.png"),
|
||||
drawtype = "liquid",
|
||||
tiles = { "slimenodes_liquidslime_violet.png" },
|
||||
special_tiles = { { name = "slimenodes_liquidslime_violet.png", backface_culling = false } },
|
||||
tiles = { "slimenodes_slime_liquid_violet.png" },
|
||||
special_tiles = { { name = "slimenodes_slime_liquid_violet.png", backface_culling = false } },
|
||||
alpha = 220,
|
||||
sunlight_propagates = false,
|
||||
paramtype = "light",
|
||||
|
@ -122,22 +124,19 @@ minetest.register_node("slimenodes:slime_liquid_violet", {
|
|||
liquids_pointable = true,
|
||||
drowning = 0,
|
||||
post_effect_color = {a=128, r=50, g=0, b=200},
|
||||
groups = {liquid=3, slimey=3, level=3},
|
||||
groups = {fall_damage_add_percent=-100, disable_jump=1, puts_out_fire=1, cools_lava=1, liquid=3, slimey=3, level=3},
|
||||
sounds = {
|
||||
dig = {name="slimenodes_dig", gain=0.3},
|
||||
dug = {name="slimenodes_dug", gain=0.6},
|
||||
dug = {name="slimenodes_dig", gain=0.6},
|
||||
place = {name="slimenodes_place", gain=0.6},
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
minetest.register_node("slimenodes:slime_solid_cyan", {
|
||||
description = S("Cyan solid slime"),
|
||||
tiles = { "slimenodes_solidslime_cyan.png" },
|
||||
tiles = { "slimenodes_slime_solid_cyan.png" },
|
||||
walkable = true,
|
||||
groups = {slimey=3, level=1},
|
||||
groups = {bouncy=100, fall_damage_add_percent=-100, slimey=3, level=1},
|
||||
sounds = {
|
||||
dig = {name="slimenodes_dig", gain=0.3},
|
||||
dug = {name="slimenodes_dug", gain=0.6},
|
||||
place = {name="slimenodes_place", gain=0.6},
|
||||
footstep = {name="slimenodes_step", gain=0.2},
|
||||
|
@ -146,11 +145,10 @@ minetest.register_node("slimenodes:slime_solid_cyan", {
|
|||
|
||||
minetest.register_node("slimenodes:slime_solid_green", {
|
||||
description = S("Green solid slime"),
|
||||
tiles = { "slimenodes_solidslime_green.png" },
|
||||
tiles = { "slimenodes_slime_solid_green.png" },
|
||||
walkable = true,
|
||||
groups = {slimey=3, fall_damage_add_percent=-10, level=2},
|
||||
groups = {bouncy=100, fall_damage_add_percent=-100, slimey=3, level=2},
|
||||
sounds = {
|
||||
dig = {name="slimenodes_dig", gain=0.3},
|
||||
dug = {name="slimenodes_dug", gain=0.6},
|
||||
place = {name="slimenodes_place", gain=0.6},
|
||||
footstep = {name="slimenodes_step", gain=0.3},
|
||||
|
@ -159,11 +157,10 @@ minetest.register_node("slimenodes:slime_solid_green", {
|
|||
|
||||
minetest.register_node("slimenodes:slime_solid_orange", {
|
||||
description = S("Orange solid slime"),
|
||||
tiles = { "slimenodes_solidslime_orange.png" },
|
||||
tiles = { "slimenodes_slime_solid_orange.png" },
|
||||
walkable = true,
|
||||
groups = {slimey=3, fall_damage_add_percent=-20, level=2, flammable=1},
|
||||
groups = {bouncy=100, fall_damage_add_percent=-100, slimey=3, level=2},
|
||||
sounds = {
|
||||
dig = {name="slimenodes_dig", gain=0.3},
|
||||
dug = {name="slimenodes_dug", gain=0.6},
|
||||
place = {name="slimenodes_place", gain=0.6},
|
||||
footstep = {name="slimenodes_step", gain=0.35},
|
||||
|
@ -172,11 +169,10 @@ minetest.register_node("slimenodes:slime_solid_orange", {
|
|||
|
||||
minetest.register_node("slimenodes:slime_solid_violet", {
|
||||
description = S("Violet solid slime"),
|
||||
tiles = { "slimenodes_solidslime_violet.png" },
|
||||
tiles = { "slimenodes_slime_solid_violet.png" },
|
||||
walkable = true,
|
||||
groups = {slimey=3, fall_damage_add_percent=-30, disable_jump=1, level=3},
|
||||
groups = {bouncy=100, fall_damage_add_percent=-30, slimey=3, level=3},
|
||||
sounds = {
|
||||
dig = {name="slimenodes_dig", gain=0.3},
|
||||
dug = {name="slimenodes_dug", gain=0.6},
|
||||
place = {name="slimenodes_place", gain=0.6},
|
||||
footstep = {name="slimenodes_step", gain=0.4},
|
||||
|
@ -231,3 +227,7 @@ minetest.register_tool("slimenodes:collector_lvl4", {
|
|||
}
|
||||
}
|
||||
})
|
||||
|
||||
dofile(minetest.get_modpath("slimenodes").."/buckets.lua")
|
||||
dofile(minetest.get_modpath("slimenodes").."/recipes.lua")
|
||||
|
||||
|
|
|
@ -0,0 +1,212 @@
|
|||
License of source code
|
||||
----------------------
|
||||
(see also "Licenses of media" further down)
|
||||
|
||||
GNU Lesser General Public License, version 2.1
|
||||
Copyright (C) 2018 expertmm (Jake Gustafson) <https://github.com/expertmm/slimenodes>
|
||||
based on original mod Copyright (C) 2018 Wuzzy (WTFPL) <https://forum.minetest.net/viewtopic.php?t=10423>
|
||||
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
|
||||
This version of the GNU Lesser General Public License incorporates
|
||||
the terms and conditions of version 3 of the GNU General Public
|
||||
License, supplemented by the additional permissions listed below.
|
||||
|
||||
0. Additional Definitions.
|
||||
|
||||
As used herein, "this License" refers to version 3 of the GNU Lesser
|
||||
General Public License, and the "GNU GPL" refers to version 3 of the GNU
|
||||
General Public License.
|
||||
|
||||
"The Library" refers to a covered work governed by this License,
|
||||
other than an Application or a Combined Work as defined below.
|
||||
|
||||
An "Application" is any work that makes use of an interface provided
|
||||
by the Library, but which is not otherwise based on the Library.
|
||||
Defining a subclass of a class defined by the Library is deemed a mode
|
||||
of using an interface provided by the Library.
|
||||
|
||||
A "Combined Work" is a work produced by combining or linking an
|
||||
Application with the Library. The particular version of the Library
|
||||
with which the Combined Work was made is also called the "Linked
|
||||
Version".
|
||||
|
||||
The "Minimal Corresponding Source" for a Combined Work means the
|
||||
Corresponding Source for the Combined Work, excluding any source code
|
||||
for portions of the Combined Work that, considered in isolation, are
|
||||
based on the Application, and not on the Linked Version.
|
||||
|
||||
The "Corresponding Application Code" for a Combined Work means the
|
||||
object code and/or source code for the Application, including any data
|
||||
and utility programs needed for reproducing the Combined Work from the
|
||||
Application, but excluding the System Libraries of the Combined Work.
|
||||
|
||||
1. Exception to Section 3 of the GNU GPL.
|
||||
|
||||
You may convey a covered work under sections 3 and 4 of this License
|
||||
without being bound by section 3 of the GNU GPL.
|
||||
|
||||
2. Conveying Modified Versions.
|
||||
|
||||
If you modify a copy of the Library, and, in your modifications, a
|
||||
facility refers to a function or data to be supplied by an Application
|
||||
that uses the facility (other than as an argument passed when the
|
||||
facility is invoked), then you may convey a copy of the modified
|
||||
version:
|
||||
|
||||
a) under this License, provided that you make a good faith effort to
|
||||
ensure that, in the event an Application does not supply the
|
||||
function or data, the facility still operates, and performs
|
||||
whatever part of its purpose remains meaningful, or
|
||||
|
||||
b) under the GNU GPL, with none of the additional permissions of
|
||||
this License applicable to that copy.
|
||||
|
||||
3. Object Code Incorporating Material from Library Header Files.
|
||||
|
||||
The object code form of an Application may incorporate material from
|
||||
a header file that is part of the Library. You may convey such object
|
||||
code under terms of your choice, provided that, if the incorporated
|
||||
material is not limited to numerical parameters, data structure
|
||||
layouts and accessors, or small macros, inline functions and templates
|
||||
(ten or fewer lines in length), you do both of the following:
|
||||
|
||||
a) Give prominent notice with each copy of the object code that the
|
||||
Library is used in it and that the Library and its use are
|
||||
covered by this License.
|
||||
|
||||
b) Accompany the object code with a copy of the GNU GPL and this license
|
||||
document.
|
||||
|
||||
4. Combined Works.
|
||||
|
||||
You may convey a Combined Work under terms of your choice that,
|
||||
taken together, effectively do not restrict modification of the
|
||||
portions of the Library contained in the Combined Work and reverse
|
||||
engineering for debugging such modifications, if you also do each of
|
||||
the following:
|
||||
|
||||
a) Give prominent notice with each copy of the Combined Work that
|
||||
the Library is used in it and that the Library and its use are
|
||||
covered by this License.
|
||||
|
||||
b) Accompany the Combined Work with a copy of the GNU GPL and this license
|
||||
document.
|
||||
|
||||
c) For a Combined Work that displays copyright notices during
|
||||
execution, include the copyright notice for the Library among
|
||||
these notices, as well as a reference directing the user to the
|
||||
copies of the GNU GPL and this license document.
|
||||
|
||||
d) Do one of the following:
|
||||
|
||||
0) Convey the Minimal Corresponding Source under the terms of this
|
||||
License, and the Corresponding Application Code in a form
|
||||
suitable for, and under terms that permit, the user to
|
||||
recombine or relink the Application with a modified version of
|
||||
the Linked Version to produce a modified Combined Work, in the
|
||||
manner specified by section 6 of the GNU GPL for conveying
|
||||
Corresponding Source.
|
||||
|
||||
1) Use a suitable shared library mechanism for linking with the
|
||||
Library. A suitable mechanism is one that (a) uses at run time
|
||||
a copy of the Library already present on the user's computer
|
||||
system, and (b) will operate properly with a modified version
|
||||
of the Library that is interface-compatible with the Linked
|
||||
Version.
|
||||
|
||||
e) Provide Installation Information, but only if you would otherwise
|
||||
be required to provide such information under section 6 of the
|
||||
GNU GPL, and only to the extent that such information is
|
||||
necessary to install and execute a modified version of the
|
||||
Combined Work produced by recombining or relinking the
|
||||
Application with a modified version of the Linked Version. (If
|
||||
you use option 4d0, the Installation Information must accompany
|
||||
the Minimal Corresponding Source and Corresponding Application
|
||||
Code. If you use option 4d1, you must provide the Installation
|
||||
Information in the manner specified by section 6 of the GNU GPL
|
||||
for conveying Corresponding Source.)
|
||||
|
||||
5. Combined Libraries.
|
||||
|
||||
You may place library facilities that are a work based on the
|
||||
Library side by side in a single library together with other library
|
||||
facilities that are not Applications and are not covered by this
|
||||
License, and convey such a combined library under terms of your
|
||||
choice, if you do both of the following:
|
||||
|
||||
a) Accompany the combined library with a copy of the same work based
|
||||
on the Library, uncombined with any other library facilities,
|
||||
conveyed under the terms of this License.
|
||||
|
||||
b) Give prominent notice with the combined library that part of it
|
||||
is a work based on the Library, and explaining where to find the
|
||||
accompanying uncombined form of the same work.
|
||||
|
||||
6. Revised Versions of the GNU Lesser General Public License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions
|
||||
of the GNU Lesser General Public License from time to time. Such new
|
||||
versions will be similar in spirit to the present version, but may
|
||||
differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Library as you received it specifies that a certain numbered version
|
||||
of the GNU Lesser General Public License "or any later version"
|
||||
applies to it, you have the option of following the terms and
|
||||
conditions either of that published version or of any later version
|
||||
published by the Free Software Foundation. If the Library as you
|
||||
received it does not specify a version number of the GNU Lesser
|
||||
General Public License, you may choose any version of the GNU Lesser
|
||||
General Public License ever published by the Free Software Foundation.
|
||||
|
||||
If the Library as you received it specifies that a proxy can decide
|
||||
whether future versions of the GNU Lesser General Public License shall
|
||||
apply, that proxy's public statement of acceptance of any version is
|
||||
permanent authorization for you to choose that version for the
|
||||
Library.
|
||||
|
||||
|
||||
|
||||
Licenses of media (textures)
|
||||
----------------------------
|
||||
|
||||
Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
|
||||
bucket textures Copyright (C) 2018 expertmm
|
||||
based on:
|
||||
* empty bucket Copyright (C) 2015-2016 ElementW
|
||||
* all other textures by Wuzzy
|
||||
|
||||
You are free to:
|
||||
Share — copy and redistribute the material in any medium or format.
|
||||
Adapt — remix, transform, and build upon the material for any purpose, even commercially.
|
||||
The licensor cannot revoke these freedoms as long as you follow the license terms.
|
||||
|
||||
Under the following terms:
|
||||
|
||||
Attribution — You must give appropriate credit, provide a link to the license, and
|
||||
indicate if changes were made. You may do so in any reasonable manner, but not in any way
|
||||
that suggests the licensor endorses you or your use.
|
||||
|
||||
ShareAlike — If you remix, transform, or build upon the material, you must distribute
|
||||
your contributions under the same license as the original.
|
||||
|
||||
No additional restrictions — You may not apply legal terms or technological measures that
|
||||
legally restrict others from doing anything the license permits.
|
||||
|
||||
Notices:
|
||||
|
||||
You do not have to comply with the license for elements of the material in the public
|
||||
domain or where your use is permitted by an applicable exception or limitation.
|
||||
No warranties are given. The license may not give you all of the permissions necessary
|
||||
for your intended use. For example, other rights such as publicity, privacy, or moral
|
||||
rights may limit how you use the material.
|
||||
|
||||
For more details:
|
||||
http://creativecommons.org/licenses/by-sa/3.0/
|
|
@ -0,0 +1,55 @@
|
|||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
cooktime = 10,
|
||||
output = "slimenodes:bucket_slime_solid_cyan",
|
||||
recipe = "slimenodes:bucket_slime_liquid_cyan"
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
cooktime = 10,
|
||||
output = "slimenodes:bucket_slime_solid_green",
|
||||
recipe = "slimenodes:bucket_slime_liquid_green"
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
cooktime = 10,
|
||||
output = "slimenodes:bucket_slime_solid_orange",
|
||||
recipe = "slimenodes:bucket_slime_liquid_orange"
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
cooktime = 10,
|
||||
output = "slimenodes:bucket_slime_solid_violet",
|
||||
recipe = "slimenodes:bucket_slime_liquid_violet"
|
||||
})
|
||||
|
||||
local mesecons_materials = minetest.get_modpath("mesecons_materials")
|
||||
|
||||
|
||||
if mesecons_materials then
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "slimenodes:bucket_slime_liquid_cyan",
|
||||
recipe = {"bucket:bucket_water", "mesecons_materials:glue", "dye:cyan"},
|
||||
})
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "slimenodes:bucket_slime_liquid_green",
|
||||
recipe = {"bucket:bucket_water", "mesecons_materials:glue", "dye:green"},
|
||||
})
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "slimenodes:bucket_slime_liquid_orange",
|
||||
recipe = {"bucket:bucket_water", "mesecons_materials:glue", "dye:orange"},
|
||||
})
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "slimenodes:bucket_slime_liquid_violet",
|
||||
recipe = {"bucket:bucket_water", "mesecons_materials:glue", "dye:violet"},
|
||||
})
|
||||
end
|
||||
|
||||
|
After Width: | Height: | Size: 391 B |
After Width: | Height: | Size: 376 B |
After Width: | Height: | Size: 398 B |
After Width: | Height: | Size: 385 B |
After Width: | Height: | Size: 382 B |
After Width: | Height: | Size: 380 B |
After Width: | Height: | Size: 395 B |
After Width: | Height: | Size: 381 B |
Before Width: | Height: | Size: 590 B After Width: | Height: | Size: 590 B |
Before Width: | Height: | Size: 507 B After Width: | Height: | Size: 507 B |
Before Width: | Height: | Size: 648 B After Width: | Height: | Size: 648 B |
Before Width: | Height: | Size: 600 B After Width: | Height: | Size: 600 B |
Before Width: | Height: | Size: 522 B After Width: | Height: | Size: 522 B |
Before Width: | Height: | Size: 505 B After Width: | Height: | Size: 505 B |
Before Width: | Height: | Size: 638 B After Width: | Height: | Size: 638 B |
Before Width: | Height: | Size: 547 B After Width: | Height: | Size: 547 B |