Commit Graph

255 Commits

Author SHA1 Message Date
Vanessa Ezekowitz
1645d17c97 Merge pull request #55 from DonBatman/master
Added screenshot, description and mod.conf
2016-07-14 07:38:11 -04:00
Pedro Gimeno
f23b4aed65 Allow items to exclude their recipes from the recipes list
Certain mods add many recipes that take smaller blocks and output a bigger block. This clutters the recipes list. Case in point: the circular saw from the moreblocks mod.

This patch allows mods to tell the craft guide to not include recipes that contain certain items, by setting the group exclude_from_craft_guide = 1 in the items.
2016-03-31 03:11:32 +02:00
DonBatman
bae55eb7c6 Added screenshot, description and mod.conf 2016-03-20 07:41:10 -07:00
BadToad2000
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
MT-Modder
bdf9b61779 Add item_name support for hudbars mod
Does the same thing as 8bb1c8288b
2016-02-13 21:16:35 -03:00
RealBadAngel
758b643c4d Check for both old and new default creative mod name 2016-02-12 03:19:03 +01:00
RealBadAngel
b3c6c92286 Remove count from item_image_button label,
item_image_buttons can now display properly item stacks
2016-02-09 04:42:45 +01:00
Maciej Kasatkin
8f91abbfb8 Merge pull request #47 from kilbith/patch-1
Fix disabling of default creative inventory (fixes #46)
2016-02-08 16:14:33 +01:00
kilbith
f3127e9d7c Fix disabling of default creative inventory (fixes #46)
The function prefix in upstream has changed.
2016-02-08 13:07:23 +01:00
DonBatman
df1309a6fd Added listring/shift click to craft grid 2015-10-09 19:25:49 -07:00
DonBatman
9bc6301f60 Added listring/shift click to bags 2015-10-09 18:55:46 -07:00
Vanessa Ezekowitz
5df353c299 stop crash if HUD is returned nil (server too slow to emerge player) 2015-10-08 05:56:04 -04:00
Vanessa Ezekowitz
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
HybridDog
babe4380ac disallow repairing tools using the 'to craft grid', allow it to put items of specific groups and (maybe) make it keep the meta of items, remove unused elseif, change a bit translation and use table.concat at one place because I read somewhere that it's faster than .. 2015-08-16 16:40:49 +02:00
Brett O'Donnell
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
Vanessa Ezekowitz
2d6a0ed606 split ui_crafting_form
into craft grid/trash image and a single slot image.  The latter is now
used for a refill slot if user has creative priv or server is in
creative mode.
2015-08-05 08:37:25 -04:00
Vanessa Ezekowitz
f2914b3d4f only show items in crafting guide if they can be crafted or player has creative 2015-07-30 09:13:16 -04:00
Vanessa Ezekowitz
56892b8e75 Don't add a recipe to the main list if it contains any unknown items/groups 2015-07-30 08:03:29 -04:00
Prot
2355dc6fc2 require "home" privilege to use home/sethome buttons 2015-07-19 17:01:36 -04:00
Vanessa Ezekowitz
8338b406d3 fix crash in waypoints? 2015-06-28 05:17:43 -04:00
Vanessa Ezekowitz
16e40a2e22 re-arrange a few elements in the crafting guide to eliminate text overlap
Also make sure to chech if lite mode before assuming 4x2 "tab" button layout.
2015-06-28 04:54:48 -04:00
Vanessa Ezekowitz
0a70d8edef Add "lite" mode
Set unified_inventory_lite = true in minetest.conf to enable.

This mode reduces the feature-set of the mod as follows:

* no bags
* no waypoints,
* no home/go-home buttons,
* no set-day/-night buttons,
* smaller creative/craft guide inventory pages (4x6 instead of 8x10)
* fewer paging buttons
* smaller search field
* move "Result: foo" to below the crafting guide grid.
* Move main "tab" buttons to the right, below the search and paging buttons.
* Made "tab" buttons able to use to 2 rows if necessary (max 8 buttons)
2015-06-28 04:15:55 -04:00
ShadowNinja
20eba2bf9b Remove unneeded and slow get_desc function 2015-04-18 15:32:22 -04:00
ShadowNinja
7d8b5f3760 Round home positions 2015-04-18 15:23:54 -04:00
MT-Modder
8bb1c8288b Add item_names support for Better "HUD" 2015-03-11 19:00:25 -04:00
Rogier
75f719507e Add buttons to give oneself items (with 'give' privilege) 2015-03-11 17:55:30 -04:00
Ardonel
d5d97e7dca Update bags.lua
changed bag recipes from default:stick to group:stick
2015-03-11 17:55:30 -04:00
Mahmut Elmas
12f14d7aff Create tr.txt 2015-03-11 17:55:30 -04:00
Rogier
2fd9e59242 Display conversion method symbolically and textually next to arrow 2015-03-11 16:00:37 +01: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
Tim
1a962542e6 supress intentional creative_inventory check warning, this fixes #18 2015-02-05 09:58:15 +01:00
Eternal Sorrow
4bae2c7fa3 Russian translation 2014-12-30 14:30:29 +01:00
jp
9672ec599e Add French locale 2014-12-30 14:30:29 +01:00
ShadowNinja
4fce317e2e Fix crash when changing waypoint name 2014-09-07 15:08:52 -04:00
ShadowNinja
527812fa96 Make waypoints optional and use external datastorage mod
This also fixes waypoints not showing up on join.
2014-07-06 17:39:20 -04:00
RealBadAngel
0d777362f3 Update tooltips usage due to core changes. 2014-06-24 12:39:12 +02:00
RealBadAngel
f800f39083 More tooltips and translations. 2014-06-22 00:34:35 +02:00
Diego Martinez
810f342458 Add spanish translation. 2014-06-21 08:25:44 -03:00
RealBadAngel
002bcbb6d8 Add intllib support.
Some polish and german translations.
Start adding tooltips.
2014-06-21 12:44:31 +02:00
Zefram
87f502a259 Show item usages in craft guide
When the craft guide is showing a craft, the output slot is now a button,
which causes the craft guide to show ways in which that output can be
used.  This mirrors the way input slots are buttons that show recipes
for the selected ingredient.  Usages of an item can be iterated through
in the same way as recipes for the item.  This incidentally offers some
ability to retrace one's steps through a crafting chain, without storing
actual history.
2014-06-13 11:30:09 -03:00
Zefram
c33efe8631 Cleaner display of lack of recipes (redux)
When the current craft guide item has no recipes, show a "no" symbol
instead of an ingredient grid, alongside the "No recipes" message.
When no item is selected in the craft guide, leave the recipe space empty.
2014-06-13 09:28:40 -03:00
Zefram
4c982dd667 Fix and enhance grid shapes in craft guide
Commit 043f608145 made shaped crafting
recipes display in a grid of the recipe's minimum bounding box,
but broke the use of a fixed 1x1 grid shape for cooking recipes.
This commit generalises the dynamic-grid-shape facility, putting the
craft type registration in charge.  This restores the correct shape for
cooking recipes.

Also change the logic for dynamic grid sizes for regular shaped and
shapeless crafting.  We'd like to always use a grid shape that is
reminiscent of a regular crafting grid, as a visual cue to the crafting
method.  But it's also nice to show smaller recipes in a smaller grid.
In the expectation that crafting grids will always be square, show the
recipe in the smallest square grid that will accommodate it.
2014-06-13 09:28:39 -03:00
Zefram
a8c8ef0890 Correctly display multi-group ingredients
Extend the representative-item logic to handle ingredients specified
as the intersection of multiple groups.  Also add mangling of item
button content, because comma for a multi-group ingredient is getting
formspec-escaped and then not de-escaped.
2014-06-13 09:28:37 -03:00
Zefram
dbf98cb694 Fix display of group ingredients
Commit 043f608145 broke a couple of things
in the course of its refactoring.  This patch restores the "G" flag that
signals group ingredients, the preference for "default:" items as group
representatives (where a representative isn't specifically registered),
and the built-in registration of default:cobble as representative for
group:stone (because it's the most commonly-used item in that group).
2014-06-13 06:28:38 -03:00
Zefram
7f4f0fd225 Use plain substring search in craft guide
The user input was being erroneously treated as a lua regexp.
2014-06-13 04:50:07 -03:00
RealBadAngel
833a255ad4 Some fixes to item_names and waypoints. 2014-05-26 11:43:25 +02:00
RealBadAngel
b46f4217ae Item names hud element (based on 4aiman mod) 2014-05-26 05:41:40 +02:00
RealBadAngel
3003b19322 Add sorting inventories function. 2014-05-22 21:24:24 +02:00
Vanessa Ezekowitz
44d967bbe5 did the same for sun/moon icons 2014-05-19 02:02:34 -04:00