Commit Graph

229 Commits

Author SHA1 Message Date
Vanessa Dannenberg
fbbf786caf Tweak spacing between bags page top row and bag's inv 2021-03-01 18:57:50 +01:00
Vanessa Dannenberg
ae124b02c2 Tweak trash can icon 2021-03-01 18:57:50 +01:00
Vanessa Dannenberg
ebd1d1f245 Improve consistency of inventory (and alike) imagery
In a number of places, background[] is misused to place the
inventory backdrop images.  Where appropriate, image[] is used
instead, so that "ui_form_bg.png" actually serves as the one
and only true background image.

In so doing, I was able to remake the bag inventory images,
making them only big as is actually needed to hold 1, 2, or 3
rows of inventory slots.

This, in turn, allows a standardized main inventory image to
occupy the lower part of the window, which allows for
consistent inventory image positioning and sizing from one
page to another.

I also removed ui_misc_form.png.  Nothing in UI uses it, and
any external mods that used it can just use the standard
inventory and its background.

Lastly, I reduced the background image to 512x384 px.  It was
unnecessarily large before, considering it has no real detail.

The larger inventory images are all 512px wide, and multiples
of 64px in height.  Before, they were oddly sized.
2021-03-01 18:57:50 +01:00
IFRFSX
0f756a5d33
Update translation for zh_CN and zh_TW (#161) 2020-12-15 19:17:10 +01:00
Louis Royer
341a438267
Search items by English and translated description (#156)
This works only with Minetest version >= 5.3.0, nothing is changed for
older versions.
2020-07-15 20:21:06 +02:00
SmallJoker
d86592841e Remove unused 0.4.x files, multiline description 2020-07-11 19:51:42 +02:00
Maksim
f25426911d
Fix teleport sounds when teleport fails (#155) 2020-07-10 21:58:45 +02:00
David Leal
04b2edceb4
LuaCheck: Add hb as a global (#154)
`hb` global is from HudBars by Wuzzy2.
2020-06-06 13:09:08 +02:00
SmallJoker
5a24e9f6fc Fix item name position, also for hudbars 2020-06-05 21:30:53 +02:00
CarlosBarrazaE
eb96c89b5d
Update the Spanish language (#144)
Complete missing translations; error corrections.

Co-authored-by: David Leal <halfpacho@gmail.com>
2020-05-01 18:15:08 +02:00
David Leal
606ba6a1a3
Add GitHub workflow (#149) 2020-03-25 18:46:35 +01:00
SmallJoker
c0bd9977be Modernize. Bags: use strings 2020-03-21 18:57:53 +01:00
IFRFSX
26e0e41593
Improve traditional Chinese zh_TW (#143) 2020-02-12 19:14:22 +01:00
IFRFSX
a89245c41b
Add traditional Chinese translation (#142) 2020-02-02 16:24:57 +01:00
IFRFSX
f5c982cc85 Add Chinese Translation (#141) 2020-01-15 13:02:48 +01:00
Hamlet
05f7430216 Add Italian l10n (#140) 2019-11-21 18:59:48 +01:00
Andrey Kozlovskiy
ca6d9a10df Implement new crafting algorithm (#132)
* Implement new crafting algorithm

* Take craft width into account when creating craft index
* Fix moving logic, correctly check for empty stacks
* Return early when there's not enough items for craft
* Bound match_count with smallest stack_max value, take from inventory only if needed
* Continue if item can't be moved to the current position.
* Fix metadata loss and. Improve placement for some corner cases.
* Drop items from oversized stacks on the ground
* Place items exactly as displayed in the guide
* One source list one destination. Try to take from destination list first
2019-10-26 17:22:33 +02:00
Wuzzy
4a1414bacc Convert *.po files to *.tr files
This script was used, together with manual fixing:

https://gitlab.com/4w/xtend/blob/master/xtend_default/tools/convert_po_file_to_tr_file/convert_po_file_to_tr_file.lua
2019-10-17 21:05:08 +02:00
Wuzzy
8e74a80e91 Translation: Fix parameter symbols 2019-10-17 21:05:08 +02:00
Wuzzy
5327261718 Move to MT 5.0.0 translation system 2019-10-17 21:05:08 +02:00
SmallJoker
04b1cb9e7d Fix error on invalid item_button_ fields
Also reduce the player inventory sending by one. If a formspec is sent, it'll also take the newest known search text
2019-08-02 16:39:43 +02:00
SmallJoker
774674d0f5 README: Add features and link to mod contents
+LICENSE.txt
2019-06-16 11:14:08 +02:00
Panquesito7
4403b696be Replace deprecated functions with newer ones (#131)
These commits makes more compatibility with MT/MTG 5.0.0+ versions.
However, these commits breaks compatibility with the 0.4-series.
2019-06-16 10:26:40 +02:00
MoNTE48
a70ffb1509 Compress textures (-61 KB!) 2019-05-31 17:30:24 +02:00
Scott Horvath
86d2a11643 Allow all players to view items regardless of 'creative' priv
This allows any player to see usages of items found
even if item does not have explicit
recipies themselves.
(ex: default:papyrus, found/grown in wild, can be made into paper)
2019-05-28 21:30:55 +02:00
Emiel van Rooijen
16babc54f3 Add no_prepend[] by default 2019-03-31 12:19:08 +02:00
SmallJoker
4d5e883629 Add mod_api.txt documentation 2019-03-31 11:30:22 +02:00
SmallJoker
b871ccfc41 Use table.concat to build formspecs, style cleanups 2019-03-31 11:29:10 +02:00
SmallJoker
e9b4b52dc1 Biggest stacks first, smallest as late as possible
Split stacks ~evenly
Fast skip occupied slots
2019-03-30 22:53:36 +01:00
SmallJoker
bcb96d6caf Improve craftguide_craft() speed: Move stacks 2019-03-30 22:53:36 +01:00
SmallJoker
850ee9cbc0 Improve callback execution, add giveme guards 2019-02-17 15:14:38 +01:00
SmallJoker
54abad72f0 Add item tooltips with mod name
Inspired by #118, @Quent42340
2018-12-12 20:20:11 +01:00
SmallJoker
77c3de08ce Fix crash caused by bag swapping 2018-08-10 16:15:00 +02:00
Vanessa Dannenberg
5cff869c27 Merge branch 'master' into 'master'
Add Malay translation

See merge request VanessaE/unified_inventory!2
2018-07-17 13:35:01 +00:00
Muhammad Nur Hidayat Yasuyoshi (MNH48.com)
79e4a49c6b Add Malay translation 2018-07-17 12:31:08 +00:00
Vanessa Dannenberg
9ffe40d210 Refactor translations for intllib 20180704 2018-06-30 03:31:25 +00:00
codexp
3988f4c572 Merge origin/master to refactor-translation branch (resolving conflicts) 2018-06-23 15:37:13 +02:00
SmallJoker
edd00f222c Replace deprecated function names, unify creative check 2018-06-23 15:02:23 +02:00
SmallJoker
c43074f5c2
Move bag storage to player attributes
Compatible with 0.4.16 or later
Fixes an item duplication bug for the four player inventory slots on each join
Clean up old player lists after saving
2018-06-21 21:23:21 +02:00
codexp
934757edd6 FIX: do not translate direction 2018-04-08 22:21:44 +02:00
codexp
ab20e43468 convert Turkish locale to po format 2018-04-02 17:52:09 +02:00
codexp
1a52f33756 convert Portuguese locale to po format 2018-04-02 16:55:48 +02:00
codexp
87ae46b6d8 convert Polish locale to po format 2018-04-02 16:46:28 +02:00
codexp
827e544c58 convert French locale to po format 2018-04-02 16:28:54 +02:00
codexp
0288d558e9 convert Spanish locale to po format 2018-04-02 16:19:25 +02:00
codexp
2159dd5a4a convert German locale to po format 2018-04-02 16:19:05 +02:00
codexp
72ca872002 convert Russian locale to po format 2018-04-02 16:00:00 +02:00
codexp
06f6d45891 generate template.pot with intllib tool 2018-04-02 13:35:05 +02:00
codexp
c1ab7277ab refactor code to use with intllib tool 2018-04-02 13:33:36 +02:00
shivajiva101
2ab5a7c90a fix excessive privilege check 2018-01-03 11:15:53 +01:00