Compare commits
10 Commits
4eb259678e
...
15a7a27f1d
Author | SHA1 | Date | |
---|---|---|---|
|
15a7a27f1d | ||
|
6b42fad8f5 | ||
|
05db0b84ad | ||
|
6ce834e307 | ||
|
cc543689d0 | ||
|
922cc1b6aa | ||
|
b89f6c6a21 | ||
|
d2a486d02a | ||
|
3bd52754de | ||
|
44d36cf2c1 |
@ -56,6 +56,7 @@ minetest.register_node("ropes:wood_bridge", {
|
|||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
|
is_ground_content = false,
|
||||||
groups = {choppy = 2, flammable = 2, oddly_breakable_by_hand = 1, flow_through = 1, fence = 1, wall = 1},
|
groups = {choppy = 2, flammable = 2, oddly_breakable_by_hand = 1, flow_through = 1, fence = 1, wall = 1},
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
node_box = {
|
node_box = {
|
||||||
|
21
crafts.lua
21
crafts.lua
@ -17,6 +17,16 @@ if minetest.get_modpath("farming") then
|
|||||||
{'farming:cotton','farming:cotton'},
|
{'farming:cotton','farming:cotton'},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
if farming.mod == "redo" or farming.mod == "undo" then
|
||||||
|
minetest.register_craft({
|
||||||
|
output = 'ropes:ropesegment',
|
||||||
|
recipe = {
|
||||||
|
{'farming:hemp_rope'},
|
||||||
|
{'farming:hemp_rope'},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if minetest.get_modpath("hemp") then
|
if minetest.get_modpath("hemp") then
|
||||||
@ -39,6 +49,17 @@ if minetest.get_modpath("cottages") then
|
|||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if minetest.get_modpath("moreblocks") then
|
||||||
|
minetest.register_craft({
|
||||||
|
output = 'ropes:ropesegment',
|
||||||
|
recipe = {
|
||||||
|
{'moreblocks:rope','moreblocks:rope'},
|
||||||
|
{'moreblocks:rope','moreblocks:rope'},
|
||||||
|
{'moreblocks:rope','moreblocks:rope'},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = 'ropes:ropesegment',
|
output = 'ropes:ropesegment',
|
||||||
recipe = {
|
recipe = {
|
||||||
|
@ -3,9 +3,9 @@ local S = ropes.S
|
|||||||
if ropes.extending_ladder_enabled then
|
if ropes.extending_ladder_enabled then
|
||||||
|
|
||||||
local wood_recipe = {
|
local wood_recipe = {
|
||||||
|
{"group:stick", "", "group:stick"},
|
||||||
|
{"group:stick", "", "group:stick"},
|
||||||
{"group:stick", "group:stick", "group:stick"},
|
{"group:stick", "group:stick", "group:stick"},
|
||||||
{"group:stick", "", "group:stick"},
|
|
||||||
{"group:stick", "", "group:stick"},
|
|
||||||
}
|
}
|
||||||
local wood_name = S("Wooden Extendable Ladder")
|
local wood_name = S("Wooden Extendable Ladder")
|
||||||
|
|
||||||
@ -16,6 +16,9 @@ local steel_recipe = {
|
|||||||
}
|
}
|
||||||
local steel_name = S("Steel Extendable Ladder")
|
local steel_name = S("Steel Extendable Ladder")
|
||||||
|
|
||||||
|
-- Overlay texture: by 1F616EMO, CC0 <https://creativecommons.org/publicdomain/zero/1.0/>
|
||||||
|
local texture_overlay = "^ropes_ropeladder_overlay.png"
|
||||||
|
|
||||||
if ropes.replace_default_ladders then
|
if ropes.replace_default_ladders then
|
||||||
|
|
||||||
minetest.unregister_item("default:ladder_wood")
|
minetest.unregister_item("default:ladder_wood")
|
||||||
@ -62,6 +65,21 @@ steel_recipe = {
|
|||||||
}
|
}
|
||||||
steel_name = S("Steel Ladder")
|
steel_name = S("Steel Ladder")
|
||||||
|
|
||||||
|
texture_overlay = ""
|
||||||
|
|
||||||
|
else
|
||||||
|
-- Swap between normal and extendable ladders
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "shapeless",
|
||||||
|
output = "ropes:ladder_wood",
|
||||||
|
recipe = {"default:ladder_wood"},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "shapeless",
|
||||||
|
output = "ropes:ladder_steel",
|
||||||
|
recipe = {"default:ladder_steel"},
|
||||||
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
@ -111,7 +129,7 @@ local ladder_extender = function(pos, node, clicker, itemstack, pointed_thing, l
|
|||||||
-- If there's enough support, build a new ladder segment
|
-- If there's enough support, build a new ladder segment
|
||||||
if behind_pos.y > target_height then
|
if behind_pos.y > target_height then
|
||||||
if minetest.is_protected(pos, clicker:get_player_name()) then
|
if minetest.is_protected(pos, clicker:get_player_name()) then
|
||||||
minetest.record_protection_violation(clicker:get_player_name())
|
minetest.record_protection_violation(pos, clicker:get_player_name())
|
||||||
else
|
else
|
||||||
minetest.set_node(pos, {name=ladder_node, param2=param2})
|
minetest.set_node(pos, {name=ladder_node, param2=param2})
|
||||||
if not minetest.settings:get_bool("creative_mode") then
|
if not minetest.settings:get_bool("creative_mode") then
|
||||||
@ -131,7 +149,8 @@ minetest.register_node("ropes:ladder_wood", {
|
|||||||
_doc_items_longdesc = ropes.doc.ladder_longdesc,
|
_doc_items_longdesc = ropes.doc.ladder_longdesc,
|
||||||
_doc_items_usagehelp = ropes.doc.ladder_usagehelp,
|
_doc_items_usagehelp = ropes.doc.ladder_usagehelp,
|
||||||
tiles = {"default_wood.png","default_wood.png","default_wood.png^[transformR270","default_wood.png^[transformR270","default_ladder_wood.png"},
|
tiles = {"default_wood.png","default_wood.png","default_wood.png^[transformR270","default_wood.png^[transformR270","default_ladder_wood.png"},
|
||||||
inventory_image = "default_ladder_wood.png",
|
use_texture_alpha = "clip",
|
||||||
|
inventory_image = "default_ladder_wood.png" .. texture_overlay,
|
||||||
wield_image = "default_ladder_wood.png",
|
wield_image = "default_ladder_wood.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
@ -164,7 +183,8 @@ minetest.register_node("ropes:ladder_steel", {
|
|||||||
_doc_items_longdesc = ropes.doc.ladder_longdesc,
|
_doc_items_longdesc = ropes.doc.ladder_longdesc,
|
||||||
_doc_items_usagehelp = ropes.doc.ladder_usagehelp,
|
_doc_items_usagehelp = ropes.doc.ladder_usagehelp,
|
||||||
tiles = {"default_steel_block.png","default_steel_block.png","default_steel_block.png","default_steel_block.png","default_ladder_steel.png"},
|
tiles = {"default_steel_block.png","default_steel_block.png","default_steel_block.png","default_steel_block.png","default_ladder_steel.png"},
|
||||||
inventory_image = "default_ladder_steel.png",
|
use_texture_alpha = "clip",
|
||||||
|
inventory_image = "default_ladder_steel.png" .. texture_overlay,
|
||||||
wield_image = "default_ladder_steel.png",
|
wield_image = "default_ladder_steel.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
|
@ -106,9 +106,9 @@ ropes.move_players_down = function(pos, radius)
|
|||||||
local _,obj
|
local _,obj
|
||||||
for _,obj in pairs(all_objects) do
|
for _,obj in pairs(all_objects) do
|
||||||
if obj:is_player() then
|
if obj:is_player() then
|
||||||
local obj_pos = obj:getpos()
|
local obj_pos = obj:get_pos()
|
||||||
if math.abs(obj_pos.x-pos.x) < 0.5 and math.abs(obj_pos.z-pos.z) < 0.5 then
|
if math.abs(obj_pos.x-pos.x) < 0.5 and math.abs(obj_pos.z-pos.z) < 0.5 then
|
||||||
obj:moveto({x=obj_pos.x, y=obj_pos.y-1, z=obj_pos.z}, true)
|
obj:set_pos({x=obj_pos.x, y=obj_pos.y-1, z=obj_pos.z}, true)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
|
|
||||||
### bridge.lua ###
|
### bridge.lua ###
|
||||||
|
|
||||||
Wooden Bridge=
|
#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE
|
||||||
|
Wooden Bridge=Puente de madera
|
||||||
|
|
||||||
### crafts.lua ###
|
### crafts.lua ###
|
||||||
|
|
||||||
@ -13,15 +14,18 @@ Rope Segment=Segmento de cuerda
|
|||||||
|
|
||||||
A hanging rope ladder that automatically extends downward.=Una escalera de cuerda colgante que se extiende automáticamente hacia abajo.
|
A hanging rope ladder that automatically extends downward.=Una escalera de cuerda colgante que se extiende automáticamente hacia abajo.
|
||||||
|
|
||||||
A ladder for climbing. It can reach greater heights when placed against a supporting block.=
|
#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE
|
||||||
|
A ladder for climbing. It can reach greater heights when placed against a supporting block.=Una escalera para subir. Puede alcanzar mayores alturas cuando se coloca contra un bloque de soporte.
|
||||||
|
|
||||||
A rope can be severed midway using an axe or other similar tool. The section of rope below the cut will collapse and disappear, potentially causing players who were hanging on to it to fall. The remaining rope will not resume descent on its own, but the rope box at the top of the rope "remembers" how long the rope was and if it is deconstructed and replaced it will still have the same maximum length of rope as before - no rope is permanently lost when a rope is severed like this.=Una cuerda puede ser cortada a mitad de camino usando un hacha u otra herramienta similar. La sección de la cuerda debajo del corte se colapsará y desaparecerá, lo que puede causar que los jugadores que estaban colgados de ella se caigan. El resto de la cuerda no volverá a descender por sí sola, pero la caja de la cuerda en la parte superior de la cuerda "recuerda" la longitud de la cuerda y si es deconstruida y reemplazada tendrá la misma longitud máxima de cuerda que antes - ninguna cuerda se pierde permanentemente cuando una cuerda es cortada de esta manera.
|
A rope can be severed midway using an axe or other similar tool. The section of rope below the cut will collapse and disappear, potentially causing players who were hanging on to it to fall. The remaining rope will not resume descent on its own, but the rope box at the top of the rope "remembers" how long the rope was and if it is deconstructed and replaced it will still have the same maximum length of rope as before - no rope is permanently lost when a rope is severed like this.=Una cuerda puede ser cortada a mitad de camino usando un hacha u otra herramienta similar. La sección de la cuerda debajo del corte se colapsará y desaparecerá, lo que puede causar que los jugadores que estaban colgados de ella se caigan. El resto de la cuerda no volverá a descender por sí sola, pero la caja de la cuerda en la parte superior de la cuerda "recuerda" la longitud de la cuerda y si es deconstruida y reemplazada tendrá la misma longitud máxima de cuerda que antes - ninguna cuerda se pierde permanentemente cuando una cuerda es cortada de esta manera.
|
||||||
|
|
||||||
A wooden platform with support struts useful for bridging gaps.=
|
#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE
|
||||||
|
A wooden platform with support struts useful for bridging gaps.=Una plataforma de madera con puntales de soporte útil para salvar huecos.
|
||||||
|
|
||||||
After a rope ladder is placed on a vertical wall it will begin extending downward until it reaches its maximum length (@1 meters). If the rope ladder is removed all of the ladder below the point of removal will disappear. A rope ladder can be severed partway down using an axe or similar tool, and the ladder below the point where it is cut will collapse. No rope is actually lost in the process, though, and if the uppermost section of the ladder is removed and replaced the ladder will re-extend to the same maximum length as before.=Después de colocar una escalera de cuerda en una pared vertical, comenzará a extenderse hacia abajo hasta que alcance su longitud máxima (@1 metro). Si se retira la escalera de cuerda, desaparecerá toda la escalera por debajo del punto de extracción. Una escalera de cuerda puede ser cortada hasta la mitad usando un hacha o una herramienta similar, y la escalera por debajo del punto donde es cortada colapsará. Sin embargo, no se pierde ninguna cuerda en el proceso, y si la sección superior de la escalera se retira y se reemplaza, la escalera se volverá a extender a la misma longitud máxima que antes.
|
After a rope ladder is placed on a vertical wall it will begin extending downward until it reaches its maximum length (@1 meters). If the rope ladder is removed all of the ladder below the point of removal will disappear. A rope ladder can be severed partway down using an axe or similar tool, and the ladder below the point where it is cut will collapse. No rope is actually lost in the process, though, and if the uppermost section of the ladder is removed and replaced the ladder will re-extend to the same maximum length as before.=Después de colocar una escalera de cuerda en una pared vertical, comenzará a extenderse hacia abajo hasta que alcance su longitud máxima (@1 metro). Si se retira la escalera de cuerda, desaparecerá toda la escalera por debajo del punto de extracción. Una escalera de cuerda puede ser cortada hasta la mitad usando un hacha o una herramienta similar, y la escalera por debajo del punto donde es cortada colapsará. Sin embargo, no se pierde ninguna cuerda en el proceso, y si la sección superior de la escalera se retira y se reemplaza, la escalera se volverá a extender a la misma longitud máxima que antes.
|
||||||
|
|
||||||
Right-clicking on a ladder with a stack of identical ladder items will automatically add new ladder segments to the top, provided it hasn't extended too far up beyond the last block behind it providing support.=
|
#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE
|
||||||
|
Right-clicking on a ladder with a stack of identical ladder items will automatically add new ladder segments to the top, provided it hasn't extended too far up beyond the last block behind it providing support.=Al hacer clic con el botón derecho en una escalera con una pila de elementos de escalera idénticos, se agregarán automáticamente nuevos segmentos de escalera a la parte superior, siempre que no se haya extendido demasiado más allá del último bloque detrás de ella que brinda soporte.
|
||||||
|
|
||||||
Rope boxes have a certain amount of rope contained within them specified in the name of the node, and have a limit to how much rope they can support that depends on the material they're made of. The different lengths can be crafted by combining and splitting up rope boxes in the crafting grid. For example, you can craft a @1m rope box by putting a @2m rope box and a rope segment in the crafting grid, or a @3m rope box and two rope segments in the crafting grid. Two rope segments can be recovered by putting the @4m rope box in the crafting grid by itself.=Las cajas de cuerdas tienen una cierta cantidad de cuerda contenida dentro de ellas especificada en el nombre del nodo, y tienen un límite en la cantidad de cuerda que pueden soportar que depende del material del que están hechas. Las diferentes longitudes se pueden realizar combinando y dividiendo las cajas de cuerda en la rejilla de elaboración. Por ejemplo, puedes crear una caja de cuerda de @1m poniendo una caja de cuerda de @2m y un segmento de cuerda en la rejilla de artesanía, o una caja de cuerda de @3m y dos segmentos de cuerda en la rejilla de artesanía. Se pueden recuperar dos segmentos de cable colocando solo la caja de cable de @4m en la rejilla de fabricación.
|
Rope boxes have a certain amount of rope contained within them specified in the name of the node, and have a limit to how much rope they can support that depends on the material they're made of. The different lengths can be crafted by combining and splitting up rope boxes in the crafting grid. For example, you can craft a @1m rope box by putting a @2m rope box and a rope segment in the crafting grid, or a @3m rope box and two rope segments in the crafting grid. Two rope segments can be recovered by putting the @4m rope box in the crafting grid by itself.=Las cajas de cuerdas tienen una cierta cantidad de cuerda contenida dentro de ellas especificada en el nombre del nodo, y tienen un límite en la cantidad de cuerda que pueden soportar que depende del material del que están hechas. Las diferentes longitudes se pueden realizar combinando y dividiendo las cajas de cuerda en la rejilla de elaboración. Por ejemplo, puedes crear una caja de cuerda de @1m poniendo una caja de cuerda de @2m y un segmento de cuerda en la rejilla de artesanía, o una caja de cuerda de @3m y dos segmentos de cuerda en la rejilla de artesanía. Se pueden recuperar dos segmentos de cable colocando solo la caja de cable de @4m en la rejilla de fabricación.
|
||||||
|
|
||||||
@ -29,7 +33,8 @@ Rope segments are bundles of fibre twisted into robust cables.=Los segmentos de
|
|||||||
|
|
||||||
Ropes are hung by placing rope boxes, which automatically lower a rope of fixed length below them. They can be climbed and cut.=Las cuerdas se cuelgan colocando cajas de cuerda, que bajan automáticamente una cuerda de longitud fija por debajo de ellas. Se pueden escalar y cortar.
|
Ropes are hung by placing rope boxes, which automatically lower a rope of fixed length below them. They can be climbed and cut.=Las cuerdas se cuelgan colocando cajas de cuerda, que bajan automáticamente una cuerda de longitud fija por debajo de ellas. Se pueden escalar y cortar.
|
||||||
|
|
||||||
This behaves like most structural blocks except in one circumstance: when placed on top of a block with buildable space on the side facing away from you, this block will not be built on top but instead will extend out from that far side of the target block. This allows a platform to be easily built that juts out away from the location you're standing on.=
|
#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE
|
||||||
|
This behaves like most structural blocks except in one circumstance: when placed on top of a block with buildable space on the side facing away from you, this block will not be built on top but instead will extend out from that far side of the target block. This allows a platform to be easily built that juts out away from the location you're standing on.=Esto se comporta como la mayoría de los bloques estructurales, excepto en una circunstancia: cuando se coloca encima de un bloque con un espacio edificable en el lado que mira hacia afuera, este bloque no se construirá en la parte superior, sino que se extenderá desde ese lado más alejado del bloque objetivo. . Esto permite construir fácilmente una plataforma que sobresale del lugar en el que se encuentra.
|
||||||
|
|
||||||
This craft item is useful for creating rope ladders, or for spooling on wooden spindles to hang and climb upon.=Esta objeto es útil para crear escaleras de cuerda, o para enrollar en husillos de madera para colgar y trepar.
|
This craft item is useful for creating rope ladders, or for spooling on wooden spindles to hang and climb upon.=Esta objeto es útil para crear escaleras de cuerda, o para enrollar en husillos de madera para colgar y trepar.
|
||||||
|
|
||||||
@ -47,10 +52,14 @@ Wood=madera
|
|||||||
|
|
||||||
### extendingladder.lua ###
|
### extendingladder.lua ###
|
||||||
|
|
||||||
Steel Extendable Ladder=
|
#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE
|
||||||
Steel Ladder=
|
Steel Extendable Ladder=Escalera extensible de acero
|
||||||
Wooden Extendable Ladder=
|
#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE
|
||||||
Wooden Ladder=
|
Steel Ladder=Escalera de acero
|
||||||
|
#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE
|
||||||
|
Wooden Extendable Ladder=Escalera extensible de madera
|
||||||
|
#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE
|
||||||
|
Wooden Ladder=Escalera de madera
|
||||||
|
|
||||||
### ropeboxes.lua ###
|
### ropeboxes.lua ###
|
||||||
|
|
||||||
|
70
locale/ropes.ru.tr
Normal file
70
locale/ropes.ru.tr
Normal file
@ -0,0 +1,70 @@
|
|||||||
|
# textdomain: ropes
|
||||||
|
|
||||||
|
### bridge.lua ###
|
||||||
|
|
||||||
|
#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE
|
||||||
|
Wooden Bridge=Деревянный мост
|
||||||
|
|
||||||
|
### crafts.lua ###
|
||||||
|
|
||||||
|
Rope Segment=Сегмент каната
|
||||||
|
|
||||||
|
### doc.lua ###
|
||||||
|
|
||||||
|
A hanging rope ladder that automatically extends downward.=Подвесная веревочная лестница, которая автоматически выдвигается вниз.
|
||||||
|
|
||||||
|
#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE
|
||||||
|
A ladder for climbing. It can reach greater heights when placed against a supporting block.=Лестница для подъема. Она может достигать большей высоты, если ее приставить к опорному блоку.
|
||||||
|
|
||||||
|
A rope can be severed midway using an axe or other similar tool. The section of rope below the cut will collapse and disappear, potentially causing players who were hanging on to it to fall. The remaining rope will not resume descent on its own, but the rope box at the top of the rope "remembers" how long the rope was and if it is deconstructed and replaced it will still have the same maximum length of rope as before - no rope is permanently lost when a rope is severed like this.=Веревку можно перерезать на полпути с помощью топора или другого похожего инструмента. Часть веревки в месте разреза разрушится и исчезнет, что может привести к падению игроков, которые на ней висели. Оставшаяся веревка не возобновит спуск сама по себе, но коробка для веревок наверху «помнит», какой длины была веревка, и если ее разобрать и заменить, она все равно будет иметь ту же максимальную длину веревки, что и раньше — ни одна веревка не теряется навсегда, когда веревка перерезана таким образом.
|
||||||
|
|
||||||
|
#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE
|
||||||
|
A wooden platform with support struts useful for bridging gaps.=Деревянная платформа с опорными стойками, используемая для перекрытия щелей.
|
||||||
|
|
||||||
|
After a rope ladder is placed on a vertical wall it will begin extending downward until it reaches its maximum length (@1 meters). If the rope ladder is removed all of the ladder below the point of removal will disappear. A rope ladder can be severed partway down using an axe or similar tool, and the ladder below the point where it is cut will collapse. No rope is actually lost in the process, though, and if the uppermost section of the ladder is removed and replaced the ladder will re-extend to the same maximum length as before.=После того, как веревочная лестница будет размещена на вертикальной стене, она начнет удлиняться вниз, пока не достигнет своей максимальной длины (@1 метр). Если веревочную лестницу убрать, вся лестница ниже точки удаления исчезнет. Веревочную лестницу можно перерезать наполовину с помощью топора или подобного инструмента, и лестница ниже точки, где она перерезана, рухнет. Однако в этом процессе веревка фактически не теряется, и если снять и заменить самую верхнюю часть лестницы, лестница снова удлинится до той же максимальной длины, что и раньше.
|
||||||
|
|
||||||
|
#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE
|
||||||
|
Right-clicking on a ladder with a stack of identical ladder items will automatically add new ladder segments to the top, provided it hasn't extended too far up beyond the last block behind it providing support.=Щелчок правой кнопкой мыши по лестнице со стопкой идентичных элементов лестницы автоматически добавит новые сегменты лестницы наверх, при условии, что она не выступает слишком далеко за пределы последнего блока позади нее, обеспечивающего поддержку.
|
||||||
|
|
||||||
|
Rope boxes have a certain amount of rope contained within them specified in the name of the node, and have a limit to how much rope they can support that depends on the material they're made of. The different lengths can be crafted by combining and splitting up rope boxes in the crafting grid. For example, you can craft a @1m rope box by putting a @2m rope box and a rope segment in the crafting grid, or a @3m rope box and two rope segments in the crafting grid. Two rope segments can be recovered by putting the @4m rope box in the crafting grid by itself.=Ящики для веревок содержат определенное количество веревки, указанное в названии узла, и имеют ограничение на то, сколько веревки они могут поддерживать, в зависимости от материала, из которого они сделаны. Различные длины могут быть созданы путем объединения и разделения ящиков для веревок в сетке крафта. Например, вы можете создать ящик для веревки @1m, поместив ящик для веревки @2m и сегмент веревки в сетку крафта, или ящик для веревки @3m и два сегмента веревки в сетку крафта. Два сегмента веревки можно получить, поместив ящик для веревки @4m в сетку крафта отдельно.
|
||||||
|
|
||||||
|
Rope segments are bundles of fibre twisted into robust cables.=Сегменты каната представляют собой пучки волокон, скрученные в прочные тросы.
|
||||||
|
|
||||||
|
Ropes are hung by placing rope boxes, which automatically lower a rope of fixed length below them. They can be climbed and cut.=Канаты подвешиваются путем размещения ящиков для канатов, которые автоматически опускают под ними канат фиксированной длины. По ним можно лазить и резать.
|
||||||
|
|
||||||
|
#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE
|
||||||
|
This behaves like most structural blocks except in one circumstance: when placed on top of a block with buildable space on the side facing away from you, this block will not be built on top but instead will extend out from that far side of the target block. This allows a platform to be easily built that juts out away from the location you're standing on.=Он ведет себя как большинство структурных блоков, за исключением одного обстоятельства: при размещении на блоке с пространством для строительства на стороне, обращенной от вас, этот блок не будет построен сверху, а вместо этого будет выступать из дальней стороны целевого блока. Это позволяет легко построить платформу, которая выступает из того места, где вы стоите.
|
||||||
|
|
||||||
|
This craft item is useful for creating rope ladders, or for spooling on wooden spindles to hang and climb upon.=Этот предмет ручной работы пригодится для создания веревочных лестниц или для наматывания на деревянные стержни, чтобы можно было повесить веревку или залезть на нее.
|
||||||
|
|
||||||
|
When a rope box is placed the rope will immediately begin lowering from it at one meter per second. The rope will only descend when its end is in the vicinity of an active player, suspending its journey when no players are nearby, so a long descent may require a player to climb down the rope as it goes. If you are near the bottom end of a rope that's extending you'll be automatically carried down with it. The rope will stop when it encounters and obstruction, but will resume lowering if the obstruction is removed.=Когда вы размещаете ящик с веревкой, веревка немедленно начнет опускаться с него со скоростью один метр в секунду. Веревка будет опускаться только тогда, когда ее конец находится в непосредственной близости от активного игрока, приостанавливая свое движение, когда поблизости нет игроков, поэтому для длительного спуска игроку может потребоваться спускаться по веревке по мере ее движения. Если вы находитесь около нижнего конца удлиняющейся веревки, вы автоматически будете унесены ею вниз. Веревка остановится, когда столкнется с препятствием, но возобновит спуск, если препятствие будет устранено.
|
||||||
|
|
||||||
|
rope boxes can hold @1m of rope.=Ящики для веревок вмещают до 1 м веревки.
|
||||||
|
rope boxes can hold rope lengths from @1m to @2m.=Ящики для веревок могут вмещать веревки длиной от @1 до @2 метров.
|
||||||
|
|
||||||
|
### doc.lua ###
|
||||||
|
### ropeboxes.lua ###
|
||||||
|
|
||||||
|
Copper=Медный
|
||||||
|
Steel=Стальной
|
||||||
|
Wood=Древесный
|
||||||
|
|
||||||
|
### extendingladder.lua ###
|
||||||
|
|
||||||
|
#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE
|
||||||
|
Steel Extendable Ladder=Стальная раздвижная лестница
|
||||||
|
#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE
|
||||||
|
Steel Ladder=Стальная лестница
|
||||||
|
#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE
|
||||||
|
Wooden Extendable Ladder=Деревянная раздвижная лестница
|
||||||
|
#WARNING: AUTOTRANSLATED BY GOOGLE TRANSLATE
|
||||||
|
Wooden Ladder=Деревянная лестница
|
||||||
|
|
||||||
|
### ropeboxes.lua ###
|
||||||
|
|
||||||
|
@1 Ropebox @2m=@1 веревочный ящик @2м
|
||||||
|
Rope=Веревка
|
||||||
|
|
||||||
|
### ropeladder.lua ###
|
||||||
|
|
||||||
|
Rope Ladder=Веревочная лестница
|
@ -126,6 +126,8 @@ local function register_rope_block(multiple, max_multiple, name_prefix, node_pre
|
|||||||
walkable = false,
|
walkable = false,
|
||||||
climbable = true,
|
climbable = true,
|
||||||
tiles = rope_box_tiles(rope_box_data[multiple].tiles, tint),
|
tiles = rope_box_tiles(rope_box_data[multiple].tiles, tint),
|
||||||
|
use_texture_alpha = "clip",
|
||||||
|
is_ground_content = false,
|
||||||
node_box = {
|
node_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = rope_box_data[multiple].node
|
fixed = rope_box_data[multiple].node
|
||||||
@ -234,6 +236,8 @@ local rope_def = {
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
drop = "",
|
drop = "",
|
||||||
tiles = { "ropes_3.png", "ropes_3.png", "ropes_3.png", "ropes_3.png", "ropes_5.png", "ropes_5.png" },
|
tiles = { "ropes_3.png", "ropes_3.png", "ropes_3.png", "ropes_3.png", "ropes_5.png", "ropes_5.png" },
|
||||||
|
use_texture_alpha = "clip",
|
||||||
|
is_ground_content = false,
|
||||||
groups = {choppy=2, flammable=2, not_in_creative_inventory=1},
|
groups = {choppy=2, flammable=2, not_in_creative_inventory=1},
|
||||||
sounds = {
|
sounds = {
|
||||||
footstep = {name = "ropes_creak", gain = 0.8, max_hear_distance = 6},
|
footstep = {name = "ropes_creak", gain = 0.8, max_hear_distance = 6},
|
||||||
@ -268,6 +272,8 @@ local rope_bottom_def = {
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
drop = "",
|
drop = "",
|
||||||
tiles = { "ropes_3.png", "ropes_3.png", "ropes_3.png", "ropes_3.png", "ropes_5.png", "ropes_5.png" },
|
tiles = { "ropes_3.png", "ropes_3.png", "ropes_3.png", "ropes_3.png", "ropes_5.png", "ropes_5.png" },
|
||||||
|
use_texture_alpha = "clip",
|
||||||
|
is_ground_content = false,
|
||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
groups = {choppy=2, flammable=2, not_in_creative_inventory=1},
|
groups = {choppy=2, flammable=2, not_in_creative_inventory=1},
|
||||||
sounds = {
|
sounds = {
|
||||||
|
@ -27,6 +27,7 @@ local rope_ladder_top_def = {
|
|||||||
_doc_items_usagehelp = ropes.doc.ropeladder_usage,
|
_doc_items_usagehelp = ropes.doc.ropeladder_usage,
|
||||||
drawtype = "signlike",
|
drawtype = "signlike",
|
||||||
tiles = {"default_ladder_wood.png^ropes_ropeladder_top.png"},
|
tiles = {"default_ladder_wood.png^ropes_ropeladder_top.png"},
|
||||||
|
use_texture_alpha = "clip",
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
inventory_image = "default_ladder_wood.png^ropes_ropeladder_top.png",
|
inventory_image = "default_ladder_wood.png^ropes_ropeladder_top.png",
|
||||||
wield_image = "default_ladder_wood.png^ropes_ropeladder_top.png",
|
wield_image = "default_ladder_wood.png^ropes_ropeladder_top.png",
|
||||||
@ -89,6 +90,7 @@ minetest.register_node("ropes:ropeladder", {
|
|||||||
drop = "",
|
drop = "",
|
||||||
drawtype = "signlike",
|
drawtype = "signlike",
|
||||||
tiles = {"default_ladder_wood.png^ropes_ropeladder.png"},
|
tiles = {"default_ladder_wood.png^ropes_ropeladder.png"},
|
||||||
|
use_texture_alpha = "clip",
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
inventory_image = "default_ladder_wood.png^ropes_ropeladder.png",
|
inventory_image = "default_ladder_wood.png^ropes_ropeladder.png",
|
||||||
wield_image = "default_ladder_wood.png^ropes_ropeladder.png",
|
wield_image = "default_ladder_wood.png^ropes_ropeladder.png",
|
||||||
@ -119,6 +121,7 @@ minetest.register_node("ropes:ropeladder_bottom", {
|
|||||||
drop = "",
|
drop = "",
|
||||||
drawtype = "signlike",
|
drawtype = "signlike",
|
||||||
tiles = {"default_ladder_wood.png^ropes_ropeladder_bottom.png"},
|
tiles = {"default_ladder_wood.png^ropes_ropeladder_bottom.png"},
|
||||||
|
use_texture_alpha = "clip",
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
inventory_image = "default_ladder_wood.png^ropes_ropeladder_bottom.png",
|
inventory_image = "default_ladder_wood.png^ropes_ropeladder_bottom.png",
|
||||||
wield_image = "default_ladder_wood.png^ropes_ropeladder_bottom.png",
|
wield_image = "default_ladder_wood.png^ropes_ropeladder_bottom.png",
|
||||||
@ -153,6 +156,7 @@ minetest.register_node("ropes:ropeladder_falling", {
|
|||||||
drop = "",
|
drop = "",
|
||||||
drawtype = "signlike",
|
drawtype = "signlike",
|
||||||
tiles = {"default_ladder_wood.png^ropes_ropeladder.png"},
|
tiles = {"default_ladder_wood.png^ropes_ropeladder.png"},
|
||||||
|
use_texture_alpha = "clip",
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
inventory_image = "default_ladder_wood.png^ropes_ropeladder.png",
|
inventory_image = "default_ladder_wood.png^ropes_ropeladder.png",
|
||||||
wield_image = "default_ladder_wood.png^ropes_ropeladder.png",
|
wield_image = "default_ladder_wood.png^ropes_ropeladder.png",
|
||||||
|
BIN
textures/ropes_ropeladder_overlay.png
Normal file
BIN
textures/ropes_ropeladder_overlay.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 121 B |
Loading…
x
Reference in New Issue
Block a user