31 Commits

Author SHA1 Message Date
1df107ab94 Merge remote-tracking branch 'upstream/master' 2022-03-05 11:25:18 +01:00
d3f79e961b Update locale templates 2022-02-13 14:14:03 +11:00
69e8253193 Merge remote-tracking branch 'upstream/master' 2021-12-10 21:39:28 +01:00
0eb79653d8 Merge remote-tracking branch 'upstream/master' 2021-11-01 10:31:58 +01:00
23a6919a49 Merge remote-tracking branch 'upstream/master' 2021-07-24 13:09:07 +02:00
dc21f026f6 Merge remote-tracking branch 'upstream/master' 2021-07-16 23:50:56 +02:00
6f312d6999 Merge remote-tracking branch 'upstream/master' 2021-05-09 21:41:25 +02:00
e3e793d5be Merge remote-tracking branch 'upstream/master' 2021-03-26 19:29:55 +01:00
96ef16bf2a Merge branch 'github' 2021-03-26 19:29:39 +01:00
44f3912add Check minetest.features for use_texture_alpha_string_modes 2021-03-26 19:14:30 +01:00
4ff727909c Merge branch 'github' 2021-03-25 20:59:49 +01:00
7f5b4277dd Remove obsolete 'alpha' field 2021-03-25 20:57:23 +01:00
733ac1690a Merge branch 'github' 2021-03-21 11:06:39 +01:00
3b3fb6d1dd Fix deprecated use of use_texture_alpha in default portal def. 2021-03-21 11:05:14 +01:00
3292146e3c Merge branch 'github' 2021-03-06 12:38:24 +01:00
e5e74c839f Change deprecated get3d method to get_3d 2021-03-06 12:36:49 +01:00
bd2e065ad9 Merge remote-tracking branch 'upstream/master' 2021-02-13 14:17:31 +01:00
776a8c95b0 Merge remote-tracking branch 'upstream/master' 2021-02-07 13:12:33 +01:00
4950143a00 Merge remote-tracking branch 'upstream/master' 2021-01-29 17:43:11 +01:00
ddd27690eb Merge remote-tracking branch 'upstream/master' 2021-01-15 21:12:33 +01:00
e0656eacae Merge remote-tracking branch 'upstream/master' 2021-01-05 21:39:15 +01:00
89db416d09 Merge remote-tracking branch 'upstream/master' 2021-01-02 14:26:25 +01:00
bfdd8d18b4 Merge remote-tracking branch 'upstream/master' 2020-12-30 22:28:44 +01:00
60d4f8c7df Merge remote-tracking branch 'upstream/master' 2020-09-28 20:48:55 +02:00
281d6fc07f Merge remote-tracking branch 'upstream/master' 2020-08-02 14:07:44 +02:00
97cf3250e4 Merge remote-tracking branch 'upstream/master' 2020-07-31 22:23:04 +02:00
c0481ea4ca Fix mods comp. using callback on_rightclick with mese fragment 2020-07-15 01:46:52 +02:00
3577fd1f5e Merge remote-tracking branch 'upstream/master' into nalc-1.2-dev 2020-06-20 15:53:12 +02:00
9ab325fa8c Merge remote-tracking branch 'upstream/master' into nalc-1.2-dev 2020-06-14 17:04:59 +02:00
9e3d5bf997 Corrige crash au démarrage si moreblocks chargé 2020-05-08 20:15:12 +02:00
c5ef9136ec Modifie la profondeur du Nether à -25000 2020-03-06 12:04:32 +01:00
5 changed files with 45 additions and 8 deletions

View File

