Compare commits

..

1 Commits

Author SHA1 Message Date
Zweihorn 07c7403050 Strip metadata from PNG `mods/default` textures
M  default_acacia_tree_top.png
M  default_aspen_tree.png
M  default_aspen_wood.png
M  default_desert_stone_block.png
M  default_desert_stone_brick.png
M  default_dirt.png
M  default_fence_aspen_wood.png
M  default_gravel.png
M  default_ice.png
M  default_jungletree.png
M  default_jungletree_top.png
M  default_lava.png
M  default_meselamp.png
M  default_obsidian_block.png
M  default_river_water_flowing_animated.png
M  default_river_water_source_animated.png
M  default_sandstone_block.png
M  default_silver_sand.png
M  default_stone_brick.png
M  heart.png

All PNG files sized 4 kB and above were processed as follows:

$ for i in "heart.png
default_dirt.png
default_river_water_flowing_animated.png
default_lava.png
default_jungletree.png
default_jungletree_top.png
default_meselamp.png
default_acacia_tree_top.png
default_river_water_source_animated.png
default_gravel.png
default_sandstone_block.png
default_aspen_tree.png
default_desert_stone_brick.png
default_desert_stone_block.png
default_stone_brick.png
default_fence_aspen_wood.png
default_ice.png
default_silver_sand.png
default_aspen_wood.png
default_obsidian_block.png"; do optipng -o2 -strip all $i ; done

** Processing: heart.png
16x16 pixels, 4x8 bits/pixel, RGB+alpha
Reducing image to 8 bits/pixel, 42 colors (1 transparent) in palette
Stripping metadata...
Input IDAT size = 320 bytes
Input file size = 14830 bytes

Trying:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 126
  zc = 9  zm = 8  zs = 1  f = 0		IDAT size = 125
  zc = 9  zm = 8  zs = 3  f = 0		IDAT size = 119
  zc = 1  zm = 8  zs = 2  f = 5		IDAT size = 117

Selecting parameters:
  zc = 1  zm = 8  zs = 2  f = 5		IDAT size = 117

Output IDAT size = 117 bytes (203 bytes decrease)
Output file size = 325 bytes (14505 bytes = 97.81% decrease)

** Processing: default_dirt.png
16x16 pixels, 4 bits/pixel, 16 colors in palette
Stripping metadata...
Input IDAT size = 155 bytes
Input file size = 5889 bytes

Trying:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 155
  zc = 9  zm = 8  zs = 1  f = 0		IDAT size = 155
  zc = 1  zm = 8  zs = 2  f = 0		IDAT size = 155
  zc = 9  zm = 8  zs = 3  f = 0		IDAT size = 155
  zc = 9  zm = 8  zs = 0  f = 5		IDAT size = 155
  zc = 9  zm = 8  zs = 1  f = 5		IDAT size = 155
  zc = 1  zm = 8  zs = 2  f = 5		IDAT size = 155
  zc = 9  zm = 8  zs = 3  f = 5		IDAT size = 155

Output IDAT size = 155 bytes (no change)
Output file size = 272 bytes (5617 bytes = 95.38% decrease)

** Processing: default_river_water_flowing_animated.png
16x256 pixels, 4x8 bits/pixel, RGB+alpha
Stripping metadata...
Input IDAT size = 5723 bytes
Input file size = 5851 bytes

Trying:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 4186

Selecting parameters:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 4186

Output IDAT size = 4186 bytes (1537 bytes decrease)
Output file size = 4243 bytes (1608 bytes = 27.48% decrease)

** Processing: default_lava.png
16x16 pixels, 8 bits/pixel, 221 colors in palette
Stripping metadata...
Input IDAT size = 283 bytes
Input file size = 5706 bytes

Trying:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 283
  zc = 9  zm = 8  zs = 1  f = 0		IDAT size = 283
  zc = 1  zm = 8  zs = 2  f = 0		IDAT size = 283
  zc = 9  zm = 8  zs = 3  f = 0		IDAT size = 283
  zc = 9  zm = 8  zs = 0  f = 5		IDAT size = 283
  zc = 9  zm = 8  zs = 1  f = 5		IDAT size = 283
  zc = 1  zm = 8  zs = 2  f = 5		IDAT size = 283
  zc = 9  zm = 8  zs = 3  f = 5		IDAT size = 283

