Compare commits
13 Commits
871a66fe4c
...
master
Author | SHA1 | Date | |
---|---|---|---|
cbed55ea99 | |||
a4c2cd3187 | |||
f7cb73cc6d | |||
e960d3c6c1 | |||
a2cc1744d4 | |||
233dbe47d5 | |||
ea9e129c35 | |||
84648fd95f | |||
172d2c7501 | |||
dd331a6868 | |||
e1fbfae304 | |||
5fb7d30dbc | |||
c66efa6964 |
13
depends.txt
13
depends.txt
@ -1,13 +0,0 @@
|
||||
default
|
||||
nether
|
||||
creative?
|
||||
glow
|
||||
riesenpilz
|
||||
stairs
|
||||
moreblocks?
|
||||
vector_extras
|
||||
fence_registration?
|
||||
function_delayer?
|
||||
watershed?
|
||||
darkage
|
||||
witchcraft
|
117
guide.lua
117
guide.lua
@ -1,21 +1,25 @@
|
||||
local cube = minetest.inventorycube
|
||||
local S = hell.get_translator
|
||||
|
||||
-- the content of the guide
|
||||
local guide_infos = {
|
||||
{
|
||||
description = "Mushrooms",
|
||||
{"text", "Hell mushrooms can be found on the hell's ground and on hellrack soil, it can be dug by hand."},
|
||||
{"text", "Hell mushrooms can be found on the hell's ground and on hellrack soil,"},
|
||||
{"text", "it can be dug by hand."},
|
||||
{"image", {1, 1, "riesenpilz_nether_shroom_side.png"}},
|
||||
{"y", 0.5},
|
||||
{"text", "If you drop it without holding the fast key, you can split it into its stem and head:"},
|
||||
{"text", "If you drop it without holding the fast key, you can split it into its stem "},
|
||||
{"text", "and head:"},
|
||||
{"image", {1, 1, "hell_shroom_top.png", 1}},
|
||||
{"image", {1, 1, "hell_shroom_stem.png"}},
|
||||
{"y", 0.5},
|
||||
{"text", "You can get more mushrooms by using a hellrack soil:"},
|
||||
{"text", " 1. search a dark place and, if necessary, place hellrack with air about it,"},
|
||||
{"text", " 2. right click with cooked blood onto the hellrack to make it soiled,"},
|
||||
{"text", " 3. right click onto the hellrack soil with a hell mushroom head to add some spores,"},
|
||||
{"text", " 4. dig the mushroom which grew after some time to make place for another one."},
|
||||
{"text", "1. search a dark place and, if necessary, place hellrack with air about it,"},
|
||||
{"text", "2. right click with cooked blood onto the hellrack to make it soiled,"},
|
||||
{"text", "3. right click onto the hellrack soil with a hell mushroom head to add some "},
|
||||
{"text", "spores,"},
|
||||
{"text", "4. dig the mushroom which grew after some time to make place for another one."},
|
||||
{"image", {1, 1, "riesenpilz_nether_shroom_side.png", 5.4}},
|
||||
{"y", 1},
|
||||
{"image", {1, 1, "hell_hellrack.png^hell_hellrack_soil.png", 1.8}},
|
||||
@ -28,7 +32,8 @@ local guide_infos = {
|
||||
},
|
||||
{
|
||||
description = "Tools",
|
||||
{"text", "You can craft 5 kinds of tools in the hell, which (except the mushroom pick) require sticks to be crafted:"},
|
||||
{"text", "You can craft 5 kinds of tools in the hell, which (except the mushroom pick) "},
|
||||
{"text", "require sticks to be crafted:"},
|
||||
{"image", {1, 1, "hell_pick_mushroom.png"}},
|
||||
{"y", 0.1},
|
||||
{"text", "strength : 1"},
|
||||
@ -62,7 +67,8 @@ local guide_infos = {
|
||||
},
|
||||
{
|
||||
description = "Blood structures",
|
||||
{"text", "You can find blood structures on the ground and dig their nodes even with the bare hand."},
|
||||
{"text", "You can find blood structures on the ground and dig their nodes even with "},
|
||||
{"text", "bare hands."},
|
||||
{"text", "One contains 4 kinds of blocks:"},
|
||||
{"image", {1, 1, cube("hell_blood.png"), 1}},
|
||||
{"image", {1, 1,
|
||||
@ -75,30 +81,37 @@ local guide_infos = {
|
||||
{"text", "You can craft 4 blood wood with the stem:"},
|
||||
{"image", {1, 1, cube("hell_wood.png")}},
|
||||
{"y", 0.168},
|
||||
{"text", "The 4 blood nodes can be cooked and, except blood wood, their blood can be extracted."},
|
||||
{"text", "The 4 blood nodes can be cooked and, except blood wood, their blood can be "},
|
||||
{"text", "extracted."},
|
||||
{"y", 0.5},
|
||||
},
|
||||
{
|
||||
description = "Fruits",
|
||||
{"text", "You can find the hell fruits on blood structures and dig them even with the bare hand."},
|
||||
{"text", "You can find the hell fruits on blood structures and dig them even with "},
|
||||
{"text", "bare hands."},
|
||||
{"image", {1, 1, "hell_fruit.png"}},
|
||||
{"text", "Eating it will make you lose life but it might feed you and give you blood:"},
|
||||
{"image", {1, 1, "hell_blood_extracted.png"}},
|
||||
{"y", 0.168},
|
||||
{"text", "If you eat it at the right place inside a portal, you will teleport instead of getting blood."},
|
||||
{"text", "If you eat it at the right place inside a portal, you will be teleported."},
|
||||
{"y", 0.168},
|
||||
{"text", "If you drop it without holding the fast key, you can split it into its fruit and leaf:"},
|
||||
{"text", "If you drop it without holding the fast key, you can split it into its fruit "},
|
||||
{"text", "and leaf:"},
|
||||
{"image", {1, 1, "hell_fruit_leaf.png", 1}},
|
||||
{"image", {1, 1, "hell_fruit_no_leaf.png"}},
|
||||
{"y", 0.168},
|
||||
{"text", "Craft a fruit leave block out of 9 fruit leaves and the fruit can be used to craft a hell pearl."},
|
||||
{"text", "Craft a fruit leave block out of 9 fruit leaves and the fruit can be used to "},
|
||||
{"text", "craft a hell pearl."},
|
||||
{"image", {1, 1, cube("hell_fruit_leaves.png")}},
|
||||
{"y", 0.168},
|
||||
{"text", "A fruit leaves block."},
|
||||
},
|
||||
{
|
||||
description = "Cooking",
|
||||
{"text", "To get a furnace you need to dig at least 8 hellrack bricks. They can be found at pyramid like constructions and require at least a strength 1 hell pick to be dug. To craft the furnace, use the hellrack bricks like cobble:"},
|
||||
{"text", "To get a furnace you need to dig at least 8 hellrack bricks. They can be "},
|
||||
{"text", "found at pyramid like constructions and require at least a strength 1 "},
|
||||
{"text", "hell pick to be dug."},
|
||||
{"text", "To craft the furnace, use the hellrack bricks like cobble:"},
|
||||
{"image", {0.5, 0.5, cube("hell_hellrack_brick.png"), 0.5}},
|
||||
{"image", {0.5, 0.5, cube("hell_hellrack_brick.png"), 1}},
|
||||
{"image", {0.5, 0.5, cube("hell_hellrack_brick.png")}},
|
||||
@ -108,7 +121,8 @@ local guide_infos = {
|
||||
{"image", {0.5, 0.5, cube("hell_hellrack_brick.png"), 1}},
|
||||
{"image", {0.5, 0.5, cube("hell_hellrack_brick.png")}},
|
||||
{"y", 0.168},
|
||||
{"text", "To begin cooking stuff, you can use a mushroom or fruit. After that it's recommended to use cooked blood nodes."},
|
||||
{"text", "To begin cooking stuff, you can use a mushroom or fruit."},
|
||||
{"text", "After that it's recommended to use cooked blood nodes."},
|
||||
{"text", "Some hell items can be cooked:"},
|
||||
{"image", {1, 1, cube("hell_blood_stem_top_cooked.png", "hell_blood_stem_cooked.png", "hell_blood_stem_cooked.png"), 0.35}},
|
||||
{"image", {1, 1, cube("hell_blood_cooked.png"), 1.6}},
|
||||
@ -117,7 +131,8 @@ local guide_infos = {
|
||||
2.9}},
|
||||
{"image", {1, 1, cube("hell_wood_cooked.png"), 4.3}},
|
||||
{"y", 1.2},
|
||||
{"text", "Some cooked blood stem, cooked blood, cooked blood head and cooked blood wood."},
|
||||
{"text", "Some cooked blood stem, cooked blood, cooked blood head and cooked blood "},
|
||||
{"text", "wood."},
|
||||
{"image", {1, 1, "hell_hotbed.png", 0.3}},
|
||||
{"image", {1, 1, "hell_pearl.png", 2}},
|
||||
{"y", 1.168},
|
||||
@ -139,12 +154,13 @@ local guide_infos = {
|
||||
{"image", {0.5, 0.5, cube("hell_hellrack_brick.png"), 1}},
|
||||
{"image", {0.5, 0.5, cube("hell_hellrack_brick.png")}},
|
||||
{"y", 0.2},
|
||||
{"text", "Extract blood from the blood nodes you get from the blood structures. You can also get blood with a hell fruit."},
|
||||
{"text", "Extract blood from the blood nodes you get from the blood structures."},
|
||||
{"text", "You can also get blood with a hell fruit."},
|
||||
{"text", "So you can use it:"},
|
||||
{"text", " 1. place it somewhere,"},
|
||||
{"text", " 2. place blood blocks next to it (4 or less),"},
|
||||
{"text", " 3. right click with extracted blood onto it to power it,"},
|
||||
{"text", " 4. take the new extracted blood and dig the extracted nodes."},
|
||||
{"text", "1. place it somewhere,"},
|
||||
{"text", "2. place blood blocks next to it (4 or less),"},
|
||||
{"text", "3. right click with extracted blood onto it to power it,"},
|
||||
{"text", "4. take the new extracted blood and dig the extracted nodes."},
|
||||
{"text", "Example (view from the top):"},
|
||||
{"y", 0.88},
|
||||
{"image", {1, 1, "hell_blood_stem_top.png", 0.82, -0.88}},
|
||||
@ -158,7 +174,8 @@ local guide_infos = {
|
||||
{"image", {1, 1, "hell_blood.png", 0.82, -0.12}},
|
||||
{"image", {1, 1, "hell_blood_empty.png", 3.82, -0.12}},
|
||||
{"y", 1.168},
|
||||
{"text", "The empty blood stem can be crafted into empty hell wood, which can be crafted into hell sticks."},
|
||||
{"text", "The empty blood stem can be crafted into empty hell wood, "},
|
||||
{"text", "which can be crafted into hell sticks."},
|
||||
{"y", 0.5},
|
||||
},
|
||||
{
|
||||
@ -167,29 +184,39 @@ local guide_infos = {
|
||||
{"image", {1, 1, cube("hell_hellrack_black.png"), 4}},
|
||||
{"image", {1, 1, cube("hell_hellrack.png")}},
|
||||
{"y", 0.168},
|
||||
{"text", "The red hellrack is generated like stone. The black hellrack is generated like gravel. Both require at least a strength 2 hell pick to be dug."},
|
||||
{"text", "The red hellrack is generated like stone."},
|
||||
{"text", "The black hellrack is generated like gravel."},
|
||||
{"text", "Both require at least a strength 2 hell pick to be dug."},
|
||||
{"image", {1, 1, cube("hell_white.png"), 4}},
|
||||
{"image", {1, 1, cube("hell_hellrack_blue.png")}},
|
||||
{"y", 0.168},
|
||||
{"text", "The blue hellrack is generated like diamond ore. The siwtonic ore is generated like mese blocks. Both require at least a strength 3 hell pick to be dug."},
|
||||
{"text", "The blue hellrack is generated like diamond ore."},
|
||||
{"text", "The siwtonic ore is generated like mese blocks."},
|
||||
{"text", "Both require at least a strength 3 hell pick to be dug."},
|
||||
{"image", {1, 1, cube("hell_hellrack_tiled.png"), 4}},
|
||||
{"image", {1, 1, cube("glow_stone.png")}},
|
||||
{"y", 0.168},
|
||||
{"text", "Glow stone can be used for lighting. Tiled hellrack is generated like coal ore. Glow stone requires at least a strength 1 pick to be dug. Dig tiled hellrack with at least a level 2 pickaxe."},
|
||||
{"text", "Glow stone can be used for lighting."},
|
||||
{"text", "Tiled hellrack is generated like coal ore."},
|
||||
{"text", "Glow stone requires at least a strength 1 pick to be dug."},
|
||||
{"text", "Dig tiled hellrack with at least a level 2 pickaxe."},
|
||||
{"y", 0.5},
|
||||
},
|
||||
{
|
||||
description = "Vines",
|
||||
{"text", "Feed hell vines with blood. Dig them with anything."},
|
||||
{"image", {1, 1, "hell_vine.png"}},
|
||||
{"text", "Grow hell child by placing it to a dark place onto a blood structure head node."},
|
||||
{"y", 0.168},
|
||||
{"text", "Grow hell child by placing it to a dark place onto"},
|
||||
{"text", "a blood structure head node."},
|
||||
{"image", {1, 1, "hell_sapling.png"}},
|
||||
{"y", -0.10},
|
||||
{"image", {1, 1, "hell_blood.png^hell_blood_side.png"}},
|
||||
},
|
||||
{
|
||||
description = "Pearls",
|
||||
{"text", "The hell pearl can be used to teleport by throwing it. Here is how to get one:"},
|
||||
{"text", "The hell pearl can be used to teleport by throwing it."},
|
||||
{"text", "Here is how to get one:"},
|
||||
{"text", "First of all craft 2 mushroom heads and 1 hell fruit without leaf together:"},
|
||||
{"image", {1, 1, "hell_shroom_top.png"}},
|
||||
{"image", {1, 1, "hell_fim.png", 3}},
|
||||
@ -213,17 +240,19 @@ local guide_infos = {
|
||||
description = "Portals",
|
||||
{"text", "Here you can find out how to build the hell portal."},
|
||||
{"text", "A hell portal requires following nodes:"},
|
||||
{"text", " - 25 empty hell wooden planks,"},
|
||||
{"text", " - 16 black hellrack,"},
|
||||
{"text", " - 12 blue hellrack bricks,"},
|
||||
{"text", " - 8 red hellrack,"},
|
||||
{"text", " - 8 cooked hell blood,"},
|
||||
{"text", " - 4 hell fruits,"},
|
||||
{"text", " - 2 siwtonic blocks."},
|
||||
{"text", "- 25 empty hell wooden planks,"},
|
||||
{"text", "- 16 black hellrack,"},
|
||||
{"text", "- 12 blue hellrack bricks,"},
|
||||
{"text", "- 8 red hellrack,"},
|
||||
{"text", "- 8 cooked hell blood,"},
|
||||
{"text", "- 4 hell fruits,"},
|
||||
{"text", "- 2 siwtonic blocks."},
|
||||
{"text", "It should look approximately like this one:"},
|
||||
{"image", {5.625, 6, "hell_teleporter.png", 5, -0.5}},
|
||||
{"y", 6},
|
||||
{"text", "Activate it by standing in the middle, on the siwtonic block and eating a hell fruit. Take enough stuff with you to build a portal when you'll come back."},
|
||||
{"text", "Activate it by standing in the middle,"},
|
||||
{"text", "on the siwtonic block and eating a hell fruit."},
|
||||
{"text", "Take enough stuff with you to build a portal when you'll come back."},
|
||||
{"y", 0.5},
|
||||
},
|
||||
{
|
||||
@ -245,7 +274,7 @@ local guide_infos = {
|
||||
}
|
||||
|
||||
-- the size of guide pages
|
||||
local guide_size = {x=12, y=3, cx=0.2, cy=0.25}
|
||||
local guide_size = {x=15, y=3, cx=0.2, cy=0.25}
|
||||
|
||||
-- informations about settings and ...
|
||||
local formspec_offset = {x=0.375, y=0.375}
|
||||
@ -255,7 +284,7 @@ if minetest.is_singleplayer() then
|
||||
else
|
||||
font_size = 13
|
||||
end
|
||||
guide_size.fx = math.floor(((guide_size.x-1) * (guide_size.cx+formspec_offset.x)) * font_size)
|
||||
guide_size.fx = math.floor(((guide_size.x-4) * (guide_size.cx+formspec_offset.x)) * font_size)
|
||||
guide_size.fy = font_size/40
|
||||
|
||||
-- the default guide formspecs
|
||||
@ -275,7 +304,7 @@ for n,data in ipairs(guide_infos) do
|
||||
elseif typ == "x" then
|
||||
x = math.max(x, content)
|
||||
elseif typ == "text" then
|
||||
local tab = minetest.wrap_text(content, guide_size.fx, true)
|
||||
local tab = minetest.wrap_text(S(content), guide_size.fx, true)
|
||||
local l = guide_size.cx
|
||||
for _,str in ipairs(tab) do
|
||||
form = form.."label["..formspec_offset.x ..","..formspec_offset.y+y..";"..str.."]"
|
||||
@ -339,18 +368,18 @@ end)
|
||||
|
||||
minetest.register_chatcommand("hell_help", {
|
||||
params = "",
|
||||
description = "Shows a hell guide",
|
||||
description = S("Shows a hell guide"),
|
||||
func = function(name)
|
||||
local player = minetest.get_player_by_name(name)
|
||||
if not player then
|
||||
minetest.chat_send_player(name, "Something went wrong.")
|
||||
return false
|
||||
return true
|
||||
end
|
||||
if player:getpos().y > hell.start then
|
||||
minetest.chat_send_player(name, "Usually you don't neet this guide here. You can view it in the hell.")
|
||||
return false
|
||||
if player:get_pos().y > hell.start then
|
||||
minetest.chat_send_player(name, S("Usually you don't need this guide here. You can view it in the hell."))
|
||||
return true
|
||||
end
|
||||
minetest.chat_send_player(name, "Showing guide...")
|
||||
minetest.chat_send_player(name, S("Showing guide..."))
|
||||
show_guide(name)
|
||||
return true
|
||||
end
|
||||
|
36
hell.lua
36
hell.lua
@ -11,11 +11,12 @@
|
||||
-- godkiller447 (ideas)
|
||||
-- If I didn't list you, please let me know!
|
||||
|
||||
|
||||
local S = hell.get_translator
|
||||
|
||||
|
||||
local load_time_start = minetest.get_us_time()
|
||||
|
||||
if not rawget(_G, "hell") then
|
||||
hell = {}
|
||||
end
|
||||
|
||||
--== EDITABLE OPTIONS ==--
|
||||
|
||||
@ -118,14 +119,13 @@ else
|
||||
end
|
||||
|
||||
|
||||
local path = minetest.get_modpath("hell")
|
||||
dofile(path.."/weird_mapgen_noise.lua")
|
||||
dofile(path.."/items.lua")
|
||||
dofile(hell.path.."/weird_mapgen_noise.lua")
|
||||
dofile(hell.path.."/items.lua")
|
||||
minetest.register_privilege("hell",
|
||||
"Allows sending players to hell and extracting them")
|
||||
dofile(path.."/portal.lua")
|
||||
--dofile(path.."/furnace.lua")
|
||||
dofile(path.."/pearl.lua")
|
||||
S("Allows sending players to hell and extracting them"))
|
||||
dofile(hell.path.."/portal.lua")
|
||||
--dofile(hell.path.."/furnace.lua")
|
||||
dofile(hell.path.."/pearl.lua")
|
||||
|
||||
-- Weierstrass function stuff from https://github.com/slemonide/gen
|
||||
local SIZE = 1000
|
||||
@ -664,18 +664,18 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
||||
map_lengths_xyz),
|
||||
}
|
||||
end
|
||||
pelin_maps.a:get2dMap_flat({x=minp.x, y=minp.z}, pmap1)
|
||||
pelin_maps.b:get2dMap_flat({x=minp.x, y=minp.z}, pmap2)
|
||||
pelin_maps.c:get2dMap_flat({x=minp.x, y=minp.z}, pmap3)
|
||||
pelin_maps.a:get_2d_map_flat({x=minp.x, y=minp.z}, pmap1)
|
||||
pelin_maps.b:get_2d_map_flat({x=minp.x, y=minp.z}, pmap2)
|
||||
pelin_maps.c:get_2d_map_flat({x=minp.x, y=minp.z}, pmap3)
|
||||
|
||||
local forest_possible = maxp.y > f_h_min and minp.y < f_h_max
|
||||
|
||||
--local pmap_f_bottom = minetest.get_perlin_map(perlins.forest_bottom,
|
||||
-- map_lengths_xyz):get2dMap_flat({x=minp.x, y=minp.z})
|
||||
-- map_lengths_xyz):get_2d_map_flat({x=minp.x, y=minp.z})
|
||||
local perlin_f_bottom, strassx, strassz
|
||||
if forest_possible then
|
||||
perlin_f_bottom = minetest.get_perlin(11, 3, 0.8, tmp2)
|
||||
pelin_maps.forest_top:get2dMap_flat({x=minp.x, y=minp.z}, pmap_f_top)
|
||||
pelin_maps.forest_top:get_2d_map_flat({x=minp.x, y=minp.z}, pmap_f_top)
|
||||
strassx = get_ws_list(2, minp.x)
|
||||
strassz = get_ws_list(2, minp.z)
|
||||
end
|
||||
@ -758,7 +758,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
||||
local pstr = p.x.." "..p.z
|
||||
if not f_perlins[pstr] then
|
||||
f_perlins[pstr] = math.floor(f_h_min + (math.abs(
|
||||
perlin_f_bottom:get2d{x=p.x, y=p.z} + 1))
|
||||
perlin_f_bottom:get_2d{x=p.x, y=p.z} + 1))
|
||||
* f_yscale_bottom + 0.5)
|
||||
end
|
||||
local top_noise = pmap_f_top[count]+1
|
||||
@ -1029,8 +1029,8 @@ minetest.register_abm({
|
||||
end
|
||||
})
|
||||
|
||||
dofile(path.."/crafting.lua")
|
||||
dofile(path.."/guide.lua")
|
||||
dofile(hell.path.."/crafting.lua")
|
||||
dofile(hell.path.."/guide.lua")
|
||||
|
||||
|
||||
local time = (minetest.get_us_time() - load_time_start) / 1000000
|
||||
|
2
init.lua
2
init.lua
@ -19,7 +19,7 @@ hell.path = minetest.get_modpath(hell.modname)
|
||||
hell.get_translator = S
|
||||
|
||||
-- Settings
|
||||
hell.DEPTH = -20000 -- The y location of the Hell
|
||||
hell.DEPTH = -19640 -- The y location of the Hell
|
||||
hell.FASTTRAVEL_FACTOR = 10 -- 10 could be better value for Minetest, since there's no sprint, but ex-Minecraft players will be mathing for 8
|
||||
hell.HELL_REALM_ENABLED = true -- Setting to false disables the Hell and Hell portal
|
||||
|
||||
|
154
items.lua
154
items.lua
@ -1,3 +1,6 @@
|
||||
|
||||
local S = hell.get_translator
|
||||
|
||||
local hell_sound = default.node_sound_stone_defaults({
|
||||
dig = {name="hell_dig", gain=0.7},
|
||||
dug = {name="hell_dug", gain=1},
|
||||
@ -37,6 +40,14 @@ local function add_more_nodes(name)
|
||||
end
|
||||
end
|
||||
|
||||
local function add_aliases(old, new)
|
||||
minetest.register_alias("nether:"..old, "hell:"..new)
|
||||
minetest.register_alias("nether:stair_"..old, "hell:stair_"..new)
|
||||
minetest.register_alias("nether:slab_"..old, "hell:slab_"..new)
|
||||
minetest.register_alias("stairs:stair_"..old, "hell:stair_"..new)
|
||||
minetest.register_alias("stairs:slab_"..old, "hell:slab_"..new)
|
||||
end
|
||||
|
||||
--[[
|
||||
local function add_fence(name)
|
||||
local def = minetest.registered_nodes[name]
|
||||
@ -86,10 +97,10 @@ minetest.register_node("hell:hellrack", {
|
||||
end,
|
||||
})
|
||||
add_more_nodes("hellrack")
|
||||
minetest.register_alias("nether:netherrack", "hell:hellrack")
|
||||
add_aliases("netherrack", "hellrack")
|
||||
|
||||
minetest.register_node("hell:hellrack_tiled", {
|
||||
description = "Tiled Hellrack",
|
||||
description = S("Tiled Hellrack"),
|
||||
tiles = {"hell_hellrack_tiled.png"},
|
||||
groups = {hell=2},
|
||||
sounds = hell_sound,
|
||||
@ -98,10 +109,10 @@ minetest.register_node("hell:hellrack_tiled", {
|
||||
end,
|
||||
})
|
||||
add_more_nodes("hellrack_tiled")
|
||||
minetest.register_alias("nether:netherrack_tiled", "hell:hellrack_tiled")
|
||||
add_aliases("netherrack_tiled", "hellrack_tiled")
|
||||
|
||||
minetest.register_node("hell:hellrack_soil", {
|
||||
description = "Dirty Hellrack",
|
||||
description = S("Dirty Hellrack"),
|
||||
tiles = {"hell_hellrack.png^hell_hellrack_soil.png"},
|
||||
groups = {hell=2},
|
||||
sounds = hell_sound,
|
||||
@ -109,10 +120,10 @@ minetest.register_node("hell:hellrack_soil", {
|
||||
return digging_allowed(player, 2)
|
||||
end,
|
||||
})
|
||||
minetest.register_alias("nether:netherrack_soil", "hell:hellrack_soil")
|
||||
add_aliases("netherrack_soil", "hellrack_soil")
|
||||
|
||||
minetest.register_node("hell:hellrack_black", {
|
||||
description = "Black Hellrack",
|
||||
description = S("Black Hellrack"),
|
||||
tiles = {"hell_hellrack_black.png"},
|
||||
groups = {hell=2},
|
||||
sounds = hell_sound,
|
||||
@ -121,10 +132,10 @@ minetest.register_node("hell:hellrack_black", {
|
||||
end,
|
||||
})
|
||||
add_more_nodes("hellrack_black")
|
||||
minetest.register_alias("nether:netherrack_black", "hell:hellrack_black")
|
||||
add_aliases("netherrack_black", "hellrack_black")
|
||||
|
||||
minetest.register_node("hell:hellrack_blue", {
|
||||
description = "Blue Hellrack",
|
||||
description = S("Blue Hellrack"),
|
||||
tiles = {"hell_hellrack_blue.png"},
|
||||
groups = {hell=1},
|
||||
sounds = hell_sound,
|
||||
@ -133,11 +144,11 @@ minetest.register_node("hell:hellrack_blue", {
|
||||
end,
|
||||
})
|
||||
add_more_nodes("hellrack_blue")
|
||||
minetest.register_alias("nether:netherrack_blue", "hell:hellrack_blue")
|
||||
add_aliases("netherrack_blue", "hellrack_blue")
|
||||
|
||||
-- Hellbrick
|
||||
minetest.register_node("hell:hellrack_brick", {
|
||||
description = "Hellrack Brick",
|
||||
description = S("Hellrack Brick"),
|
||||
tiles = {"hell_hellrack_brick.png"},
|
||||
groups = {hell=3},
|
||||
sounds = hell_sound,
|
||||
@ -146,10 +157,10 @@ minetest.register_node("hell:hellrack_brick", {
|
||||
end,
|
||||
})
|
||||
add_more_nodes("hellrack_brick")
|
||||
minetest.register_alias("nether:netherrack_brick", "hell:hellrack_brick")
|
||||
add_aliases("netherrack_brick", "hellrack_brick")
|
||||
|
||||
minetest.register_node("hell:hellrack_brick_blue", {
|
||||
description = "Blue Hellrack Brick",
|
||||
description = S("Blue Hellrack Brick"),
|
||||
tiles = {"hell_hellrack_brick_blue.png"},
|
||||
groups = {hell=3},
|
||||
sounds = hell_sound,
|
||||
@ -158,10 +169,10 @@ minetest.register_node("hell:hellrack_brick_blue", {
|
||||
end,
|
||||
})
|
||||
add_more_nodes("hellrack_brick_blue")
|
||||
minetest.register_alias("nether:netherrack_brick_blue", "hell:hellrack_brick_blue")
|
||||
add_aliases("netherrack_brick_blue", "hellrack_brick_blue")
|
||||
|
||||
minetest.register_node("hell:hellrack_brick_black", {
|
||||
description = "Black Hellrack Brick",
|
||||
description = S("Black Hellrack Brick"),
|
||||
tiles = {"hell_hellrack_brick_black.png"},
|
||||
groups = {hell=3},
|
||||
sounds = hell_sound,
|
||||
@ -170,10 +181,10 @@ minetest.register_node("hell:hellrack_brick_black", {
|
||||
end,
|
||||
})
|
||||
add_more_nodes("hellrack_brick_black")
|
||||
minetest.register_alias("nether:netherrack_brick_black", "hell:hellrack_brick_black")
|
||||
add_aliases("netherrack_brick_black", "hellrack_brick_black")
|
||||
|
||||
minetest.register_node("hell:white", {
|
||||
description = "Siwtonic block",
|
||||
description = S("Siwtonic block"),
|
||||
tiles = {"hell_white.png"},
|
||||
groups = {hell=1},
|
||||
sounds = hell_sound,
|
||||
@ -186,7 +197,7 @@ minetest.register_alias("nether:white", "hell:white")
|
||||
|
||||
-- Hell blood
|
||||
minetest.register_node("hell:sapling", {
|
||||
description = "Hell Blood Child",
|
||||
description = S("Hell Blood Child"),
|
||||
drawtype = "plantlike",
|
||||
tiles = {"hell_sapling.png"},
|
||||
inventory_image = "hell_sapling.png",
|
||||
@ -203,7 +214,7 @@ minetest.register_node("hell:sapling", {
|
||||
minetest.register_alias("nether:sapling", "hell:sapling")
|
||||
|
||||
minetest.register_node("hell:blood", {
|
||||
description = "Hell Blood",
|
||||
description = S("Hell Blood"),
|
||||
tiles = {"hell_blood.png"},
|
||||
groups = {snappy=2, choppy=2, oddly_breakable_by_hand=1},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
@ -212,7 +223,7 @@ add_more_nodes("blood")
|
||||
minetest.register_alias("nether:blood", "hell:blood")
|
||||
|
||||
minetest.register_node("hell:blood_cooked", {
|
||||
description = "Cooked Hell Blood",
|
||||
description = S("Cooked Hell Blood"),
|
||||
tiles = {"hell_blood_cooked.png"},
|
||||
groups = {hell=3},
|
||||
sounds = hell_sound,
|
||||
@ -225,7 +236,7 @@ add_more_nodes("blood_cooked")
|
||||
minetest.register_alias("nether:blood_cooked", "hell:blood_cooked")
|
||||
|
||||
minetest.register_node("hell:blood_empty", {
|
||||
description = "Hell Blood Extracted",
|
||||
description = S("Hell Blood Extracted"),
|
||||
tiles = {"hell_blood_empty.png"},
|
||||
groups = {snappy=2, choppy=2, oddly_breakable_by_hand=1},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
@ -234,7 +245,7 @@ add_more_nodes("blood_empty")
|
||||
minetest.register_alias("nether:blood_empty", "hell:blood_empty")
|
||||
|
||||
minetest.register_node("hell:blood_top", {
|
||||
description = "Hell Blood Head",
|
||||
description = S("Hell Blood Head"),
|
||||
tiles = {"hell_blood_top.png", "hell_blood.png", "hell_blood.png^hell_blood_side.png"},
|
||||
groups = {snappy=2, choppy=2, oddly_breakable_by_hand=1},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
@ -243,7 +254,7 @@ add_more_nodes("blood_top")
|
||||
minetest.register_alias("nether:blood_top", "hell:blood_top")
|
||||
|
||||
minetest.register_node("hell:blood_top_cooked", {
|
||||
description = "Cooked Hell Blood Head",
|
||||
description = S("Cooked Hell Blood Head"),
|
||||
tiles = {"hell_blood_top_cooked.png", "hell_blood_cooked.png", "hell_blood_cooked.png^hell_blood_side_cooked.png"},
|
||||
groups = {hell=3},
|
||||
sounds = hell_sound,
|
||||
@ -256,7 +267,7 @@ add_more_nodes("blood_top_cooked")
|
||||
minetest.register_alias("nether:blood_top_cooked", "hell:blood_top_cooked")
|
||||
|
||||
minetest.register_node("hell:blood_top_empty", {
|
||||
description = "Hell Blood Head Extracted",
|
||||
description = S("Hell Blood Head Extracted"),
|
||||
tiles = {"hell_blood_top_empty.png", "hell_blood_empty.png", "hell_blood_empty.png^hell_blood_side_empty.png"},
|
||||
groups = {snappy=2, choppy=2, oddly_breakable_by_hand=1},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
@ -265,7 +276,7 @@ add_more_nodes("blood_top_empty")
|
||||
minetest.register_alias("nether:blood_top_empty", "hell:blood_top_empty")
|
||||
|
||||
minetest.register_node("hell:blood_stem", {
|
||||
description = "Hell Blood Stem",
|
||||
description = S("Hell Blood Stem"),
|
||||
tiles = {"hell_blood_stem_top.png", "hell_blood_stem_top.png", "hell_blood_stem.png"},
|
||||
groups = {snappy=2, choppy=2, oddly_breakable_by_hand=1},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
@ -274,7 +285,7 @@ add_more_nodes("blood_stem")
|
||||
minetest.register_alias("nether:blood_stem", "hell:blood_stem")
|
||||
|
||||
minetest.register_node("hell:blood_stem_cooked", {
|
||||
description = "Cooked Hell Blood Stem",
|
||||
description = S("Cooked Hell Blood Stem"),
|
||||
tiles = {"hell_blood_stem_top_cooked.png", "hell_blood_stem_top_cooked.png", "hell_blood_stem_cooked.png"},
|
||||
groups = {hell=3},
|
||||
sounds = hell_sound,
|
||||
@ -287,7 +298,7 @@ add_more_nodes("blood_stem_cooked")
|
||||
minetest.register_alias("nether:blood_stem_cooked", "hell:blood_stem_cooked")
|
||||
|
||||
minetest.register_node("hell:blood_stem_empty", {
|
||||
description = "Hell Blood Stem Extracted",
|
||||
description = S("Hell Blood Stem Extracted"),
|
||||
tiles = {"hell_blood_stem_top_empty.png", "hell_blood_stem_top_empty.png", "hell_blood_stem_empty.png"},
|
||||
groups = {tree=1, choppy=2, oddly_breakable_by_hand=1},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
@ -296,7 +307,7 @@ add_more_nodes("blood_stem_empty")
|
||||
minetest.register_alias("nether:blood_stem_empty", "hell:blood_stem_empty")
|
||||
|
||||
minetest.register_node("hell:wood", {
|
||||
description = "Hell Blood Wood",
|
||||
description = S("Hell Blood Wood"),
|
||||
tiles = {"hell_wood.png"},
|
||||
groups = {choppy=2, oddly_breakable_by_hand=2},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
@ -305,7 +316,7 @@ add_more_nodes("wood")
|
||||
minetest.register_alias("nether:wood", "hell:wood")
|
||||
|
||||
minetest.register_node("hell:wood_cooked", {
|
||||
description = "Cooked Hell Blood Wood",
|
||||
description = S("Cooked Hell Blood Wood"),
|
||||
tiles = {"hell_wood_cooked.png"},
|
||||
groups = {hell=3},
|
||||
sounds = hell_sound,
|
||||
@ -318,7 +329,7 @@ add_more_nodes("wood_cooked")
|
||||
minetest.register_alias("nether:wood_cooked", "hell:wood_cooked")
|
||||
|
||||
minetest.register_node("hell:wood_empty", {
|
||||
description = "Hell Wood",
|
||||
description = S("Hell Wood"),
|
||||
tiles = {"hell_wood_empty.png"},
|
||||
groups = {choppy=2, oddly_breakable_by_hand=2, wood=1},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
@ -327,7 +338,7 @@ add_more_nodes("wood_empty")
|
||||
minetest.register_alias("nether:wood_empty", "hell:wood_empty")
|
||||
|
||||
minetest.register_node("hell:extractor", {
|
||||
description = "Hell Blood Extractor",
|
||||
description = S("Hell Blood Extractor"),
|
||||
tiles = {"hell_blood_extractor.png"},
|
||||
groups = {hell=3},
|
||||
sounds = hell_sound,
|
||||
@ -339,7 +350,7 @@ minetest.register_alias("nether:extractor", "hell:extractor")
|
||||
|
||||
-- Hell fruit
|
||||
minetest.register_node("hell:fruit_leaves", {
|
||||
description = "Hell Fruit Leaves",
|
||||
description = S("Hell Fruit Leaves"),
|
||||
tiles = {"hell_fruit_leaves.png"},
|
||||
groups = {fleshy=3, dig_immediate=2},
|
||||
sounds = default.node_sound_defaults(),
|
||||
@ -383,7 +394,7 @@ minetest.override_item("riesenpilz:nether_shroom", {
|
||||
})
|
||||
|
||||
minetest.register_node("hell:apple", {
|
||||
description = "Hell Fruit",
|
||||
description = S("Hell Fruit"),
|
||||
drawtype = "nodebox",
|
||||
tiles = {"hell_fruit_top.png", "hell_fruit_bottom.png", "hell_fruit.png", "hell_fruit.png^[transformFX", "hell_fruit.png^[transformFX", "hell_fruit.png"},
|
||||
node_box = {
|
||||
@ -409,7 +420,6 @@ minetest.register_node("hell:apple", {
|
||||
groups = {fleshy=3, dig_immediate=3},
|
||||
sounds = default.node_sound_defaults(),
|
||||
furnace_burntime = 6,
|
||||
on_use = minetest.item_eat(-5, "hell:blood_extracted 2"),
|
||||
})
|
||||
minetest.register_alias("nether:apple", "hell:apple")
|
||||
|
||||
@ -436,7 +446,7 @@ minetest.override_item("hell:apple", {
|
||||
|
||||
-- Hell vine
|
||||
minetest.register_node("hell:vine", {
|
||||
description = "Hell vine",
|
||||
description = S("Hell vine"),
|
||||
walkable = false,
|
||||
drop = "hell:sapling",
|
||||
sunlight_propagates = true,
|
||||
@ -462,7 +472,7 @@ minetest.register_alias("nether:vine", "hell:vine")
|
||||
|
||||
for n,i in pairs({"small", "middle", "big"}) do
|
||||
minetest.register_node("hell:grass_"..i, {
|
||||
description = "Hell Grass",
|
||||
description = S("Hell Grass"),
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
tiles = {"hell_grass_"..i..".png"},
|
||||
@ -483,7 +493,7 @@ for n,i in pairs({"small", "middle", "big"}) do
|
||||
end
|
||||
|
||||
minetest.register_node("hell:glowflower", {
|
||||
description = "Glowing Flower",
|
||||
description = S("Glowing Flower"),
|
||||
drawtype = "plantlike",
|
||||
tiles = {"hell_glowflower.png"},
|
||||
inventory_image = "hell_glowflower.png",
|
||||
@ -503,7 +513,7 @@ minetest.register_node("hell:glowflower", {
|
||||
minetest.register_alias("nether:glowflower", "hell:glowflower")
|
||||
|
||||
minetest.register_node("hell:tree_sapling", {
|
||||
description = "Hell Tree Sapling",
|
||||
description = S("Hell Tree Sapling"),
|
||||
drawtype = "plantlike",
|
||||
tiles = {"hell_tree_sapling.png"},
|
||||
inventory_image = "hell_tree_sapling.png",
|
||||
@ -520,7 +530,7 @@ minetest.register_node("hell:tree_sapling", {
|
||||
minetest.register_alias("nether:tree_sapling", "hell:tree_sapling")
|
||||
|
||||
minetest.register_node("hell:tree", {
|
||||
description = "Hell Trunk",
|
||||
description = S("Hell Trunk"),
|
||||
tiles = {"hell_tree_top.png", "hell_tree_top.png", "hell_tree.png"},
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
@ -531,7 +541,7 @@ minetest.register_node("hell:tree", {
|
||||
minetest.register_alias("nether:tree", "hell:tree")
|
||||
|
||||
minetest.register_node("hell:tree_corner", {
|
||||
description = "Hell Trunk Corner",
|
||||
description = S("Hell Trunk Corner"),
|
||||
tiles = {"hell_tree.png^[transformR180", "hell_tree_top.png", "hell_tree_corner.png^[transformFY",
|
||||
"hell_tree_corner.png^[transformR180", "hell_tree.png", "hell_tree_top.png"},
|
||||
paramtype2 = "facedir",
|
||||
@ -544,7 +554,7 @@ minetest.register_node("hell:tree_corner", {
|
||||
minetest.register_alias("nether:tree_corner", "hell:tree_corner")
|
||||
|
||||
minetest.register_node("hell:forest_wood", {
|
||||
description = "Hell Wood Block",
|
||||
description = S("Hell Wood Block"),
|
||||
tiles = {"hell_forest_wood.png"},
|
||||
groups = {choppy=2,oddly_breakable_by_hand=2,wood=1},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
@ -553,7 +563,7 @@ add_more_nodes("forest_wood")
|
||||
minetest.register_alias("nether:forest_wood", "hell:forest_wood")
|
||||
|
||||
minetest.register_node("hell:leaves", {
|
||||
description = "Hell Leaves",
|
||||
description = S("Hell Leaves"),
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = math.sqrt(2) + 0.01,
|
||||
@ -581,7 +591,7 @@ minetest.register_node("hell:leaves", {
|
||||
minetest.register_alias("nether:leaves", "hell:leaves")
|
||||
|
||||
minetest.register_node("hell:dirt", {
|
||||
description = "Hell Dirt",
|
||||
description = S("Hell Dirt"),
|
||||
tiles = {"hell_dirt.png"},
|
||||
groups = {crumbly=3,soil=1,hell_dirt=1},
|
||||
sounds = default.node_sound_dirt_defaults(),
|
||||
@ -589,7 +599,7 @@ minetest.register_node("hell:dirt", {
|
||||
minetest.register_alias("nether:dirt", "hell:dirt")
|
||||
|
||||
minetest.register_node("hell:dirt_top", {
|
||||
description = "Hell Dirt Top",
|
||||
description = S("Hell Dirt Top"),
|
||||
tiles = {"hell_dirt_top.png", "hell_dirt.png",
|
||||
{name="hell_dirt.png^hell_dirt_top_side.png", tileable_vertical = false}
|
||||
},
|
||||
@ -602,7 +612,7 @@ minetest.register_node("hell:dirt_top", {
|
||||
minetest.register_alias("nether:dirt_top", "hell:dirt_top")
|
||||
|
||||
minetest.register_node("hell:dirt_bottom", {
|
||||
description = "Hellrack Dirt Transition",
|
||||
description = S("Hellrack Dirt Transition"),
|
||||
tiles = {"hell_dirt.png", "hell_hellrack.png",
|
||||
{name="hell_hellrack.png^hell_dirt_transition.png", tileable_vertical = false}
|
||||
},
|
||||
@ -620,7 +630,7 @@ minetest.register_alias("nether:dirt_bottom", "hell:dirt_bottom")
|
||||
|
||||
-- Hell torch
|
||||
minetest.register_node("hell:torch", {
|
||||
description = "Hell Torch",
|
||||
description = S("Hell Torch"),
|
||||
drawtype = "torchlike",
|
||||
tiles = {"hell_torch_on_floor.png", "hell_torch_on_ceiling.png",
|
||||
{
|
||||
@ -653,27 +663,27 @@ minetest.register_node("hell:torch", {
|
||||
minetest.register_alias("nether:torch", "hell:torch")
|
||||
|
||||
minetest.register_craftitem("hell:grass", {
|
||||
description = "Hell Grass",
|
||||
description = S("Hell Grass"),
|
||||
inventory_image = "hell_grass.png",
|
||||
})
|
||||
minetest.register_alias("nether:grass", "hell:grass")
|
||||
|
||||
minetest.register_craftitem("hell:grass_dried", {
|
||||
description = "Dried Hell Grass",
|
||||
description = S("Dried Hell Grass"),
|
||||
inventory_image = "hell_grass_dried.png",
|
||||
furnace_burntime = 1,
|
||||
})
|
||||
minetest.register_alias("nether:grass_dried", "hell:grass_dried")
|
||||
|
||||
minetest.register_craftitem("hell:forest_planks", {
|
||||
description = "Hell Wooden Planks",
|
||||
description = S("Hell Wooden Planks"),
|
||||
inventory_image = "hell_forest_planks.png",
|
||||
stack_max = 990,
|
||||
})
|
||||
minetest.register_alias("nether:forest_planks", "hell:forest_planks")
|
||||
|
||||
minetest.register_craftitem("hell:bark", {
|
||||
description = "Hell Trunk Bark",
|
||||
description = S("Hell Trunk Bark"),
|
||||
inventory_image = "hell_bark.png",
|
||||
furnace_burntime = 5,
|
||||
})
|
||||
@ -681,13 +691,13 @@ minetest.register_alias("nether:bark", "hell:bark")
|
||||
|
||||
-- Hell Pearl
|
||||
minetest.register_craftitem("hell:pearl", {
|
||||
description = "Hell Pearl",
|
||||
description = S("Hell Pearl"),
|
||||
inventory_image = "hell_pearl.png",
|
||||
})
|
||||
minetest.register_alias("nether:pearl", "hell:pearl")
|
||||
|
||||
minetest.register_craftitem("hell:stick", {
|
||||
description = "Hell Stick",
|
||||
description = S("Hell Stick"),
|
||||
inventory_image = "hell_stick.png",
|
||||
groups = {stick=1},
|
||||
})
|
||||
@ -695,7 +705,7 @@ minetest.register_alias("nether:stick", "hell:stick")
|
||||
|
||||
local tmp = {}
|
||||
minetest.register_craftitem("hell:shroom_head", {
|
||||
description = "Hell Mushroom Head",
|
||||
description = S("Hell Mushroom Head"),
|
||||
inventory_image = "hell_shroom_top.png",
|
||||
furnace_burntime = 3,
|
||||
on_place = function(itemstack, _, pointed_thing)
|
||||
@ -723,28 +733,28 @@ minetest.register_craftitem("hell:shroom_head", {
|
||||
minetest.register_alias("nether:shroom_head", "hell:shroom_head")
|
||||
|
||||
minetest.register_craftitem("hell:shroom_stem", {
|
||||
description = "Hell Mushroom Stem",
|
||||
description = S("Hell Mushroom Stem"),
|
||||
inventory_image = "hell_shroom_stem.png",
|
||||
furnace_burntime = 3,
|
||||
})
|
||||
minetest.register_alias("nether:shroom_stem", "hell:shroom_stem")
|
||||
|
||||
minetest.register_craftitem("hell:fruit_leaf", {
|
||||
description = "Hell Fruit Leaf",
|
||||
description = S("Hell Fruit Leaf"),
|
||||
inventory_image = "hell_fruit_leaf.png",
|
||||
furnace_burntime = 2,
|
||||
})
|
||||
minetest.register_alias("nether:fruit_leaf", "hell:fruit_leaf")
|
||||
|
||||
minetest.register_craftitem("hell:fruit_no_leaf", {
|
||||
description = "Hell Fruit Without Leaf",
|
||||
description = S("Hell Fruit Without Leaf"),
|
||||
inventory_image = "hell_fruit_no_leaf.png",
|
||||
furnace_burntime = 4,
|
||||
})
|
||||
minetest.register_alias("nether:fruit_no_leaf", "hell:fruit_no_leaf")
|
||||
|
||||
minetest.register_craftitem("hell:fim", {
|
||||
description = "Hell FIM", --fruit in mushroom
|
||||
description = S("Hell FIM"), --fruit in mushroom
|
||||
inventory_image = "hell_fim.png",
|
||||
furnace_burntime = 10,
|
||||
})
|
||||
@ -756,7 +766,7 @@ for _,i in ipairs({"hell:blood", "hell:blood_top", "hell:blood_stem"}) do
|
||||
end
|
||||
|
||||
minetest.register_craftitem("hell:blood_extracted", {
|
||||
description = "Blood",
|
||||
description = S("Blood"),
|
||||
inventory_image = "hell_blood_extracted.png",
|
||||
on_place = function(itemstack, _, pointed_thing)
|
||||
if not pointed_thing then
|
||||
@ -810,7 +820,7 @@ minetest.register_craftitem("hell:blood_extracted", {
|
||||
minetest.register_alias("nether:blood_extracted", "hell:blood_extracted")
|
||||
|
||||
minetest.register_craftitem("hell:hotbed", {
|
||||
description = "Cooked Blood",
|
||||
description = S("Cooked Blood"),
|
||||
inventory_image = "hell_hotbed.png",
|
||||
on_place = function(itemstack, _, pointed_thing)
|
||||
if not pointed_thing then
|
||||
@ -837,7 +847,7 @@ minetest.register_craftitem("hell:hotbed", {
|
||||
minetest.register_alias("nether:hotbed", "hell:hotbed")
|
||||
|
||||
minetest.register_tool("hell:pick_mushroom", {
|
||||
description = "Hell Mushroom Pickaxe",
|
||||
description = S("Hell Mushroom Pickaxe"),
|
||||
inventory_image = "hell_pick_mushroom.png",
|
||||
tool_capabilities = {
|
||||
max_drop_level=0,
|
||||
@ -850,7 +860,7 @@ minetest.register_tool("hell:pick_mushroom", {
|
||||
minetest.register_alias("nether:pick_musroom", "hell:pick_mushroom")
|
||||
|
||||
minetest.register_tool("hell:pick_wood", {
|
||||
description = "Hell Wood Pickaxe",
|
||||
description = S("Hell Wood Pickaxe"),
|
||||
inventory_image = "hell_pick_wood.png",
|
||||
tool_capabilities = {
|
||||
full_punch_interval = 1.2,
|
||||
@ -865,7 +875,7 @@ minetest.register_tool("hell:pick_wood", {
|
||||
minetest.register_alias("nether:pick_wood", "hell:pick_wood")
|
||||
|
||||
minetest.register_tool("hell:pick_hellrack", {
|
||||
description = "Hellrack Pickaxe",
|
||||
description = S("Hellrack Pickaxe"),
|
||||
inventory_image = "hell_pick_hellrack.png",
|
||||
tool_capabilities = {
|
||||
full_punch_interval = 1.3,
|
||||
@ -880,7 +890,7 @@ minetest.register_tool("hell:pick_hellrack", {
|
||||
minetest.register_alias("nether:pick_netherrack", "hell:pick_hellrack")
|
||||
|
||||
minetest.register_tool("hell:pick_hellrack_blue", {
|
||||
description = "Blue Hellrack Pickaxe",
|
||||
description = S("Blue Hellrack Pickaxe"),
|
||||
inventory_image = "hell_pick_hellrack_blue.png",
|
||||
tool_capabilities = {
|
||||
full_punch_interval = 1.0,
|
||||
@ -895,7 +905,7 @@ minetest.register_tool("hell:pick_hellrack_blue", {
|
||||
minetest.register_alias("nether:pick_netherrack_blue", "hell:pick_hellrack_blue")
|
||||
|
||||
minetest.register_tool("hell:pick_white", {
|
||||
description = "Siwtonic Pickaxe",
|
||||
description = S("Siwtonic Pickaxe"),
|
||||
inventory_image = "hell_pick_white.png",
|
||||
tool_capabilities = {
|
||||
full_punch_interval = 0.9,
|
||||
@ -910,7 +920,7 @@ minetest.register_tool("hell:pick_white", {
|
||||
minetest.register_alias("nether:pick_white", "hell:pick_white")
|
||||
|
||||
minetest.register_tool("hell:axe_hellrack", {
|
||||
description = "Hellrack Axe",
|
||||
description = S("Hellrack Axe"),
|
||||
inventory_image = "hell_axe_hellrack.png",
|
||||
tool_capabilities = {
|
||||
full_punch_interval = 1.3,
|
||||
@ -924,7 +934,7 @@ minetest.register_tool("hell:axe_hellrack", {
|
||||
minetest.register_alias("nether:axe_netherrack", "hell:axe_hellrack")
|
||||
|
||||
minetest.register_tool("hell:axe_hellrack_blue", {
|
||||
description = "Blue Hellrack Axe",
|
||||
description = S("Blue Hellrack Axe"),
|
||||
inventory_image = "hell_axe_hellrack_blue.png",
|
||||
tool_capabilities = {
|
||||
full_punch_interval = 0.9,
|
||||
@ -938,7 +948,7 @@ minetest.register_tool("hell:axe_hellrack_blue", {
|
||||
minetest.register_alias("nether:axe_netherrack_blue", "hell:axe_hellrack_blue")
|
||||
|
||||
minetest.register_tool("hell:axe_white", {
|
||||
description = "Siwtonic Axe",
|
||||
description = S("Siwtonic Axe"),
|
||||
inventory_image = "hell_axe_white.png",
|
||||
tool_capabilities = {
|
||||
full_punch_interval = 0.9,
|
||||
@ -952,7 +962,7 @@ minetest.register_tool("hell:axe_white", {
|
||||
minetest.register_alias("nether:axe_white", "hell:axe_white")
|
||||
|
||||
minetest.register_tool("hell:shovel_hellrack", {
|
||||
description = "Hellrack Shovel",
|
||||
description = S("Hellrack Shovel"),
|
||||
inventory_image = "hell_shovel_hellrack.png",
|
||||
wield_image = "hell_shovel_hellrack.png^[transformR90",
|
||||
tool_capabilities = {
|
||||
@ -967,7 +977,7 @@ minetest.register_tool("hell:shovel_hellrack", {
|
||||
minetest.register_alias("nether:shovel_netherrack", "hell:shovel_hellrack")
|
||||
|
||||
minetest.register_tool("hell:shovel_hellrack_blue", {
|
||||
description = "Blue Hellrack Shovel",
|
||||
description = S("Blue Hellrack Shovel"),
|
||||
inventory_image = "hell_shovel_hellrack_blue.png",
|
||||
wield_image = "hell_shovel_hellrack_blue.png^[transformR90",
|
||||
tool_capabilities = {
|
||||
@ -982,7 +992,7 @@ minetest.register_tool("hell:shovel_hellrack_blue", {
|
||||
minetest.register_alias("nether:shovel_netherrack_blue", "hell:shovel_hellrack_blue")
|
||||
|
||||
minetest.register_tool("hell:shovel_white", {
|
||||
description = "Siwtonic Shovel",
|
||||
description = S("Siwtonic Shovel"),
|
||||
inventory_image = "hell_shovel_white.png",
|
||||
wield_image = "hell_shovel_white.png^[transformR90",
|
||||
tool_capabilities = {
|
||||
@ -997,7 +1007,7 @@ minetest.register_tool("hell:shovel_white", {
|
||||
minetest.register_alias("nether:shovel_white", "hell:shovel_white")
|
||||
|
||||
minetest.register_tool("hell:sword_hellrack", {
|
||||
description = "Hellrack Sword",
|
||||
description = S("Hellrack Sword"),
|
||||
inventory_image = "hell_sword_hellrack.png",
|
||||
tool_capabilities = {
|
||||
full_punch_interval = 1,
|
||||
@ -1011,7 +1021,7 @@ minetest.register_tool("hell:sword_hellrack", {
|
||||
minetest.register_alias("nether:sword_netherrack", "hell:sword_hellrack")
|
||||
|
||||
minetest.register_tool("hell:sword_hellrack_blue", {
|
||||
description = "Blue Hellrack Sword",
|
||||
description = S("Blue Hellrack Sword"),
|
||||
inventory_image = "hell_sword_hellrack_blue.png",
|
||||
tool_capabilities = {
|
||||
full_punch_interval = 0.8,
|
||||
@ -1025,7 +1035,7 @@ minetest.register_tool("hell:sword_hellrack_blue", {
|
||||
minetest.register_alias("nether:sword_netherrack_blue", "hell:sword_hellrack_blue")
|
||||
|
||||
minetest.register_tool("hell:sword_white", {
|
||||
description = "Siwtonic Sword",
|
||||
description = S("Siwtonic Sword"),
|
||||
inventory_image = "hell_sword_white.png",
|
||||
wield_image = "hell_sword_white.png^[transformR90",
|
||||
tool_capabilities = {
|
||||
|
@ -1,8 +1,198 @@
|
||||
# textdomain: hell
|
||||
|
||||
#portal.lua
|
||||
For any reason you arrived here. Type /hell_help to find out things like craft recipes.=Peu importe la raison, vous vous retrouvez ici. Entrez /hell_help pour trouver quoi faire comme des recettes de craft.
|
||||
Send someone to hell=Envoyer quelqu'un en enfer
|
||||
You need the hell priv to execute this chatcommand.=Vous avez besoin du privilège hell pour exécuter cette commande.
|
||||
Something went wrong.=Quelque chose s'est mal passé.
|
||||
Go to hell !!!=Allez en enfer !!!
|
||||
@1 is now in the hell.=@1 est maintenant en enfer.
|
||||
Extract someone from hell=Extraire quelqu'un de l'enfer
|
||||
You are free now=Vous êtes libre maintenant
|
||||
@1 is now out of the hell.=@1 est maintenant sorti(e) de l'enfer.
|
||||
You can not simply teleport to or from the hell!=Vous ne pouvez pas simplement vous téléporter vers ou depuis l'enfer!
|
||||
Hell Gate=Porte de l'Enfer
|
||||
Construction requires 16 blocks of ??. The finished frame must be in the shape of a circle and laid vertically, like a door.=La construction requiert 16 blocks de ??. Le cadre fini doit être en forme de cercle et posé verticalement, comme une porte.
|
||||
However, I never knew what material to use for building this door despite my many attempts.=Par contre je n'ai jamais su quels matériaux utiliser pour construire cette porte malgré mes multiples essaies.
|
||||
One day, however, I met an old lady who frankly looked like a witch. In the course of our discussion we came to talk about the Hell Gate. This old lady confessed to me that in her family there was a legend that one of her ancestors had managed to activate the portal. But that the poor man was instantly killed as he passed through it. The gate was destroyed and several years passed. But since a certain night, the poor widow of the deceased began to rave that her Husband had come back from the dead to take her also to hell because he said that he had made this world a wonderful place and that after several years, he would have found a way to come back and return to it as he wished without causing death. A few days later, the widow disappeared without a trace. Since then the house was destroyed in a fire with all the secrets it could hold. Only an old cauldron remained amidst the ashes.=Un jour cependant, je fis la rencontre d'une vielle dame qui franchement avait l'allure d'une sorcière. Au cours de notre discussion nous en vîmes à parler de la Porte de l'Enfer. Cette vieille dame me confessa que dans sa famille se perpétuait une légende selon laquelle un de ses ancêtres serait parvenu à activer le portail. Mais que le pauvre homme fût instantanément tué en le traversant. Le portail fût détruit et plusieurs années ont passées. Mais depuis une certaine nuit, la pauvre veuve du défunt se mit à délirer en affirmant que son Mari était revenue d'entre les morts pour l'emmener elle aussi en enfer car il disait qu'il avait fait de ce monde un endroit merveilleux et qu'après plusieurs années, il aurait découvert un moyen d'en revenir et d'y retourner à sa guise sans provoquer la mort. Quelques jours après, la veuve disparu sans laisser de traces. Depuis la maison fût détruite dans un incendie avec tous les secrets qu'elle pouvait renfermer. Il ne resta qu'un vieux chaudron au milieux des cendres.
|
||||
When I wanted to ask the old lady with what material the gate was made, she stared at me with eyes so black that I had the impression that the Nether wanted to take over me, and I did not insist any further.=En voulant questionner la vielle dame de quelle matière le portail était fait, elle me fixa du regard avec des yeux si noirs que j'avais l'impression que les Bas-Fonds voulaient s'emparer de moi et je n'insista pas plus.
|
||||
You shall not pass!=Vous ne passerez pas !
|
||||
|
||||
#guide.lua
|
||||
Mushrooms=Champignons
|
||||
Hell mushrooms can be found on the hell's ground and on hellrack soil,=Le champignon maléfique se trouve sur le sol de l'enfer et le terreau maléfique,
|
||||
it can be dug by hand.=on peut le récolter à la main.
|
||||
If you drop it without holding the fast key, you can split it into its stem =Si vous le lâchez sans tenir la touche d'accélération enfoncé, vous pouvez séparer sa tige
|
||||
and head:=et son chapeau :
|
||||
You can get more mushrooms by using a hellrack soil:=Obtenez plus de champignons en utilisant le terreau maléfique :
|
||||
1. search a dark place and, if necessary, place hellrack with air about it,=1. trouver un endroit sombre et, si nécessaire, y placer la matière maléfique avec de l'air au-dessus,
|
||||
2. right click with cooked blood onto the hellrack to make it soiled,=2. faire clic droit avec du sang grillé sur la matière maléfique pour la rendre fertile,
|
||||
3. right click onto the hellrack soil with a hell mushroom head to add some =3. faire clic droit sur le terreau maléfique avec un chapeau de champignon maléfique pour y ajouter quelques
|
||||
spores,=spores,
|
||||
4. dig the mushroom which grew after some time to make place for another one.=4. récolter le champignon qui pousse après un certain temps pour laisser place à un autre.
|
||||
Tools=Outils
|
||||
You can craft 5 kinds of tools in the hell, which (except the mushroom pick) =Vous pouvez crafter 5 sortes d'outils dans l'enfer, qui (sauf la pioche champignon)
|
||||
require sticks to be crafted:=requierts des bâtons pour être craftés :
|
||||
strength : 1=puissance : 1
|
||||
The mushroom pick needs mushroom stems and heads to be crafted.=La pioche champignon à besoin de tiges et de chapeaux de champignons pour être craftée.
|
||||
strength : 2=puissance : 2
|
||||
The hell wood pick can be crafted with cooked hell blood wood.=La pioche en bois maléfique peut être craftée avec des planches de sang cuites.
|
||||
strength : 3=puissance : 3
|
||||
The red hellrack tools can be crafted with usual hellrack.=Les outils maléfiques rouges sont craftés avec la matière maléfique usuelle.
|
||||
The blue hellrack tools can be crafted with blue hellrack.=Les outils maléfiques bleues sont craftés avec la matière maléfique bleue.
|
||||
The siwtonic tools can be crafted with the siwtonic ore.=Les outils siwtonic sont craftés avec le minerai siwtonic.
|
||||
Blood structures=Structures de sang
|
||||
You can find blood structures on the ground and dig their nodes even with =Vous pouvez trouver les structures de sang sur le sol et récolter leurs nodes même
|
||||
bare hands.=à main nue.
|
||||
One contains 4 kinds of blocks:=Elles contiennent 4 sortes de blocs :
|
||||
Blood stem, blood, blood head and hell fruit.=Troncs de sang, bloc de sang, surface de sang, fruit maléfique.
|
||||
You can craft 4 blood wood with the stem:=Vous pouvez crafter 4 planches de sang avec le tronc :
|
||||
The 4 blood nodes can be cooked and, except blood wood, their blood can be =Les 4 nodes de sang peuvent être cuites ; à part les planches de sang, leur sang peut être
|
||||
extracted.=extrait.
|
||||
Fruits=Fruits
|
||||
You can find the hell fruits on blood structures and dig them even with =Des fruits se trouvent dans les structures de sang, vous pouvez les récolter
|
||||
Eating it will make you lose life but it might feed you and give you blood:=En manger vous fera perdre de la vie, mais peuvent vous nourrir et vous donner du sang :
|
||||
If you eat it at the right place inside a portal, you will be teleported.=Si vous en mangez un au bon endroit dans un portail, vous serez téléporté.
|
||||
If you drop it without holding the fast key, you can split it into its fruit =Si vous le lâchez sans tenir la touche d'accélération enfoncé, vous pouvez le séparer
|
||||
and leaf:=de sa feuille.
|
||||
Craft a fruit leave block out of 9 fruit leaves and the fruit can be used to =Craftez un bloc de feuilles avec 9 feuilles et le fruit peut être utilisé pour
|
||||
craft a hell pearl.=crafter une perle maléfique.
|
||||
A fruit leaves block.=Un bloc de feuilles de fruits maléfiques.
|
||||
Cooking=Cuisiner
|
||||
To get a furnace you need to dig at least 8 hellrack bricks. They can be =Pour obtenir un four il faut miner au moins 8 briques maléfiques. Elles se
|
||||
found at pyramid like constructions and require at least a strength 1 =trouvent dans les constructions pyramidales et requièrent au moins
|
||||
hell pick to be dug.=une pioche maléfique de puissance 1 pour être minées.
|
||||
To craft the furnace, use the hellrack bricks like cobble:=Pour crafter le four, utiliser les briques maléfiques comme de la cobble :
|
||||
To begin cooking stuff, you can use a mushroom or fruit.=Pour commencer à cuisiner, utilisez des champignons ou des fruits.
|
||||
After that it's recommended to use cooked blood nodes.=Ensuite il est recommandé d'utiliser des nodes en sang cuites.
|
||||
Some hell items can be cooked:=Certains objets maléfiques peuvent se cuisiner :
|
||||
Some cooked blood stem, cooked blood, cooked blood head and cooked blood =Troncs de sang cuits, blocs de sang cuits, surfaces de sang cuites et planches
|
||||
wood.=de sang cuites.
|
||||
Some cooked extracted blood and a hell pearl.=Du sang extrait grillé et une perle maléfique.
|
||||
Extractors=Extracteurs
|
||||
Here you can find out information about the hell extractor.=Voici ce que vous devez connaître sur l'extracteur maléfique.
|
||||
Here you can see its craft recipe:=Voici sa recette de craft :
|
||||
Extract blood from the blood nodes you get from the blood structures.=Extrayez le sang des nodes que vous obtenez des structures de sang.
|
||||
You can also get blood with a hell fruit.=Vous pouvez aussi obtenir du sang avec un fruit maléfique.
|
||||
So you can use it:=Comment l'utiliser :
|
||||
1. place it somewhere,=1. Le placer quelque part,
|
||||
2. place blood blocks next to it (4 or less),=2. Placer des blocs de sang contre lui (4 max.),
|
||||
3. right click with extracted blood onto it to power it,=3. Faire clic droit dessus avec du sang extrait pour l'activer,
|
||||
4. take the new extracted blood and dig the extracted nodes.=4. Prendre le nouveau sang extrait et récolter les blocs qui en sont vidés.
|
||||
Example (view from the top):=Exemple (vue de dessus) :
|
||||
The empty blood stem can be crafted into empty hell wood, =Les troncs vides peuvent servir à crafter des planches vides,
|
||||
which can be crafted into hell sticks.=qui peuvent servir à crafter des bâtons maléfiques.
|
||||
Ores=Minerais
|
||||
You can find 5 types of ores:=Vous pouvez trouver 5 types de minerais :
|
||||
The red hellrack is generated like stone.=La matière maléfique rouge est générée comme la roche.
|
||||
The black hellrack is generated like gravel.=La matière maléfique noire est générée comme le gravier.
|
||||
Both require at least a strength 2 hell pick to be dug.=Elles requièrent une pioche maléfique de puissance 2 au moins pour être minées.
|
||||
The blue hellrack is generated like diamond ore.=La matière maléfique bleue est générée comme le minerai de diamant.
|
||||
The siwtonic ore is generated like mese blocks.=Le minerai de siwtonic est généré comme les blocs de mese.
|
||||
Both require at least a strength 3 hell pick to be dug.=Ils requièrent une pioche maléfique de puissance 3 au moins pour être minés.
|
||||
Glow stone can be used for lighting.=La pierre luminescente peut s'utiliser pour s'éclairer.
|
||||
Tiled hellrack is generated like coal ore.=La matière maléfique carrelé est générée comme le minerai de charbon.
|
||||
Glow stone requires at least a strength 1 pick to be dug.=La pierre luminescente requière une pioche de puissance 1 au moins pour être minée.
|
||||
Dig tiled hellrack with at least a level 2 pickaxe.=On mine la matière maléfique carrelé avec une une pioche de puissance 2 au moins.
|
||||
Vines=Lianes
|
||||
Feed hell vines with blood. Dig them with anything.=On nourrit les lianes maléfiques avec du sang. On les récolte avec n'importe quoi.
|
||||
Grow hell child by placing it to a dark place onto=On fait grandir des pousses maléfiques en les plaçant dans un endroit sombre sur
|
||||
a blood structure head node.=un bloc de surface de sang provenant d'une structure de sang.
|
||||
Pearls=Perles
|
||||
The hell pearl can be used to teleport by throwing it.=La perle maléfique peut s'utiliser pour se téléporter en la lançant.
|
||||
Here is how to get one:=Voici comment en obtenir une :
|
||||
First of all craft 2 mushroom heads and 1 hell fruit without leaf together:=D'abord on craft 2 chapeaux de champignons et 1 fruit maléfique sans la feuille ensembles :
|
||||
Put the result into the furnace to cook it into a hell pearl:=On met le résultat dans le four pour donner une perle maléfique :
|
||||
Bricks=Briques
|
||||
Craft bricks out of red, black and blue hellrack.=On crafte des briques faites de matière maléfique rouge, noire et bleue.
|
||||
Dig them with at least a level 1 pickaxe.=On les mine avec une pioche de niveau 1 au moins.
|
||||
Portals=Portails
|
||||
Here you can find out how to build the hell portal.=Voici comment construire un portail de l'enfer.
|
||||
A hell portal requires following nodes:=Un portail de l'enfer requière les nodes suivantes :
|
||||
- 25 empty hell wooden planks,=- 25 planches de sang vides,
|
||||
- 16 black hellrack,=- 16 blocs de matière maléfique noire,
|
||||
- 12 blue hellrack bricks,=- 12 briques de matière maléfique bleue,
|
||||
- 8 red hellrack,=- 8 blocs de matière maléfique rouge,
|
||||
- 8 cooked hell blood,=- 8 blocs de sang cuits,
|
||||
- 4 hell fruits,=- 4 fruits maléfiques,
|
||||
- 2 siwtonic blocks.=- 2 blocs de siwtonic.
|
||||
It should look approximately like this one:=Il devrait ressembler à cela :
|
||||
Activate it by standing in the middle,=On l'active en restant au milieu
|
||||
on the siwtonic block and eating a hell fruit.=sur le bloc de siwtonic et en mangeant un fruit maléfique.
|
||||
Take enough stuff with you to build a portal when you'll come back.=Prenez assez de matériel avec vous pour construire un portail quand vous voudrez revenir.
|
||||
Forests=Fôrets
|
||||
The hell forest is generated in caves, above the usual hell.=La fôret maléfique est générée dans les cavernes, au-dessus de l'enfer habituel.
|
||||
There you can find some plants:=Voici des plantes que vous pouvez trouver :
|
||||
Use the hell forest grass to get paper. Craft paper out of the dried grass.=On utilise l'herbe de la fôret maléfique pour obtenir du papier. On crafte le papier à partir d'herbe sèche.
|
||||
Hell trunks can be found at hell trees. Craft hell wood out of hell trunk.=Les troncs maléfiques se trouvent dans les arbres maléfiques. On crafte les planches de bois maléfiques à partir de troncs maléfiques.
|
||||
Use it for lighting and decoration.=On l'utilise pour l'éclairage et comme décoration.
|
||||
Shows a hell guide=Montre un guide de l'enfer
|
||||
Usually you don't need this guide here. You can view it in the hell.=Habituellement, vous n'avez pas besoin de ce guide ici. Vous pouvez le voir en enfer.
|
||||
Showing guide...=Affichage du guide...
|
||||
|
||||
#hell.lua
|
||||
Allows sending players to hell and extracting them=Permet d'envoyer des joueurs en enfer et de les y extraire
|
||||
|
||||
#items.lua
|
||||
Tiled Hellrack=Hellrack carrelé
|
||||
Dirty Hellrack=Hellrack fertile
|
||||
Black Hellrack=Hellrack noire
|
||||
Blue Hellrack=Hellrack bleue
|
||||
Hellrack Brick=Brique en Hellrack
|
||||
Blue Hellrack Brick=Brique en Hellrack bleue
|
||||
Black Hellrack Brick=Brique en Hellrack noire
|
||||
Siwtonic block=Bloc de Siwtonic
|
||||
Hell Blood Child=Pousse de sang de l'enfer
|
||||
Hell Blood=Sang de l'enfer
|
||||
Cooked Hell Blood=Sang de l'enfer cuit
|
||||
Hell Blood Extracted=Sang de l'enfer extrait
|
||||
Hell Blood Head=Tête de sang de l'enfer
|
||||
Cooked Hell Blood Head=Tête de sang de l'enfer cuite
|
||||
Hell Blood Head Extracted=Tête de sang de l'enfer extraite
|
||||
Hell Blood Stem=Tige de sang de l'enfer
|
||||
Cooked Hell Blood Stem=Tige de sang de l'enfer cuite
|
||||
Hell Blood Stem Extracted=Tige de sang de l'enfer extraite
|
||||
Hell Blood Wood=Bois de sang de l'enfer
|
||||
Cooked Hell Blood Wood=Bois de sang de l'enfer cuit
|
||||
Hell Wood=Bois de l'enfer
|
||||
Hell Blood Extractor=Extracteur de sang de l'enfer
|
||||
Hell Fruit Leaves=Feuilles de fruit de l'enfer
|
||||
Hell Fruit=Fruit de l'enfer
|
||||
Hell vine=Vigne de l'enfer
|
||||
Hell Grass=Herbe de l'enfer
|
||||
Glowing Flower=Fleur luminescente
|
||||
Hell Tree Sapling=Arbre de l'enfer
|
||||
Hell Trunk=Tronc d'arbre de l'enfer
|
||||
Hell Trunk Corner=Coin de tronc de l'enfer
|
||||
Hell Wood Block=Bloc de bois de l'enfer
|
||||
Hell Leaves=Feuilles de l'enfer
|
||||
Hell Dirt=Terre de la forêt de l'enfer
|
||||
Hell Dirt Top=Terre haute de l'enfer
|
||||
Hellrack Dirt Transition=Terre basse de la forêt de l'enfer
|
||||
Hell Torch=Torche de l'enfer
|
||||
Dried Hell Grass=Herbe de l'enfer séchée
|
||||
Hell Wooden Planks=Planches de bois de l'enfer
|
||||
Hell Trunk Bark=Écorce de tronc de l'enfer
|
||||
Hell Pearl=Perle maléfique
|
||||
Hell Stick=Bâton de l'enfer
|
||||
Hell Mushroom Head=Tête de champignon de l'enfer
|
||||
Hell Mushroom Stem=Tige de champignon de l'enfer
|
||||
Hell Fruit Leaf=Feuille de fruit de l'enfer
|
||||
Hell Fruit Without Leaf=Fruit de l'enfer sans feuilles
|
||||
Hell FIM=Fruit dans champignon de l'enfer
|
||||
Blood=Sang
|
||||
Cooked Blood=Sang cuit
|
||||
Hell Mushroom Pickaxe=Pioche en champignons de l'enfer
|
||||
Hell Wood Pickaxe=Pioche en bois de l'enfer
|
||||
Hellrack Pickaxe=Pioche en Hellrack
|
||||
Blue Hellrack Pickaxe=Pioche en Hellrack bleue
|
||||
Siwtonic Pickaxe=Pioche en Siwtonic
|
||||
Hellrack Axe=Hache en Hellrack
|
||||
Blue Hellrack Axe=Hache en Hellrack bleue
|
||||
Siwtonic Axe=Hache en Siwtonic
|
||||
Hellrack Shovel=Pelle en Hellrack
|
||||
Blue Hellrack Shovel=Pelle en Hellrack bleue
|
||||
Siwtonic Shovel=Pelle en Siwtonic
|
||||
Hellrack Sword=Épée en Hellrack
|
||||
Blue Hellrack Sword=Épée en Hellrack bleue
|
||||
Siwtonic Sword=Épée en Siwtonic
|
||||
|
@ -1,8 +1,198 @@
|
||||
# textdomain: hell
|
||||
|
||||
#portal.lua
|
||||
For any reason you arrived here. Type /hell_help to find out things like craft recipes.=
|
||||
Send someone to hell=
|
||||
You need the hell priv to execute this chatcommand.=
|
||||
Something went wrong.=
|
||||
Go to hell !!!=
|
||||
@1 is now in the hell.=
|
||||
Extract someone from hell=
|
||||
You are free now=
|
||||
@1 is now out of the hell.=
|
||||
You can not simply teleport to or from the hell!=
|
||||
Hell Gate=
|
||||
Construction requires 16 blocks of ??. The finished frame must be in the shape of a circle and laid vertically, like a door.=
|
||||
However, I never knew what material to use for building this door despite my many attempts.=
|
||||
One day, however, I met an old lady who frankly looked like a witch. In the course of our discussion we came to talk about the Hell Gate. This old lady confessed to me that in her family there was a legend that one of her ancestors had managed to activate the portal. But that the poor man was instantly killed as he passed through it. The gate was destroyed and several years passed. But since a certain night, the poor widow of the deceased began to rave that her Husband had come back from the dead to take her also to hell because he said that he had made this world a wonderful place and that after several years, he would have found a way to come back and return to it as he wished without causing death. A few days later, the widow disappeared without a trace. Since then the house was destroyed in a fire with all the secrets it could hold. Only an old cauldron remained amidst the ashes.=
|
||||
When I wanted to ask the old lady with what material the gate was made, she stared at me with eyes so black that I had the impression that the Nether wanted to take over me, and I did not insist any further.=
|
||||
You shall not pass!=
|
||||
|
||||
#guide.lua
|
||||
Mushrooms=
|
||||
Hell mushrooms can be found on the hell's ground and on hellrack soil,=
|
||||
it can be dug by hand.=
|
||||
If you drop it without holding the fast key, you can split it into its stem =
|
||||
and head:=
|
||||
You can get more mushrooms by using a hellrack soil:=
|
||||
1. search a dark place and, if necessary, place hellrack with air about it,=
|
||||
2. right click with cooked blood onto the hellrack to make it soiled,=
|
||||
3. right click onto the hellrack soil with a hell mushroom head to add some =
|
||||
spores,=
|
||||
4. dig the mushroom which grew after some time to make place for another one.=
|
||||
Tools=
|
||||
You can craft 5 kinds of tools in the hell, which (except the mushroom pick) =
|
||||
require sticks to be crafted:=
|
||||
strength : 1=
|
||||
The mushroom pick needs mushroom stems and heads to be crafted.=
|
||||
strength : 2=
|
||||
The hell wood pick can be crafted with cooked hell blood wood.=
|
||||
strength : 3=
|
||||
The red hellrack tools can be crafted with usual hellrack.=
|
||||
The blue hellrack tools can be crafted with blue hellrack.=
|
||||
The siwtonic tools can be crafted with the siwtonic ore.=
|
||||
Blood structures=
|
||||
You can find blood structures on the ground and dig their nodes even with =
|
||||
bare hands.=
|
||||
One contains 4 kinds of blocks:=
|
||||
Blood stem, blood, blood head and hell fruit.=
|
||||
You can craft 4 blood wood with the stem:=
|
||||
The 4 blood nodes can be cooked and, except blood wood, their blood can be =
|
||||
extracted.=
|
||||
Fruits=
|
||||
You can find the hell fruits on blood structures and dig them even with =
|
||||
Eating it will make you lose life but it might feed you and give you blood:=
|
||||
If you eat it at the right place inside a portal, you will be teleported.=
|
||||
If you drop it without holding the fast key, you can split it into its fruit =
|
||||
and leaf:=
|
||||
Craft a fruit leave block out of 9 fruit leaves and the fruit can be used to =
|
||||
craft a hell pearl.=
|
||||
A fruit leaves block.=
|
||||
Cooking=
|
||||
To get a furnace you need to dig at least 8 hellrack bricks. They can be =
|
||||
found at pyramid like constructions and require at least a strength 1 =
|
||||
hell pick to be dug.=
|
||||
To craft the furnace, use the hellrack bricks like cobble:=
|
||||
To begin cooking stuff, you can use a mushroom or fruit.=
|
||||
After that it's recommended to use cooked blood nodes.=
|
||||
Some hell items can be cooked:=
|
||||
Some cooked blood stem, cooked blood, cooked blood head and cooked blood =
|
||||
wood.=
|
||||
Some cooked extracted blood and a hell pearl.=
|
||||
Extractors=
|
||||
Here you can find out information about the hell extractor.=
|
||||
Here you can see its craft recipe:=
|
||||
Extract blood from the blood nodes you get from the blood structures.=
|
||||
You can also get blood with a hell fruit.=
|
||||
So you can use it:=
|
||||
1. place it somewhere,=
|
||||
2. place blood blocks next to it (4 or less),=
|
||||
3. right click with extracted blood onto it to power it,=
|
||||
4. take the new extracted blood and dig the extracted nodes.=
|
||||
Example (view from the top):=
|
||||
The empty blood stem can be crafted into empty hell wood, =
|
||||
which can be crafted into hell sticks.=
|
||||
Ores=
|
||||
You can find 5 types of ores:=
|
||||
The red hellrack is generated like stone.=
|
||||
The black hellrack is generated like gravel.=
|
||||
Both require at least a strength 2 hell pick to be dug.=
|
||||
The blue hellrack is generated like diamond ore.=
|
||||
The siwtonic ore is generated like mese blocks.=
|
||||
Both require at least a strength 3 hell pick to be dug.=
|
||||
Glow stone can be used for lighting.=
|
||||
Tiled hellrack is generated like coal ore.=
|
||||
Glow stone requires at least a strength 1 pick to be dug.=
|
||||
Dig tiled hellrack with at least a level 2 pickaxe.=
|
||||
Vines=
|
||||
Feed hell vines with blood. Dig them with anything.=
|
||||
Grow hell child by placing it to a dark place onto=
|
||||
a blood structure head node.=
|
||||
Pearls=
|
||||
The hell pearl can be used to teleport by throwing it.=
|
||||
Here is how to get one:=
|
||||
First of all craft 2 mushroom heads and 1 hell fruit without leaf together:=
|
||||
Put the result into the furnace to cook it into a hell pearl:=
|
||||
Bricks=
|
||||
Craft bricks out of red, black and blue hellrack.=
|
||||
Dig them with at least a level 1 pickaxe.=
|
||||
Portals=
|
||||
Here you can find out how to build the hell portal.=
|
||||
A hell portal requires following nodes:=
|
||||
- 25 empty hell wooden planks,=
|
||||
- 16 black hellrack,=
|
||||
- 12 blue hellrack bricks,=
|
||||
- 8 red hellrack,=
|
||||
- 8 cooked hell blood,=
|
||||
- 4 hell fruits,=
|
||||
- 2 siwtonic blocks.=
|
||||
It should look approximately like this one:=
|
||||
Activate it by standing in the middle,=
|
||||
on the siwtonic block and eating a hell fruit.=
|
||||
Take enough stuff with you to build a portal when you'll come back.=
|
||||
Forests=
|
||||
The hell forest is generated in caves, above the usual hell.=
|
||||
There you can find some plants:=
|
||||
Use the hell forest grass to get paper. Craft paper out of the dried grass.=
|
||||
Hell trunks can be found at hell trees. Craft hell wood out of hell trunk.=
|
||||
Use it for lighting and decoration.=
|
||||
Shows a hell guide=
|
||||
Usually you don't need this guide here. You can view it in the hell.=
|
||||
Showing guide...=
|
||||
|
||||
#hell.lua
|
||||
Allows sending players to hell and extracting them=
|
||||
|
||||
#items.lua
|
||||
Tiled Hellrack=
|
||||
Dirty Hellrack=
|
||||
Black Hellrack=
|
||||
Blue Hellrack=
|
||||
Hellrack Brick=
|
||||
Blue Hellrack Brick=
|
||||
Black Hellrack Brick=
|
||||
Siwtonic block=
|
||||
Hell Blood Child=
|
||||
Hell Blood=
|
||||
Cooked Hell Blood=
|
||||
Hell Blood Extracted=
|
||||
Hell Blood Head=
|
||||
Cooked Hell Blood Head=
|
||||
Hell Blood Head Extracted=
|
||||
Hell Blood Stem=
|
||||
Cooked Hell Blood Stem=
|
||||
Hell Blood Stem Extracted=
|
||||
Hell Blood Wood=
|
||||
Cooked Hell Blood Wood=
|
||||
Hell Wood=
|
||||
Hell Blood Extractor=
|
||||
Hell Fruit Leaves=
|
||||
Hell Fruit=
|
||||
Hell vine=
|
||||
Hell Grass=
|
||||
Glowing Flower=
|
||||
Hell Tree Sapling=
|
||||
Hell Trunk=
|
||||
Hell Trunk Corner=
|
||||
Hell Wood Block=
|
||||
Hell Leaves=
|
||||
Hell Dirt=
|
||||
Hell Dirt Top=
|
||||
Hellrack Dirt Transition=
|
||||
Hell Torch=
|
||||
Dried Hell Grass=
|
||||
Hell Wooden Planks=
|
||||
Hell Trunk Bark=
|
||||
Hell Pearl=
|
||||
Hell Stick=
|
||||
Hell Mushroom Head=
|
||||
Hell Mushroom Stem=
|
||||
Hell Fruit Leaf=
|
||||
Hell Fruit Without Leaf=
|
||||
Hell FIM=
|
||||
Blood=
|
||||
Cooked Blood=
|
||||
Hell Mushroom Pickaxe=
|
||||
Hell Wood Pickaxe=
|
||||
Hellrack Pickaxe=
|
||||
Blue Hellrack Pickaxe=
|
||||
Siwtonic Pickaxe=
|
||||
Hellrack Axe=
|
||||
Blue Hellrack Axe=
|
||||
Siwtonic Axe=
|
||||
Hellrack Shovel=
|
||||
Blue Hellrack Shovel=
|
||||
Siwtonic Shovel=
|
||||
Hellrack Sword=
|
||||
Blue Hellrack Sword=
|
||||
Siwtonic Sword=
|
||||
|
5
mod.conf
Normal file
5
mod.conf
Normal file
@ -0,0 +1,5 @@
|
||||
name = hell
|
||||
title = Hell
|
||||
description = This is a modified version of lkjoel's nether mod. Renamed by sys4 as hell mod with modifications
|
||||
depends = default,nether,glow,riesenpilz,stairs,vector_extras,darkage,witchcraft
|
||||
optional_depends = creative,moreblocks,fence_registration,function_delayer,watershed
|
79
portal.lua
79
portal.lua
@ -38,9 +38,9 @@ local update_background
|
||||
if hell_prisons then
|
||||
function update_background(player, down)
|
||||
if down then
|
||||
player:set_sky({r=15, g=0, b=0}, "plain")
|
||||
player:set_sky({base_color={r=15, g=0, b=0}, type="plain"})
|
||||
else
|
||||
player:set_sky(nil, "regular")
|
||||
player:set_sky({type="regular"})
|
||||
end
|
||||
end
|
||||
else
|
||||
@ -50,7 +50,7 @@ end
|
||||
-- where the player appears after dying
|
||||
local function get_player_died_target(player)
|
||||
local target = vector.add(player:get_pos(),
|
||||
{x=math.random(-100,100), y=0, z=math.random(-100,100)})
|
||||
{x=math.random(-5,5), y=0, z=math.random(-5,5)})
|
||||
target.y = portal_target + math.random(4)
|
||||
return target
|
||||
end
|
||||
@ -61,10 +61,9 @@ local function obsidian_teleport(player, pname, target)
|
||||
players_in_hell[pname] = true
|
||||
save_hell_players()
|
||||
update_background(player, true)
|
||||
player:set_hp(0)
|
||||
if target then
|
||||
player:set_pos(target)
|
||||
else
|
||||
player:set_hp(0)
|
||||
end
|
||||
end
|
||||
|
||||
@ -110,44 +109,44 @@ end
|
||||
-- Chatcommands (edited) written by sss
|
||||
minetest.register_chatcommand("to_hell", {
|
||||
params = "[player_name]",
|
||||
description = "Send someone to hell",
|
||||
description = S("Send someone to hell"),
|
||||
func = function(name, pname)
|
||||
if not minetest.check_player_privs(name, {hell=true}) then
|
||||
return false,
|
||||
"You need the hell privilege to execute this chatcommand."
|
||||
S("You need the hell privilege to execute this chatcommand.")
|
||||
end
|
||||
if not is_player_connected(pname) then
|
||||
pname = name
|
||||
end
|
||||
local player = minetest.get_player_by_name(pname)
|
||||
if not player then
|
||||
return false, "Something went wrong."
|
||||
return false, S("Something went wrong.")
|
||||
end
|
||||
minetest.chat_send_player(pname, "Go to hell !!!")
|
||||
minetest.chat_send_player(pname, S("Go to hell !!!"))
|
||||
player_to_hell(player)
|
||||
return true, pname.." is now in the hell."
|
||||
return true, S("@1 is now in the hell.", pname)
|
||||
end
|
||||
})
|
||||
|
||||
minetest.register_chatcommand("from_hell", {
|
||||
params = "[player_name]",
|
||||
description = "Extract from hell",
|
||||
description = S("Extract someone from hell"),
|
||||
func = function(name, pname)
|
||||
if not minetest.check_player_privs(name, {hell=true}) then
|
||||
return false,
|
||||
"You need the hell priv to execute this chatcommand."
|
||||
S("You need the hell priv to execute this chatcommand.")
|
||||
end
|
||||
if not is_player_connected(pname) then
|
||||
pname = name
|
||||
end
|
||||
local player = minetest.get_player_by_name(pname)
|
||||
if not player then
|
||||
return false, "Something went wrong."
|
||||
return false, S("Something went wrong.")
|
||||
end
|
||||
minetest.chat_send_player(pname, "You are free now")
|
||||
local pos = player:getpos()
|
||||
minetest.chat_send_player(pname, S("You are free now"))
|
||||
local pos = player:get_pos()
|
||||
player_from_hell(player, {x=pos.x, y=100, z=pos.z})
|
||||
return true, pname.." is now out of the hell."
|
||||
return true, S("@1 is now out of the hell.", pname)
|
||||
end
|
||||
})
|
||||
|
||||
@ -164,7 +163,7 @@ if hell_prisons then
|
||||
-- fixes respawn bug
|
||||
local player = minetest.get_player_by_name(pname)
|
||||
if player then
|
||||
player:moveto(target)
|
||||
player:move_to(target)
|
||||
end
|
||||
end, pname, target)
|
||||
return true
|
||||
@ -209,12 +208,12 @@ if hell_prisons then
|
||||
end
|
||||
|
||||
minetest.chat_send_player(pname,
|
||||
"You can not simply teleport to or from the hell!")
|
||||
S("You can not simply teleport to or from the hell!"))
|
||||
minetest.log("action", "Player \"" .. pname ..
|
||||
"\" attempted to teleport from or to the hell, ignoring.")
|
||||
return false
|
||||
end
|
||||
local methods = {"set_pos", "move_to", "setpos", "moveto"}
|
||||
local methods = {"set_pos", "move_to"} -- "setpos", "moveto"}
|
||||
local metatable_overridden
|
||||
minetest.register_on_joinplayer(function(player)
|
||||
-- set the background when the player joins
|
||||
@ -265,6 +264,8 @@ end
|
||||
|
||||
local function is_hellportal(pos)
|
||||
local x, y, z = pos.x, pos.y, pos.z
|
||||
if y < 0 then y = y+1 end
|
||||
|
||||
for _,i in pairs({-1, 3}) do
|
||||
if minetest.get_node({x=x, y=y+i, z=z}).name ~= "hell:white" then
|
||||
return
|
||||
@ -336,7 +337,10 @@ local function hell_port(player, pos)
|
||||
set_portal(known_portals_d, pos.z,pos.x, pos.y)
|
||||
|
||||
local my = tonumber(meta:get_string("y"))
|
||||
local y = get_portal(known_portals_u, pos.z,pos.x)
|
||||
local destination_pos = vector.multiply(pos, hell.FASTTRAVEL_FACTOR)
|
||||
destination_pos.x = math.min(30900, math.max(-30900, destination_pos.x)) -- clip to world boundary
|
||||
destination_pos.z = math.min(30900, math.max(-30900, destination_pos.z)) -- clip to world boundary
|
||||
local y = get_portal(known_portals_u, destination_pos.z, destination_pos.x)
|
||||
if y then
|
||||
if y ~= my then
|
||||
meta:set_string("y", y)
|
||||
@ -344,14 +348,17 @@ local function hell_port(player, pos)
|
||||
else
|
||||
y = my or 100
|
||||
end
|
||||
pos.y = y - 0.3
|
||||
destination_pos.y = y - 0.3
|
||||
|
||||
player_from_hell(player, pos)
|
||||
player_from_hell(player, destination_pos)
|
||||
else
|
||||
set_portal(known_portals_u, pos.z,pos.x, pos.y)
|
||||
|
||||
local my = tonumber(meta:get_string("y"))
|
||||
local y = get_portal(known_portals_d, pos.z,pos.x)
|
||||
local destination_pos = vector.divide(pos, hell.FASTTRAVEL_FACTOR)
|
||||
destination_pos.x = math.floor(0.5 + destination_pos.x) -- round to int
|
||||
destination_pos.z = math.floor(0.5 + destination_pos.z) -- round to int
|
||||
local y = get_portal(known_portals_d, destination_pos.z, destination_pos.x)
|
||||
if y then
|
||||
if y ~= my then
|
||||
meta:set_string("y", y)
|
||||
@ -359,30 +366,28 @@ local function hell_port(player, pos)
|
||||
else
|
||||
y = my or portal_target+math.random(4)
|
||||
end
|
||||
pos.y = y - 0.3
|
||||
destination_pos.y = y + 0.7
|
||||
|
||||
player_to_hell(player, pos)
|
||||
player_to_hell(player, destination_pos)
|
||||
end
|
||||
minetest.sound_play("hell_teleporter", {pos=pos})
|
||||
return true
|
||||
end
|
||||
|
||||
minetest.register_on_item_eat(function(_, _, itemstack, user, _)
|
||||
if not user or itemstack:is_empty() then
|
||||
return
|
||||
end
|
||||
|
||||
minetest.override_item("hell:apple", {
|
||||
on_use = function(itemstack, user, pointed_thing)
|
||||
local inv = user:get_inventory()
|
||||
if not inv then
|
||||
return
|
||||
end
|
||||
if itemstack:get_name() == "hell:apple" then
|
||||
if hell_port(user, vector.round(user:get_pos())) then
|
||||
itemstack:take_item()
|
||||
if hell_port(user, vector.round(user:get_pos())) then
|
||||
return itemstack
|
||||
end
|
||||
return itemstack
|
||||
else
|
||||
return minetest.do_item_eat(-5, "hell:blood_extracted 2", itemstack, user, pointed_thing)
|
||||
end
|
||||
end)
|
||||
end,
|
||||
})
|
||||
|
||||
if hell.HELL_REALM_ENABLED then
|
||||
-- Use the Portal API to add a portal type which goes to the Hell
|
||||
@ -487,7 +492,7 @@ if hell.HELL_REALM_ENABLED then
|
||||
return
|
||||
end
|
||||
|
||||
obsidian_teleport(player, pname)
|
||||
obsidian_teleport(player, pname, new_playerPos)
|
||||
minetest.sound_play("hell_portal_usual", {to_player=pname, gain=1})
|
||||
end,
|
||||
})
|
||||
@ -503,7 +508,7 @@ if nether.NETHER_REALM_ENABLED then
|
||||
0,function(player, target)
|
||||
-- fixes respawn bug
|
||||
if player then
|
||||
player:moveto(target)
|
||||
player:move_to(target)
|
||||
end
|
||||
end, player, playerPos)
|
||||
minetest.chat_send_player(player:get_player_name(),
|
||||
|
Reference in New Issue
Block a user