Commit Graph

213 Commits

Author SHA1 Message Date
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 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
SmallJoker 86c73a4752 Item_names: Refactorize & use meta description 2018-01-03 11:14:25 +01:00
Ekdohibs 4010953888 Fix unclear licenses for the images. 2018-01-02 22:39:13 +01:00
Ekdohibs 4df1aa7492 Change texture licenses to CC-BY-4.0 2018-01-02 22:08:39 +01:00
Vanessa Ezekowitz fc36b3ff3b Merge pull request #95 from Thomas--S/patch-1
Add forgotten backtick
2017-04-07 16:19:11 -04:00
Thomas--S f23f0733a6 Add forgotten backtick 2017-04-07 22:18:09 +02:00
Diego Martínez 8073df0134 bags: Add buttons to quickly switch bags in sub-form. 2017-03-24 19:48:59 -03:00
Diego Martínez 0764000d99 Portuguese translation.
Translation done by @Lunovox.
2017-03-13 03:37:37 -03:00
Vanessa Ezekowitz cff06ab167 Merge pull request #91 from ForbiddenJ/master
Make trash configurable but preserve default functionality
2017-03-01 18:20:15 -05:00
ForbiddenJ 7ab8825460 Make trash configurable but preserve default functionality 2017-03-01 16:28:40 -06:00
Vanessa Ezekowitz e8529e7742 Merge pull request #90 from Wuzzy2/not_in_craft_guide
Replace exclude_from_craft_guide with not_in_craft_guide
2017-02-06 21:44:22 -05:00
Wuzzy 3209033051 Replace exclude_from_craft_guide with not_in_craft_guide 2017-02-06 15:17:53 +01:00
Diego Martínez 2ea417fad0 Search when ENTER is pressed on the search field. 2016-11-29 17:35:40 -03:00
Vanessa Ezekowitz be00ffe913 Merge pull request #88 from Wuzzy2/st
Add settingtypes.txt
2016-11-28 16:08:14 -05:00
Wuzzy 10c22c0032 Add settingtypes.txt 2016-11-28 21:56:23 +01:00
Vanessa Ezekowitz e6c380d8c5 allow user to disable bags
via minetest.conf --> unified_inventory_bags = false

(default is to enable)
2016-11-28 14:46:42 -05:00
Vanessa Ezekowitz 4a22f8e4da Merge pull request #83 from FozLand/issue_82
Fix bug in usages. Closes #82
2016-11-27 13:37:29 -05:00