Output IDAT size = 283 bytes (no change)
Output file size = 1015 bytes (4691 bytes = 82.21% decrease)

** Processing: default_jungletree.png
16x16 pixels, 8 bits/pixel, 254 colors in palette
Stripping metadata...
Input IDAT size = 283 bytes
Input file size = 5592 bytes

Trying:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 283
  zc = 9  zm = 8  zs = 1  f = 0		IDAT size = 283
  zc = 1  zm = 8  zs = 2  f = 0		IDAT size = 283
  zc = 9  zm = 8  zs = 3  f = 0		IDAT size = 283
  zc = 9  zm = 8  zs = 0  f = 5		IDAT size = 283
  zc = 9  zm = 8  zs = 1  f = 5		IDAT size = 283
  zc = 1  zm = 8  zs = 2  f = 5		IDAT size = 283
  zc = 9  zm = 8  zs = 3  f = 5		IDAT size = 283

Output IDAT size = 283 bytes (no change)
Output file size = 1114 bytes (4478 bytes = 80.08% decrease)

** Processing: default_jungletree_top.png
16x16 pixels, 8 bits/pixel, 117 colors in palette
Stripping metadata...
Input IDAT size = 268 bytes
Input file size = 5175 bytes

Trying:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 268
  zc = 9  zm = 8  zs = 1  f = 0		IDAT size = 268
  zc = 1  zm = 8  zs = 2  f = 0		IDAT size = 268
  zc = 9  zm = 8  zs = 3  f = 0		IDAT size = 268

Output IDAT size = 268 bytes (no change)
Output file size = 688 bytes (4487 bytes = 86.71% decrease)

** Processing: default_meselamp.png
16x16 pixels, 8 bits/pixel, 199 colors in palette
Stripping metadata...
Input IDAT size = 281 bytes
Input file size = 5103 bytes

Trying:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 281
  zc = 9  zm = 8  zs = 0  f = 5		IDAT size = 256
  zc = 9  zm = 8  zs = 1  f = 5		IDAT size = 256
  zc = 1  zm = 8  zs = 2  f = 5		IDAT size = 256
  zc = 9  zm = 8  zs = 3  f = 5		IDAT size = 256

Selecting parameters:
  zc = 1  zm = 8  zs = 2  f = 5		IDAT size = 256

Output IDAT size = 256 bytes (25 bytes decrease)
Output file size = 922 bytes (4181 bytes = 81.93% decrease)

** Processing: default_acacia_tree_top.png
16x16 pixels, 8 bits/pixel, 132 colors in palette
Stripping metadata...
Input IDAT size = 225 bytes
Input file size = 5010 bytes

Trying:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 225

Output IDAT size = 225 bytes (no change)
Output file size = 690 bytes (4320 bytes = 86.23% decrease)

** Processing: default_river_water_source_animated.png
16x256 pixels, 4x8 bits/pixel, RGB+alpha
Reducing image to 8 bits/pixel, 178 colors (178 transparent) in palette
Stripping metadata...
Input IDAT size = 4807 bytes
Input file size = 4935 bytes

Trying:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 2112

Selecting parameters:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 2112

Output IDAT size = 2112 bytes (2695 bytes decrease)
Output file size = 2905 bytes (2030 bytes = 41.13% decrease)

** Processing: default_gravel.png
16x16 pixels, 8 bits/pixel, 103 colors in palette
Stripping metadata...
Input IDAT size = 254 bytes
Input file size = 4715 bytes

Trying:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 254
  zc = 9  zm = 8  zs = 1  f = 0		IDAT size = 252
  zc = 1  zm = 8  zs = 2  f = 0		IDAT size = 252
  zc = 9  zm = 8  zs = 3  f = 0		IDAT size = 252

Selecting parameters:
  zc = 1  zm = 8  zs = 2  f = 0		IDAT size = 252

Output IDAT size = 252 bytes (2 bytes decrease)
Output file size = 630 bytes (4085 bytes = 86.64% decrease)

** Processing: default_sandstone_block.png
16x16 pixels, 8 bits/pixel, 35 colors in palette
Stripping metadata...
Input IDAT size = 189 bytes
Input file size = 4548 bytes

