Commit Graph

32 Commits

Author SHA1 Message Date
5327261718 Move to MT 5.0.0 translation system 2019-10-17 21:05:08 +02:00
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
b871ccfc41 Use table.concat to build formspecs, style cleanups 2019-03-31 11:29:10 +02:00
77c3de08ce Fix crash caused by bag swapping 2018-08-10 16:15:00 +02:00
3988f4c572 Merge origin/master to refactor-translation branch (resolving conflicts) 2018-06-23 15:37:13 +02:00
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
c1ab7277ab refactor code to use with intllib tool 2018-04-02 13:33:36 +02:00
8073df0134 bags: Add buttons to quickly switch bags in sub-form. 2017-03-24 19:48:59 -03:00
7ab8825460 Make trash configurable but preserve default functionality 2017-03-01 16:28:40 -06:00
029d5c4c6a avoid "leaking" detached inventories to other players (see also, 2ff48b22a9 ) 2016-11-27 04:10:10 -05:00
75a0e6a318 Bags: Code cleanup and per-bag trash slot.
* Turn page creation into a loop.
* Add per-bag trash slot.
* Changed i18n to allow replacements.
2016-11-17 19:19:51 -03:00
8332707198 Merge pull request #61 from Wuzzy2/bagdep
Add optional farming dependency for bag craft
2016-08-07 12:57:06 -04:00
1c11de10d5 Add optional farming dependency for bag craft 2016-08-06 17:44:37 +02:00
c816666945 Ensure formspec escaping for translated strings 2016-08-06 17:23:46 +02:00
115e0bfaf4 Collect missing strings for translation 2016-08-05 19:34:40 +02:00
3cdfdd14a5 When attempting to replace a bag with a smaller bag, ensure the items beyond the last index of the smaller bag are not lost.
If there is sufficient space in the smaller bag, move the items to the front.
Otherwise disallow the replacement.
2016-02-28 23:34:13 -06:00
9bc6301f60 Added listring/shift click to bags 2015-10-09 18:55:46 -07:00
9fe84789ba Allow per-user "full" mode when "lite" mode is set as global
default (give the user "ui_full" priv to turn it on).

Also, a few whitespace fixes.
2015-10-05 04:24:01 -04:00
570d2cb162 peoposed update for bag recipies
when bags was first created, wool and farming were not in minetest_game, and so that people didnt have a load of dependancies I made the recipe from wood and sticks.

now that wool and cotton are available it makes a lot more sense to craft the bags from these items.

they are harder to obtain, but bags are valuable items in game, so i think the extra effort to obtain the items is justified.
2015-08-06 16:03:11 +09:30
d5d97e7dca Update bags.lua
changed bag recipes from default:stick to group:stick
2015-03-11 17:55:30 -04:00
Tim
76a9efff71 reduce table lookups during initialization 2015-02-05 10:03:07 +01:00
Tim
1a1bfc3839 supress intllib check warning, this fixes #19 2015-02-05 10:00:10 +01:00
002bcbb6d8 Add intllib support.
Some polish and german translations.
Start adding tooltips.
2014-06-21 12:44:31 +02:00
20cf474886 Fix formspec injection issues 2014-04-29 17:53:43 +01:00
76a2337c59 Show bag number when displaying bag contents 2014-04-29 17:19:57 +01:00
d5f60ed136 Check formname in on_receive_fields 2013-12-04 10:43:49 -05:00
ee93afd439 Fix incorrect background colors over inventory slots
caused by BlockMen's/kahrl's inventory #hexcolor patch
( 25edae00ea )
2013-11-05 10:46:49 -05:00
04600f64d8 API tweaks 2013-10-02 23:25:07 -04:00
f974fd8c2c Update 2013-09-28 18:15:37 -04:00
e3d391d63f Update mod 2013-09-21 21:40:20 +02:00
43e308a815 New version:
another structure, its a modpack now
searches are not case sensitive
2012-12-11 00:48:23 +01:00
216078a0f8 1st release 2012-12-02 10:08:32 +01:00