@ -57,8 +57,8 @@ nether.fogColor = { -- only used if climate_api is installed
-- Settings -- Settings
nether.DEPTH_CEILING = -5000 -- The y location of the Nether's celing nether.DEPTH_CEILING = -25000 -- The y location of the Nether's celing
nether.DEPTH_FLOOR = -11000 -- The y location of the Nether's floor nether.DEPTH_FLOOR = -31000 -- The y location of the Nether's floor
nether.FASTTRAVEL_FACTOR = 8 -- 10 could be better value for Minetest, since there's no sprint, but ex-Minecraft players will be mathing for 8 nether.FASTTRAVEL_FACTOR = 8 -- 10 could be better value for Minetest, since there's no sprint, but ex-Minecraft players will be mathing for 8
nether.PORTAL_BOOK_LOOT_WEIGHTING = 0.9 -- Likelyhood of finding the Book of Portals (guide) in dungeon chests. Set to 0 to disable. nether.PORTAL_BOOK_LOOT_WEIGHTING = 0.9 -- Likelyhood of finding the Book of Portals (guide) in dungeon chests. Set to 0 to disable.
nether.NETHER_REALM_ENABLED = true -- Setting to false disables the Nether and Nether portal nether.NETHER_REALM_ENABLED = true -- Setting to false disables the Nether and Nether portal

View File

@ -32,6 +32,8 @@ Unknown player position=
### nodes.lua ### ### nodes.lua ###
A Deep Netherrack wall=
A Netherrack wall=
A finely finished block of solid Nether Basalt.= A finely finished block of solid Nether Basalt.=
A rough cut solid block of Nether Basalt.= A rough cut solid block of Nether Basalt.=
A thin crust of cooled lava with liquid lava beneath= A thin crust of cooled lava with liquid lava beneath=
@ -44,12 +46,18 @@ Columns of dark basalt found only in magma oceans deep within the Nether.=
Compressed Netherbrick= Compressed Netherbrick=
Cracked Nether Brick= Cracked Nether Brick=
Deep Glowstone= Deep Glowstone=
Deep Nether Brick=
Deep Nether Slab=
Deep Nether Stair=
Deep Netherrack= Deep Netherrack=
Deep Netherrack slab=
Deep Netherrack stair=
Fumarolic Chimney= Fumarolic Chimney=
Fumarolic Chimney Corner= Fumarolic Chimney Corner=
Fumarolic Chimney Slab= Fumarolic Chimney Slab=
Glowstone=Pierre lumineuse Glowstone=Pierre lumineuse
Hewn Basalt= Hewn Basalt=
Inner Deep Nether Stair=
Inner Nether Stair=Escalier intérieur du Nether Inner Nether Stair=Escalier intérieur du Nether
Lava Crust= Lava Crust=
@ -64,6 +72,7 @@ Netherrack=Roche du Nether
Netherrack from deep in the mantle= Netherrack from deep in the mantle=
Netherrack stair= Netherrack stair=
Nethersand=Sable du Nether Nethersand=Sable du Nether
Outer Deep Nether Stair=
Outer Nether Stair=Escalier extérieur du Nether Outer Nether Stair=Escalier extérieur du Nether
Portal= Portal=
@ -110,6 +119,13 @@ There is a floating land of hills and forests up there, over the edges of which
Nether Axe= Nether Axe=
Nether Ingot= Nether Ingot=
Nether Lump= Nether Lump=
Nether Pickaxe= Nether Pickaxe@nWell suited for mining netherrack=
Nether Shovel= Nether Shovel=
Nether Sword= Nether Sword=
Nether staff of Eternal Light@nCreates glowstone from netherrack=
Nether staff of Light@nTemporarily transforms the netherrack into glowstone=
Uniquely suited for mining netherrack, with minimal wear when doing so. Blunts quickly on other materials.=

View File

@ -31,6 +31,8 @@ Unknown player position=
### nodes.lua ### ### nodes.lua ###
A Deep Netherrack wall=
A Netherrack wall=
A finely finished block of solid Nether Basalt.= A finely finished block of solid Nether Basalt.=
A rough cut solid block of Nether Basalt.= A rough cut solid block of Nether Basalt.=
A thin crust of cooled lava with liquid lava beneath= A thin crust of cooled lava with liquid lava beneath=
@ -43,12 +45,18 @@ Columns of dark basalt found only in magma oceans deep within the Nether.=
Compressed Netherbrick= Compressed Netherbrick=
Cracked Nether Brick= Cracked Nether Brick=
Deep Glowstone= Deep Glowstone=
Deep Nether Brick=
Deep Nether Slab=
Deep Nether Stair=
Deep Netherrack= Deep Netherrack=
Deep Netherrack slab=
Deep Netherrack stair=
Fumarolic Chimney= Fumarolic Chimney=
Fumarolic Chimney Corner= Fumarolic Chimney Corner=
Fumarolic Chimney Slab= Fumarolic Chimney Slab=
Glowstone= Glowstone=
Hewn Basalt= Hewn Basalt=
Inner Deep Nether Stair=
Inner Nether Stair= Inner Nether Stair=
Lava Crust= Lava Crust=
@ -63,6 +71,7 @@ Netherrack=
Netherrack from deep in the mantle= Netherrack from deep in the mantle=
Netherrack stair= Netherrack stair=
Nethersand= Nethersand=
Outer Deep Nether Stair=
Outer Nether Stair= Outer Nether Stair=
Portal= Portal=
@ -109,6 +118,13 @@ There is a floating land of hills and forests up there, over the edges of which
Nether Axe= Nether Axe=
Nether Ingot= Nether Ingot=
Nether Lump= Nether Lump=
Nether Pickaxe= Nether Pickaxe@nWell suited for mining netherrack=
Nether Shovel= Nether Shovel=
Nether Sword= Nether Sword=
Nether staff of Eternal Light@nCreates glowstone from netherrack=
Nether staff of Light@nTemporarily transforms the netherrack into glowstone=
Uniquely suited for mining netherrack, with minimal wear when doing so. Blunts quickly on other materials.=

View File

@ -349,8 +349,8 @@ stairs.register_slab( -- register a slab without adding inner and outer stairs
-- Connecting walls -- Connecting walls
if minetest.get_modpath("walls") and minetest.global_exists("walls") and walls.register ~= nil then if minetest.get_modpath("walls") and minetest.global_exists("walls") and walls.register ~= nil then
walls.register("nether:rack_wall", "A Netherrack wall", "nether_rack.png", "nether:rack", minetest.registered_nodes["nether:rack"].sounds) walls.register("nether:rack_wall", S("A Netherrack wall"), "nether_rack.png", "nether:rack", minetest.registered_nodes["nether:rack"].sounds)
walls.register("nether:rack_deep_wall", "A Deep Netherrack wall", "nether_rack_deep.png", "nether:rack_deep", minetest.registered_nodes["nether:rack_deep"].sounds) walls.register("nether:rack_deep_wall", S("A Deep Netherrack wall"), "nether_rack_deep.png", "nether:rack_deep", minetest.registered_nodes["nether:rack_deep"].sounds)
end end
-- StairsPlus -- StairsPlus

View File

@ -2169,18 +2169,23 @@ function nether.register_portal_ignition_item(item_name, ignition_failure_sound)
minetest.override_item(item_name, { minetest.override_item(item_name, {
on_place = function(stack, placer, pt) on_place = function(stack, placer, pt)
local node = minetest.get_node(pt.under)
local def = minetest.registered_nodes[node.name]
local done = false local done = false
if pt.under and nether.is_frame_node[minetest.get_node(pt.under).name] then
if pt.under and nether.is_frame_node[node.name] then
done = ignite_portal(pt.under, placer:get_player_name()) done = ignite_portal(pt.under, placer:get_player_name())
if done and not minetest.settings:get_bool("creative_mode") then if done and not minetest.settings:get_bool("creative_mode") then
stack:take_item() stack:take_item()
end end
elseif def and def.on_rightclick then
def.on_rightclick(pt.under, node, placer, stack, pt)
end end
if not done and ignition_failure_sound ~= nil then if not done and ignition_failure_sound ~= nil then
minetest.sound_play(ignition_failure_sound, {pos = pt.under, max_hear_distance = 10}) minetest.sound_play(ignition_failure_sound, {pos = pt.under, max_hear_distance = 10})
end end
return stack return stack
end, end,
}) })