Trying:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 189
  zc = 9  zm = 8  zs = 1  f = 0		IDAT size = 185
  zc = 1  zm = 8  zs = 2  f = 0		IDAT size = 185
  zc = 9  zm = 8  zs = 3  f = 0		IDAT size = 185
  zc = 9  zm = 8  zs = 0  f = 5		IDAT size = 177
  zc = 9  zm = 8  zs = 1  f = 5		IDAT size = 172
  zc = 1  zm = 8  zs = 2  f = 5		IDAT size = 172
  zc = 9  zm = 8  zs = 3  f = 5		IDAT size = 172

Selecting parameters:
  zc = 1  zm = 8  zs = 2  f = 5		IDAT size = 172

Output IDAT size = 172 bytes (17 bytes decrease)
Output file size = 346 bytes (4202 bytes = 92.39% decrease)

** Processing: default_aspen_tree.png
16x16 pixels, 8 bits/pixel, 77 colors in palette
Reducing image to 8 bits/pixel, grayscale
Stripping metadata...
Input IDAT size = 231 bytes
Input file size = 4429 bytes

Trying:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 255
  zc = 9  zm = 8  zs = 1  f = 0		IDAT size = 253
  zc = 1  zm = 8  zs = 2  f = 0		IDAT size = 253
  zc = 9  zm = 8  zs = 3  f = 0		IDAT size = 253

Selecting parameters:
  zc = 1  zm = 8  zs = 2  f = 0		IDAT size = 253

Output IDAT size = 253 bytes (22 bytes increase)
Output file size = 310 bytes (4119 bytes = 93.00% decrease)

** Processing: default_desert_stone_brick.png
16x16 pixels, 8 bits/pixel, 48 colors in palette
Stripping metadata...
Input IDAT size = 185 bytes
Input file size = 4420 bytes

Trying:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 185
  zc = 9  zm = 8  zs = 3  f = 0		IDAT size = 183
  zc = 9  zm = 8  zs = 1  f = 5		IDAT size = 175
  zc = 1  zm = 8  zs = 2  f = 5		IDAT size = 175

Selecting parameters:
  zc = 1  zm = 8  zs = 2  f = 5		IDAT size = 175

Output IDAT size = 175 bytes (10 bytes decrease)
Output file size = 388 bytes (4032 bytes = 91.22% decrease)

** Processing: default_desert_stone_block.png
16x16 pixels, 8 bits/pixel, 40 colors in palette
Stripping metadata...
Input IDAT size = 173 bytes
Input file size = 4368 bytes

Trying:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 173
  zc = 9  zm = 8  zs = 3  f = 0		IDAT size = 171
  zc = 9  zm = 8  zs = 1  f = 5		IDAT size = 169
  zc = 1  zm = 8  zs = 2  f = 5		IDAT size = 169

Selecting parameters:
  zc = 1  zm = 8  zs = 2  f = 5		IDAT size = 169

Output IDAT size = 169 bytes (4 bytes decrease)
Output file size = 358 bytes (4010 bytes = 91.80% decrease)

** Processing: default_stone_brick.png
16x16 pixels, 8 bits/pixel, 36 colors in palette
Stripping metadata...
Input IDAT size = 172 bytes
Input file size = 4196 bytes

Trying:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 172
  zc = 9  zm = 8  zs = 3  f = 0		IDAT size = 172
  zc = 9  zm = 8  zs = 0  f = 5		IDAT size = 169
  zc = 9  zm = 8  zs = 1  f = 5		IDAT size = 151
  zc = 1  zm = 8  zs = 2  f = 5		IDAT size = 151

Selecting parameters:
  zc = 1  zm = 8  zs = 2  f = 5		IDAT size = 151

Output IDAT size = 151 bytes (21 bytes decrease)
Output file size = 328 bytes (3868 bytes = 92.18% decrease)

** Processing: default_fence_aspen_wood.png
16x16 pixels, 4 bits/pixel, 12 colors in palette
Stripping metadata...
Input IDAT size = 130 bytes
Input file size = 4170 bytes

Trying:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 130
  zc = 9  zm = 8  zs = 1  f = 0		IDAT size = 127
  zc = 1  zm = 8  zs = 2  f = 0		IDAT size = 127
  zc = 9  zm = 8  zs = 3  f = 0		IDAT size = 127

Selecting parameters:
  zc = 1  zm = 8  zs = 2  f = 0		IDAT size = 127

Output IDAT size = 127 bytes (3 bytes decrease)
Output file size = 232 bytes (3938 bytes = 94.44% decrease)

