# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the minetest package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: minetest\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-02-23 19:03+0100\n" "PO-Revision-Date: 2020-08-15 23:32+0000\n" "Last-Translator: Milos \n" "Language-Team: Serbian (latin) \n" "Language: sr_Latn\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "X-Generator: Weblate 4.2-dev\n" #: builtin/client/death_formspec.lua src/client/game.cpp msgid "Respawn" msgstr "Vrati se u zivot" #: builtin/client/death_formspec.lua src/client/game.cpp msgid "You died" msgstr "Umro/la si." #: builtin/fstk/dialog.lua builtin/fstk/ui.lua src/gui/modalMenu.cpp msgid "OK" msgstr "OK" #: builtin/fstk/ui.lua msgid "An error occurred in a Lua script:" msgstr "Doslo je do greske u Lua skripti:" #: builtin/fstk/ui.lua msgid "An error occurred:" msgstr "Doslo je do greske:" #: builtin/fstk/ui.lua msgid "Main menu" msgstr "Glavni meni" #: builtin/fstk/ui.lua msgid "Reconnect" msgstr "Ponovno povezivanje" #: builtin/fstk/ui.lua msgid "The server has requested a reconnect:" msgstr "Server je zahtevao ponovno povezivanje:" #: builtin/mainmenu/common.lua msgid "Protocol version mismatch. " msgstr "Protokol verzija neuskladjena. " #: builtin/mainmenu/common.lua msgid "Server enforces protocol version $1. " msgstr "Server primenjuje protokol verzije $1. " #: builtin/mainmenu/common.lua msgid "Server supports protocol versions between $1 and $2. " msgstr "Server podrzava protokol verzije izmedju $1 ili $2. " #: builtin/mainmenu/common.lua msgid "We only support protocol version $1." msgstr "Mi samo podrzavamo protokol verzije $1." #: builtin/mainmenu/common.lua msgid "We support protocol versions between version $1 and $2." msgstr "Mi podrzavamo protokol verzija izmedju verzije $1 i $2." #: builtin/mainmenu/dlg_config_world.lua builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_create_world.lua #: builtin/mainmenu/dlg_delete_content.lua #: builtin/mainmenu/dlg_delete_world.lua #: builtin/mainmenu/dlg_rename_modpack.lua #: builtin/mainmenu/dlg_settings_advanced.lua src/client/keycode.cpp #: src/gui/guiConfirmRegistration.cpp src/gui/guiKeyChangeMenu.cpp #: src/gui/guiPasswordChange.cpp msgid "Cancel" msgstr "Ponisti" #: builtin/mainmenu/dlg_config_world.lua builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/tab_content.lua msgid "Dependencies:" msgstr "Zavisnosti:" #: builtin/mainmenu/dlg_config_world.lua msgid "Disable all" msgstr "Onemoguci sve" #: builtin/mainmenu/dlg_config_world.lua msgid "Disable modpack" msgstr "Onemoguci modpack" #: builtin/mainmenu/dlg_config_world.lua msgid "Enable all" msgstr "Omoguci sve" #: builtin/mainmenu/dlg_config_world.lua msgid "Enable modpack" msgstr "Omoguci modpack" #: builtin/mainmenu/dlg_config_world.lua msgid "" "Failed to enable mod \"$1\" as it contains disallowed characters. Only " "characters [a-z0-9_] are allowed." msgstr "" "Nije omogucen mod \"$1\" jer sadrzi nedozvoljene simbole. Samo simboli [a-z, " "0-9_] su dozvoljeni." #: builtin/mainmenu/dlg_config_world.lua msgid "Find More Mods" msgstr "Nadji jos modova" #: builtin/mainmenu/dlg_config_world.lua msgid "Mod:" msgstr "Mod:" #: builtin/mainmenu/dlg_config_world.lua msgid "No (optional) dependencies" msgstr "Nema (opcionih) zavisnosti" #: builtin/mainmenu/dlg_config_world.lua msgid "No game description provided." msgstr "Opis igre nije prilozen." #: builtin/mainmenu/dlg_config_world.lua msgid "No hard dependencies" msgstr "Bez teskih zavisnosti" #: builtin/mainmenu/dlg_config_world.lua msgid "No modpack description provided." msgstr "Opis modpack-a nije prilozen." #: builtin/mainmenu/dlg_config_world.lua msgid "No optional dependencies" msgstr "Bez neobaveznih zavisnosti" #: builtin/mainmenu/dlg_config_world.lua builtin/mainmenu/tab_content.lua msgid "Optional dependencies:" msgstr "Neobavezne zavisnosti:" #: builtin/mainmenu/dlg_config_world.lua #: builtin/mainmenu/dlg_settings_advanced.lua src/gui/guiKeyChangeMenu.cpp msgid "Save" msgstr "Sacuvaj" #: builtin/mainmenu/dlg_config_world.lua msgid "World:" msgstr "Svet:" #: builtin/mainmenu/dlg_config_world.lua msgid "enabled" msgstr "Omoguceno" #: builtin/mainmenu/dlg_contentstore.lua msgid "\"$1\" already exists. Would you like to overwrite it?" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 and $2 dependencies will be installed." msgstr "" #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 by $2" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua msgid "" "$1 downloading,\n" "$2 queued" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua #, fuzzy msgid "$1 downloading..." msgstr "Preuzimanje..." #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 required dependencies could not be found." msgstr "" #: builtin/mainmenu/dlg_contentstore.lua msgid "$1 will be installed, and $2 dependencies will be skipped." msgstr "" #: builtin/mainmenu/dlg_contentstore.lua msgid "All packages" msgstr "Svi paketi" #: builtin/mainmenu/dlg_contentstore.lua msgid "Already installed" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua msgid "Back to Main Menu" msgstr "Nazad na Glavni meni" #: builtin/mainmenu/dlg_contentstore.lua msgid "Base Game:" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua msgid "ContentDB is not available when Minetest was compiled without cURL" msgstr "ContentDB je nedostupan kada je Minetest sastavljen bez cURL" #: builtin/mainmenu/dlg_contentstore.lua msgid "Downloading..." msgstr "Preuzimanje..." #: builtin/mainmenu/dlg_contentstore.lua msgid "Failed to download $1" msgstr "Neuspelo preuzimanje $1" #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Games" msgstr "Igre" #: builtin/mainmenu/dlg_contentstore.lua msgid "Install" msgstr "Instalirati" #: builtin/mainmenu/dlg_contentstore.lua #, fuzzy msgid "Install $1" msgstr "Instalirati" #: builtin/mainmenu/dlg_contentstore.lua #, fuzzy msgid "Install missing dependencies" msgstr "Neobavezne zavisnosti:" #: builtin/mainmenu/dlg_contentstore.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Mods" msgstr "Modovi" #: builtin/mainmenu/dlg_contentstore.lua msgid "No packages could be retrieved" msgstr "Nema paketa za preuzeti" #: builtin/mainmenu/dlg_contentstore.lua msgid "No results" msgstr "Bez rezultata" #: builtin/mainmenu/dlg_contentstore.lua #, fuzzy msgid "No updates" msgstr "Azuriranje" #: builtin/mainmenu/dlg_contentstore.lua msgid "Not found" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua msgid "Overwrite" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua msgid "Please check that the base game is correct." msgstr "" #: builtin/mainmenu/dlg_contentstore.lua msgid "Queued" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua msgid "Texture packs" msgstr "Pakovanja tekstura" #: builtin/mainmenu/dlg_contentstore.lua msgid "Uninstall" msgstr "Deinstaliraj" #: builtin/mainmenu/dlg_contentstore.lua msgid "Update" msgstr "Azuriranje" #: builtin/mainmenu/dlg_contentstore.lua msgid "Update All [$1]" msgstr "" #: builtin/mainmenu/dlg_contentstore.lua msgid "View more information in a web browser" msgstr "" #: builtin/mainmenu/dlg_create_world.lua msgid "A world named \"$1\" already exists" msgstr "" #: builtin/mainmenu/dlg_create_world.lua msgid "Additional terrain" msgstr "Dodatni teren" #: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp msgid "Altitude chill" msgstr "Nadmorska visina" #: builtin/mainmenu/dlg_create_world.lua msgid "Altitude dry" msgstr "Visina suva" #: builtin/mainmenu/dlg_create_world.lua msgid "Biome blending" msgstr "Mesanje bioma" #: builtin/mainmenu/dlg_create_world.lua msgid "Biomes" msgstr "Biomi" #: builtin/mainmenu/dlg_create_world.lua msgid "Caverns" msgstr "Pecine" #: builtin/mainmenu/dlg_create_world.lua msgid "Caves" msgstr "Pecine" #: builtin/mainmenu/dlg_create_world.lua msgid "Create" msgstr "" #: builtin/mainmenu/dlg_create_world.lua msgid "Decorations" msgstr "Dekoracije" #: builtin/mainmenu/dlg_create_world.lua msgid "Download a game, such as Minetest Game, from minetest.net" msgstr "" #: builtin/mainmenu/dlg_create_world.lua msgid "Download one from minetest.net" msgstr "Preuzmi jednu sa minetest.net" #: builtin/mainmenu/dlg_create_world.lua msgid "Dungeons" msgstr "Tamnice" #: builtin/mainmenu/dlg_create_world.lua msgid "Flat terrain" msgstr "Ravan teren" #: builtin/mainmenu/dlg_create_world.lua msgid "Floating landmasses in the sky" msgstr "Lebdece zemaljske mase na nebu" #: builtin/mainmenu/dlg_create_world.lua msgid "Floatlands (experimental)" msgstr "Lebdece zemlje (eksperimentalno)" #: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp msgid "Game" msgstr "" #: builtin/mainmenu/dlg_create_world.lua msgid "Generate non-fractal terrain: Oceans and underground" msgstr "Stvaranje ne-fraktalnog terena: Okeani i podzemlje" #: builtin/mainmenu/dlg_create_world.lua msgid "Hills" msgstr "Brda" #: builtin/mainmenu/dlg_create_world.lua msgid "Humid rivers" msgstr "Vlazne reke" #: builtin/mainmenu/dlg_create_world.lua msgid "Increases humidity around rivers" msgstr "Povecana vlaznost oko reka" #: builtin/mainmenu/dlg_create_world.lua msgid "Lakes" msgstr "Jezera" #: builtin/mainmenu/dlg_create_world.lua msgid "Low humidity and high heat causes shallow or dry rivers" msgstr "Niska vlaga i visoka toplota uzrokuju plitke ili suve reke" #: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp msgid "Mapgen" msgstr "" #: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp msgid "Mapgen flags" msgstr "Mapgen zastave" #: builtin/mainmenu/dlg_create_world.lua msgid "Mapgen-specific flags" msgstr "" #: builtin/mainmenu/dlg_create_world.lua msgid "Mountains" msgstr "Planine" #: builtin/mainmenu/dlg_create_world.lua msgid "Mud flow" msgstr "Protok blata" #: builtin/mainmenu/dlg_create_world.lua msgid "Network of tunnels and caves" msgstr "Mreza tunela i pecina" #: builtin/mainmenu/dlg_create_world.lua msgid "No game selected" msgstr "" #: builtin/mainmenu/dlg_create_world.lua msgid "Reduces heat with altitude" msgstr "Smanjuje toplotu sa visinom" #: builtin/mainmenu/dlg_create_world.lua msgid "Reduces humidity with altitude" msgstr "Smanjuje vlaznost sa visinom" #: builtin/mainmenu/dlg_create_world.lua msgid "Rivers" msgstr "Reke" #: builtin/mainmenu/dlg_create_world.lua msgid "Sea level rivers" msgstr "Reke na nivou mora" #: builtin/mainmenu/dlg_create_world.lua #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Seed" msgstr "" #: builtin/mainmenu/dlg_create_world.lua msgid "Smooth transition between biomes" msgstr "Glatki prelaz izmedju bioma" #: builtin/mainmenu/dlg_create_world.lua msgid "" "Structures appearing on the terrain (no effect on trees and jungle grass " "created by v6)" msgstr "" "Konstrukcije koje se pojavljuju na terenu (nema efekta na drveca i travu " "dzungle koje je stvorio v6)" #: builtin/mainmenu/dlg_create_world.lua msgid "Structures appearing on the terrain, typically trees and plants" msgstr "Konstrukcije koje se pojavljuju na terenu , obicno drvece i biljke" #: builtin/mainmenu/dlg_create_world.lua msgid "Temperate, Desert" msgstr "Umereno,Pustinja" #: builtin/mainmenu/dlg_create_world.lua msgid "Temperate, Desert, Jungle" msgstr "Umereno,Pustinja,Dzungla" #: builtin/mainmenu/dlg_create_world.lua msgid "Temperate, Desert, Jungle, Tundra, Taiga" msgstr "Umereno,Pustinja,Dzungla,Tundra,Tajga" #: builtin/mainmenu/dlg_create_world.lua msgid "Terrain surface erosion" msgstr "Povrsinska erozija terena" #: builtin/mainmenu/dlg_create_world.lua msgid "Trees and jungle grass" msgstr "Drveca i trava dzungle" #: builtin/mainmenu/dlg_create_world.lua msgid "Vary river depth" msgstr "Razlicita dubina reke" #: builtin/mainmenu/dlg_create_world.lua msgid "Very large caverns deep in the underground" msgstr "Veoma velike pecine duboko ispod zemlje" #: builtin/mainmenu/dlg_create_world.lua msgid "Warning: The Development Test is meant for developers." msgstr "" #: builtin/mainmenu/dlg_create_world.lua msgid "World name" msgstr "" #: builtin/mainmenu/dlg_create_world.lua msgid "You have no games installed." msgstr "Nema instaliranih igara." #: builtin/mainmenu/dlg_delete_content.lua msgid "Are you sure you want to delete \"$1\"?" msgstr "" #: builtin/mainmenu/dlg_delete_content.lua #: builtin/mainmenu/dlg_delete_world.lua builtin/mainmenu/tab_local.lua #: src/client/keycode.cpp msgid "Delete" msgstr "" #: builtin/mainmenu/dlg_delete_content.lua msgid "pkgmgr: failed to delete \"$1\"" msgstr "" #: builtin/mainmenu/dlg_delete_content.lua msgid "pkgmgr: invalid path \"$1\"" msgstr "" #: builtin/mainmenu/dlg_delete_world.lua msgid "Delete World \"$1\"?" msgstr "" #: builtin/mainmenu/dlg_rename_modpack.lua msgid "Accept" msgstr "" #: builtin/mainmenu/dlg_rename_modpack.lua msgid "Rename Modpack:" msgstr "" #: builtin/mainmenu/dlg_rename_modpack.lua msgid "" "This modpack has an explicit name given in its modpack.conf which will " "override any renaming here." msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "(No description of setting given)" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "2D Noise" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "< Back to Settings page" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Browse" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Disabled" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Edit" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Enabled" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Lacunarity" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Octaves" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua src/settings_translation_file.cpp msgid "Offset" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Persistance" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Please enter a valid integer." msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Please enter a valid number." msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Restore Default" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua src/settings_translation_file.cpp msgid "Scale" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Search" msgstr "Trazi" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Select directory" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Select file" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Show technical names" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "The value must be at least $1." msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "The value must not be larger than $1." msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "X" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "X spread" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Y" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Y spread" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Z" msgstr "" #: builtin/mainmenu/dlg_settings_advanced.lua msgid "Z spread" msgstr "" #. ~ "absvalue" is a noise parameter flag. #. It is short for "absolute value". #. It can be enabled in noise settings in #. main menu -> "All Settings". #: builtin/mainmenu/dlg_settings_advanced.lua msgid "absvalue" msgstr "" #. ~ "defaults" is a noise parameter flag. #. It describes the default processing options #. for noise settings in main menu -> "All Settings". #: builtin/mainmenu/dlg_settings_advanced.lua msgid "defaults" msgstr "" #. ~ "eased" is a noise parameter flag. #. It is used to make the map smoother and #. can be enabled in noise settings in #. main menu -> "All Settings". #: builtin/mainmenu/dlg_settings_advanced.lua msgid "eased" msgstr "" #: builtin/mainmenu/pkgmgr.lua msgid "$1 (Enabled)" msgstr "" #: builtin/mainmenu/pkgmgr.lua msgid "$1 mods" msgstr "" #: builtin/mainmenu/pkgmgr.lua msgid "Failed to install $1 to $2" msgstr "" #: builtin/mainmenu/pkgmgr.lua msgid "Install Mod: Unable to find real mod name for: $1" msgstr "" #: builtin/mainmenu/pkgmgr.lua msgid "Install Mod: Unable to find suitable folder name for modpack $1" msgstr "" #: builtin/mainmenu/pkgmgr.lua msgid "Install: Unsupported file type \"$1\" or broken archive" msgstr "" #: builtin/mainmenu/pkgmgr.lua msgid "Install: file: \"$1\"" msgstr "" #: builtin/mainmenu/pkgmgr.lua msgid "Unable to find a valid mod or modpack" msgstr "" #: builtin/mainmenu/pkgmgr.lua msgid "Unable to install a $1 as a texture pack" msgstr "" #: builtin/mainmenu/pkgmgr.lua msgid "Unable to install a game as a $1" msgstr "" #: builtin/mainmenu/pkgmgr.lua msgid "Unable to install a mod as a $1" msgstr "" #: builtin/mainmenu/pkgmgr.lua msgid "Unable to install a modpack as a $1" msgstr "" #: builtin/mainmenu/serverlistmgr.lua src/client/game.cpp msgid "Loading..." msgstr "Ucitavanje..." #: builtin/mainmenu/serverlistmgr.lua msgid "Public server list is disabled" msgstr "" #: builtin/mainmenu/serverlistmgr.lua msgid "Try reenabling public serverlist and check your internet connection." msgstr "" "Pokusajte ponovo omoguciti javnu listu servera i proverite vasu internet " "vezu." #: builtin/mainmenu/tab_content.lua msgid "Browse online content" msgstr "" #: builtin/mainmenu/tab_content.lua msgid "Content" msgstr "" #: builtin/mainmenu/tab_content.lua msgid "Disable Texture Pack" msgstr "" #: builtin/mainmenu/tab_content.lua msgid "Information:" msgstr "" #: builtin/mainmenu/tab_content.lua msgid "Installed Packages:" msgstr "" #: builtin/mainmenu/tab_content.lua msgid "No dependencies." msgstr "" #: builtin/mainmenu/tab_content.lua msgid "No package description available" msgstr "" #: builtin/mainmenu/tab_content.lua msgid "Rename" msgstr "" #: builtin/mainmenu/tab_content.lua msgid "Uninstall Package" msgstr "" #: builtin/mainmenu/tab_content.lua msgid "Use Texture Pack" msgstr "" #: builtin/mainmenu/tab_credits.lua msgid "Active Contributors" msgstr "" #: builtin/mainmenu/tab_credits.lua msgid "Core Developers" msgstr "" #: builtin/mainmenu/tab_credits.lua msgid "Credits" msgstr "" #: builtin/mainmenu/tab_credits.lua msgid "Open User Data Directory" msgstr "" #: builtin/mainmenu/tab_credits.lua msgid "" "Opens the directory that contains user-provided worlds, games, mods,\n" "and texture packs in a file manager / explorer." msgstr "" #: builtin/mainmenu/tab_credits.lua msgid "Previous Contributors" msgstr "" #: builtin/mainmenu/tab_credits.lua msgid "Previous Core Developers" msgstr "" #: builtin/mainmenu/tab_local.lua msgid "Announce Server" msgstr "" #: builtin/mainmenu/tab_local.lua msgid "Bind Address" msgstr "" #: builtin/mainmenu/tab_local.lua msgid "Creative Mode" msgstr "" #: builtin/mainmenu/tab_local.lua msgid "Enable Damage" msgstr "" #: builtin/mainmenu/tab_local.lua msgid "Host Game" msgstr "" #: builtin/mainmenu/tab_local.lua msgid "Host Server" msgstr "" #: builtin/mainmenu/tab_local.lua msgid "Install games from ContentDB" msgstr "" #: builtin/mainmenu/tab_local.lua msgid "Name" msgstr "" #: builtin/mainmenu/tab_local.lua msgid "New" msgstr "" #: builtin/mainmenu/tab_local.lua msgid "No world created or selected!" msgstr "" #: builtin/mainmenu/tab_local.lua msgid "Password" msgstr "" #: builtin/mainmenu/tab_local.lua msgid "Play Game" msgstr "" #: builtin/mainmenu/tab_local.lua msgid "Port" msgstr "" #: builtin/mainmenu/tab_local.lua msgid "Select Mods" msgstr "" #: builtin/mainmenu/tab_local.lua msgid "Select World:" msgstr "" #: builtin/mainmenu/tab_local.lua msgid "Server Port" msgstr "" #: builtin/mainmenu/tab_local.lua msgid "Start Game" msgstr "" #: builtin/mainmenu/tab_online.lua msgid "Address / Port" msgstr "" #: builtin/mainmenu/tab_online.lua msgid "Connect" msgstr "" #: builtin/mainmenu/tab_online.lua msgid "Creative mode" msgstr "" #: builtin/mainmenu/tab_online.lua msgid "Damage enabled" msgstr "" #: builtin/mainmenu/tab_online.lua msgid "Del. Favorite" msgstr "" #: builtin/mainmenu/tab_online.lua msgid "Favorite" msgstr "" #: builtin/mainmenu/tab_online.lua msgid "Join Game" msgstr "" #: builtin/mainmenu/tab_online.lua msgid "Name / Password" msgstr "" #: builtin/mainmenu/tab_online.lua msgid "Ping" msgstr "" #. ~ PvP = Player versus Player #: builtin/mainmenu/tab_online.lua msgid "PvP enabled" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "2x" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "3D Clouds" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "4x" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "8x" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "All Settings" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Antialiasing:" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Autosave Screen Size" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Bilinear Filter" msgstr "" #: builtin/mainmenu/tab_settings.lua src/client/game.cpp msgid "Change Keys" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Connected Glass" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Fancy Leaves" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Mipmap" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Mipmap + Aniso. Filter" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "No Filter" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "No Mipmap" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Node Highlighting" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Node Outlining" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "None" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Opaque Leaves" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Opaque Water" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Particles" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Screen:" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Settings" msgstr "" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Shaders" msgstr "" #: builtin/mainmenu/tab_settings.lua #, fuzzy msgid "Shaders (experimental)" msgstr "Lebdece zemlje (eksperimentalno)" #: builtin/mainmenu/tab_settings.lua msgid "Shaders (unavailable)" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Simple Leaves" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Smooth Lighting" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Texturing:" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "To enable shaders the OpenGL driver needs to be used." msgstr "" #: builtin/mainmenu/tab_settings.lua src/settings_translation_file.cpp msgid "Tone Mapping" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Touchthreshold: (px)" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Trilinear Filter" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Waving Leaves" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Waving Liquids" msgstr "" #: builtin/mainmenu/tab_settings.lua msgid "Waving Plants" msgstr "" #: src/client/client.cpp msgid "Connection timed out." msgstr "" #: src/client/client.cpp msgid "Done!" msgstr "" #: src/client/client.cpp msgid "Initializing nodes" msgstr "" #: src/client/client.cpp msgid "Initializing nodes..." msgstr "" #: src/client/client.cpp msgid "Loading textures..." msgstr "" #: src/client/client.cpp msgid "Rebuilding shaders..." msgstr "" #: src/client/clientlauncher.cpp msgid "Connection error (timed out?)" msgstr "" #: src/client/clientlauncher.cpp msgid "Could not find or load game \"" msgstr "" #: src/client/clientlauncher.cpp msgid "Invalid gamespec." msgstr "" #: src/client/clientlauncher.cpp msgid "Main Menu" msgstr "" #: src/client/clientlauncher.cpp msgid "No world selected and no address provided. Nothing to do." msgstr "" #: src/client/clientlauncher.cpp msgid "Player name too long." msgstr "" #: src/client/clientlauncher.cpp msgid "Please choose a name!" msgstr "" #: src/client/clientlauncher.cpp msgid "Provided password file failed to open: " msgstr "" #: src/client/clientlauncher.cpp msgid "Provided world path doesn't exist: " msgstr "" #. ~ DO NOT TRANSLATE THIS LITERALLY! #. This is a special string. Put either "no" or "yes" #. into the translation field (literally). #. Choose "yes" if the language requires use of the fallback #. font, "no" otherwise. #. The fallback font is (normally) required for languages with #. non-Latin script, like Chinese. #. When in doubt, test your translation. #: src/client/fontengine.cpp msgid "needs_fallback_font" msgstr "no" #: src/client/game.cpp msgid "" "\n" "Check debug.txt for details." msgstr "" #: src/client/game.cpp msgid "- Address: " msgstr "" #: src/client/game.cpp msgid "- Creative Mode: " msgstr "" #: src/client/game.cpp msgid "- Damage: " msgstr "" #: src/client/game.cpp msgid "- Mode: " msgstr "" #: src/client/game.cpp msgid "- Port: " msgstr "" #: src/client/game.cpp msgid "- Public: " msgstr "" #. ~ PvP = Player versus Player #: src/client/game.cpp msgid "- PvP: " msgstr "" #: src/client/game.cpp msgid "- Server Name: " msgstr "" #: src/client/game.cpp msgid "Automatic forward disabled" msgstr "" #: src/client/game.cpp msgid "Automatic forward enabled" msgstr "" #: src/client/game.cpp msgid "Camera update disabled" msgstr "" #: src/client/game.cpp msgid "Camera update enabled" msgstr "" #: src/client/game.cpp msgid "Change Password" msgstr "" #: src/client/game.cpp msgid "Cinematic mode disabled" msgstr "" #: src/client/game.cpp msgid "Cinematic mode enabled" msgstr "" #: src/client/game.cpp msgid "Client side scripting is disabled" msgstr "" #: src/client/game.cpp msgid "Connecting to server..." msgstr "" #: src/client/game.cpp msgid "Continue" msgstr "" #: src/client/game.cpp #, c-format msgid "" "Controls:\n" "- %s: move forwards\n" "- %s: move backwards\n" "- %s: move left\n" "- %s: move right\n" "- %s: jump/climb up\n" "- %s: dig/punch\n" "- %s: place/use\n" "- %s: sneak/climb down\n" "- %s: drop item\n" "- %s: inventory\n" "- Mouse: turn/look\n" "- Mouse wheel: select item\n" "- %s: chat\n" msgstr "" #: src/client/game.cpp msgid "Creating client..." msgstr "" #: src/client/game.cpp msgid "Creating server..." msgstr "" #: src/client/game.cpp msgid "Debug info and profiler graph hidden" msgstr "" #: src/client/game.cpp msgid "Debug info shown" msgstr "" #: src/client/game.cpp msgid "Debug info, profiler graph, and wireframe hidden" msgstr "" #: src/client/game.cpp msgid "" "Default Controls:\n" "No menu visible:\n" "- single tap: button activate\n" "- double tap: place/use\n" "- slide finger: look around\n" "Menu/Inventory visible:\n" "- double tap (outside):\n" " -->close\n" "- touch stack, touch slot:\n" " --> move stack\n" "- touch&drag, tap 2nd finger\n" " --> place single item to slot\n" msgstr "" #: src/client/game.cpp msgid "Disabled unlimited viewing range" msgstr "" #: src/client/game.cpp msgid "Enabled unlimited viewing range" msgstr "" #: src/client/game.cpp msgid "Exit to Menu" msgstr "" #: src/client/game.cpp msgid "Exit to OS" msgstr "" #: src/client/game.cpp msgid "Fast mode disabled" msgstr "" #: src/client/game.cpp msgid "Fast mode enabled" msgstr "" #: src/client/game.cpp msgid "Fast mode enabled (note: no 'fast' privilege)" msgstr "" #: src/client/game.cpp msgid "Fly mode disabled" msgstr "" #: src/client/game.cpp msgid "Fly mode enabled" msgstr "" #: src/client/game.cpp msgid "Fly mode enabled (note: no 'fly' privilege)" msgstr "" #: src/client/game.cpp msgid "Fog disabled" msgstr "" #: src/client/game.cpp msgid "Fog enabled" msgstr "" #: src/client/game.cpp msgid "Game info:" msgstr "" #: src/client/game.cpp msgid "Game paused" msgstr "" #: src/client/game.cpp msgid "Hosting server" msgstr "" #: src/client/game.cpp msgid "Item definitions..." msgstr "" #: src/client/game.cpp msgid "KiB/s" msgstr "" #: src/client/game.cpp msgid "Media..." msgstr "" #: src/client/game.cpp msgid "MiB/s" msgstr "" #: src/client/game.cpp msgid "Minimap currently disabled by game or mod" msgstr "" #: src/client/game.cpp msgid "Noclip mode disabled" msgstr "" #: src/client/game.cpp msgid "Noclip mode enabled" msgstr "" #: src/client/game.cpp msgid "Noclip mode enabled (note: no 'noclip' privilege)" msgstr "" #: src/client/game.cpp msgid "Node definitions..." msgstr "" #: src/client/game.cpp msgid "Off" msgstr "" #: src/client/game.cpp msgid "On" msgstr "" #: src/client/game.cpp msgid "Pitch move mode disabled" msgstr "" #: src/client/game.cpp msgid "Pitch move mode enabled" msgstr "" #: src/client/game.cpp msgid "Profiler graph shown" msgstr "" #: src/client/game.cpp msgid "Remote server" msgstr "" #: src/client/game.cpp msgid "Resolving address..." msgstr "" #: src/client/game.cpp msgid "Shutting down..." msgstr "" #: src/client/game.cpp msgid "Singleplayer" msgstr "" #: src/client/game.cpp msgid "Sound Volume" msgstr "" #: src/client/game.cpp msgid "Sound muted" msgstr "" #: src/client/game.cpp msgid "Sound system is disabled" msgstr "" #: src/client/game.cpp msgid "Sound system is not supported on this build" msgstr "" #: src/client/game.cpp msgid "Sound unmuted" msgstr "" #: src/client/game.cpp #, c-format msgid "Viewing range changed to %d" msgstr "" #: src/client/game.cpp #, c-format msgid "Viewing range is at maximum: %d" msgstr "" #: src/client/game.cpp #, c-format msgid "Viewing range is at minimum: %d" msgstr "" #: src/client/game.cpp #, c-format msgid "Volume changed to %d%%" msgstr "" #: src/client/game.cpp msgid "Wireframe shown" msgstr "" #: src/client/game.cpp msgid "Zoom currently disabled by game or mod" msgstr "" #: src/client/game.cpp msgid "ok" msgstr "" #: src/client/gameui.cpp msgid "Chat hidden" msgstr "" #: src/client/gameui.cpp msgid "Chat shown" msgstr "" #: src/client/gameui.cpp msgid "HUD hidden" msgstr "" #: src/client/gameui.cpp msgid "HUD shown" msgstr "" #: src/client/gameui.cpp msgid "Profiler hidden" msgstr "" #: src/client/gameui.cpp #, c-format msgid "Profiler shown (page %d of %d)" msgstr "" #: src/client/keycode.cpp msgid "Apps" msgstr "" #: src/client/keycode.cpp msgid "Backspace" msgstr "" #: src/client/keycode.cpp msgid "Caps Lock" msgstr "" #: src/client/keycode.cpp msgid "Clear" msgstr "" #: src/client/keycode.cpp msgid "Control" msgstr "" #: src/client/keycode.cpp msgid "Down" msgstr "" #: src/client/keycode.cpp msgid "End" msgstr "" #: src/client/keycode.cpp msgid "Erase EOF" msgstr "" #: src/client/keycode.cpp msgid "Execute" msgstr "" #: src/client/keycode.cpp msgid "Help" msgstr "" #: src/client/keycode.cpp msgid "Home" msgstr "" #: src/client/keycode.cpp msgid "IME Accept" msgstr "" #: src/client/keycode.cpp msgid "IME Convert" msgstr "" #: src/client/keycode.cpp msgid "IME Escape" msgstr "" #: src/client/keycode.cpp msgid "IME Mode Change" msgstr "" #: src/client/keycode.cpp msgid "IME Nonconvert" msgstr "" #: src/client/keycode.cpp msgid "Insert" msgstr "" #: src/client/keycode.cpp src/gui/guiKeyChangeMenu.cpp msgid "Left" msgstr "" #: src/client/keycode.cpp msgid "Left Button" msgstr "" #: src/client/keycode.cpp msgid "Left Control" msgstr "" #: src/client/keycode.cpp msgid "Left Menu" msgstr "" #: src/client/keycode.cpp msgid "Left Shift" msgstr "" #: src/client/keycode.cpp msgid "Left Windows" msgstr "" #. ~ Key name, common on Windows keyboards #: src/client/keycode.cpp msgid "Menu" msgstr "" #: src/client/keycode.cpp msgid "Middle Button" msgstr "" #: src/client/keycode.cpp msgid "Num Lock" msgstr "" #: src/client/keycode.cpp msgid "Numpad *" msgstr "" #: src/client/keycode.cpp msgid "Numpad +" msgstr "" #: src/client/keycode.cpp msgid "Numpad -" msgstr "" #: src/client/keycode.cpp msgid "Numpad ." msgstr "" #: src/client/keycode.cpp msgid "Numpad /" msgstr "" #: src/client/keycode.cpp msgid "Numpad 0" msgstr "" #: src/client/keycode.cpp msgid "Numpad 1" msgstr "" #: src/client/keycode.cpp msgid "Numpad 2" msgstr "" #: src/client/keycode.cpp msgid "Numpad 3" msgstr "" #: src/client/keycode.cpp msgid "Numpad 4" msgstr "" #: src/client/keycode.cpp msgid "Numpad 5" msgstr "" #: src/client/keycode.cpp msgid "Numpad 6" msgstr "" #: src/client/keycode.cpp msgid "Numpad 7" msgstr "" #: src/client/keycode.cpp msgid "Numpad 8" msgstr "" #: src/client/keycode.cpp msgid "Numpad 9" msgstr "" #: src/client/keycode.cpp msgid "OEM Clear" msgstr "" #: src/client/keycode.cpp msgid "Page down" msgstr "" #: src/client/keycode.cpp msgid "Page up" msgstr "" #: src/client/keycode.cpp msgid "Pause" msgstr "" #: src/client/keycode.cpp msgid "Play" msgstr "" #. ~ "Print screen" key #: src/client/keycode.cpp msgid "Print" msgstr "" #: src/client/keycode.cpp msgid "Return" msgstr "" #: src/client/keycode.cpp src/gui/guiKeyChangeMenu.cpp msgid "Right" msgstr "" #: src/client/keycode.cpp msgid "Right Button" msgstr "" #: src/client/keycode.cpp msgid "Right Control" msgstr "" #: src/client/keycode.cpp msgid "Right Menu" msgstr "" #: src/client/keycode.cpp msgid "Right Shift" msgstr "" #: src/client/keycode.cpp msgid "Right Windows" msgstr "" #: src/client/keycode.cpp msgid "Scroll Lock" msgstr "" #. ~ Key name #: src/client/keycode.cpp msgid "Select" msgstr "" #: src/client/keycode.cpp msgid "Shift" msgstr "" #: src/client/keycode.cpp msgid "Sleep" msgstr "" #: src/client/keycode.cpp msgid "Snapshot" msgstr "" #: src/client/keycode.cpp msgid "Space" msgstr "" #: src/client/keycode.cpp msgid "Tab" msgstr "" #: src/client/keycode.cpp msgid "Up" msgstr "" #: src/client/keycode.cpp msgid "X Button 1" msgstr "" #: src/client/keycode.cpp msgid "X Button 2" msgstr "" #: src/client/keycode.cpp src/gui/guiKeyChangeMenu.cpp msgid "Zoom" msgstr "" #: src/client/minimap.cpp msgid "Minimap hidden" msgstr "" #: src/client/minimap.cpp #, c-format msgid "Minimap in radar mode, Zoom x%d" msgstr "" #: src/client/minimap.cpp #, c-format msgid "Minimap in surface mode, Zoom x%d" msgstr "" #: src/client/minimap.cpp msgid "Minimap in texture mode" msgstr "" #: src/gui/guiConfirmRegistration.cpp src/gui/guiPasswordChange.cpp msgid "Passwords do not match!" msgstr "" #: src/gui/guiConfirmRegistration.cpp msgid "Register and Join" msgstr "" #: src/gui/guiConfirmRegistration.cpp #, c-format msgid "" "You are about to join this server with the name \"%s\" for the first time.\n" "If you proceed, a new account using your credentials will be created on this " "server.\n" "Please retype your password and click 'Register and Join' to confirm account " "creation, or click 'Cancel' to abort." msgstr "" #: src/gui/guiFormSpecMenu.cpp msgid "Proceed" msgstr "" #: src/gui/guiKeyChangeMenu.cpp msgid "\"Special\" = climb down" msgstr "" #: src/gui/guiKeyChangeMenu.cpp msgid "Autoforward" msgstr "" #: src/gui/guiKeyChangeMenu.cpp src/settings_translation_file.cpp msgid "Automatic jumping" msgstr "" #: src/gui/guiKeyChangeMenu.cpp msgid "Backward" msgstr "" #: src/gui/guiKeyChangeMenu.cpp msgid "Change camera" msgstr "" #: src/gui/guiKeyChangeMenu.cpp msgid "Chat" msgstr "" #: src/gui/guiKeyChangeMenu.cpp msgid "Command" msgstr "" #: src/gui/guiKeyChangeMenu.cpp msgid "Console" msgstr "" #: src/gui/guiKeyChangeMenu.cpp msgid "Dec. range" msgstr "" #: src/gui/guiKeyChangeMenu.cpp msgid "Dec. volume" msgstr "" #: src/gui/guiKeyChangeMenu.cpp msgid "Double tap \"jump\" to toggle fly" msgstr "" #: src/gui/guiKeyChangeMenu.cpp msgid "Drop" msgstr "" #: src/gui/guiKeyChangeMenu.cpp msgid "Forward" msgstr "" #: src/gui/guiKeyChangeMenu.cpp msgid "Inc. range" msgstr "" #: src/gui/guiKeyChangeMenu.cpp msgid "Inc. volume" msgstr "" #: src/gui/guiKeyChangeMenu.cpp msgid "Inventory" msgstr "" #: src/gui/guiKeyChangeMenu.cpp msgid "Jump" msgstr "" #: src/gui/guiKeyChangeMenu.cpp msgid "Key already in use" msgstr "" #: src/gui/guiKeyChangeMenu.cpp msgid "Keybindings. (If this menu screws up, remove stuff from minetest.conf)" msgstr "" #: src/gui/guiKeyChangeMenu.cpp msgid "Local command" msgstr "" #: src/gui/guiKeyChangeMenu.cpp msgid "Mute" msgstr "" #: src/gui/guiKeyChangeMenu.cpp msgid "Next item" msgstr "" #: src/gui/guiKeyChangeMenu.cpp msgid "Prev. item" msgstr "" #: src/gui/guiKeyChangeMenu.cpp msgid "Range select" msgstr "" #: src/gui/guiKeyChangeMenu.cpp src/settings_translation_file.cpp msgid "Screenshot" msgstr "" #: src/gui/guiKeyChangeMenu.cpp msgid "Sneak" msgstr "" #: src/gui/guiKeyChangeMenu.cpp msgid "Special" msgstr "" #: src/gui/guiKeyChangeMenu.cpp msgid "Toggle HUD" msgstr "" #: src/gui/guiKeyChangeMenu.cpp msgid "Toggle chat log" msgstr "" #: src/gui/guiKeyChangeMenu.cpp msgid "Toggle fast" msgstr "" #: src/gui/guiKeyChangeMenu.cpp msgid "Toggle fly" msgstr "" #: src/gui/guiKeyChangeMenu.cpp msgid "Toggle fog" msgstr "" #: src/gui/guiKeyChangeMenu.cpp msgid "Toggle minimap" msgstr "" #: src/gui/guiKeyChangeMenu.cpp msgid "Toggle noclip" msgstr "" #: src/gui/guiKeyChangeMenu.cpp msgid "Toggle pitchmove" msgstr "" #: src/gui/guiKeyChangeMenu.cpp msgid "press key" msgstr "" #: src/gui/guiPasswordChange.cpp msgid "Change" msgstr "" #: src/gui/guiPasswordChange.cpp msgid "Confirm Password" msgstr "" #: src/gui/guiPasswordChange.cpp msgid "New Password" msgstr "" #: src/gui/guiPasswordChange.cpp msgid "Old Password" msgstr "" #: src/gui/guiVolumeChange.cpp msgid "Exit" msgstr "" #: src/gui/guiVolumeChange.cpp msgid "Muted" msgstr "" #: src/gui/guiVolumeChange.cpp msgid "Sound Volume: " msgstr "" #. ~ Imperative, as in "Enter/type in text". #. Don't forget the space. #: src/gui/modalMenu.cpp msgid "Enter " msgstr "" #. ~ DO NOT TRANSLATE THIS LITERALLY! #. This is a special string which needs to contain the translation's #. language code (e.g. "de" for German). #: src/network/clientpackethandler.cpp src/script/lua_api/l_client.cpp msgid "LANG_CODE" msgstr "sr_Latn" #: src/settings_translation_file.cpp msgid "" "(Android) Fixes the position of virtual joystick.\n" "If disabled, virtual joystick will center to first-touch's position." msgstr "" #: src/settings_translation_file.cpp msgid "" "(Android) Use virtual joystick to trigger \"aux\" button.\n" "If enabled, virtual joystick will also tap \"aux\" button when out of main " "circle." msgstr "" #: src/settings_translation_file.cpp msgid "" "(X,Y,Z) offset of fractal from world center in units of 'scale'.\n" "Can be used to move a desired point to (0, 0) to create a\n" "suitable spawn point, or to allow 'zooming in' on a desired\n" "point by increasing 'scale'.\n" "The default is tuned for a suitable spawn point for Mandelbrot\n" "sets with default parameters, it may need altering in other\n" "situations.\n" "Range roughly -2 to 2. Multiply by 'scale' for offset in nodes." msgstr "" #: src/settings_translation_file.cpp msgid "" "(X,Y,Z) scale of fractal in nodes.\n" "Actual fractal size will be 2 to 3 times larger.\n" "These numbers can be made very large, the fractal does\n" "not have to fit inside the world.\n" "Increase these to 'zoom' into the detail of the fractal.\n" "Default is for a vertically-squashed shape suitable for\n" "an island, set all 3 numbers equal for the raw shape." msgstr "" #: src/settings_translation_file.cpp msgid "2D noise that controls the shape/size of ridged mountains." msgstr "" #: src/settings_translation_file.cpp msgid "2D noise that controls the shape/size of rolling hills." msgstr "" #: src/settings_translation_file.cpp msgid "2D noise that controls the shape/size of step mountains." msgstr "" #: src/settings_translation_file.cpp msgid "2D noise that controls the size/occurrence of ridged mountain ranges." msgstr "" #: src/settings_translation_file.cpp msgid "2D noise that controls the size/occurrence of rolling hills." msgstr "" #: src/settings_translation_file.cpp msgid "2D noise that controls the size/occurrence of step mountain ranges." msgstr "" #: src/settings_translation_file.cpp msgid "2D noise that locates the river valleys and channels." msgstr "" #: src/settings_translation_file.cpp msgid "3D clouds" msgstr "" #: src/settings_translation_file.cpp msgid "3D mode" msgstr "" #: src/settings_translation_file.cpp msgid "3D mode parallax strength" msgstr "" #: src/settings_translation_file.cpp msgid "3D noise defining giant caverns." msgstr "" #: src/settings_translation_file.cpp msgid "" "3D noise defining mountain structure and height.\n" "Also defines structure of floatland mountain terrain." msgstr "" #: src/settings_translation_file.cpp msgid "" "3D noise defining structure of floatlands.\n" "If altered from the default, the noise 'scale' (0.7 by default) may need\n" "to be adjusted, as floatland tapering functions best when this noise has\n" "a value range of approximately -2.0 to 2.0." msgstr "" #: src/settings_translation_file.cpp msgid "3D noise defining structure of river canyon walls." msgstr "" #: src/settings_translation_file.cpp msgid "3D noise defining terrain." msgstr "" #: src/settings_translation_file.cpp msgid "3D noise for mountain overhangs, cliffs, etc. Usually small variations." msgstr "" #: src/settings_translation_file.cpp msgid "3D noise that determines number of dungeons per mapchunk." msgstr "" #: src/settings_translation_file.cpp msgid "" "3D support.\n" "Currently supported:\n" "- none: no 3d output.\n" "- anaglyph: cyan/magenta color 3d.\n" "- interlaced: odd/even line based polarisation screen support.\n" "- topbottom: split screen top/bottom.\n" "- sidebyside: split screen side by side.\n" "- crossview: Cross-eyed 3d\n" "- pageflip: quadbuffer based 3d.\n" "Note that the interlaced mode requires shaders to be enabled." msgstr "" #: src/settings_translation_file.cpp msgid "" "A chosen map seed for a new map, leave empty for random.\n" "Will be overridden when creating a new world in the main menu." msgstr "" #: src/settings_translation_file.cpp msgid "A message to be displayed to all clients when the server crashes." msgstr "" #: src/settings_translation_file.cpp msgid "A message to be displayed to all clients when the server shuts down." msgstr "" #: src/settings_translation_file.cpp msgid "ABM interval" msgstr "" #: src/settings_translation_file.cpp msgid "ABM time budget" msgstr "" #: src/settings_translation_file.cpp msgid "Absolute limit of queued blocks to emerge" msgstr "" #: src/settings_translation_file.cpp msgid "Acceleration in air" msgstr "" #: src/settings_translation_file.cpp msgid "Acceleration of gravity, in nodes per second per second." msgstr "" #: src/settings_translation_file.cpp msgid "Active Block Modifiers" msgstr "" #: src/settings_translation_file.cpp msgid "Active block management interval" msgstr "" #: src/settings_translation_file.cpp msgid "Active block range" msgstr "" #: src/settings_translation_file.cpp msgid "Active object send range" msgstr "" #: src/settings_translation_file.cpp msgid "" "Address to connect to.\n" "Leave this blank to start a local server.\n" "Note that the address field in the main menu overrides this setting." msgstr "" #: src/settings_translation_file.cpp msgid "Adds particles when digging a node." msgstr "" #: src/settings_translation_file.cpp msgid "" "Adjust dpi configuration to your screen (non X11/Android only) e.g. for 4k " "screens." msgstr "" #: src/settings_translation_file.cpp #, c-format msgid "" "Adjusts the density of the floatland layer.\n" "Increase value to increase density. Can be positive or negative.\n" "Value = 0.0: 50% of volume is floatland.\n" "Value = 2.0 (can be higher depending on 'mgv7_np_floatland', always test\n" "to be sure) creates a solid floatland layer." msgstr "" #: src/settings_translation_file.cpp msgid "Advanced" msgstr "" #: src/settings_translation_file.cpp msgid "" "Alters the light curve by applying 'gamma correction' to it.\n" "Higher values make middle and lower light levels brighter.\n" "Value '1.0' leaves the light curve unaltered.\n" "This only has significant effect on daylight and artificial\n" "light, it has very little effect on natural night light." msgstr "" #: src/settings_translation_file.cpp msgid "Always fly and fast" msgstr "" #: src/settings_translation_file.cpp msgid "Ambient occlusion gamma" msgstr "" #: src/settings_translation_file.cpp msgid "Amount of messages a player may send per 10 seconds." msgstr "" #: src/settings_translation_file.cpp msgid "Amplifies the valleys." msgstr "" #: src/settings_translation_file.cpp msgid "Anisotropic filtering" msgstr "" #: src/settings_translation_file.cpp msgid "Announce server" msgstr "" #: src/settings_translation_file.cpp msgid "Announce to this serverlist." msgstr "" #: src/settings_translation_file.cpp msgid "Append item name" msgstr "" #: src/settings_translation_file.cpp msgid "Append item name to tooltip." msgstr "" #: src/settings_translation_file.cpp msgid "Apple trees noise" msgstr "" #: src/settings_translation_file.cpp msgid "Arm inertia" msgstr "" #: src/settings_translation_file.cpp msgid "" "Arm inertia, gives a more realistic movement of\n" "the arm when the camera moves." msgstr "" #: src/settings_translation_file.cpp msgid "Ask to reconnect after crash" msgstr "" #: src/settings_translation_file.cpp msgid "" "At this distance the server will aggressively optimize which blocks are sent " "to\n" "clients.\n" "Small values potentially improve performance a lot, at the expense of " "visible\n" "rendering glitches (some blocks will not be rendered under water and in " "caves,\n" "as well as sometimes on land).\n" "Setting this to a value greater than max_block_send_distance disables this\n" "optimization.\n" "Stated in mapblocks (16 nodes)." msgstr "" #: src/settings_translation_file.cpp msgid "Automatic forward key" msgstr "" #: src/settings_translation_file.cpp msgid "Automatically jump up single-node obstacles." msgstr "" #: src/settings_translation_file.cpp msgid "Automatically report to the serverlist." msgstr "" #: src/settings_translation_file.cpp msgid "Autosave screen size" msgstr "" #: src/settings_translation_file.cpp msgid "Autoscaling mode" msgstr "" #: src/settings_translation_file.cpp msgid "Backward key" msgstr "" #: src/settings_translation_file.cpp msgid "Base ground level" msgstr "" #: src/settings_translation_file.cpp msgid "Base terrain height." msgstr "" #: src/settings_translation_file.cpp msgid "Basic" msgstr "" #: src/settings_translation_file.cpp msgid "Basic privileges" msgstr "" #: src/settings_translation_file.cpp msgid "Beach noise" msgstr "" #: src/settings_translation_file.cpp msgid "Beach noise threshold" msgstr "" #: src/settings_translation_file.cpp msgid "Bilinear filtering" msgstr "" #: src/settings_translation_file.cpp msgid "Bind address" msgstr "" #: src/settings_translation_file.cpp msgid "Biome API temperature and humidity noise parameters" msgstr "" #: src/settings_translation_file.cpp msgid "Biome noise" msgstr "" #: src/settings_translation_file.cpp msgid "Bits per pixel (aka color depth) in fullscreen mode." msgstr "" #: src/settings_translation_file.cpp msgid "Block send optimize distance" msgstr "" #: src/settings_translation_file.cpp msgid "Bold and italic font path" msgstr "" #: src/settings_translation_file.cpp msgid "Bold and italic monospace font path" msgstr "" #: src/settings_translation_file.cpp msgid "Bold font path" msgstr "" #: src/settings_translation_file.cpp msgid "Bold monospace font path" msgstr "" #: src/settings_translation_file.cpp msgid "Build inside player" msgstr "" #: src/settings_translation_file.cpp msgid "Builtin" msgstr "" #: src/settings_translation_file.cpp msgid "" "Camera 'near clipping plane' distance in nodes, between 0 and 0.25\n" "Only works on GLES platforms. Most users will not need to change this.\n" "Increasing can reduce artifacting on weaker GPUs.\n" "0.1 = Default, 0.25 = Good value for weaker tablets." msgstr "" #: src/settings_translation_file.cpp msgid "Camera smoothing" msgstr "" #: src/settings_translation_file.cpp msgid "Camera smoothing in cinematic mode" msgstr "" #: src/settings_translation_file.cpp msgid "Camera update toggle key" msgstr "" #: src/settings_translation_file.cpp msgid "Cave noise" msgstr "" #: src/settings_translation_file.cpp msgid "Cave noise #1" msgstr "" #: src/settings_translation_file.cpp msgid "Cave noise #2" msgstr "" #: src/settings_translation_file.cpp msgid "Cave width" msgstr "" #: src/settings_translation_file.cpp msgid "Cave1 noise" msgstr "" #: src/settings_translation_file.cpp msgid "Cave2 noise" msgstr "" #: src/settings_translation_file.cpp msgid "Cavern limit" msgstr "" #: src/settings_translation_file.cpp msgid "Cavern noise" msgstr "" #: src/settings_translation_file.cpp msgid "Cavern taper" msgstr "" #: src/settings_translation_file.cpp msgid "Cavern threshold" msgstr "" #: src/settings_translation_file.cpp msgid "Cavern upper limit" msgstr "" #: src/settings_translation_file.cpp msgid "" "Center of light curve boost range.\n" "Where 0.0 is minimum light level, 1.0 is maximum light level." msgstr "" #: src/settings_translation_file.cpp msgid "Chat font size" msgstr "" #: src/settings_translation_file.cpp msgid "Chat key" msgstr "" #: src/settings_translation_file.cpp msgid "Chat log level" msgstr "" #: src/settings_translation_file.cpp msgid "Chat message count limit" msgstr "" #: src/settings_translation_file.cpp msgid "Chat message format" msgstr "" #: src/settings_translation_file.cpp msgid "Chat message kick threshold" msgstr "" #: src/settings_translation_file.cpp msgid "Chat message max length" msgstr "" #: src/settings_translation_file.cpp msgid "Chat toggle key" msgstr "" #: src/settings_translation_file.cpp msgid "Chatcommands" msgstr "" #: src/settings_translation_file.cpp msgid "Chunk size" msgstr "" #: src/settings_translation_file.cpp msgid "Cinematic mode" msgstr "" #: src/settings_translation_file.cpp msgid "Cinematic mode key" msgstr "" #: src/settings_translation_file.cpp msgid "Clean transparent textures" msgstr "" #: src/settings_translation_file.cpp msgid "Client" msgstr "" #: src/settings_translation_file.cpp msgid "Client and Server" msgstr "" #: src/settings_translation_file.cpp msgid "Client modding" msgstr "" #: src/settings_translation_file.cpp msgid "Client side modding restrictions" msgstr "" #: src/settings_translation_file.cpp msgid "Client side node lookup range restriction" msgstr "" #: src/settings_translation_file.cpp msgid "Climbing speed" msgstr "" #: src/settings_translation_file.cpp msgid "Cloud radius" msgstr "" #: src/settings_translation_file.cpp msgid "Clouds" msgstr "" #: src/settings_translation_file.cpp msgid "Clouds are a client side effect." msgstr "" #: src/settings_translation_file.cpp msgid "Clouds in menu" msgstr "" #: src/settings_translation_file.cpp msgid "Colored fog" msgstr "" #: src/settings_translation_file.cpp msgid "" "Comma-separated list of flags to hide in the content repository.\n" "\"nonfree\" can be used to hide packages which do not qualify as 'free " "software',\n" "as defined by the Free Software Foundation.\n" "You can also specify content ratings.\n" "These flags are independent from Minetest versions,\n" "so see a full list at https://content.minetest.net/help/content_flags/" msgstr "" #: src/settings_translation_file.cpp msgid "" "Comma-separated list of mods that are allowed to access HTTP APIs, which\n" "allow them to upload and download data to/from the internet." msgstr "" #: src/settings_translation_file.cpp msgid "" "Comma-separated list of trusted mods that are allowed to access insecure\n" "functions even when mod security is on (via request_insecure_environment())." msgstr "" #: src/settings_translation_file.cpp msgid "Command key" msgstr "" #: src/settings_translation_file.cpp msgid "Connect glass" msgstr "" #: src/settings_translation_file.cpp msgid "Connect to external media server" msgstr "" #: src/settings_translation_file.cpp msgid "Connects glass if supported by node." msgstr "" #: src/settings_translation_file.cpp msgid "Console alpha" msgstr "" #: src/settings_translation_file.cpp msgid "Console color" msgstr "" #: src/settings_translation_file.cpp msgid "Console height" msgstr "" #: src/settings_translation_file.cpp msgid "ContentDB Flag Blacklist" msgstr "" #: src/settings_translation_file.cpp msgid "ContentDB Max Concurrent Downloads" msgstr "" #: src/settings_translation_file.cpp msgid "ContentDB URL" msgstr "" #: src/settings_translation_file.cpp msgid "Continuous forward" msgstr "" #: src/settings_translation_file.cpp msgid "" "Continuous forward movement, toggled by autoforward key.\n" "Press the autoforward key again or the backwards movement to disable." msgstr "" #: src/settings_translation_file.cpp msgid "Controls" msgstr "" #: src/settings_translation_file.cpp msgid "" "Controls length of day/night cycle.\n" "Examples:\n" "72 = 20min, 360 = 4min, 1 = 24hour, 0 = day/night/whatever stays unchanged." msgstr "" #: src/settings_translation_file.cpp msgid "Controls sinking speed in liquid." msgstr "" #: src/settings_translation_file.cpp msgid "Controls steepness/depth of lake depressions." msgstr "" #: src/settings_translation_file.cpp msgid "Controls steepness/height of hills." msgstr "" #: src/settings_translation_file.cpp msgid "" "Controls width of tunnels, a smaller value creates wider tunnels.\n" "Value >= 10.0 completely disables generation of tunnels and avoids the\n" "intensive noise calculations." msgstr "" #: src/settings_translation_file.cpp msgid "Crash message" msgstr "" #: src/settings_translation_file.cpp msgid "Creative" msgstr "" #: src/settings_translation_file.cpp msgid "Crosshair alpha" msgstr "" #: src/settings_translation_file.cpp msgid "" "Crosshair alpha (opaqueness, between 0 and 255).\n" "Also controls the object crosshair color" msgstr "" #: src/settings_translation_file.cpp msgid "Crosshair color" msgstr "" #: src/settings_translation_file.cpp msgid "" "Crosshair color (R,G,B).\n" "Also controls the object crosshair color" msgstr "" #: src/settings_translation_file.cpp msgid "DPI" msgstr "" #: src/settings_translation_file.cpp msgid "Damage" msgstr "" #: src/settings_translation_file.cpp msgid "Debug info toggle key" msgstr "" #: src/settings_translation_file.cpp msgid "Debug log file size threshold" msgstr "" #: src/settings_translation_file.cpp msgid "Debug log level" msgstr "" #: src/settings_translation_file.cpp msgid "Dec. volume key" msgstr "" #: src/settings_translation_file.cpp msgid "Decrease this to increase liquid resistance to movement." msgstr "" #: src/settings_translation_file.cpp msgid "Dedicated server step" msgstr "" #: src/settings_translation_file.cpp msgid "Default acceleration" msgstr "" #: src/settings_translation_file.cpp msgid "Default game" msgstr "" #: src/settings_translation_file.cpp msgid "" "Default game when creating a new world.\n" "This will be overridden when creating a world from the main menu." msgstr "" #: src/settings_translation_file.cpp msgid "Default password" msgstr "" #: src/settings_translation_file.cpp msgid "Default privileges" msgstr "" #: src/settings_translation_file.cpp msgid "Default report format" msgstr "" #: src/settings_translation_file.cpp msgid "Default stack size" msgstr "" #: src/settings_translation_file.cpp msgid "" "Default timeout for cURL, stated in milliseconds.\n" "Only has an effect if compiled with cURL." msgstr "" #: src/settings_translation_file.cpp msgid "Defines areas where trees have apples." msgstr "" #: src/settings_translation_file.cpp msgid "Defines areas with sandy beaches." msgstr "" #: src/settings_translation_file.cpp msgid "Defines distribution of higher terrain and steepness of cliffs." msgstr "" #: src/settings_translation_file.cpp msgid "Defines distribution of higher terrain." msgstr "" #: src/settings_translation_file.cpp msgid "Defines full size of caverns, smaller values create larger caverns." msgstr "" #: src/settings_translation_file.cpp msgid "Defines large-scale river channel structure." msgstr "" #: src/settings_translation_file.cpp msgid "Defines location and terrain of optional hills and lakes." msgstr "" #: src/settings_translation_file.cpp msgid "Defines the base ground level." msgstr "" #: src/settings_translation_file.cpp msgid "Defines the depth of the river channel." msgstr "" #: src/settings_translation_file.cpp msgid "Defines the maximal player transfer distance in blocks (0 = unlimited)." msgstr "" #: src/settings_translation_file.cpp msgid "Defines the width of the river channel." msgstr "" #: src/settings_translation_file.cpp msgid "Defines the width of the river valley." msgstr "" #: src/settings_translation_file.cpp msgid "Defines tree areas and tree density." msgstr "" #: src/settings_translation_file.cpp msgid "" "Delay between mesh updates on the client in ms. Increasing this will slow\n" "down the rate of mesh updates, thus reducing jitter on slower clients." msgstr "" #: src/settings_translation_file.cpp msgid "Delay in sending blocks after building" msgstr "" #: src/settings_translation_file.cpp msgid "Delay showing tooltips, stated in milliseconds." msgstr "" #: src/settings_translation_file.cpp msgid "Deprecated Lua API handling" msgstr "" #: src/settings_translation_file.cpp msgid "Depth below which you'll find giant caverns." msgstr "" #: src/settings_translation_file.cpp msgid "Depth below which you'll find large caves." msgstr "" #: src/settings_translation_file.cpp msgid "" "Description of server, to be displayed when players join and in the " "serverlist." msgstr "" #: src/settings_translation_file.cpp msgid "Desert noise threshold" msgstr "" #: src/settings_translation_file.cpp msgid "" "Deserts occur when np_biome exceeds this value.\n" "When the 'snowbiomes' flag is enabled, this is ignored." msgstr "" #: src/settings_translation_file.cpp msgid "Desynchronize block animation" msgstr "" #: src/settings_translation_file.cpp msgid "Dig key" msgstr "" #: src/settings_translation_file.cpp msgid "Digging particles" msgstr "" #: src/settings_translation_file.cpp msgid "Disable anticheat" msgstr "" #: src/settings_translation_file.cpp msgid "Disallow empty passwords" msgstr "" #: src/settings_translation_file.cpp msgid "Domain name of server, to be displayed in the serverlist." msgstr "" #: src/settings_translation_file.cpp msgid "Double tap jump for fly" msgstr "" #: src/settings_translation_file.cpp msgid "Double-tapping the jump key toggles fly mode." msgstr "" #: src/settings_translation_file.cpp msgid "Drop item key" msgstr "" #: src/settings_translation_file.cpp msgid "Dump the mapgen debug information." msgstr "" #: src/settings_translation_file.cpp msgid "Dungeon maximum Y" msgstr "" #: src/settings_translation_file.cpp msgid "Dungeon minimum Y" msgstr "" #: src/settings_translation_file.cpp msgid "Dungeon noise" msgstr "" #: src/settings_translation_file.cpp msgid "" "Enable IPv6 support (for both client and server).\n" "Required for IPv6 connections to work at all." msgstr "" #: src/settings_translation_file.cpp msgid "" "Enable Lua modding support on client.\n" "This support is experimental and API can change." msgstr "" #: src/settings_translation_file.cpp msgid "Enable console window" msgstr "" #: src/settings_translation_file.cpp msgid "Enable creative mode for all players" msgstr "" #: src/settings_translation_file.cpp msgid "Enable joysticks" msgstr "" #: src/settings_translation_file.cpp msgid "Enable mod channels support." msgstr "" #: src/settings_translation_file.cpp msgid "Enable mod security" msgstr "" #: src/settings_translation_file.cpp msgid "Enable players getting damage and dying." msgstr "" #: src/settings_translation_file.cpp msgid "Enable random user input (only used for testing)." msgstr "" #: src/settings_translation_file.cpp msgid "Enable register confirmation" msgstr "" #: src/settings_translation_file.cpp msgid "" "Enable register confirmation when connecting to server.\n" "If disabled, new account will be registered automatically." msgstr "" #: src/settings_translation_file.cpp msgid "" "Enable smooth lighting with simple ambient occlusion.\n" "Disable for speed or for different looks." msgstr "" #: src/settings_translation_file.cpp msgid "" "Enable to disallow old clients from connecting.\n" "Older clients are compatible in the sense that they will not crash when " "connecting\n" "to new servers, but they may not support all new features that you are " "expecting." msgstr "" #: src/settings_translation_file.cpp msgid "" "Enable usage of remote media server (if provided by server).\n" "Remote servers offer a significantly faster way to download media (e.g. " "textures)\n" "when connecting to the server." msgstr "" #: src/settings_translation_file.cpp msgid "" "Enable vertex buffer objects.\n" "This should greatly improve graphics performance." msgstr "" #: src/settings_translation_file.cpp msgid "" "Enable view bobbing and amount of view bobbing.\n" "For example: 0 for no view bobbing; 1.0 for normal; 2.0 for double." msgstr "" #: src/settings_translation_file.cpp msgid "" "Enable/disable running an IPv6 server.\n" "Ignored if bind_address is set.\n" "Needs enable_ipv6 to be enabled." msgstr "" #: src/settings_translation_file.cpp msgid "" "Enables Hable's 'Uncharted 2' filmic tone mapping.\n" "Simulates the tone curve of photographic film and how this approximates the\n" "appearance of high dynamic range images. Mid-range contrast is slightly\n" "enhanced, highlights and shadows are gradually compressed." msgstr "" #: src/settings_translation_file.cpp msgid "Enables animation of inventory items." msgstr "" #: src/settings_translation_file.cpp msgid "Enables caching of facedir rotated meshes." msgstr "" #: src/settings_translation_file.cpp msgid "Enables minimap." msgstr "" #: src/settings_translation_file.cpp msgid "" "Enables the sound system.\n" "If disabled, this completely disables all sounds everywhere and the in-game\n" "sound controls will be non-functional.\n" "Changing this setting require v3s16 pos = read_v3s16(L, 1); MapNode n = readnode(L, 2, ndef); // Don't attempt to load non-loaded area as of now MapNode n_old = env->getMap().getNodeNoEx(pos); if(n_old.getContent() == CONTENT_IGNORE){ lua_pushboolean(L, false); return 1; } // Create item to place ItemStack item(ndef->get(n).name, 1, 0, "", idef); // Make pointed position PointedThing pointed; pointed.type = POINTEDTHING_NODE; pointed.node_abovesurface = pos; pointed.node_undersurface = pos + v3s16(0,-1,0); // Place it with a NULL placer (appears in Lua as a non-functional // ObjectRef) bool success = scriptIfaceItem->item_OnPlace(item, NULL, pointed); lua_pushboolean(L, success); return 1; } // dig_node(pos) // pos = {x=num, y=num, z=num} int ModApiEnvMod::l_dig_node(lua_State *L) { GET_ENV_PTR; ScriptApiNode *scriptIfaceNode = getScriptApi<ScriptApiNode>(L); v3s16 pos = read_v3s16(L, 1); // Don't attempt to load non-loaded area as of now MapNode n = env->getMap().getNodeNoEx(pos); if(n.getContent() == CONTENT_IGNORE){ lua_pushboolean(L, false); return 1; } // Dig it out with a NULL digger (appears in Lua as a // non-functional ObjectRef) bool success = scriptIfaceNode->node_on_dig(pos, n, NULL); lua_pushboolean(L, success); return 1; } // punch_node(pos) // pos = {x=num, y=num, z=num} int ModApiEnvMod::l_punch_node(lua_State *L) { GET_ENV_PTR; ScriptApiNode *scriptIfaceNode = getScriptApi<ScriptApiNode>(L); v3s16 pos = read_v3s16(L, 1); // Don't attempt to load non-loaded area as of now MapNode n = env->getMap().getNodeNoEx(pos); if(n.getContent() == CONTENT_IGNORE){ lua_pushboolean(L, false); return 1; } // Punch it with a NULL puncher (appears in Lua as a non-functional // ObjectRef) bool success = scriptIfaceNode->node_on_punch(pos, n, NULL, PointedThing()); lua_pushboolean(L, success); return 1; } // get_node_max_level(pos) // pos = {x=num, y=num, z=num} int ModApiEnvMod::l_get_node_max_level(lua_State *L) { GET_ENV_PTR; v3s16 pos = read_v3s16(L, 1); MapNode n = env->getMap().getNodeNoEx(pos); lua_pushnumber(L, n.getMaxLevel(env->getGameDef()->ndef())); return 1; } // get_node_level(pos) // pos = {x=num, y=num, z=num} int ModApiEnvMod::l_get_node_level(lua_State *L) { GET_ENV_PTR; v3s16 pos = read_v3s16(L, 1); MapNode n = env->getMap().getNodeNoEx(pos); lua_pushnumber(L, n.getLevel(env->getGameDef()->ndef())); return 1; } // set_node_level(pos, level) // pos = {x=num, y=num, z=num} // level: 0..63 int ModApiEnvMod::l_set_node_level(lua_State *L) { GET_ENV_PTR; v3s16 pos = read_v3s16(L, 1); u8 level = 1; if(lua_isnumber(L, 2)) level = lua_tonumber(L, 2); MapNode n = env->getMap().getNodeNoEx(pos); lua_pushnumber(L, n.setLevel(env->getGameDef()->ndef(), level)); env->setNode(pos, n); return 1; } // add_node_level(pos, level) // pos = {x=num, y=num, z=num} // level: 0..63 int ModApiEnvMod::l_add_node_level(lua_State *L) { GET_ENV_PTR; v3s16 pos = read_v3s16(L, 1); u8 level = 1; if(lua_isnumber(L, 2)) level = lua_tonumber(L, 2); MapNode n = env->getMap().getNodeNoEx(pos); lua_pushnumber(L, n.addLevel(env->getGameDef()->ndef(), level)); env->setNode(pos, n); return 1; } // find_nodes_with_meta(pos1, pos2) int ModApiEnvMod::l_find_nodes_with_meta(lua_State *L) { GET_ENV_PTR; std::vector<v3s16> positions = env->getMap().findNodesWithMetadata( check_v3s16(L, 1), check_v3s16(L, 2)); lua_newtable(L); for (size_t i = 0; i != positions.size(); i++) { push_v3s16(L, positions[i]); lua_rawseti(L, -2, i + 1); } return 1; } // get_meta(pos) int ModApiEnvMod::l_get_meta(lua_State *L) { GET_ENV_PTR; // Do it v3s16 p = read_v3s16(L, 1); NodeMetaRef::create(L, p, env); return 1; } // get_node_timer(pos) int ModApiEnvMod::l_get_node_timer(lua_State *L) { GET_ENV_PTR; // Do it v3s16 p = read_v3s16(L, 1); NodeTimerRef::create(L, p, env); return 1; } // add_entity(pos, entityname) -> ObjectRef or nil // pos = {x=num, y=num, z=num} int ModApiEnvMod::l_add_entity(lua_State *L) { GET_ENV_PTR; // pos v3f pos = checkFloatPos(L, 1); // content const char *name = luaL_checkstring(L, 2); // Do it ServerActiveObject *obj = new LuaEntitySAO(env, pos, name, ""); int objectid = env->addActiveObject(obj); // If failed to add, return nothing (reads as nil) if(objectid == 0) return 0; // Return ObjectRef getScriptApiBase(L)->objectrefGetOrCreate(L, obj); return 1; } // add_item(pos, itemstack or itemstring or table) -> ObjectRef or nil // pos = {x=num, y=num, z=num} int ModApiEnvMod::l_add_item(lua_State *L) { GET_ENV_PTR; // pos //v3f pos = checkFloatPos(L, 1); // item ItemStack item = read_item(L, 2,getServer(L)); if(item.empty() || !item.isKnown(getServer(L)->idef())) return 0; int error_handler = PUSH_ERROR_HANDLER(L); // Use spawn_item to spawn a __builtin:item lua_getglobal(L, "core"); lua_getfield(L, -1, "spawn_item"); lua_remove(L, -2); // Remove core if(lua_isnil(L, -1)) return 0; lua_pushvalue(L, 1); lua_pushstring(L, item.getItemString().c_str()); PCALL_RESL(L, lua_pcall(L, 2, 1, error_handler)); lua_remove(L, error_handler); return 1; } // get_player_by_name(name) int ModApiEnvMod::l_get_player_by_name(lua_State *L) { GET_ENV_PTR; // Do it const char *name = luaL_checkstring(L, 1); Player *player = env->getPlayer(name); if(player == NULL){ lua_pushnil(L); return 1; } PlayerSAO *sao = player->getPlayerSAO(); if(sao == NULL){ lua_pushnil(L); return 1; } // Put player on stack getScriptApiBase(L)->objectrefGetOrCreate(L, sao); return 1; } // get_objects_inside_radius(pos, radius) int ModApiEnvMod::l_get_objects_inside_radius(lua_State *L) { GET_ENV_PTR; // Do it v3f pos = checkFloatPos(L, 1); float radius = luaL_checknumber(L, 2) * BS; std::vector<u16> ids; env->getObjectsInsideRadius(ids, pos, radius); ScriptApiBase *script = getScriptApiBase(L); lua_createtable(L, ids.size(), 0); std::vector<u16>::const_iterator iter = ids.begin(); for(u32 i = 0; iter != ids.end(); iter++) { ServerActiveObject *obj = env->getActiveObject(*iter); // Insert object reference into table script->objectrefGetOrCreate(L, obj); lua_rawseti(L, -2, ++i); } return 1; } // set_timeofday(val) // val = 0...1 int ModApiEnvMod::l_set_timeofday(lua_State *L) { GET_ENV_PTR; // Do it float timeofday_f = luaL_checknumber(L, 1); sanity_check(timeofday_f >= 0.0 && timeofday_f <= 1.0); int timeofday_mh = (int)(timeofday_f * 24000.0); // This should be set directly in the environment but currently // such changes aren't immediately sent to the clients, so call // the server instead. //env->setTimeOfDay(timeofday_mh); getServer(L)->setTimeOfDay(timeofday_mh); return 0; } // get_timeofday() -> 0...1 int ModApiEnvMod::l_get_timeofday(lua_State *L) { GET_ENV_PTR; // Do it int timeofday_mh = env->getTimeOfDay(); float timeofday_f = (float)timeofday_mh / 24000.0; lua_pushnumber(L, timeofday_f); return 1; } // get_gametime() int ModApiEnvMod::l_get_gametime(lua_State *L) { GET_ENV_PTR; int game_time = env->getGameTime(); lua_pushnumber(L, game_time); return 1; } // find_node_near(pos, radius, nodenames) -> pos or nil // nodenames: eg. {"ignore", "group:tree"} or "default:dirt" int ModApiEnvMod::l_find_node_near(lua_State *L) { GET_ENV_PTR; INodeDefManager *ndef = getServer(L)->ndef(); v3s16 pos = read_v3s16(L, 1); int radius = luaL_checkinteger(L, 2); std::set<content_t> filter; if(lua_istable(L, 3)){ int table = 3; lua_pushnil(L); while(lua_next(L, table) != 0){ // key at index -2 and value at index -1 luaL_checktype(L, -1, LUA_TSTRING); ndef->getIds(lua_tostring(L, -1), filter); // removes value, keeps key for next iteration lua_pop(L, 1); } } else if(lua_isstring(L, 3)){ ndef->getIds(lua_tostring(L, 3), filter); } for(int d=1; d<=radius; d++){ std::vector<v3s16> list = FacePositionCache::getFacePositions(d); for(std::vector<v3s16>::iterator i = list.begin(); i != list.end(); ++i){ v3s16 p = pos + (*i); content_t c = env->getMap().getNodeNoEx(p).getContent(); if(filter.count(c) != 0){ push_v3s16(L, p); return 1; } } } return 0; } // find_nodes_in_area(minp, maxp, nodenames) -> list of positions // nodenames: eg. {"ignore", "group:tree"} or "default:dirt" int ModApiEnvMod::l_find_nodes_in_area(lua_State *L) { GET_ENV_PTR; INodeDefManager *ndef = getServer(L)->ndef(); v3s16 minp = read_v3s16(L, 1); v3s16 maxp = read_v3s16(L, 2); std::set<content_t> filter; if(lua_istable(L, 3)) { int table = 3; lua_pushnil(L); while(lua_next(L, table) != 0) { // key at index -2 and value at index -1 luaL_checktype(L, -1, LUA_TSTRING); ndef->getIds(lua_tostring(L, -1), filter); // removes value, keeps key for next iteration lua_pop(L, 1); } } else if(lua_isstring(L, 3)) { ndef->getIds(lua_tostring(L, 3), filter); } std::map<content_t, u16> individual_count; lua_newtable(L); u64 i = 0; for (s16 x = minp.X; x <= maxp.X; x++) for (s16 y = minp.Y; y <= maxp.Y; y++) for (s16 z = minp.Z; z <= maxp.Z; z++) { v3s16 p(x, y, z); content_t c = env->getMap().getNodeNoEx(p).getContent(); if (filter.count(c) != 0) { push_v3s16(L, p); lua_rawseti(L, -2, ++i); individual_count[c]++; } } lua_newtable(L); for (std::set<content_t>::iterator it = filter.begin(); it != filter.end(); ++it) { lua_pushnumber(L, individual_count[*it]); lua_setfield(L, -2, ndef->get(*it).name.c_str()); } return 2; } // find_nodes_in_area_under_air(minp, maxp, nodenames) -> list of positions // nodenames: e.g. {"ignore", "group:tree"} or "default:dirt" int ModApiEnvMod::l_find_nodes_in_area_under_air(lua_State *L) { /* Note: A similar but generalized (and therefore slower) version of this * function could be created -- e.g. find_nodes_in_area_under -- which * would accept a node name (or ID?) or list of names that the "above node" * should be. * TODO */ GET_ENV_PTR; INodeDefManager *ndef = getServer(L)->ndef(); v3s16 minp = read_v3s16(L, 1); v3s16 maxp = read_v3s16(L, 2); std::set<content_t> filter; if (lua_istable(L, 3)) { int table = 3; lua_pushnil(L); while(lua_next(L, table) != 0) { // key at index -2 and value at index -1 luaL_checktype(L, -1, LUA_TSTRING); ndef->getIds(lua_tostring(L, -1), filter); // removes value, keeps key for next iteration lua_pop(L, 1); } } else if (lua_isstring(L, 3)) { ndef->getIds(lua_tostring(L, 3), filter); } lua_newtable(L); u64 i = 0; for (s16 x = minp.X; x <= maxp.X; x++) for (s16 z = minp.Z; z <= maxp.Z; z++) { s16 y = minp.Y; v3s16 p(x, y, z); content_t c = env->getMap().getNodeNoEx(p).getContent(); for (; y <= maxp.Y; y++) { v3s16 psurf(x, y + 1, z); content_t csurf = env->getMap().getNodeNoEx(psurf).getContent(); if(c != CONTENT_AIR && csurf == CONTENT_AIR && filter.count(c) != 0) { push_v3s16(L, v3s16(x, y, z)); lua_rawseti(L, -2, ++i); } c = csurf; } } return 1; } // get_perlin(seeddiff, octaves, persistence, scale) // returns world-specific PerlinNoise int ModApiEnvMod::l_get_perlin(lua_State *L) { GET_ENV_PTR_NO_MAP_LOCK; NoiseParams params; if (lua_istable(L, 1)) { read_noiseparams(L, 1, &params); } else { params.seed = luaL_checkint(L, 1); params.octaves = luaL_checkint(L, 2); params.persist = luaL_checknumber(L, 3); params.spread = v3f(1, 1, 1) * luaL_checknumber(L, 4); } params.seed += (int)env->getServerMap().getSeed(); LuaPerlinNoise *n = new LuaPerlinNoise(&params); *(void **)(lua_newuserdata(L, sizeof(void *))) = n; luaL_getmetatable(L, "PerlinNoise"); lua_setmetatable(L, -2); return 1; } // get_perlin_map(noiseparams, size) // returns world-specific PerlinNoiseMap int ModApiEnvMod::l_get_perlin_map(lua_State *L) { GET_ENV_PTR_NO_MAP_LOCK; NoiseParams np; if (!read_noiseparams(L, 1, &np)) return 0; v3s16 size = read_v3s16(L, 2); int seed = (int)(env->getServerMap().getSeed()); LuaPerlinNoiseMap *n = new LuaPerlinNoiseMap(&np, seed, size); *(void **)(lua_newuserdata(L, sizeof(void *))) = n; luaL_getmetatable(L, "PerlinNoiseMap"); lua_setmetatable(L, -2); return 1; } // get_voxel_manip() // returns voxel manipulator int ModApiEnvMod::l_get_voxel_manip(lua_State *L) { GET_ENV_PTR; Map *map = &(env->getMap()); LuaVoxelManip *o = (lua_istable(L, 1) && lua_istable(L, 2)) ? new LuaVoxelManip(map, read_v3s16(L, 1), read_v3s16(L, 2)) : new LuaVoxelManip(map); *(void **)(lua_newuserdata(L, sizeof(void *))) = o; luaL_getmetatable(L, "VoxelManip"); lua_setmetatable(L, -2); return 1; } // clear_objects([options]) // clear all objects in the environment // where options = {mode = "full" or "quick"} int ModApiEnvMod::l_clear_objects(lua_State *L) { GET_ENV_PTR; ClearObjectsMode mode = CLEAR_OBJECTS_MODE_FULL; if (lua_istable(L, 1)) { mode = (ClearObjectsMode)getenumfield(L, 1, "mode", ModApiEnvMod::es_ClearObjectsMode, mode); } env->clearObjects(mode); return 0; } // line_of_sight(pos1, pos2, stepsize) -> true/false, pos int ModApiEnvMod::l_line_of_sight(lua_State *L) { float stepsize = 1.0; GET_ENV_PTR; // read position 1 from lua v3f pos1 = checkFloatPos(L, 1); // read position 2 from lua v3f pos2 = checkFloatPos(L, 2); //read step size from lua if (lua_isnumber(L, 3)) { stepsize = lua_tonumber(L, 3); } v3s16 p; bool success = env->line_of_sight(pos1, pos2, stepsize, &p); lua_pushboolean(L, success); if (!success) { push_v3s16(L, p); return 2; } return 1; } // emerge_area(p1, p2, [callback, context]) // emerge mapblocks in area p1..p2, calls callback with context upon completion int ModApiEnvMod::l_emerge_area(lua_State *L) { GET_ENV_PTR; EmergeCompletionCallback callback = NULL; ScriptCallbackState *state = NULL; EmergeManager *emerge = getServer(L)->getEmergeManager(); v3s16 bpmin = getNodeBlockPos(read_v3s16(L, 1)); v3s16 bpmax = getNodeBlockPos(read_v3s16(L, 2)); sortBoxVerticies(bpmin, bpmax); size_t num_blocks = VoxelArea(bpmin, bpmax).getVolume(); assert(num_blocks != 0); if (lua_isfunction(L, 3)) { callback = LuaEmergeAreaCallback; lua_pushvalue(L, 3); int callback_ref = luaL_ref(L, LUA_REGISTRYINDEX); lua_pushvalue(L, 4); int args_ref = luaL_ref(L, LUA_REGISTRYINDEX); state = new ScriptCallbackState; state->script = getServer(L)->getScriptIface(); state->callback_ref = callback_ref; state->args_ref = args_ref; state->refcount = num_blocks; state->origin = getScriptApiBase(L)->getOrigin(); } for (s16 z = bpmin.Z; z <= bpmax.Z; z++) for (s16 y = bpmin.Y; y <= bpmax.Y; y++) for (s16 x = bpmin.X; x <= bpmax.X; x++) { emerge->enqueueBlockEmergeEx(v3s16(x, y, z), PEER_ID_INEXISTENT, BLOCK_EMERGE_ALLOW_GEN | BLOCK_EMERGE_FORCE_QUEUE, callback, state); } return 0; } // delete_area(p1, p2) // delete mapblocks in area p1..p2 int ModApiEnvMod::l_delete_area(lua_State *L) { GET_ENV_PTR; v3s16 bpmin = getNodeBlockPos(read_v3s16(L, 1)); v3s16 bpmax = getNodeBlockPos(read_v3s16(L, 2)); sortBoxVerticies(bpmin, bpmax); ServerMap &map = env->getServerMap(); MapEditEvent event; event.type = MEET_OTHER; bool success = true; for (s16 z = bpmin.Z; z <= bpmax.Z; z++) for (s16 y = bpmin.Y; y <= bpmax.Y; y++) for (s16 x = bpmin.X; x <= bpmax.X; x++) { v3s16 bp(x, y, z); if (map.deleteBlock(bp)) { env->setStaticForActiveObjectsInBlock(bp, false); event.modified_blocks.insert(bp); } else { success = false; } } map.dispatchEvent(&event); lua_pushboolean(L, success); return 1; } // find_path(pos1, pos2, searchdistance, // max_jump, max_drop, algorithm) -> table containing path int ModApiEnvMod::l_find_path(lua_State *L) { GET_ENV_PTR; v3s16 pos1 = read_v3s16(L, 1); v3s16 pos2 = read_v3s16(L, 2); unsigned int searchdistance = luaL_checkint(L, 3); unsigned int max_jump = luaL_checkint(L, 4); unsigned int max_drop = luaL_checkint(L, 5); algorithm algo = A_PLAIN_NP; if (!lua_isnil(L, 6)) { std::string algorithm = luaL_checkstring(L,6); if (algorithm == "A*") algo = A_PLAIN; if (algorithm == "Dijkstra") algo = DIJKSTRA; } std::vector<v3s16> path = get_Path(env,pos1,pos2,searchdistance,max_jump,max_drop,algo); if (path.size() > 0) { lua_newtable(L); int top = lua_gettop(L); unsigned int index = 1; for (std::vector<v3s16>::iterator i = path.begin(); i != path.end();i++) { lua_pushnumber(L,index); push_v3s16(L, *i); lua_settable(L, top); index++; } return 1; } return 0; } // spawn_tree(pos, treedef) int ModApiEnvMod::l_spawn_tree(lua_State *L) { GET_ENV_PTR; v3s16 p0 = read_v3s16(L, 1); treegen::TreeDef tree_def; std::string trunk,leaves,fruit; INodeDefManager *ndef = env->getGameDef()->ndef(); if(lua_istable(L, 2)) { getstringfield(L, 2, "axiom", tree_def.initial_axiom); getstringfield(L, 2, "rules_a", tree_def.rules_a); getstringfield(L, 2, "rules_b", tree_def.rules_b); getstringfield(L, 2, "rules_c", tree_def.rules_c); getstringfield(L, 2, "rules_d", tree_def.rules_d); getstringfield(L, 2, "trunk", trunk); tree_def.trunknode=ndef->getId(trunk); getstringfield(L