Fix some bugs in recipes, add tt_help.
parent
79c33e96b9
commit
4a9ddf372d
|
@ -6,6 +6,10 @@ License of source code:
|
|||
-----------------------
|
||||
GPL 3 or newer
|
||||
|
||||
Authors of source code:
|
||||
-----------------------
|
||||
SFENCE
|
||||
|
||||
License of media (textures, sounds and models):
|
||||
-----------------------------------------------
|
||||
CC-0
|
||||
|
|
|
@ -94,7 +94,7 @@ end
|
|||
|
||||
minetest.register_node("hades_laboratory:biomaterial_filter", {
|
||||
description = "Biomaterial filter",
|
||||
_tt_help = "Connect to power and water".."\n".."Keep only biomaterial in bottle",
|
||||
_tt_help = "Connect to power and water".."\n".."Keep only biomaterial in bottle".."\n".."Use biomaterial filters.",
|
||||
tiles = {
|
||||
"laboratory_biomaterial_filter_top.png",
|
||||
"laboratory_biomaterial_filter_bottom.png",
|
||||
|
|
16
crafting.lua
16
crafting.lua
|
@ -144,7 +144,7 @@ if (laboratory.have_paleotest) then
|
|||
output = "hades_laboratory:biomaterial_filter_dirty",
|
||||
recipe = {
|
||||
{"hades_core:obsidian_glass", "hades_laboratory:sterilized_sand", "hades_laboratory:sterilized_coal_lump"},
|
||||
{"hades_laboratory:gold_ingot", "hades_laboratory:sterilized_sand", "hades_laboratory:sterilized_coal_lump"},
|
||||
{"hades_core:gold_ingot", "hades_laboratory:sterilized_sand", "hades_laboratory:sterilized_coal_lump"},
|
||||
{"hades_core:obsidian_glass", "hades_laboratory:sterilized_sand", "hades_laboratory:sterilized_coal_lump"},
|
||||
},
|
||||
}
|
||||
|
@ -233,12 +233,22 @@ if (laboratory.have_paleotest) then
|
|||
},
|
||||
}
|
||||
);
|
||||
minetest.register_craft(
|
||||
{
|
||||
output = "hades_laboratory:server_board_8",
|
||||
recipe = {
|
||||
{"hades_laboratory:server_cpu", "hades_laboratory:server_cpu", "hades_laboratory:server_cpu"},
|
||||
{"hades_laboratory:server_cpu", "hades_core:copper_ingot", "hades_laboratory:server_cpu"},
|
||||
{"hades_laboratory:server_cpu", "hades_laboratory:server_cpu", "hades_laboratory:server_cpu"},
|
||||
},
|
||||
}
|
||||
);
|
||||
minetest.register_craft(
|
||||
{
|
||||
output = "hades_laboratory:super_computer",
|
||||
recipe = {
|
||||
{"hades_laboratory:server_cpu 8", "hades_laboratory:server_cpu 8", "hades_laboratory:server_cpu 8"},
|
||||
{"hades_core:goldblock", "hades_laboratory:tinblock", "hades_core:copperblock"},
|
||||
{"hades_laboratory:server_board_8", "hades_laboratory:server_board_8", "hades_laboratory:server_board_8"},
|
||||
{"hades_core:goldblock", "hades_core:tinblock", "hades_core:copperblock"},
|
||||
{"hades_core:steel_ingot", "hades_materials:plastic_sheeting", "hades_core:steel_ingot"},
|
||||
},
|
||||
}
|
||||
|
|
|
@ -15,6 +15,7 @@ if (laboratory.have_paleotest) then
|
|||
"hades_laboratory:water_filter_dirty",
|
||||
{
|
||||
description = "Dirty filter for water filtration.",
|
||||
_tt_help = "Can be cleaned in sterilizer.",
|
||||
inventory_image = "laboratory_water_filter_dirty.png",
|
||||
wield_image = "laboratory_water_filter_dirty.png",
|
||||
groups = {}
|
||||
|
@ -34,6 +35,7 @@ if (laboratory.have_paleotest) then
|
|||
"hades_laboratory:biomaterial_filter_dirty",
|
||||
{
|
||||
description = "Dirty filter for biomaterial filtration.",
|
||||
_tt_help = "Can be cleaned in stelirizer.",
|
||||
inventory_image = "laboratory_biomaterial_filter_dirty.png",
|
||||
wield_image = "laboratory_biomaterial_filter_dirty.png",
|
||||
groups = {}
|
||||
|
@ -43,7 +45,8 @@ if (laboratory.have_paleotest) then
|
|||
minetest.register_craftitem(
|
||||
"hades_laboratory:sterilized_coal_lump",
|
||||
{
|
||||
description = "Scoutred and sterilized coal lump.",
|
||||
description = "Scoured and sterilized coal lump.",
|
||||
_tt_help = "Use sterilizer to scour and sterilize coal lump.",
|
||||
inventory_image = "default_coal_lump.png",
|
||||
wield_image = "default_coal_lump.png",
|
||||
groups = {}
|
||||
|
@ -53,7 +56,8 @@ if (laboratory.have_paleotest) then
|
|||
minetest.register_craftitem(
|
||||
"hades_laboratory:sterilized_glass_bottle",
|
||||
{
|
||||
description = "Sterilized glass bottle",
|
||||
description = "Washed and sterilized glass bottle",
|
||||
_tt_help = "Use sterilizr to wash and sterilize glass bottle.",
|
||||
inventory_image = "vessels_glass_bottle_inv.png",
|
||||
wield_image = "vessels_glass_bottle.png",
|
||||
groups = {}
|
||||
|
@ -62,7 +66,8 @@ if (laboratory.have_paleotest) then
|
|||
minetest.register_craftitem(
|
||||
"hades_laboratory:sterilized_steel_bottle",
|
||||
{
|
||||
description = "Sterilized steel bottle",
|
||||
description = "Washed and sterilized steel bottle",
|
||||
_tt_help = "Use sterilizr to wash and sterilize steel bottle.",
|
||||
inventory_image = "vessels_steel_bottle_inv.png",
|
||||
wield_image = "vessels_steel_bottle.png",
|
||||
groups = {}
|
||||
|
@ -83,6 +88,7 @@ if (laboratory.have_paleotest) then
|
|||
"hades_laboratory:bottle_of_sugar",
|
||||
{
|
||||
description = "Bottle of sugar",
|
||||
_tt_help = "Use medium mixer to mix it with water and get growth medium.",
|
||||
inventory_image = "laboratory_bottle_of_sugar.png",
|
||||
wield_image = "laboratory_bottle_of_sugar.png",
|
||||
groups = {}
|
||||
|
@ -227,6 +233,15 @@ if (laboratory.have_paleotest) then
|
|||
groups = {}
|
||||
}
|
||||
);
|
||||
minetest.register_craftitem(
|
||||
"hades_laboratory:server_board_8",
|
||||
{
|
||||
description = "Server board with 8 processors",
|
||||
inventory_image = "laboratory_server_board_8.png",
|
||||
wield_image = "laboratory_server_board_8.png",
|
||||
groups = {}
|
||||
}
|
||||
);
|
||||
minetest.register_craftitem(
|
||||
"hades_laboratory:super_computer",
|
||||
{
|
||||
|
@ -348,7 +363,7 @@ if (laboratory.have_paleotest) then
|
|||
minetest.register_craftitem(
|
||||
"hades_laboratory:dna_fragments_"..key,
|
||||
{
|
||||
description = name.."i DNA fragments",
|
||||
description = name.." DNA fragments",
|
||||
inventory_image = "laboratory_dna_fragments.png",
|
||||
wield_image = "laboratory_dna_fragments.png",
|
||||
groups = {}
|
||||
|
|
15
init.lua
15
init.lua
|
@ -8,7 +8,8 @@ laboratory.have_animals = minetest.get_modpath("hades_animals")~=nil;
|
|||
laboratory.have_petz = minetest.get_modpath("hades_petz")~=nil;
|
||||
laboratory.have_villages = minetest.get_modpath("hades_villages")~=nil;
|
||||
laboratory.have_skeleton = minetest.get_modpath("hades_skeleton")~=nil;
|
||||
laboratory.have_archeology = minetest.get_modpath("hades_archeology")~=nil;
|
||||
|
||||
laboratory.have_extraores = minetest.get_modpath("hades_extraores")~=nil;
|
||||
|
||||
|
||||
if (laboratory.have_paleotest) then
|
||||
|
@ -31,10 +32,14 @@ if (laboratory.have_paleotest) then
|
|||
dofile(modpath.."/bone_grinder.lua");
|
||||
dofile(modpath.."/deoxyribonucleic_cultivator.lua");
|
||||
dofile(modpath.."/deoxyribonucleic_merger.lua")
|
||||
|
||||
if (laboratory.have_archeology) then
|
||||
dofile(modpath.."/dna_rewriter.lua");
|
||||
end
|
||||
end
|
||||
|
||||
if (laboratory.have_extraores) then
|
||||
--dofile(modpath.."/water_electrolysis.lua")
|
||||
--dofile(modpath.."/lump_grinder.lua");
|
||||
--dofile(modpath.."/oxygen_furnace.lua")
|
||||
--dofile(modpath.."/hydrogen_furnace.lua")
|
||||
--dofile(modpath.."/nitrogen_furnace.lua")
|
||||
end
|
||||
|
||||
dofile(modpath.."/craftitems.lua");
|
||||
|
|
|
@ -3,7 +3,7 @@ if laboratory.have_paleotest then
|
|||
minetest.register_node(
|
||||
"hades_laboratory:sterilized_sand",
|
||||
{
|
||||
description = "Scoutred and sterilized sand.",
|
||||
description = "Scoured and sterilized sand.",
|
||||
tiles = {"laboratory_sterilized_sand.png"},
|
||||
groups = {crumbly=3, falling_node=1, sand=1, porous=1},
|
||||
sounds = hades_sounds.node_sound_sand_defaults(),
|
||||
|
|
|
@ -254,7 +254,7 @@ if (laboratory.have_paleotest) then
|
|||
"hades_laboratory:water_filter");
|
||||
|
||||
sterilizer.register_recipe("hades_laboratory:biomaterial_filter_dirty",
|
||||
"hades_laboratory:biomaterial_filter");
|
||||
"hades_laboratory:biomaterial_filter_sterilized");
|
||||
|
||||
sterilizer.register_recipe("hades_core:coal_lump",
|
||||
"hades_laboratory:sterilized_coal_lump");
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 255 B |
Loading…
Reference in New Issue