** Processing: default_ice.png
16x16 pixels, 8 bits/pixel, 18 colors in palette
Stripping metadata...
Input IDAT size = 112 bytes
Input file size = 4114 bytes

Trying:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 112
  zc = 9  zm = 8  zs = 1  f = 0		IDAT size = 110
  zc = 1  zm = 8  zs = 2  f = 0		IDAT size = 99

Selecting parameters:
  zc = 1  zm = 8  zs = 2  f = 0		IDAT size = 99

Output IDAT size = 99 bytes (13 bytes decrease)
Output file size = 222 bytes (3892 bytes = 94.60% decrease)

** Processing: default_silver_sand.png
16x16 pixels, 4 bits/pixel, 12 colors in palette
Stripping metadata...
Input IDAT size = 155 bytes
Input file size = 4069 bytes

Trying:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 155
  zc = 9  zm = 8  zs = 1  f = 0		IDAT size = 155
  zc = 1  zm = 8  zs = 2  f = 0		IDAT size = 155
  zc = 9  zm = 8  zs = 3  f = 0		IDAT size = 155
  zc = 9  zm = 8  zs = 0  f = 5		IDAT size = 155
  zc = 9  zm = 8  zs = 1  f = 5		IDAT size = 155
  zc = 1  zm = 8  zs = 2  f = 5		IDAT size = 155
  zc = 9  zm = 8  zs = 3  f = 5		IDAT size = 155

Output IDAT size = 155 bytes (no change)
Output file size = 260 bytes (3809 bytes = 93.61% decrease)

** Processing: default_aspen_wood.png
16x16 pixels, 4 bits/pixel, 12 colors in palette
Stripping metadata...
Input IDAT size = 119 bytes
Input file size = 4023 bytes

Trying:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 119
  zc = 9  zm = 8  zs = 1  f = 0		IDAT size = 117

Selecting parameters:
  zc = 9  zm = 8  zs = 1  f = 0		IDAT size = 117

Output IDAT size = 117 bytes (2 bytes decrease)
Output file size = 222 bytes (3801 bytes = 94.48% decrease)

** Processing: default_obsidian_block.png
16x16 pixels, 4 bits/pixel, 13 colors in palette
Stripping metadata...
Input IDAT size = 95 bytes
Input file size = 3913 bytes

Trying:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 95

Output IDAT size = 95 bytes (no change)
Output file size = 203 bytes (3710 bytes = 94.81% decrease)
2019-05-31 13:08:10 +02:00
891 changed files with 1018 additions and 58589 deletions

View File

@ -1,11 +1,12 @@
language: generic
sudo: false
addons:
apt:
packages:
- luarocks
before_install:
- luarocks install --local luacheck
script:
- $HOME/.luarocks/bin/luacheck ./mods
script:
- $HOME/.luarocks/bin/luacheck --no-color ./mods
notifications:
email: false

View File

