forked from minetest/minetest_game
Compare commits
19 Commits
experiment
...
5.7.0
Author | SHA1 | Date | |
---|---|---|---|
833ed77620 | |||
4c6e19968a | |||
446e56a879 | |||
34c1d3242d | |||
f49707c973 | |||
8dee348d97 | |||
aeb27c4db6 | |||
6921c9bbd1 | |||
8d60e85dfc | |||
2c1d9e1330 | |||
ec2f57db0e | |||
fdcf458b56 | |||
97130f4c1c | |||
26b2da2c08 | |||
8eb4437ac8 | |||
792bc6f6e5 | |||
c4cf1a6004 | |||
99a7193095 | |||
2e8ac46120 |
@ -1,3 +1,3 @@
|
|||||||
title = Notre Ami Le Cube 1.6
|
title = Minetest Game
|
||||||
author = Minetest and Sys4
|
author = Minetest
|
||||||
description = Minetest game slightly modified by Sys4
|
description = A basic exploration, mining, crafting, and building, sandbox game with no NPCs, monsters, or animals. Minetest Game is usually used with mods added, and many mods are available for this game. Reliably maintained by Minetest Engine core developers.
|
||||||
|
@ -49,6 +49,8 @@ Beds API
|
|||||||
* `beds.read_spawns() ` Returns a table containing players respawn positions
|
* `beds.read_spawns() ` Returns a table containing players respawn positions
|
||||||
* `beds.kick_players()` Forces all players to leave bed
|
* `beds.kick_players()` Forces all players to leave bed
|
||||||
* `beds.skip_night()` Sets world time to morning and saves respawn position of all players currently sleeping
|
* `beds.skip_night()` Sets world time to morning and saves respawn position of all players currently sleeping
|
||||||
|
* `beds.day_interval` Is a table with keys "start" and "finish". Allows you
|
||||||
|
to set the period of the day (timeofday format). Default: `{ start = 0.2, finish = 0.805 }`.
|
||||||
|
|
||||||
### Bed definition
|
### Bed definition
|
||||||
|
|
||||||
|
@ -1,76 +0,0 @@
|
|||||||
# This file contains settings of Minetest Game that can be changed in
|
|
||||||
# minetest.conf.
|
|
||||||
# By default, all the settings are commented and not functional.
|
|
||||||
# Uncomment settings by removing the preceding #.
|
|
||||||
|
|
||||||
# Whether creative mode (fast digging of all blocks, unlimited resources) should
|
|
||||||
# be enabled.
|
|
||||||
creative_mode = false
|
|
||||||
|
|
||||||
# Sets the behaviour of the inventory items when a player dies.
|
|
||||||
# bones: Store items in a bone node but drop items if inside protected area.
|
|
||||||
# drop: Drop items on the ground.
|
|
||||||
# keep: Player keeps items.
|
|
||||||
bones_mode = bones
|
|
||||||
|
|
||||||
# The time in seconds after which the bones of a dead player can be looted by
|
|
||||||
# everyone.
|
|
||||||
# 0 to disable.
|
|
||||||
share_bones_time = 1200
|
|
||||||
|
|
||||||
# How much earlier the bones of a dead player can be looted by
|
|
||||||
# everyone if the player dies in a protected area they don't own.
|
|
||||||
# 0 to disable. By default it is "share_bones_time" divide by four.
|
|
||||||
share_bones_time_early = 300
|
|
||||||
|
|
||||||
# Inform player of condition and location of new bones.
|
|
||||||
bones_position_message = true
|
|
||||||
|
|
||||||
# Whether fire should be enabled. If disabled, 'basic_flame' nodes will
|
|
||||||
# disappear.
|
|
||||||
# 'permanent_flame' nodes will remain with either setting.
|
|
||||||
enable_fire = false
|
|
||||||
|
|
||||||
# Enable flame sound.
|
|
||||||
flame_sound = true
|
|
||||||
|
|
||||||
# Whether lavacooling should be enabled.
|
|
||||||
enable_lavacooling = true
|
|
||||||
|
|
||||||
# Whether the stuff in initial_stuff should be given to new players.
|
|
||||||
give_initial_stuff = true
|
|
||||||
initial_stuff = default:axe_wood,default:torch 9,default:sapling 2,default:apple 5
|
|
||||||
|
|
||||||
# Whether the TNT mod should be enabled.
|
|
||||||
enable_tnt = true
|
|
||||||
|
|
||||||
# The radius of a TNT explosion.
|
|
||||||
tnt_radius = 3
|
|
||||||
|
|
||||||
# Enable the stairs mod ABM that replaces the old 'upside down'
|
|
||||||
# stair and slab nodes in old maps with the new param2 versions.
|
|
||||||
enable_stairs_replace_abm = false
|
|
||||||
|
|
||||||
# Whether to allow respawning in beds.
|
|
||||||
# Default value is true.
|
|
||||||
enable_bed_respawn = true
|
|
||||||
|
|
||||||
# Whether players can skip night by sleeping.
|
|
||||||
# Default value is true.
|
|
||||||
enable_bed_night_skip = true
|
|
||||||
|
|
||||||
# If enabled, fences and walls cannot be jumped over.
|
|
||||||
enable_fence_tall = true
|
|
||||||
|
|
||||||
# Whether the engine's spawn search, which does not check for a suitable
|
|
||||||
# starting biome, is used.
|
|
||||||
# Default value is false.
|
|
||||||
engine_spawn = false
|
|
||||||
|
|
||||||
# Whether river water source nodes create flowing sounds.
|
|
||||||
# Helps rivers create more sound, especially on level sections.
|
|
||||||
river_source_sounds = true
|
|
||||||
|
|
||||||
# Enable cloud variation by the 'weather' mod.
|
|
||||||
# Non-functional in V6 or Singlenode mapgens.
|
|
||||||
enable_weather = true
|
|
||||||
|
@ -186,7 +186,7 @@ function beds.on_rightclick(pos, player)
|
|||||||
local ppos = player:get_pos()
|
local ppos = player:get_pos()
|
||||||
local tod = minetest.get_timeofday()
|
local tod = minetest.get_timeofday()
|
||||||
|
|
||||||
if tod > 0.2 and tod < 0.805 then
|
if tod > beds.day_interval.start and tod < beds.day_interval.finish then
|
||||||
if beds.player[name] then
|
if beds.player[name] then
|
||||||
lay_down(player, nil, nil, false)
|
lay_down(player, nil, nil, false)
|
||||||
end
|
end
|
||||||
|
@ -16,6 +16,11 @@ beds.formspec = "size[8,11;true]" ..
|
|||||||
"bgcolor[#080808BB;true]" ..
|
"bgcolor[#080808BB;true]" ..
|
||||||
"button_exit[2,10;4,0.75;leave;" .. esc(S("Leave Bed")) .. "]"
|
"button_exit[2,10;4,0.75;leave;" .. esc(S("Leave Bed")) .. "]"
|
||||||
|
|
||||||
|
beds.day_interval = {
|
||||||
|
start = 0.2,
|
||||||
|
finish = 0.805,
|
||||||
|
}
|
||||||
|
|
||||||
local modpath = minetest.get_modpath("beds")
|
local modpath = minetest.get_modpath("beds")
|
||||||
|
|
||||||
-- Load files
|
-- Load files
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
# textdomain: beds
|
# textdomain: beds
|
||||||
Fancy Bed=Ranjang Mewah
|
Fancy Bed=Ranjang Mewah
|
||||||
Simple Bed=Ranjang Sederhana
|
Simple Bed=Ranjang Sederhana
|
||||||
This bed is already occupied!=
|
This bed is already occupied!=Ranjang telah terisi!
|
||||||
You have to stop moving before going to bed!=
|
You have to stop moving before going to bed!=Anda harus diam untuk tidur!
|
||||||
Good morning.=Selamat pagi.
|
Good morning.=Selamat pagi.
|
||||||
@1 of @2 players are in bed=@1 dari @2 pemain sedang tidur
|
@1 of @2 players are in bed=@1 dari @2 pemain sedang tidur
|
||||||
Force night skip=Paksa lewati malam
|
Force night skip=Paksa lewati malam
|
||||||
You can only sleep at night.=Anda hanya dapat tidur pada waktu malam.
|
You can only sleep at night.=Anda hanya bisa tidur pada waktu malam.
|
||||||
Leave Bed=Tinggalkan Ranjang
|
Leave Bed=Tinggalkan Ranjang
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
# textdomain: beds
|
# textdomain: beds
|
||||||
Fancy Bed=花式床
|
Fancy Bed=花式床
|
||||||
Simple Bed=簡易床
|
Simple Bed=簡易床
|
||||||
This bed is already occupied!=
|
This bed is already occupied!=這個床已經被占據了!
|
||||||
You have to stop moving before going to bed!=
|
You have to stop moving before going to bed!=你必須在上床前停止移動!
|
||||||
Good morning.=早安!
|
Good morning.=早安!
|
||||||
@1 of @2 players are in bed=@2位玩家中的@1位在床上
|
@1 of @2 players are in bed=@2位玩家中的@1位在床上
|
||||||
Force night skip=強制跳過夜晚
|
Force night skip=強制跳過夜晚
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
# textdomain: binoculars
|
# textdomain: binoculars
|
||||||
Binoculars=Teropong
|
Binoculars=Teropong
|
||||||
Use with 'Zoom' key=Pakai dengan tombol 'Zoom'
|
Use with 'Zoom' key=Pakai dengan tombol 'Zum'
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# textdomain: boats
|
# textdomain: boats
|
||||||
Boat cruise mode on=Режим путешествия на лодке включен
|
Boat cruise mode on=Автоход лодки включен
|
||||||
Boat cruise mode off=Режим путешествия на лодке выключен
|
Boat cruise mode off=Автоход лодки выключен
|
||||||
Boat=Лодка
|
Boat=Лодка
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
# textdomain: bones
|
# textdomain: bones
|
||||||
Bones=Ben
|
Bones=Ben
|
||||||
@1's old bones=@1s Gamla ben
|
@1's old bones=@1s Gamla ben
|
||||||
@1 died at @2.=@1 dog på @a.
|
@1 died at @2.=@1 dog på @2.
|
||||||
@1 died at @2, and dropped their inventory.=@1 dog på @a, och tappade deras saker.
|
@1 died at @2, and dropped their inventory.=@1 dog på @2, och tappade deras saker.
|
||||||
@1 died at @2, and bones were placed.=@1 dog på @2, och deras ben var placerade.
|
@1 died at @2, and bones were placed.=@1 dog på @2, och deras ben var placerade.
|
||||||
@1's fresh bones=@1s färska ben
|
@1's fresh bones=@1s färska ben
|
||||||
@1's bones=@1s ben
|
@1's bones=@1s ben
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# textdomain: bucket
|
# textdomain: bucket
|
||||||
Empty Bucket=空のバケツ
|
Empty Bucket=空のバケツ
|
||||||
Water Bucket=水入りバケツ
|
Water Bucket=水入りバケツ
|
||||||
River Water Bucket=川の水入りバケツ
|
River Water Bucket=河川水入りバケツ
|
||||||
Lava Bucket=溶岩入りバケツ
|
Lava Bucket=溶岩入りバケツ
|
||||||
|
@ -46,34 +46,36 @@ end
|
|||||||
dofile(minetest.get_modpath("creative") .. "/inventory.lua")
|
dofile(minetest.get_modpath("creative") .. "/inventory.lua")
|
||||||
|
|
||||||
if minetest.is_creative_enabled("") then
|
if minetest.is_creative_enabled("") then
|
||||||
-- Dig time is modified according to difference (leveldiff) between tool
|
minetest.register_on_mods_loaded(function()
|
||||||
-- 'maxlevel' and node 'level'. Digtime is divided by the larger of
|
-- Dig time is modified according to difference (leveldiff) between tool
|
||||||
-- leveldiff and 1.
|
-- 'maxlevel' and node 'level'. Digtime is divided by the larger of
|
||||||
-- To speed up digging in creative, hand 'maxlevel' and 'digtime' have been
|
-- leveldiff and 1.
|
||||||
-- increased such that nodes of differing levels have an insignificant
|
-- To speed up digging in creative, hand 'maxlevel' and 'digtime' have been
|
||||||
-- effect on digtime.
|
-- increased such that nodes of differing levels have an insignificant
|
||||||
local digtime = 42
|
-- effect on digtime.
|
||||||
local caps = {times = {digtime, digtime, digtime}, uses = 0, maxlevel = 256}
|
local digtime = 42
|
||||||
|
local caps = {times = {digtime, digtime, digtime}, uses = 0, maxlevel = 256}
|
||||||
|
|
||||||
-- Override the hand tool
|
-- Override the hand tool
|
||||||
minetest.override_item("", {
|
minetest.override_item("", {
|
||||||
range = 10,
|
range = 10,
|
||||||
tool_capabilities = {
|
tool_capabilities = {
|
||||||
full_punch_interval = 0.5,
|
full_punch_interval = 0.5,
|
||||||
max_drop_level = 3,
|
max_drop_level = 3,
|
||||||
groupcaps = {
|
groupcaps = {
|
||||||
crumbly = caps,
|
crumbly = caps,
|
||||||
cracky = caps,
|
cracky = caps,
|
||||||
snappy = caps,
|
snappy = caps,
|
||||||
choppy = caps,
|
choppy = caps,
|
||||||
oddly_breakable_by_hand = caps,
|
oddly_breakable_by_hand = caps,
|
||||||
-- dig_immediate group doesn't use value 1. Value 3 is instant dig
|
-- dig_immediate group doesn't use value 1. Value 3 is instant dig
|
||||||
dig_immediate =
|
dig_immediate =
|
||||||
{times = {[2] = digtime, [3] = 0}, uses = 0, maxlevel = 256},
|
{times = {[2] = digtime, [3] = 0}, uses = 0, maxlevel = 256},
|
||||||
},
|
},
|
||||||
damage_groups = {fleshy = 10},
|
damage_groups = {fleshy = 10},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Unlimited node placement
|
-- Unlimited node placement
|
||||||
|
@ -150,9 +150,10 @@ function creative.register_tab(name, title, items)
|
|||||||
creative.update_creative_inventory(player_name, items)
|
creative.update_creative_inventory(player_name, items)
|
||||||
local inv = player_inventory[player_name]
|
local inv = player_inventory[player_name]
|
||||||
local pagenum = math.floor(inv.start_i / (4*8) + 1)
|
local pagenum = math.floor(inv.start_i / (4*8) + 1)
|
||||||
local pagemax = math.ceil(inv.size / (4*8))
|
local pagemax = math.max(math.ceil(inv.size / (4*8)), 1)
|
||||||
local esc = minetest.formspec_escape
|
local esc = minetest.formspec_escape
|
||||||
return sfinv.make_formspec(player, context,
|
return sfinv.make_formspec(player, context,
|
||||||
|
(inv.size == 0 and ("label[3,2;"..esc(S("No items to show.")).."]") or "") ..
|
||||||
"label[5.8,4.15;" .. minetest.colorize("#FFFF00", tostring(pagenum)) .. " / " .. tostring(pagemax) .. "]" ..
|
"label[5.8,4.15;" .. minetest.colorize("#FFFF00", tostring(pagenum)) .. " / " .. tostring(pagemax) .. "]" ..
|
||||||
[[
|
[[
|
||||||
image[4.08,4.2;0.8,0.8;creative_trash_icon.png]
|
image[4.08,4.2;0.8,0.8;creative_trash_icon.png]
|
||||||
@ -160,7 +161,7 @@ function creative.register_tab(name, title, items)
|
|||||||
list[detached:trash;main;4.02,4.1;1,1;]
|
list[detached:trash;main;4.02,4.1;1,1;]
|
||||||
listring[]
|
listring[]
|
||||||
image_button[5,4.05;0.8,0.8;creative_prev_icon.png;creative_prev;]
|
image_button[5,4.05;0.8,0.8;creative_prev_icon.png;creative_prev;]
|
||||||
image_button[7.2,4.05;0.8,0.8;creative_next_icon.png;creative_next;]
|
image_button[7.25,4.05;0.8,0.8;creative_next_icon.png;creative_next;]
|
||||||
image_button[2.63,4.05;0.8,0.8;creative_search_icon.png;creative_search;]
|
image_button[2.63,4.05;0.8,0.8;creative_search_icon.png;creative_search;]
|
||||||
image_button[3.25,4.05;0.8,0.8;creative_clear_icon.png;creative_clear;]
|
image_button[3.25,4.05;0.8,0.8;creative_clear_icon.png;creative_clear;]
|
||||||
]] ..
|
]] ..
|
||||||
@ -191,10 +192,13 @@ function creative.register_tab(name, title, items)
|
|||||||
inv.start_i = 0
|
inv.start_i = 0
|
||||||
inv.filter = ""
|
inv.filter = ""
|
||||||
sfinv.set_player_inventory_formspec(player, context)
|
sfinv.set_player_inventory_formspec(player, context)
|
||||||
elseif fields.creative_search or
|
elseif (fields.creative_search or
|
||||||
fields.key_enter_field == "creative_filter" then
|
fields.key_enter_field == "creative_filter")
|
||||||
|
and fields.creative_filter then
|
||||||
inv.start_i = 0
|
inv.start_i = 0
|
||||||
inv.filter = fields.creative_filter:lower()
|
inv.filter = fields.creative_filter:sub(1, 128) -- truncate to a sane length
|
||||||
|
:gsub("[%z\1-\8\11-\31\127]", "") -- strip naughty control characters (keeps \t and \n)
|
||||||
|
:lower() -- search is case insensitive
|
||||||
sfinv.set_player_inventory_formspec(player, context)
|
sfinv.set_player_inventory_formspec(player, context)
|
||||||
elseif not fields.quit then
|
elseif not fields.quit then
|
||||||
local start_i = inv.start_i or 0
|
local start_i = inv.start_i or 0
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
name = creative
|
name = creative
|
||||||
description = Minetest Game mod: creative
|
description = Minetest Game mod: creative
|
||||||
depends = sfinv
|
depends = sfinv
|
||||||
optional_depends = default
|
|
||||||
|
@ -53,19 +53,22 @@ end
|
|||||||
default.chest.open_chests = {}
|
default.chest.open_chests = {}
|
||||||
|
|
||||||
minetest.register_on_player_receive_fields(function(player, formname, fields)
|
minetest.register_on_player_receive_fields(function(player, formname, fields)
|
||||||
if formname ~= "default:chest" then
|
|
||||||
return
|
|
||||||
end
|
|
||||||
if not player or not fields.quit then
|
|
||||||
return
|
|
||||||
end
|
|
||||||
local pn = player:get_player_name()
|
local pn = player:get_player_name()
|
||||||
|
|
||||||
if not default.chest.open_chests[pn] then
|
if formname ~= "default:chest" then
|
||||||
|
if default.chest.open_chests[pn] then
|
||||||
|
default.chest.chest_lid_close(pn)
|
||||||
|
end
|
||||||
|
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
if not (fields.quit and default.chest.open_chests[pn]) then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
default.chest.chest_lid_close(pn)
|
default.chest.chest_lid_close(pn)
|
||||||
|
|
||||||
return true
|
return true
|
||||||
end)
|
end)
|
||||||
|
|
||||||
@ -129,6 +132,12 @@ function default.chest.register_chest(prefixed_name, d)
|
|||||||
return itemstack
|
return itemstack
|
||||||
end
|
end
|
||||||
|
|
||||||
|
local cn = clicker:get_player_name()
|
||||||
|
|
||||||
|
if default.chest.open_chests[cn] then
|
||||||
|
default.chest.chest_lid_close(cn)
|
||||||
|
end
|
||||||
|
|
||||||
minetest.sound_play(def.sound_open, {gain = 0.3,
|
minetest.sound_play(def.sound_open, {gain = 0.3,
|
||||||
pos = pos, max_hear_distance = 10}, true)
|
pos = pos, max_hear_distance = 10}, true)
|
||||||
if not default.chest.chest_lid_obstructed(pos) then
|
if not default.chest.chest_lid_obstructed(pos) then
|
||||||
@ -136,10 +145,9 @@ function default.chest.register_chest(prefixed_name, d)
|
|||||||
{ name = name .. "_open",
|
{ name = name .. "_open",
|
||||||
param2 = node.param2 })
|
param2 = node.param2 })
|
||||||
end
|
end
|
||||||
minetest.after(0.2, minetest.show_formspec,
|
minetest.after(0.2, minetest.show_formspec, cn,
|
||||||
clicker:get_player_name(),
|
|
||||||
"default:chest", default.chest.get_chest_formspec(pos))
|
"default:chest", default.chest.get_chest_formspec(pos))
|
||||||
default.chest.open_chests[clicker:get_player_name()] = { pos = pos,
|
default.chest.open_chests[cn] = { pos = pos,
|
||||||
sound = def.sound_close, swap = name }
|
sound = def.sound_close, swap = name }
|
||||||
end
|
end
|
||||||
def.on_blast = function() end
|
def.on_blast = function() end
|
||||||
@ -200,6 +208,12 @@ function default.chest.register_chest(prefixed_name, d)
|
|||||||
return inv:is_empty("main")
|
return inv:is_empty("main")
|
||||||
end
|
end
|
||||||
def.on_rightclick = function(pos, node, clicker)
|
def.on_rightclick = function(pos, node, clicker)
|
||||||
|
local cn = clicker:get_player_name()
|
||||||
|
|
||||||
|
if default.chest.open_chests[cn] then
|
||||||
|
default.chest.chest_lid_close(cn)
|
||||||
|
end
|
||||||
|
|
||||||
minetest.sound_play(def.sound_open, {gain = 0.3, pos = pos,
|
minetest.sound_play(def.sound_open, {gain = 0.3, pos = pos,
|
||||||
max_hear_distance = 10}, true)
|
max_hear_distance = 10}, true)
|
||||||
if not default.chest.chest_lid_obstructed(pos) then
|
if not default.chest.chest_lid_obstructed(pos) then
|
||||||
@ -208,9 +222,9 @@ function default.chest.register_chest(prefixed_name, d)
|
|||||||
param2 = node.param2 })
|
param2 = node.param2 })
|
||||||
end
|
end
|
||||||
minetest.after(0.2, minetest.show_formspec,
|
minetest.after(0.2, minetest.show_formspec,
|
||||||
clicker:get_player_name(),
|
cn,
|
||||||
"default:chest", default.chest.get_chest_formspec(pos))
|
"default:chest", default.chest.get_chest_formspec(pos))
|
||||||
default.chest.open_chests[clicker:get_player_name()] = { pos = pos,
|
default.chest.open_chests[cn] = { pos = pos,
|
||||||
sound = def.sound_close, swap = name }
|
sound = def.sound_close, swap = name }
|
||||||
end
|
end
|
||||||
def.on_blast = function(pos)
|
def.on_blast = function(pos)
|
||||||
@ -274,6 +288,18 @@ function default.chest.register_chest(prefixed_name, d)
|
|||||||
end
|
end
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- close opened chests on load
|
||||||
|
minetest.register_lbm({
|
||||||
|
label = "close opened chests on load",
|
||||||
|
name = "default:close_" .. prefixed_name:gsub(":", "_") .. "_open",
|
||||||
|
nodenames = {prefixed_name .. "_open"},
|
||||||
|
run_at_every_load = true,
|
||||||
|
action = function(pos, node)
|
||||||
|
node.name = prefixed_name
|
||||||
|
minetest.swap_node(pos, node)
|
||||||
|
end
|
||||||
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
default.chest.register_chest("default:chest", {
|
default.chest.register_chest("default:chest", {
|
||||||
|
@ -148,7 +148,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
if fields.close then
|
if fields.quit then
|
||||||
book_writers[player_name] = nil
|
book_writers[player_name] = nil
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -179,6 +179,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
|
|||||||
data.description = S("\"@1\" by @2", short_title, data.owner)
|
data.description = S("\"@1\" by @2", short_title, data.owner)
|
||||||
data.text = fields.text:sub(1, max_text_size)
|
data.text = fields.text:sub(1, max_text_size)
|
||||||
data.text = data.text:gsub("\r\n", "\n"):gsub("\r", "\n")
|
data.text = data.text:gsub("\r\n", "\n"):gsub("\r", "\n")
|
||||||
|
data.text = data.text:gsub("[%z\1-\8\11-\31\127]", "") -- strip naughty control characters (keeps \t and \n)
|
||||||
data.page = 1
|
data.page = 1
|
||||||
data.page_max = math.ceil((#data.text:gsub("[^\n]", "") + 1) / lpp)
|
data.page_max = math.ceil((#data.text:gsub("[^\n]", "") + 1) / lpp)
|
||||||
|
|
||||||
|
@ -162,6 +162,7 @@ Empty Bookshelf=Malplena Librobreto
|
|||||||
Bookshelf (@1 written, @2 empty books)=Librobreto (@1 skriba(j), @2 malplena(j) libro(j))
|
Bookshelf (@1 written, @2 empty books)=Librobreto (@1 skriba(j), @2 malplena(j) libro(j))
|
||||||
Bookshelf=Librobreto
|
Bookshelf=Librobreto
|
||||||
Text too long=Tro longa teksto
|
Text too long=Tro longa teksto
|
||||||
|
"@1"=
|
||||||
Wooden Sign=Ligna Signo
|
Wooden Sign=Ligna Signo
|
||||||
Steel Sign=Ŝtala Signo
|
Steel Sign=Ŝtala Signo
|
||||||
Wooden Ladder=Ligna Ŝtupetaro
|
Wooden Ladder=Ligna Ŝtupetaro
|
||||||
@ -217,4 +218,3 @@ Torch=Torĉo
|
|||||||
##### not used anymore #####
|
##### not used anymore #####
|
||||||
|
|
||||||
Mese Post Light=Mesea Fosta Lampo
|
Mese Post Light=Mesea Fosta Lampo
|
||||||
|
|
||||||
|
@ -4,16 +4,16 @@ Locked Chest (owned by @1)=Peti Terkunci (milik @1)
|
|||||||
You do not own this chest.=Anda bukan pemilik peti ini.
|
You do not own this chest.=Anda bukan pemilik peti ini.
|
||||||
a locked chest=peti terkunci
|
a locked chest=peti terkunci
|
||||||
Chest=Peti
|
Chest=Peti
|
||||||
Write=
|
Write=Tulis
|
||||||
Read=
|
Read=Baca
|
||||||
Title:=Judul:
|
Title:=Judul:
|
||||||
Contents:=Isi:
|
Contents:=Isi:
|
||||||
Save=Simpan
|
Save=Simpan
|
||||||
by @1=oleh @1
|
by @1=oleh @1
|
||||||
Page @1 of @2=Halaman @1 dari @2
|
Page @1 of @2=Halaman @1 dari @2
|
||||||
The book you were writing to mysteriously disappeared.=
|
The book you were writing to mysteriously disappeared.=Buku yang Anda tulis menghilang secara misterius.
|
||||||
"@1" by @2="@1" oleh @2
|
"@1" by @2="@1" oleh @2
|
||||||
Blueberries=Blueberry
|
Blueberries=Bluberi
|
||||||
Book=Buku
|
Book=Buku
|
||||||
Book with Text=Buku Tertulis
|
Book with Text=Buku Tertulis
|
||||||
Bronze Ingot=Perunggu Batangan
|
Bronze Ingot=Perunggu Batangan
|
||||||
@ -38,7 +38,7 @@ Tin Lump=Bongkahan Timah
|
|||||||
Furnace is empty=Tungku kosong
|
Furnace is empty=Tungku kosong
|
||||||
100% (output full)=100% (keluaran penuh)
|
100% (output full)=100% (keluaran penuh)
|
||||||
@1%=@1%
|
@1%=@1%
|
||||||
Not cookable=Tidak dapat dimasak
|
Not cookable=Tidak bisa dimasak
|
||||||
Empty=Kosong
|
Empty=Kosong
|
||||||
Furnace active=Tungku nyala
|
Furnace active=Tungku nyala
|
||||||
Furnace inactive=Tungku mati
|
Furnace inactive=Tungku mati
|
||||||
@ -85,7 +85,7 @@ Clay=Tanah Liat
|
|||||||
Snow=Salju
|
Snow=Salju
|
||||||
Snow Block=Balok Salju
|
Snow Block=Balok Salju
|
||||||
Ice=Es
|
Ice=Es
|
||||||
Cave Ice=Gua Es
|
Cave Ice=Es Gua
|
||||||
Apple Tree=Pohon Apel
|
Apple Tree=Pohon Apel
|
||||||
Apple Wood Planks=Papan Kayu Pohon Apel
|
Apple Wood Planks=Papan Kayu Pohon Apel
|
||||||
Apple Tree Sapling=Anak Pohon Apel
|
Apple Tree Sapling=Anak Pohon Apel
|
||||||
@ -132,13 +132,13 @@ Jungle Grass=Rumput Rimba
|
|||||||
Grass=Rumput
|
Grass=Rumput
|
||||||
Savanna Grass=Rumput Sabana
|
Savanna Grass=Rumput Sabana
|
||||||
Fern=Pakis
|
Fern=Pakis
|
||||||
Marram Grass=Rumput Maram
|
Marram Grass=Rumput Pantai
|
||||||
Bush Stem=Batang Semak
|
Bush Stem=Batang Semak
|
||||||
Bush Leaves=Daun Semak
|
Bush Leaves=Daun Semak
|
||||||
Bush Sapling=Anak Semak
|
Bush Sapling=Anak Semak
|
||||||
Blueberry Bush Leaves with Berries=Daun Semak Blueberry Berbuah
|
Blueberry Bush Leaves with Berries=Daun Semak Bluberi Berbuah
|
||||||
Blueberry Bush Leaves=Daun Semak Blueberry
|
Blueberry Bush Leaves=Daun Semak Bluberi
|
||||||
Blueberry Bush Sapling=Anak Semak Blueberry
|
Blueberry Bush Sapling=Anak Semak Bluberi
|
||||||
Acacia Bush Stem=Batang Semak Akasia
|
Acacia Bush Stem=Batang Semak Akasia
|
||||||
Acacia Bush Leaves=Daun Semak Akasia
|
Acacia Bush Leaves=Daun Semak Akasia
|
||||||
Acacia Bush Sapling=Bibit Semak Akasia
|
Acacia Bush Sapling=Bibit Semak Akasia
|
||||||
@ -147,7 +147,7 @@ Pine Bush Needles=Daun Semak Pinus
|
|||||||
Pine Bush Sapling=Bibit Semak Pinus
|
Pine Bush Sapling=Bibit Semak Pinus
|
||||||
Kelp=Kelp
|
Kelp=Kelp
|
||||||
Green Coral=Koral Hijau
|
Green Coral=Koral Hijau
|
||||||
Pink Coral=Koral Jambon
|
Pink Coral=Koral Merah Muda
|
||||||
Cyan Coral=Koral Sian
|
Cyan Coral=Koral Sian
|
||||||
Brown Coral=Koral Cokelat
|
Brown Coral=Koral Cokelat
|
||||||
Orange Coral=Koral Oranye
|
Orange Coral=Koral Oranye
|
||||||
@ -181,18 +181,18 @@ Glass=Kaca
|
|||||||
Obsidian Glass=Kaca Obsidian
|
Obsidian Glass=Kaca Obsidian
|
||||||
Brick Block=Balok Bata
|
Brick Block=Balok Bata
|
||||||
Mese Lamp=Lampu Mese
|
Mese Lamp=Lampu Mese
|
||||||
Apple Wood Mese Post Light=
|
Apple Wood Mese Post Light=Lampu Taman Mese Kayu Apel
|
||||||
Acacia Wood Mese Post Light=
|
Acacia Wood Mese Post Light=Lampu Taman Mese Kayu Akasia
|
||||||
Jungle Wood Mese Post Light=
|
Jungle Wood Mese Post Light=Lampu Taman Mese Kayu Rimba
|
||||||
Pine Wood Mese Post Light=
|
Pine Wood Mese Post Light=Lampu Taman Mese Kayu Pinus
|
||||||
Aspen Wood Mese Post Light=
|
Aspen Wood Mese Post Light=Lampu Taman Mese Kayu Aspen
|
||||||
Cloud=Awan
|
Cloud=Awan
|
||||||
Wooden Pickaxe=Gancu Kayu
|
Wooden Pickaxe=Belencong Kayu
|
||||||
Stone Pickaxe=Gancu Batu
|
Stone Pickaxe=Belencong Batu
|
||||||
Bronze Pickaxe=Gancu Perunggu
|
Bronze Pickaxe=Belencong Perunggu
|
||||||
Steel Pickaxe=Gancu Baja
|
Steel Pickaxe=Belencong Baja
|
||||||
Mese Pickaxe=Gancu Mese
|
Mese Pickaxe=Belencong Mese
|
||||||
Diamond Pickaxe=Gancu Berlian
|
Diamond Pickaxe=Belencong Berlian
|
||||||
Wooden Shovel=Sekop Kayu
|
Wooden Shovel=Sekop Kayu
|
||||||
Stone Shovel=Sekop Batu
|
Stone Shovel=Sekop Batu
|
||||||
Bronze Shovel=Sekop Perunggu
|
Bronze Shovel=Sekop Perunggu
|
||||||
|
@ -4,37 +4,37 @@ Locked Chest (owned by @1)=鍵のかかったチェスト(@1所有)
|
|||||||
You do not own this chest.=あなたはこのチェストの所有者ではありません。
|
You do not own this chest.=あなたはこのチェストの所有者ではありません。
|
||||||
a locked chest=ロックされたチェスト
|
a locked chest=ロックされたチェスト
|
||||||
Chest=チェスト
|
Chest=チェスト
|
||||||
Write=
|
Write=書き込む
|
||||||
Read=
|
Read=読む
|
||||||
Title:=題名
|
Title:=題名
|
||||||
Contents:=内容
|
Contents:=内容
|
||||||
Save=保存
|
Save=保存
|
||||||
by @1=@1著
|
by @1=@1著
|
||||||
Page @1 of @2=@1 / @2 ページ
|
Page @1 of @2=@1 / @2 ページ
|
||||||
The book you were writing to mysteriously disappeared.=
|
The book you were writing to mysteriously disappeared.=あなたが書いていた本が、不思議なことに消えました。
|
||||||
"@1" by @2=@2著「@1」
|
"@1" by @2=@2著「@1」
|
||||||
Blueberries=ブルーベリー
|
Blueberries=ブルーベリー
|
||||||
Book=本
|
Book=本
|
||||||
Book with Text=テキストが書かれた本
|
Book with Text=記入済みの本
|
||||||
Bronze Ingot=青銅インゴット
|
Bronze Ingot=青銅インゴット
|
||||||
Clay Brick=粘土レンガ
|
Clay Brick=粘土レンガ
|
||||||
Clay Lump=粘土の塊
|
Clay Lump=粘土玉
|
||||||
Coal Lump=石炭
|
Coal Lump=石炭
|
||||||
Copper Ingot=銅インゴット
|
Copper Ingot=銅インゴット
|
||||||
Copper Lump=銅の塊
|
Copper Lump=銅の粗鉱
|
||||||
Diamond=ダイヤモンド
|
Diamond=ダイヤモンド
|
||||||
Flint=火打ち石
|
Flint=火打ち石
|
||||||
Gold Ingot=金インゴット
|
Gold Ingot=金インゴット
|
||||||
Gold Lump=金の塊
|
Gold Lump=金の粗鉱
|
||||||
Iron Lump=鉄の塊
|
Iron Lump=鉄の粗鉱
|
||||||
Mese Crystal=メセクリスタル
|
Mese Crystal=メセクリスタル
|
||||||
Mese Crystal Fragment=メセクリスタルの破片
|
Mese Crystal Fragment=メセクリスタルの破片
|
||||||
Obsidian Shard=黒曜石の破片
|
Obsidian Shard=黒曜石の欠片
|
||||||
Paper=紙
|
Paper=紙
|
||||||
Steel Ingot=鉄インゴット
|
Steel Ingot=鉄インゴット
|
||||||
Stick=棒
|
Stick=棒
|
||||||
Tin Ingot=スズインゴット
|
Tin Ingot=スズインゴット
|
||||||
Tin Lump=スズの塊
|
Tin Lump=スズの粗鉱
|
||||||
Furnace is empty=かまどは空です
|
Furnace is empty=かまどは空です
|
||||||
100% (output full)=100%(フル出力)
|
100% (output full)=100%(フル出力)
|
||||||
@1%=@1%
|
@1%=@1%
|
||||||
@ -59,70 +59,70 @@ Sandstone Block=砂岩ブロック
|
|||||||
Desert Sandstone=砂漠の砂岩
|
Desert Sandstone=砂漠の砂岩
|
||||||
Desert Sandstone Brick=砂漠の砂岩レンガ
|
Desert Sandstone Brick=砂漠の砂岩レンガ
|
||||||
Desert Sandstone Block=砂漠の砂岩ブロック
|
Desert Sandstone Block=砂漠の砂岩ブロック
|
||||||
Silver Sandstone=銀の砂岩
|
Silver Sandstone=銀色の砂岩
|
||||||
Silver Sandstone Brick=銀の砂岩レンガ
|
Silver Sandstone Brick=銀色の砂岩レンガ
|
||||||
Silver Sandstone Block=銀の砂岩ブロック
|
Silver Sandstone Block=銀色の砂岩ブロック
|
||||||
Obsidian=黒曜石
|
Obsidian=黒曜石
|
||||||
Obsidian Brick=黒曜石レンガ
|
Obsidian Brick=黒曜石レンガ
|
||||||
Obsidian Block=黒曜石ブロック
|
Obsidian Block=黒曜石ブロック
|
||||||
Dirt=土
|
Dirt=土
|
||||||
Dirt with Grass=草のついた土
|
Dirt with Grass=草に覆われた土
|
||||||
Dirt with Grass and Footsteps=足あとと草のついた土
|
Dirt with Grass and Footsteps=足跡と草に覆われた土
|
||||||
Dirt with Savanna Grass=サバンナの草のついた土
|
Dirt with Savanna Grass=サバンナの草に覆われた土
|
||||||
Dirt with Snow=雪のついた土
|
Dirt with Snow=雪に覆われた土
|
||||||
Dirt with Rainforest Litter=熱帯雨林のよごれた土
|
Dirt with Rainforest Litter=熱帯雨林の落葉に覆われた土
|
||||||
Dirt with Coniferous Litter=針葉樹のよごれた土
|
Dirt with Coniferous Litter=針葉樹の落葉に覆われた土
|
||||||
Savanna Dirt=サバンナの土
|
Savanna Dirt=サバンナの土
|
||||||
Savanna Dirt with Savanna Grass=サバンナの草のついたサバンナの土
|
Savanna Dirt with Savanna Grass=サバンナの草に覆われたサバンナの土
|
||||||
Permafrost=永久凍土
|
Permafrost=永久凍土
|
||||||
Permafrost with Stones=石のついた永久凍土
|
Permafrost with Stones=石に覆われた永久凍土
|
||||||
Permafrost with Moss=苔のついた永久凍土
|
Permafrost with Moss=苔に覆われた永久凍土
|
||||||
Sand=砂
|
Sand=砂
|
||||||
Desert Sand=砂漠の砂
|
Desert Sand=砂漠の砂
|
||||||
Silver Sand=銀の砂
|
Silver Sand=銀色の砂
|
||||||
Gravel=砂利
|
Gravel=砂利
|
||||||
Clay=粘土
|
Clay=粘土
|
||||||
Snow=雪
|
Snow=雪
|
||||||
Snow Block=雪ブロック
|
Snow Block=雪ブロック
|
||||||
Ice=氷
|
Ice=氷
|
||||||
Cave Ice=洞窟の氷
|
Cave Ice=洞窟の氷
|
||||||
Apple Tree=リンゴの木
|
Apple Tree=リンゴの原木
|
||||||
Apple Wood Planks=リンゴの板材
|
Apple Wood Planks=リンゴの木の板材
|
||||||
Apple Tree Sapling=リンゴの苗木
|
Apple Tree Sapling=リンゴの木の苗木
|
||||||
Apple Tree Leaves=リンゴの葉
|
Apple Tree Leaves=リンゴの木の葉
|
||||||
Apple=リンゴ
|
Apple=リンゴ
|
||||||
Apple Marker=リンゴのマーカー
|
Apple Marker=リンゴのマーカー
|
||||||
Jungle Tree=ジャングルの木
|
Jungle Tree=ジャングルの原木
|
||||||
Jungle Wood Planks=ジャングルの板材
|
Jungle Wood Planks=ジャングルの木の板材
|
||||||
Jungle Tree Leaves=ジャングルの木の葉
|
Jungle Tree Leaves=ジャングルの木の葉
|
||||||
Jungle Tree Sapling=ジャングルの木の苗木
|
Jungle Tree Sapling=ジャングルの木の苗木
|
||||||
Emergent Jungle Tree Sapling=新芽のジャングルの木の苗木
|
Emergent Jungle Tree Sapling=ジャングルの超高木の苗木
|
||||||
Pine Tree=マツの木
|
Pine Tree=マツの原木
|
||||||
Pine Wood Planks=マツの板材
|
Pine Wood Planks=マツの木の板材
|
||||||
Pine Needles=マツの葉
|
Pine Needles=マツの木の葉
|
||||||
Pine Tree Sapling=マツの苗木
|
Pine Tree Sapling=マツの木の苗木
|
||||||
Acacia Tree=アカシアの木
|
Acacia Tree=アカシアの原木
|
||||||
Acacia Wood Planks=アカシアの板材
|
Acacia Wood Planks=アカシアの木の板材
|
||||||
Acacia Tree Leaves=アカシアの葉
|
Acacia Tree Leaves=アカシアの木の葉
|
||||||
Acacia Tree Sapling=アカシアの苗木
|
Acacia Tree Sapling=アカシアの木の苗木
|
||||||
Aspen Tree=ポプラの木
|
Aspen Tree=ポプラの原木
|
||||||
Aspen Wood Planks=ポプラの板材
|
Aspen Wood Planks=ポプラの木の板材
|
||||||
Aspen Tree Leaves=ポプラの葉
|
Aspen Tree Leaves=ポプラの木の葉
|
||||||
Aspen Tree Sapling=ポプラの苗木
|
Aspen Tree Sapling=ポプラの木の苗木
|
||||||
Coal Ore=石炭鉱石
|
Coal Ore=石炭鉱石
|
||||||
Coal Block=石炭ブロック
|
Coal Block=石炭ブロック
|
||||||
Iron Ore=鉄の鉱石
|
Iron Ore=鉄鉱石
|
||||||
Steel Block=鉄ブロック
|
Steel Block=鉄ブロック
|
||||||
Copper Ore=銅の鉱石
|
Copper Ore=銅鉱石
|
||||||
Copper Block=銅ブロック
|
Copper Block=銅ブロック
|
||||||
Tin Ore=スズの鉱石
|
Tin Ore=スズ鉱石
|
||||||
Tin Block=スズブロック
|
Tin Block=スズブロック
|
||||||
Bronze Block=青銅ブロック
|
Bronze Block=青銅ブロック
|
||||||
Mese Ore=メセ鉱石
|
Mese Ore=メセ鉱石
|
||||||
Mese Block=メセブロック
|
Mese Block=メセブロック
|
||||||
Gold Ore=金の鉱石
|
Gold Ore=金鉱石
|
||||||
Gold Block=金ブロック
|
Gold Block=金ブロック
|
||||||
Diamond Ore=ダイヤモンドの鉱石
|
Diamond Ore=ダイヤモンド鉱石
|
||||||
Diamond Block=ダイヤモンドブロック
|
Diamond Block=ダイヤモンドブロック
|
||||||
Cactus=サボテン
|
Cactus=サボテン
|
||||||
Large Cactus Seedling=大きなサボテンの苗
|
Large Cactus Seedling=大きなサボテンの苗
|
||||||
@ -136,7 +136,7 @@ Marram Grass=マラムの草
|
|||||||
Bush Stem=低木の幹
|
Bush Stem=低木の幹
|
||||||
Bush Leaves=低木の葉
|
Bush Leaves=低木の葉
|
||||||
Bush Sapling=低木の苗木
|
Bush Sapling=低木の苗木
|
||||||
Blueberry Bush Leaves with Berries=ブルーベリーの低木と実
|
Blueberry Bush Leaves with Berries=ブルーベリーの実った低木
|
||||||
Blueberry Bush Leaves=ブルーベリーの低木の葉
|
Blueberry Bush Leaves=ブルーベリーの低木の葉
|
||||||
Blueberry Bush Sapling=ブルーベリーの低木の苗木
|
Blueberry Bush Sapling=ブルーベリーの低木の苗木
|
||||||
Acacia Bush Stem=アカシアの低木の幹
|
Acacia Bush Stem=アカシアの低木の幹
|
||||||
@ -153,9 +153,9 @@ Brown Coral=茶色のサンゴ
|
|||||||
Orange Coral=橙色のサンゴ
|
Orange Coral=橙色のサンゴ
|
||||||
Coral Skeleton=サンゴのしがい
|
Coral Skeleton=サンゴのしがい
|
||||||
Water Source=水源
|
Water Source=水源
|
||||||
Flowing Water=水流
|
Flowing Water=流れる水
|
||||||
River Water Source=川の水源
|
River Water Source=河川水源
|
||||||
Flowing River Water=川の水流
|
Flowing River Water=流れる河川水
|
||||||
Lava Source=溶岩
|
Lava Source=溶岩
|
||||||
Flowing Lava=流れる溶岩
|
Flowing Lava=流れる溶岩
|
||||||
Empty Bookshelf=空の本棚
|
Empty Bookshelf=空の本棚
|
||||||
@ -163,49 +163,49 @@ Bookshelf (@1 written, @2 empty books)=本棚(記述済み @1 冊, 未記述 @2
|
|||||||
Bookshelf=本棚
|
Bookshelf=本棚
|
||||||
Text too long=テキストが長すぎます
|
Text too long=テキストが長すぎます
|
||||||
"@1"=「@1」
|
"@1"=「@1」
|
||||||
Wooden Sign=木の看板
|
Wooden Sign=木製の看板
|
||||||
Steel Sign=鉄の看板
|
Steel Sign=鉄の看板
|
||||||
Wooden Ladder=木のはしご
|
Wooden Ladder=木製のはしご
|
||||||
Steel Ladder=鉄のはしご
|
Steel Ladder=鉄のはしご
|
||||||
Apple Wood Fence=リンゴのフェンス
|
Apple Wood Fence=リンゴ材のフェンス
|
||||||
Acacia Wood Fence=アカシアのフェンス
|
Acacia Wood Fence=アカシア材のフェンス
|
||||||
Jungle Wood Fence=ジャングルのフェンス
|
Jungle Wood Fence=ジャングル材のフェンス
|
||||||
Pine Wood Fence=マツのフェンス
|
Pine Wood Fence=マツ材のフェンス
|
||||||
Aspen Wood Fence=ポプラのフェンス
|
Aspen Wood Fence=ポプラ材のフェンス
|
||||||
Apple Wood Fence Rail=リンゴのフェンスレール
|
Apple Wood Fence Rail=リンゴ材のフェンスレール
|
||||||
Acacia Wood Fence Rail=アカシアのフェンスレール
|
Acacia Wood Fence Rail=アカシア材のフェンスレール
|
||||||
Jungle Wood Fence Rail=ジャングルのフェンスレール
|
Jungle Wood Fence Rail=ジャングル材のフェンスレール
|
||||||
Pine Wood Fence Rail=マツのフェンスレール
|
Pine Wood Fence Rail=マツ材のフェンスレール
|
||||||
Aspen Wood Fence Rail=ポプラのフェンスレール
|
Aspen Wood Fence Rail=ポプラ材のフェンスレール
|
||||||
Glass=ガラス
|
Glass=ガラス
|
||||||
Obsidian Glass=黒曜石のガラス
|
Obsidian Glass=黒曜石ガラス
|
||||||
Brick Block=レンガブロック
|
Brick Block=レンガブロック
|
||||||
Mese Lamp=メセの塊
|
Mese Lamp=メセのランプ
|
||||||
Apple Wood Mese Post Light=リンゴのメセ灯柱
|
Apple Wood Mese Post Light=リンゴ材のメセ灯柱
|
||||||
Acacia Wood Mese Post Light=アカシアのメセ灯柱
|
Acacia Wood Mese Post Light=アカシア材のメセ灯柱
|
||||||
Jungle Wood Mese Post Light=ジャングルのメセ灯柱
|
Jungle Wood Mese Post Light=ジャングル材のメセ灯柱
|
||||||
Pine Wood Mese Post Light=マツのメセ灯柱
|
Pine Wood Mese Post Light=マツ材のメセ灯柱
|
||||||
Aspen Wood Mese Post Light=ポプラのメセ灯柱
|
Aspen Wood Mese Post Light=ポプラ材のメセ灯柱
|
||||||
Cloud=雲
|
Cloud=雲
|
||||||
Wooden Pickaxe=木のつるはし
|
Wooden Pickaxe=木製のツルハシ
|
||||||
Stone Pickaxe=石のつるはし
|
Stone Pickaxe=石のツルハシ
|
||||||
Bronze Pickaxe=青銅のつるはし
|
Bronze Pickaxe=青銅のツルハシ
|
||||||
Steel Pickaxe=鉄のつるはし
|
Steel Pickaxe=鉄のツルハシ
|
||||||
Mese Pickaxe=メセのつるはし
|
Mese Pickaxe=メセのツルハシ
|
||||||
Diamond Pickaxe=ダイヤモンドのつるはし
|
Diamond Pickaxe=ダイヤモンドのツルハシ
|
||||||
Wooden Shovel=木のシャベル
|
Wooden Shovel=木製のシャベル
|
||||||
Stone Shovel=石のシャベル
|
Stone Shovel=石のシャベル
|
||||||
Bronze Shovel=青銅のシャベル
|
Bronze Shovel=青銅のシャベル
|
||||||
Steel Shovel=鉄のシャベル
|
Steel Shovel=鉄のシャベル
|
||||||
Mese Shovel=メセのシャベル
|
Mese Shovel=メセのシャベル
|
||||||
Diamond Shovel=ダイヤモンドのシャベル
|
Diamond Shovel=ダイヤモンドのシャベル
|
||||||
Wooden Axe=木の斧
|
Wooden Axe=木製の斧
|
||||||
Stone Axe=石の斧
|
Stone Axe=石の斧
|
||||||
Bronze Axe=青銅の斧
|
Bronze Axe=青銅の斧
|
||||||
Steel Axe=鉄の斧
|
Steel Axe=鉄の斧
|
||||||
Mese Axe=メセの斧
|
Mese Axe=メセの斧
|
||||||
Diamond Axe=ダイヤモンドの斧
|
Diamond Axe=ダイヤモンドの斧
|
||||||
Wooden Sword=木の剣
|
Wooden Sword=木製の剣
|
||||||
Stone Sword=石の剣
|
Stone Sword=石の剣
|
||||||
Bronze Sword=青銅の剣
|
Bronze Sword=青銅の剣
|
||||||
Steel Sword=鉄の剣
|
Steel Sword=鉄の剣
|
||||||
|
@ -4,14 +4,14 @@ Locked Chest (owned by @1)=已上锁的箱子(属于@1)
|
|||||||
You do not own this chest.=这个箱子不属于你所有。
|
You do not own this chest.=这个箱子不属于你所有。
|
||||||
a locked chest=一个已上锁的箱子
|
a locked chest=一个已上锁的箱子
|
||||||
Chest=箱子
|
Chest=箱子
|
||||||
Write=
|
Write=写
|
||||||
Read=
|
Read=读
|
||||||
Title:=标题:
|
Title:=标题:
|
||||||
Contents:=内容:
|
Contents:=内容:
|
||||||
Save=保存
|
Save=保存
|
||||||
by @1=由@1
|
by @1=由@1
|
||||||
Page @1 of @2=第@1页,共@2页。
|
Page @1 of @2=第@1页,共@2页。
|
||||||
The book you were writing to mysteriously disappeared.=
|
The book you were writing to mysteriously disappeared.=你正在写的书不知为何消失了。
|
||||||
"@1" by @2="@1" by @2
|
"@1" by @2="@1" by @2
|
||||||
Blueberries=蓝莓
|
Blueberries=蓝莓
|
||||||
Book=书
|
Book=书
|
||||||
|
@ -4,14 +4,14 @@ Locked Chest (owned by @1)=已上鎖的箱子(屬於@1所有)
|
|||||||
You do not own this chest.=這個箱子不屬於你所有。
|
You do not own this chest.=這個箱子不屬於你所有。
|
||||||
a locked chest=一個已上鎖的箱子
|
a locked chest=一個已上鎖的箱子
|
||||||
Chest=箱子
|
Chest=箱子
|
||||||
Write=
|
Write=寫
|
||||||
Read=
|
Read=讀
|
||||||
Title:=標題:
|
Title:=標題:
|
||||||
Contents:=內容:
|
Contents:=內容:
|
||||||
Save=保存
|
Save=保存
|
||||||
by @1=由@1
|
by @1=由@1
|
||||||
Page @1 of @2=第@1頁,共@2頁。
|
Page @1 of @2=第@1頁,共@2頁。
|
||||||
The book you were writing to mysteriously disappeared.=
|
The book you were writing to mysteriously disappeared.=你正在寫的書神秘消失了。
|
||||||
"@1" by @2="@1" by @2
|
"@1" by @2="@1" by @2
|
||||||
Blueberries=藍莓
|
Blueberries=藍莓
|
||||||
Book=書
|
Book=書
|
||||||
|
@ -2597,12 +2597,12 @@ local function register_sign(material, desc, def)
|
|||||||
if not text then
|
if not text then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
if string.len(text) > 512 then
|
if #text > 512 then
|
||||||
minetest.chat_send_player(player_name, S("Text too long"))
|
minetest.chat_send_player(player_name, S("Text too long"))
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
default.log_player_action(sender, "wrote \"" .. text ..
|
text = text:gsub("[%z-\8\11-\31\127]", "") -- strip naughty control characters (keeps \t and \n)
|
||||||
"\" to the sign at", pos)
|
default.log_player_action(sender, ("wrote %q to the sign at"):format(text), pos)
|
||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
meta:set_string("text", text)
|
meta:set_string("text", text)
|
||||||
|
|
||||||
|
BIN
mods/default/sounds/default_break_glass.1.ogg
Executable file → Normal file
BIN
mods/default/sounds/default_break_glass.1.ogg
Executable file → Normal file
Binary file not shown.
BIN
mods/default/sounds/default_break_glass.2.ogg
Executable file → Normal file
BIN
mods/default/sounds/default_break_glass.2.ogg
Executable file → Normal file
Binary file not shown.
BIN
mods/default/sounds/default_break_glass.3.ogg
Executable file → Normal file
BIN
mods/default/sounds/default_break_glass.3.ogg
Executable file → Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
mods/default/sounds/default_cool_lava.1.ogg
Executable file → Normal file
BIN
mods/default/sounds/default_cool_lava.1.ogg
Executable file → Normal file
Binary file not shown.
BIN
mods/default/sounds/default_cool_lava.2.ogg
Executable file → Normal file
BIN
mods/default/sounds/default_cool_lava.2.ogg
Executable file → Normal file
Binary file not shown.
BIN
mods/default/sounds/default_cool_lava.3.ogg
Executable file → Normal file
BIN
mods/default/sounds/default_cool_lava.3.ogg
Executable file → Normal file
Binary file not shown.
BIN
mods/default/sounds/default_dig_crumbly.ogg
Executable file → Normal file
BIN
mods/default/sounds/default_dig_crumbly.ogg
Executable file → Normal file
Binary file not shown.
BIN
mods/default/sounds/default_dig_dig_immediate.ogg
Executable file → Normal file
BIN
mods/default/sounds/default_dig_dig_immediate.ogg
Executable file → Normal file
Binary file not shown.
BIN
mods/default/sounds/default_dig_oddly_breakable_by_hand.ogg
Executable file → Normal file
BIN
mods/default/sounds/default_dig_oddly_breakable_by_hand.ogg
Executable file → Normal file
Binary file not shown.
Binary file not shown.
BIN
mods/default/sounds/default_dirt_footstep.1.ogg
Executable file → Normal file
BIN
mods/default/sounds/default_dirt_footstep.1.ogg
Executable file → Normal file
Binary file not shown.
BIN
mods/default/sounds/default_dirt_footstep.2.ogg
Executable file → Normal file
BIN
mods/default/sounds/default_dirt_footstep.2.ogg
Executable file → Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
mods/default/sounds/default_dug_node.1.ogg
Executable file → Normal file
BIN
mods/default/sounds/default_dug_node.1.ogg
Executable file → Normal file
Binary file not shown.
BIN
mods/default/sounds/default_dug_node.2.ogg
Executable file → Normal file
BIN
mods/default/sounds/default_dug_node.2.ogg
Executable file → Normal file
Binary file not shown.
BIN
mods/default/sounds/default_glass_footstep.ogg
Executable file → Normal file
BIN
mods/default/sounds/default_glass_footstep.ogg
Executable file → Normal file
Binary file not shown.
BIN
mods/default/sounds/default_grass_footstep.1.ogg
Executable file → Normal file
BIN
mods/default/sounds/default_grass_footstep.1.ogg
Executable file → Normal file
Binary file not shown.
BIN
mods/default/sounds/default_grass_footstep.2.ogg
Executable file → Normal file
BIN
mods/default/sounds/default_grass_footstep.2.ogg
Executable file → Normal file
Binary file not shown.
BIN
mods/default/sounds/default_grass_footstep.3.ogg
Executable file → Normal file
BIN
mods/default/sounds/default_grass_footstep.3.ogg
Executable file → Normal file
Binary file not shown.
Binary file not shown.
BIN
mods/default/sounds/default_gravel_footstep.1.ogg
Executable file → Normal file
BIN
mods/default/sounds/default_gravel_footstep.1.ogg
Executable file → Normal file
Binary file not shown.
BIN
mods/default/sounds/default_gravel_footstep.2.ogg
Executable file → Normal file
BIN
mods/default/sounds/default_gravel_footstep.2.ogg
Executable file → Normal file
Binary file not shown.
BIN
mods/default/sounds/default_gravel_footstep.3.ogg
Executable file → Normal file
BIN
mods/default/sounds/default_gravel_footstep.3.ogg
Executable file → Normal file
Binary file not shown.
BIN
mods/default/sounds/default_gravel_footstep.4.ogg
Executable file → Normal file
BIN
mods/default/sounds/default_gravel_footstep.4.ogg
Executable file → Normal file
Binary file not shown.
Binary file not shown.
BIN
mods/default/sounds/default_place_node.1.ogg
Executable file → Normal file
BIN
mods/default/sounds/default_place_node.1.ogg
Executable file → Normal file
Binary file not shown.
BIN
mods/default/sounds/default_place_node.2.ogg
Executable file → Normal file
BIN
mods/default/sounds/default_place_node.2.ogg
Executable file → Normal file
Binary file not shown.
BIN
mods/default/sounds/default_place_node.3.ogg
Executable file → Normal file
BIN
mods/default/sounds/default_place_node.3.ogg
Executable file → Normal file
Binary file not shown.
BIN
mods/default/sounds/default_place_node_hard.1.ogg
Executable file → Normal file
BIN
mods/default/sounds/default_place_node_hard.1.ogg
Executable file → Normal file
Binary file not shown.
BIN
mods/default/sounds/default_place_node_hard.2.ogg
Executable file → Normal file
BIN
mods/default/sounds/default_place_node_hard.2.ogg
Executable file → Normal file
Binary file not shown.
0
mods/default/sounds/default_snow_footstep.1.ogg
Executable file → Normal file
0
mods/default/sounds/default_snow_footstep.1.ogg
Executable file → Normal file
0
mods/default/sounds/default_snow_footstep.2.ogg
Executable file → Normal file
0
mods/default/sounds/default_snow_footstep.2.ogg
Executable file → Normal file
0
mods/default/sounds/default_snow_footstep.3.ogg
Executable file → Normal file
0
mods/default/sounds/default_snow_footstep.3.ogg
Executable file → Normal file
0
mods/default/sounds/default_snow_footstep.4.ogg
Executable file → Normal file
0
mods/default/sounds/default_snow_footstep.4.ogg
Executable file → Normal file
BIN
mods/default/sounds/default_wood_footstep.1.ogg
Executable file → Normal file
BIN
mods/default/sounds/default_wood_footstep.1.ogg
Executable file → Normal file
Binary file not shown.
BIN
mods/default/sounds/default_wood_footstep.2.ogg
Executable file → Normal file
BIN
mods/default/sounds/default_wood_footstep.2.ogg
Executable file → Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -3,16 +3,16 @@ Hidden Door Segment=隠しドアの区切り
|
|||||||
Owned by @1=所有者 @1
|
Owned by @1=所有者 @1
|
||||||
You do not own this locked door.=あなたはこのロックされたドアの所有者ではありません。
|
You do not own this locked door.=あなたはこのロックされたドアの所有者ではありません。
|
||||||
a locked door=ロックされたドア
|
a locked door=ロックされたドア
|
||||||
Wooden Door=木のドア
|
Wooden Door=木製のドア
|
||||||
Steel Door=鉄のドア
|
Steel Door=鉄のドア
|
||||||
Glass Door=ガラスのドア
|
Glass Door=ガラスのドア
|
||||||
Obsidian Glass Door=黒曜石のガラスのドア
|
Obsidian Glass Door=黒曜石ガラスのドア
|
||||||
You do not own this trapdoor.=あなたはこのトラップドアの所有者ではありません。
|
You do not own this trapdoor.=あなたはこのトラップドアの所有者ではありません。
|
||||||
a locked trapdoor=ロックされたトラップドア
|
a locked trapdoor=ロックされたトラップドア
|
||||||
Wooden Trapdoor=木のトラップドア
|
Wooden Trapdoor=木製のトラップドア
|
||||||
Steel Trapdoor=鉄のトラップドア
|
Steel Trapdoor=鉄のトラップドア
|
||||||
Apple Wood Fence Gate=リンゴのフェンスゲート
|
Apple Wood Fence Gate=リンゴ材のフェンスゲート
|
||||||
Acacia Wood Fence Gate=アカシアのフェンスゲート
|
Acacia Wood Fence Gate=アカシア材のフェンスゲート
|
||||||
Jungle Wood Fence Gate=ジャングルのフェンスゲート
|
Jungle Wood Fence Gate=ジャングル材のフェンスゲート
|
||||||
Pine Wood Fence Gate=マツのフェンスゲート
|
Pine Wood Fence Gate=マツ材のフェンスゲート
|
||||||
Aspen Wood Fence Gate=ポプラのフェンスゲート
|
Aspen Wood Fence Gate=ポプラ材のフェンスゲート
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 222 B After Width: | Height: | Size: 232 B |
Binary file not shown.
Before Width: | Height: | Size: 133 B After Width: | Height: | Size: 132 B |
@ -13,4 +13,4 @@ Brown Dye=Pewarna Cokelat
|
|||||||
Orange Dye=Pewarna Oranye
|
Orange Dye=Pewarna Oranye
|
||||||
Red Dye=Pewarna Merah
|
Red Dye=Pewarna Merah
|
||||||
Magenta Dye=Pewarna Magenta
|
Magenta Dye=Pewarna Magenta
|
||||||
Pink Dye=Pewarna Merah Jambu
|
Pink Dye=Pewarna Merah Muda
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# textdomain: farming
|
# textdomain: farming
|
||||||
Hoe=クワ
|
Hoe=クワ
|
||||||
Seed=種
|
Seed=種
|
||||||
Wooden Hoe=木のクワ
|
Wooden Hoe=木製のクワ
|
||||||
Stone Hoe=石のクワ
|
Stone Hoe=石のクワ
|
||||||
Steel Hoe=鉄のクワ
|
Steel Hoe=鉄のクワ
|
||||||
Bronze Hoe=青銅のクワ
|
Bronze Hoe=青銅のクワ
|
||||||
@ -22,7 +22,7 @@ Desert Sand Soil=砂漠の砂の土壌
|
|||||||
Wet Desert Sand Soil=湿った砂漠の砂の土壌
|
Wet Desert Sand Soil=湿った砂漠の砂の土壌
|
||||||
Straw=ワラ
|
Straw=ワラ
|
||||||
Straw Stair=ワラの階段
|
Straw Stair=ワラの階段
|
||||||
Inner Straw Stair=へっこんだワラの階段
|
Inner Straw Stair=ワラの凹階段
|
||||||
Outer Straw Stair=でっぱったワラの階段
|
Outer Straw Stair=ワラの凸階段
|
||||||
Straw Slab=ワラのハーフブロック
|
Straw Slab=ワラの厚板
|
||||||
Wild Cotton=天然綿
|
Wild Cotton=天然綿
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# textdomain: farming
|
# textdomain: farming
|
||||||
Hoe=
|
Hoe=鋤頭
|
||||||
Seed=
|
Seed=種子
|
||||||
Wooden Hoe=木鋤頭
|
Wooden Hoe=木鋤頭
|
||||||
Stone Hoe=石鋤頭
|
Stone Hoe=石鋤頭
|
||||||
Steel Hoe=鐵鋤頭
|
Steel Hoe=鐵鋤頭
|
||||||
@ -16,8 +16,8 @@ Cotton=棉
|
|||||||
String=線
|
String=線
|
||||||
Soil=土
|
Soil=土
|
||||||
Wet Soil=溼土
|
Wet Soil=溼土
|
||||||
Savanna Soil=
|
Savanna Soil=草原土
|
||||||
Wet Savanna Soil=
|
Wet Savanna Soil=溼草原土
|
||||||
Desert Sand Soil=沙漠沙土
|
Desert Sand Soil=沙漠沙土
|
||||||
Wet Desert Sand Soil=溼沙漠沙土
|
Wet Desert Sand Soil=溼沙漠沙土
|
||||||
Straw=稻草
|
Straw=稻草
|
||||||
@ -25,7 +25,7 @@ Straw Stair=稻草臺階
|
|||||||
Inner Straw Stair=稻草內樓梯
|
Inner Straw Stair=稻草內樓梯
|
||||||
Outer Straw Stair=稻草外樓梯
|
Outer Straw Stair=稻草外樓梯
|
||||||
Straw Slab=稻草板
|
Straw Slab=稻草板
|
||||||
Wild Cotton=
|
Wild Cotton=野生棉花
|
||||||
|
|
||||||
|
|
||||||
##### not used anymore #####
|
##### not used anymore #####
|
||||||
|
@ -345,8 +345,11 @@ local function on_receive_fields(player, fields)
|
|||||||
data.items = init_items
|
data.items = init_items
|
||||||
return true
|
return true
|
||||||
|
|
||||||
elseif fields.key_enter_field == "filter" or fields.search then
|
elseif (fields.key_enter_field == "filter" or fields.search)
|
||||||
local new = fields.filter:lower()
|
and fields.filter then
|
||||||
|
local new = fields.filter:sub(1, 128) -- truncate to a sane length
|
||||||
|
:gsub("[%z\1-\8\11-\31\127]", "") -- strip naughty control characters (keeps \t and \n)
|
||||||
|
:lower() -- search is case insensitive
|
||||||
if data.filter == new then
|
if data.filter == new then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
53
mods/mtg_craftguide/locale/mtg_craftguide.id.tr
Normal file
53
mods/mtg_craftguide/locale/mtg_craftguide.id.tr
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
# textdomain: mtg_craftguide
|
||||||
|
Any coal=Batu bara apa pun
|
||||||
|
Any sand=Pasir apa pun
|
||||||
|
Any wool=Wol apa pun
|
||||||
|
Any stick=Tongkat apa pun
|
||||||
|
Any vessel=Bejana apa pun
|
||||||
|
Any wood planks=Papan kayu apa pun
|
||||||
|
Any kind of stone block=Blok batu apa pun
|
||||||
|
Any red flower=Bunga merah apa pun
|
||||||
|
Any blue flower=Bunga biru apa pun
|
||||||
|
Any black flower=Bunga hitam apa pun
|
||||||
|
Any green flower=Bunga hijau apa pun
|
||||||
|
Any white flower=Bunga putih apa pun
|
||||||
|
Any orange flower=Bunga oranye apa pun
|
||||||
|
Any violet flower=Bunga ungu apa pun
|
||||||
|
Any yellow flower=Bunga kuning apa pun
|
||||||
|
Any red dye=Pewarna merah apa pun
|
||||||
|
Any blue dye=Pewarna biru apa pun
|
||||||
|
Any cyan dye=Pewarna sian apa pun
|
||||||
|
Any grey dye=Pewarna abu apa pun
|
||||||
|
Any pink dye=Pewarna merah jambu apa pun
|
||||||
|
Any black dye=Pewarna hitam apa pun
|
||||||
|
Any brown dye=Pewarna cokelat apa pun
|
||||||
|
Any green dye=Pewarna hijau apa pun
|
||||||
|
Any white dye=Pewarna putih apa pun
|
||||||
|
Any orange dye=Pewarna oranye apa pun
|
||||||
|
Any violet dye=Pewarna ungu apa pun
|
||||||
|
Any yellow dye=Pewarna kuning apa pun
|
||||||
|
Any magenta dye=Pewarna magenta apa pun
|
||||||
|
Any dark grey dye=Pewarna abu tua apa pun
|
||||||
|
Any dark green dye=Pewarna hijau tua apa pun
|
||||||
|
# Label for group ingredients
|
||||||
|
G=G
|
||||||
|
Any item belonging to the group(s): @1=Barang apa pun yang termasuk grup: @1
|
||||||
|
Unknown Item=Barang Tak Diketahui
|
||||||
|
Fuel=Bahan Bakar
|
||||||
|
Usage @1 of @2=Pemakaian @1 dari @2
|
||||||
|
Recipe @1 of @2=Resep @1 dari @2
|
||||||
|
Previous recipe=Resep sebelumnya
|
||||||
|
Next recipe=Resep selanjutnya
|
||||||
|
Recipe is too big to be displayed.=Resep terlalu besar untuk ditampilkan.
|
||||||
|
Shapeless=Tak berbentuk
|
||||||
|
Cooking time: @1=Waktu memasak: @1
|
||||||
|
Search=Cari
|
||||||
|
Reset=Atur ulang
|
||||||
|
Previous page=Halaman sebelumnya
|
||||||
|
Next page=Halaman selanjutnya
|
||||||
|
No items to show.=Tiada barang untuk ditampilkan.
|
||||||
|
No usages.=Tiada pemakaian.
|
||||||
|
Click again to show recipes.=Klik lagi untuk menampilkan resep.
|
||||||
|
No recipes.=Tiada resep.
|
||||||
|
Click again to show usages.=Klik lagi untuk menampilkan pemakaian.
|
||||||
|
Recipes=Resep
|
@ -31,7 +31,7 @@ Any dark grey dye=Любая тёмно-серая краска
|
|||||||
Any dark green dye=Любая тёмно-зелёная краска
|
Any dark green dye=Любая тёмно-зелёная краска
|
||||||
# Label for group ingredients
|
# Label for group ingredients
|
||||||
G=Г
|
G=Г
|
||||||
Any item belonging to the group(s): @1=Любой предмет принадлежащий группам: @1
|
Any item belonging to the group(s): @1=Любой предмет из групп(ы): @1
|
||||||
Unknown Item=Неизвестный предмет
|
Unknown Item=Неизвестный предмет
|
||||||
Fuel=Топливо
|
Fuel=Топливо
|
||||||
Usage @1 of @2=Использование @1 из @2
|
Usage @1 of @2=Использование @1 из @2
|
||||||
|
@ -67,7 +67,11 @@ function player_api.set_model(player, model_name)
|
|||||||
if player_data.model == model_name then
|
if player_data.model == model_name then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
-- Update data
|
||||||
player_data.model = model_name
|
player_data.model = model_name
|
||||||
|
-- Clear animation data as the model has changed
|
||||||
|
-- (required for setting the `stand` animation not to be a no-op)
|
||||||
|
player_data.animation, player_data.animation_speed = nil, nil
|
||||||
|
|
||||||
local model = models[model_name]
|
local model = models[model_name]
|
||||||
if model then
|
if model then
|
||||||
|
@ -60,6 +60,19 @@ end
|
|||||||
|
|
||||||
screwdriver.rotate.colorfacedir = screwdriver.rotate.facedir
|
screwdriver.rotate.colorfacedir = screwdriver.rotate.facedir
|
||||||
|
|
||||||
|
screwdriver.rotate["4dir"] = function(pos, node, mode)
|
||||||
|
if mode ~= screwdriver.ROTATE_FACE then
|
||||||
|
-- Can only rotate 4dir nodes in face mode
|
||||||
|
return nil
|
||||||
|
end
|
||||||
|
local rotation = node.param2 % 4 -- get first 2 bits
|
||||||
|
local other = node.param2 - rotation
|
||||||
|
rotation = (rotation + 1) % 4
|
||||||
|
return rotation + other
|
||||||
|
end
|
||||||
|
|
||||||
|
screwdriver.rotate["color4dir"] = screwdriver.rotate["4dir"]
|
||||||
|
|
||||||
local wallmounted_tbl = {
|
local wallmounted_tbl = {
|
||||||
[screwdriver.ROTATE_FACE] = {[2] = 5, [3] = 4, [4] = 2, [5] = 3, [1] = 0, [0] = 1},
|
[screwdriver.ROTATE_FACE] = {[2] = 5, [3] = 4, [4] = 2, [5] = 3, [1] = 0, [0] = 1},
|
||||||
[screwdriver.ROTATE_AXIS] = {[2] = 5, [3] = 4, [4] = 2, [5] = 1, [1] = 0, [0] = 3}
|
[screwdriver.ROTATE_AXIS] = {[2] = 5, [3] = 4, [4] = 2, [5] = 1, [1] = 0, [0] = 3}
|
||||||
@ -113,6 +126,10 @@ screwdriver.handler = function(itemstack, user, pointed_thing, mode, uses)
|
|||||||
local new_param2
|
local new_param2
|
||||||
if fn then
|
if fn then
|
||||||
new_param2 = fn(pos, node, mode)
|
new_param2 = fn(pos, node, mode)
|
||||||
|
if not new_param2 then
|
||||||
|
-- rotation refused
|
||||||
|
return itemstack
|
||||||
|
end
|
||||||
else
|
else
|
||||||
new_param2 = node.param2
|
new_param2 = node.param2
|
||||||
end
|
end
|
||||||
|
@ -52,6 +52,9 @@ end
|
|||||||
|
|
||||||
sethome.get = function(name)
|
sethome.get = function(name)
|
||||||
local player = minetest.get_player_by_name(name)
|
local player = minetest.get_player_by_name(name)
|
||||||
|
if not player then
|
||||||
|
return false, S("This command can only be executed in-game!")
|
||||||
|
end
|
||||||
local player_meta = player:get_meta()
|
local player_meta = player:get_meta()
|
||||||
local pos = minetest.string_to_pos(player_meta:get_string("sethome:home"))
|
local pos = minetest.string_to_pos(player_meta:get_string("sethome:home"))
|
||||||
if pos then
|
if pos then
|
||||||
@ -86,6 +89,10 @@ minetest.register_chatcommand("home", {
|
|||||||
description = S("Teleport you to your home point"),
|
description = S("Teleport you to your home point"),
|
||||||
privs = {home = true},
|
privs = {home = true},
|
||||||
func = function(name)
|
func = function(name)
|
||||||
|
local player = minetest.get_player_by_name(name)
|
||||||
|
if not player then
|
||||||
|
return false, S("This command can only be executed in-game!")
|
||||||
|
end
|
||||||
if sethome.go(name) then
|
if sethome.go(name) then
|
||||||
return true, S("Teleported to home!")
|
return true, S("Teleported to home!")
|
||||||
end
|
end
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# textdomain: sethome
|
# textdomain: sethome
|
||||||
|
This command can only be executed in-game!=Dieser Befehl kann nur im Spiel ausgeführt werden!
|
||||||
Can use /sethome and /home=Kann /sethome und /home benutzen
|
Can use /sethome and /home=Kann /sethome und /home benutzen
|
||||||
Teleport you to your home point=Teleportieren Sie sich zu Ihrem Zuhause-Punkt
|
Teleport you to your home point=Teleportieren Sie sich zu Ihrem Zuhause-Punkt
|
||||||
Teleported to home!=Nach Hause teleportiert!
|
Teleported to home!=Nach Hause teleportiert!
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# textdomain: sethome
|
# textdomain: sethome
|
||||||
|
This command can only be executed in-game!=
|
||||||
Can use /sethome and /home=Povas uzi /sethome kaj /home
|
Can use /sethome and /home=Povas uzi /sethome kaj /home
|
||||||
Teleport you to your home point=Teletransporti vin al via hejmo
|
Teleport you to your home point=Teletransporti vin al via hejmo
|
||||||
Teleported to home!=Teletransportita al hejmo!
|
Teleported to home!=Teletransportita al hejmo!
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# textdomain: sethome
|
# textdomain: sethome
|
||||||
|
This command can only be executed in-game!=
|
||||||
Can use /sethome and /home=Puedes usar /sethome y /home
|
Can use /sethome and /home=Puedes usar /sethome y /home
|
||||||
Teleport you to your home point=Teletranspórtate a tu hogar
|
Teleport you to your home point=Teletranspórtate a tu hogar
|
||||||
Teleported to home!=¡Teletransportado a tu hogar!
|
Teleported to home!=¡Teletransportado a tu hogar!
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# textdomain: sethome
|
# textdomain: sethome
|
||||||
|
This command can only be executed in-game!=
|
||||||
Can use /sethome and /home=Peut utiliser /sethome et /home
|
Can use /sethome and /home=Peut utiliser /sethome et /home
|
||||||
Teleport you to your home point=Vous téléporter à votre domicile
|
Teleport you to your home point=Vous téléporter à votre domicile
|
||||||
Teleported to home!=Téléporté à votre domicile !
|
Teleported to home!=Téléporté à votre domicile !
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# textdomain: sethome
|
# textdomain: sethome
|
||||||
|
This command can only be executed in-game!=
|
||||||
Can use /sethome and /home=Boleh pakai /sethome dan /home
|
Can use /sethome and /home=Boleh pakai /sethome dan /home
|
||||||
Teleport you to your home point=Teleportasi ke rumah Anda
|
Teleport you to your home point=Teleportasi ke rumah Anda
|
||||||
Teleported to home!=Teleportasi ke rumah!
|
Teleported to home!=Teleportasi ke rumah!
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# textdomain: sethome
|
# textdomain: sethome
|
||||||
|
This command can only be executed in-game!=
|
||||||
Can use /sethome and /home=Può usare /sethome e /home
|
Can use /sethome and /home=Può usare /sethome e /home
|
||||||
Teleport you to your home point=Ti teletrasporta al tuo punto di domicilio
|
Teleport you to your home point=Ti teletrasporta al tuo punto di domicilio
|
||||||
Teleported to home!=Teletrasportato a casa!
|
Teleported to home!=Teletrasportato a casa!
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# textdomain: sethome
|
# textdomain: sethome
|
||||||
|
This command can only be executed in-game!=
|
||||||
Can use /sethome and /home=/sethomeと/homeが使えます
|
Can use /sethome and /home=/sethomeと/homeが使えます
|
||||||
Teleport you to your home point=ホーム地点にテレポートします
|
Teleport you to your home point=ホーム地点にテレポートします
|
||||||
Teleported to home!=ホームにテレポート!
|
Teleported to home!=ホームにテレポート!
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# textdomain: sethome
|
# textdomain: sethome
|
||||||
|
This command can only be executed in-game!=
|
||||||
Can use /sethome and /home=kakne lo nu pilno lo me zoi gy./sethome.gy. ku .e lo me zoi gy./home.gy.
|
Can use /sethome and /home=kakne lo nu pilno lo me zoi gy./sethome.gy. ku .e lo me zoi gy./home.gy.
|
||||||
Teleport you to your home point=sukmu'u lo do zdani mokca
|
Teleport you to your home point=sukmu'u lo do zdani mokca
|
||||||
Teleported to home!=puba'o sukmu'u lo zdani
|
Teleported to home!=puba'o sukmu'u lo zdani
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# textdomain: sethome
|
# textdomain: sethome
|
||||||
|
This command can only be executed in-game!=
|
||||||
Can use /sethome and /home=Boleh guna /sethome dan /home
|
Can use /sethome and /home=Boleh guna /sethome dan /home
|
||||||
Teleport you to your home point=Teleportasikan anda ke titik rumah anda
|
Teleport you to your home point=Teleportasikan anda ke titik rumah anda
|
||||||
Teleported to home!=Diteleportasikan ke rumah!
|
Teleported to home!=Diteleportasikan ke rumah!
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# textdomain: sethome
|
# textdomain: sethome
|
||||||
|
This command can only be executed in-game!=
|
||||||
Can use /sethome and /home=Może używać /sethome i /home
|
Can use /sethome and /home=Może używać /sethome i /home
|
||||||
Teleport you to your home point=Teleportuj się do swojego punktu domowego
|
Teleport you to your home point=Teleportuj się do swojego punktu domowego
|
||||||
Teleported to home!=Teleportowano do punktu domowego
|
Teleported to home!=Teleportowano do punktu domowego
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# textdomain: sethome
|
# textdomain: sethome
|
||||||
|
This command can only be executed in-game!=
|
||||||
Can use /sethome and /home=Pode usar /sethome e /home
|
Can use /sethome and /home=Pode usar /sethome e /home
|
||||||
Teleport you to your home point=Teletransportá-lo para seu ponto de origem
|
Teleport you to your home point=Teletransportá-lo para seu ponto de origem
|
||||||
Teleported to home!=Teletransportado para o ponto de origem!
|
Teleported to home!=Teletransportado para o ponto de origem!
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# textdomain: sethome
|
# textdomain: sethome
|
||||||
|
This command can only be executed in-game!=Эта команда может быть использована только в игре!
|
||||||
Can use /sethome and /home=Возможность использовать /sethome и /home
|
Can use /sethome and /home=Возможность использовать /sethome и /home
|
||||||
Teleport you to your home point=Вы телепортируетесь в свою домашнюю точку
|
Teleport you to your home point=Вы телепортируетесь в свою домашнюю точку
|
||||||
Teleported to home!=Вы телепортировались домой!
|
Teleported to home!=Вы телепортировались домой!
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# textdomain: sethome
|
# textdomain: sethome
|
||||||
|
This command can only be executed in-game!=
|
||||||
Can use /sethome and /home=Môžeš použivať /sethome a /home
|
Can use /sethome and /home=Môžeš použivať /sethome a /home
|
||||||
Teleport you to your home point=Teleportuj sa domov
|
Teleport you to your home point=Teleportuj sa domov
|
||||||
Teleported to home!=Teleportovaný domov!
|
Teleported to home!=Teleportovaný domov!
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# textdomain: sethome
|
# textdomain: sethome
|
||||||
|
This command can only be executed in-game!=
|
||||||
Can use /sethome and /home=Kan använda /sethome och /home
|
Can use /sethome and /home=Kan använda /sethome och /home
|
||||||
Teleport you to your home point=Teleportera dig till din hempunkt
|
Teleport you to your home point=Teleportera dig till din hempunkt
|
||||||
Teleported to home!=Teleporterad hem!
|
Teleported to home!=Teleporterad hem!
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# textdomain: sethome
|
# textdomain: sethome
|
||||||
|
This command can only be executed in-game!=
|
||||||
Can use /sethome and /home=Можливість використання /sethome та /home
|
Can use /sethome and /home=Можливість використання /sethome та /home
|
||||||
Teleport you to your home point=Ви телепортуєтесь у свою домашню точку
|
Teleport you to your home point=Ви телепортуєтесь у свою домашню точку
|
||||||
Teleported to home!=Ви телепортувались додому!
|
Teleported to home!=Ви телепортувались додому!
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# textdomain: sethome
|
# textdomain: sethome
|
||||||
|
This command can only be executed in-game!=该指令只能在游戏内使用!
|
||||||
Can use /sethome and /home=可以使用/sethome和/home
|
Can use /sethome and /home=可以使用/sethome和/home
|
||||||
Teleport you to your home point=将您传送到家
|
Teleport you to your home point=将您传送到家
|
||||||
Teleported to home!=已传送到家!
|
Teleported to home!=已传送到家!
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# textdomain: sethome
|
# textdomain: sethome
|
||||||
|
This command can only be executed in-game!=此指令僅能在游戲内使用!
|
||||||
Can use /sethome and /home=可以使用/sethome和/home
|
Can use /sethome and /home=可以使用/sethome和/home
|
||||||
Teleport you to your home point=傳送您到您家的地點
|
Teleport you to your home point=傳送您到您家的地點
|
||||||
Teleported to home!=已傳送到家!
|
Teleported to home!=已傳送到家!
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# textdomain: sethome
|
# textdomain: sethome
|
||||||
|
This command can only be executed in-game!=
|
||||||
Can use /sethome and /home=
|
Can use /sethome and /home=
|
||||||
Teleport you to your home point=
|
Teleport you to your home point=
|
||||||
Teleported to home!=
|
Teleported to home!=
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user