@ -1,34 +0,0 @@
# Minetest Game
The default game bundled in the Minetest engine.
For further information, check [this forum topic](https://forum.minetest.net/viewtopic.php?f=15&t=9724).
Also see the [Minetest Wiki](https://wiki.minetest.net/Subgames/Minetest_Game) for more information.
## Installation
- Unzip the archive, rename the folder to minetest_game and
place it in .. minetest/games/
- GNU/Linux: If you use a system-wide installation place
it in ~/.minetest/games/.
The Minetest engine can be found at
[GitHub](https://github.com/minetest/minetest).
For further information or help, see:
https://wiki.minetest.net/Installing_Mods
## Compatibility
The Minetest Game GitHub master HEAD is generally compatible with the GitHub
master HEAD of the Minetest engine.
Additionally, when the Minetest engine is tagged to be a certain version (e.g.
0.4.10), Minetest Game is tagged with the version too.
When stable releases are made, Minetest Game and the Minetest engine is packaged and made available at
https://minetest.net/downloads/
## Licensing
See `LICENSE.txt`

28
README.txt Normal file
View File

@ -0,0 +1,28 @@
Minetest Game [minetest_game]
=============================
The main game for the Minetest engine
=====================================
To use this game with the Minetest engine, insert this repository as
/games/minetest_game
The Minetest engine can be found in:
https://github.com/minetest/minetest/
Compatibility
--------------
The Minetest Game github master HEAD is generally compatible with the github
master HEAD of the Minetest engine.
Additionally, when the Minetest engine is tagged to be a certain version (eg.
0.4.10), Minetest Game is tagged with the version too.
When stable releases are made, Minetest Game is packaged and made available in
http://minetest.net/downloads/
and in case the repository has grown too much, it may be reset. In that sense,
this is not a "real" git repository. (Package maintainers please note!)
Licensing
---------
See LICENSE.txt

View File

@ -276,7 +276,7 @@ The mod that places chests with loot in dungeons provides an API to register add
name = "item:name",
chance = 0.5,
-- ^ chance value from 0.0 to 1.0 that the item will appear in the chest when chosen
-- Due to an extra step in the selection process, 0.5 does not(!) mean that
-- due to an extra step in the selection process, 0.5 does not(!) mean that
-- on average every second chest will have this item
count = {1, 4},
-- ^ table with minimum and maximum amounts of this item
@ -286,8 +286,7 @@ The mod that places chests with loot in dungeons provides an API to register add
-- optional, defaults to no height restrictions
types = {"desert"},
-- ^ table with types of dungeons this item can be found in
-- supported types: "normal" (the cobble/mossycobble one), "sandstone"
-- "desert" and "ice"
-- supported types: "normal" (the cobble/mossycobble one), "sandstone", "desert"
-- optional, defaults to no type restrictions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,63 +0,0 @@
# Transforms the generic po file produced by weblate into a series of
# locale/[modname].ja.tr files.
# TODO: make it work for all languages!
import os
import re
from collections import defaultdict
strings=dict()
modstr=defaultdict(list)
for modname in os.listdir("../mods/"):
for fn in os.listdir("../mods/"+modname):
if fn.endswith(".lua"):
s=open("../mods/"+modname+"/"+fn).read()
for gtstring in re.findall("S\(.*\)", s):
k=gtstring[3:-2]
strings[k]=modname
modstr[modname].append(k)
"""
for m in modstr.keys():
print(m)
for v in modstr[m]:
print("\t"+v)
"""
locales = list()
for fn in os.listdir("."):
if fn .endswith(".po"):
locales.append(fn[:-3])
print(locales)
notused=set()
for loc in locales:
matches = 0
nom = 0
msgid = None
translation = dict()
for line in open(loc+".po"):
match = re.match('[^#]*msgstr[ \t]+"(.*)"', line)
if match and msgid is not None:
translation[msgid]=match.group(1)
match = re.match('[^#]*msgid[ \t]+"(.*)"', line)
if match:
msgid = match.group(1)
if msgid in strings:
matches+=1
else:
nom+=1
notused.add(msgid)
else:
msgid=None
print("{}: {}/{}".format(loc, matches, matches+nom))
for modname in os.listdir("../mods/"):
os.makedirs("../mods/{0}/locale".format(modname), exist_ok=True)
localefile = open("../mods/{0}/locale/{0}.{1}.tr".format(modname, loc), "w")
localefile.write("# textdomain: "+modname+"\n\n")
for k in modstr[modname]:
if k in translation:
localefile.write("{}={}\n\n".format(k,translation[k]))
localefile.close()
print(notused)

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,12 +1,7 @@
-- beds/beds.lua
-- support for MT game translation.
local S = beds.get_translator
-- Fancy shaped bed
beds.register_bed("beds:fancy_bed", {
description = S("Fancy Bed"),
description = "Fancy Bed",
inventory_image = "beds_bed_fancy.png",
wield_image = "beds_bed_fancy.png",
tiles = {
@ -57,7 +52,7 @@ beds.register_bed("beds:fancy_bed", {
-- Simple shaped bed
beds.register_bed("beds:bed", {
description = S("Simple Bed"),
description = "Simple Bed",
inventory_image = "beds_bed.png",
wield_image = "beds_bed.png",
tiles = {

2
mods/beds/depends.txt Normal file
View File

@ -0,0 +1,2 @@
default
wool

View File

@ -1,20 +1,13 @@
-- beds/init.lua
-- Load support for MT game translation.
local S = minetest.get_translator("beds")
beds = {}
beds.player = {}
beds.bed_position = {}
beds.pos = {}
beds.spawn = {}
beds.get_translator = S
beds.formspec = "size[8,11;true]" ..
"no_prepend[]" ..
"bgcolor[#080808BB;true]" ..
"button_exit[2,10;4,0.75;leave;" .. S("Leave Bed") .. "]"
"button_exit[2,10;4,0.75;leave;Leave Bed]"
local modpath = minetest.get_modpath("beds")

View File

@ -1,6 +0,0 @@
# textdomain: beds
Fancy Bed=Незвычайны ложак
Simple Bed=Просты ложак

View File

@ -1,6 +0,0 @@
# textdomain: beds
Fancy Bed=Zdobená postel
Simple Bed=Prostá postel

View File

@ -1,6 +0,0 @@
# textdomain: beds
Fancy Bed=Schönes Bett
Simple Bed=Schlichtes Bett

View File

@ -1,6 +0,0 @@
# textdomain: beds
Fancy Bed=
Simple Bed=

View File

@ -1,6 +0,0 @@
# textdomain: beds
Fancy Bed=Luksa lito
Simple Bed=Simpla lito

View File

@ -1,6 +0,0 @@
# textdomain: beds
Fancy Bed=Cama sofisticada
Simple Bed=Cama sencilla

View File

@ -1,6 +0,0 @@
# textdomain: beds
Fancy Bed=Lit fantaisie
Simple Bed=Lit Simple

View File

@ -1,6 +0,0 @@
# textdomain: beds
Fancy Bed=Csinos ágy
Simple Bed=Egyszerű ágy

View File

@ -1,6 +0,0 @@
# textdomain: beds
Fancy Bed=Dipan Mewah
Simple Bed=Dipan Sederhana

View File

@ -1,6 +0,0 @@
# textdomain: beds
Fancy Bed=Letto elegante
Simple Bed=Letto semplice

View File

@ -1,6 +0,0 @@
# textdomain: beds
Fancy Bed=お洒落なベッド
Simple Bed=簡素なベッド

View File

@ -1,6 +0,0 @@
# textdomain: beds
Fancy Bed=se jadni ckana
Simple Bed=sampu ckana

View File

@ -1,6 +0,0 @@
# textdomain: beds
Fancy Bed=Katil Beragam
Simple Bed=Katil Biasa

View File

@ -1,6 +0,0 @@
# textdomain: beds
Fancy Bed=Mooi Bed
Simple Bed=Simpel bed

View File

@ -1,6 +0,0 @@
# textdomain: beds
Fancy Bed=Łóżko ozdobne
Simple Bed=Proste łóżko

View File

@ -1,6 +0,0 @@
# textdomain: beds
Fancy Bed=Cama com Cabeceira
Simple Bed=Cama Simples

View File

@ -1,6 +0,0 @@
# textdomain: beds
Fancy Bed=Cama com Cabeceira
Simple Bed=Cama Simples

View File

@ -1,6 +0,0 @@
# textdomain: beds
Fancy Bed=Pat Luxos
Simple Bed=Pat Simplu

View File

@ -1,6 +0,0 @@
# textdomain: beds
Fancy Bed=Необычная кровать
Simple Bed=Обычная кровать

View File

@ -1,6 +0,0 @@
# textdomain: beds
Fancy Bed=Китњаст кревет
Simple Bed=Једноставан кревет

View File

@ -1,6 +0,0 @@
# textdomain: beds
Fancy Bed=Süslü Yatak
Simple Bed=Basit Yatak

View File

@ -1,6 +0,0 @@
# textdomain: beds
Fancy Bed=Чепурне Ліжко
Simple Bed=Просте Ліжко

View File

@ -1,6 +0,0 @@
# textdomain: beds
Fancy Bed=豪华大床
Simple Bed=简单的床

View File

@ -1,6 +0,0 @@
# textdomain: beds
Fancy Bed=
Simple Bed=

View File

@ -1,3 +0,0 @@
name = beds
description = Minetest Game mod: beds
depends = default, wool

View File

@ -0,0 +1,2 @@
default
creative?

View File

@ -1,12 +1,7 @@
-- binoculars/init.lua
-- Mod global namespace
binoculars = {}
-- Load support for MT game translation.
local S = minetest.get_translator("binoculars")
-- Detect creative mod
local creative_mod = minetest.get_modpath("creative")
@ -59,7 +54,7 @@ minetest.after(4.7, cyclic_update)
-- Binoculars item
minetest.register_craftitem("binoculars:binoculars", {
description = S("Binoculars\nUse with 'Zoom' key"),
description = "Binoculars\nUse with 'Zoom' key",
inventory_image = "binoculars_binoculars.png",
stack_max = 1,

View File

@ -1,2 +0,0 @@
# textdomain: binoculars

View File

@ -1,2 +0,0 @@
# textdomain: binoculars

View File

@ -1,2 +0,0 @@
# textdomain: binoculars

View File

@ -1,2 +0,0 @@
# textdomain: binoculars

View File

@ -1,2 +0,0 @@
# textdomain: binoculars

View File

@ -1,2 +0,0 @@
# textdomain: binoculars

View File

@ -1,2 +0,0 @@
# textdomain: binoculars

View File

@ -1,2 +0,0 @@
# textdomain: binoculars

View File

@ -1,2 +0,0 @@
# textdomain: binoculars

View File

@ -1,2 +0,0 @@
# textdomain: binoculars

View File

@ -1,2 +0,0 @@
# textdomain: binoculars

View File

@ -1,2 +0,0 @@
# textdomain: binoculars

View File

@ -1,2 +0,0 @@
# textdomain: binoculars

View File

@ -1,2 +0,0 @@
# textdomain: binoculars

View File

@ -1,2 +0,0 @@
# textdomain: binoculars

View File

@ -1,2 +0,0 @@
# textdomain: binoculars

View File

@ -1,2 +0,0 @@
# textdomain: binoculars

View File

@ -1,2 +0,0 @@
# textdomain: binoculars

View File

@ -1,2 +0,0 @@
# textdomain: binoculars

View File

@ -1,2 +0,0 @@
# textdomain: binoculars

View File

@ -1,2 +0,0 @@
# textdomain: binoculars

View File

@ -1,2 +0,0 @@
# textdomain: binoculars

View File

@ -1,2 +0,0 @@
# textdomain: binoculars

View File

@ -1,2 +0,0 @@
# textdomain: binoculars

View File

@ -1,4 +0,0 @@
name = binoculars
description = Minetest Game mod: binoculars
depends = default
optional_depends = creative

2
mods/boats/depends.txt Normal file
View File

@ -0,0 +1,2 @@
default
player_api

View File

@ -1,8 +1,3 @@
-- boats/init.lua
-- Load support for MT game translation.
local S = minetest.get_translator("boats")
--
-- Helper functions
--
@ -154,13 +149,13 @@ function boat.on_step(self, dtime)
if ctrl.up and ctrl.down then
if not self.auto then
self.auto = true
minetest.chat_send_player(self.driver, S("[boats] Cruise on"))
minetest.chat_send_player(self.driver, "[boats] Cruise on")
end
elseif ctrl.down then
self.v = self.v - dtime * 1.8
if self.auto then
self.auto = false
minetest.chat_send_player(self.driver, S("[boats] Cruise off"))
minetest.chat_send_player(self.driver, "[boats] Cruise off")
end
elseif ctrl.up or self.auto then
self.v = self.v + dtime * 1.8
@ -247,7 +242,7 @@ minetest.register_entity("boats:boat", boat)
minetest.register_craftitem("boats:boat", {
description = S("Boat"),
description = "Boat",
inventory_image = "boats_inventory.png",
wield_image = "boats_wield.png",
wield_scale = {x = 2, y = 2, z = 1},

View File

@ -1,4 +0,0 @@
# textdomain: boats
Boat=Човен

View File

@ -1,4 +0,0 @@
# textdomain: boats
Boat=Loďka

View File

@ -1,4 +0,0 @@
# textdomain: boats
Boat=Boot

View File

@ -1,4 +0,0 @@
# textdomain: boats
Boat=

View File

@ -1,4 +0,0 @@
# textdomain: boats
Boat=Boato

View File

@ -1,4 +0,0 @@
# textdomain: boats
Boat=Bote

View File

@ -1,4 +0,0 @@
# textdomain: boats
Boat=Bateau

View File

@ -1,4 +0,0 @@
# textdomain: boats
Boat=Csónak

View File

@ -1,4 +0,0 @@
# textdomain: boats
Boat=Kapal

View File

@ -1,4 +0,0 @@
# textdomain: boats
Boat=zattera

View File

@ -1,4 +0,0 @@
# textdomain: boats
Boat=ボート

View File

@ -1,4 +0,0 @@
# textdomain: boats
Boat=bloti

View File

@ -1,4 +0,0 @@
# textdomain: boats
Boat=Bot

Some files were not shown because too many files have changed in this diff Show More