51 Commits

Author SHA1 Message Date
Alexander Weber
5b2c1b8071 crafting: add crafting helper
New button appears to auto-fill crafting field
See Issue #3
2017-11-16 23:50:48 +01:00
Alexander Weber
6e63b33be3 gsub vs. gmatch cleanup. 2017-11-02 14:53:28 +01:00
Alexander Weber
938e0d52db smartfs update 2017-11-02 13:58:41 +01:00
Alexander Weber
e8ccd6e612 smartfs update: generalize tooltips 2017-09-24 17:21:23 +02:00
Alexander Weber
fade21d426 use player meta to save inventory slots instead of files 2017-09-01 16:17:27 +02:00
Alexander Weber
3facc23610 smartfs update: update the formspec once per server step. Solves flacering and closing in workbench mode 2017-08-11 13:05:52 +02:00
Alexander Weber
d7686594d7 initial support the default mod is optional. Auto-resize the players workbench to 3x3 like MineClone2 does 2017-08-11 10:01:18 +02:00
Alexander Weber
c353e8a27a filter: do not hide leafdecay group 2017-07-07 09:59:15 +02:00
Alexander Weber
9fa389d8da fix crash on broken item recipes https://github.com/duane-r/cityscape/issues/2 2017-06-30 12:28:00 +02:00
Alexander Weber
cfba2ca7bb player: fix skins paging. crecipes: unlock hidden items if in any crafting recipe to get the recipes visible 2017-06-19 10:33:03 +02:00
Alexander Weber
ec32c97f66 filter: add support for base group only replacements like food_milk_chocolate => food:milk_chocolate 2017-06-09 07:09:17 +02:00
Alexander Weber
4b20c2d306 add group name to description. Some description related cleanups. Bugfix in groups sorting 2017-06-08 01:58:33 +02:00
Alexander Weber
991f5cf86c add fuel buring times filter 2017-06-05 09:55:06 +02:00
Alexander Weber
1a3857b83e disabled food and toxic filter since debug.getupvalue is not usable to secure environment 2017-06-04 21:05:30 +02:00
Alexander Weber
d7846ff191 crafting: show proper width=0 recipes again as 3 2017-05-16 15:54:09 +02:00
Alexander Weber
3cbaf291b8 search: use : and _ as equal in search. remove debug prints. 2017-05-15 20:42:45 +02:00
Alexander Weber
cd85e62eb2 filter: group vessel is used in recipes, so the rename own filter 2017-05-15 20:31:55 +02:00
Alexander Weber
86644ee57d crafting: optimizaton crafting preview - showing groups 2017-05-12 22:11:36 +02:00
Alexander Weber
142bb20e4b crafting: bugfix crash on lookup 2017-05-11 10:44:37 +02:00
Alexander Weber
8c6084da37 add crecipes.add_recipes_from_list for externally registering of custom recipes 2017-05-10 21:17:05 +02:00
Alexander Weber
7827846bbb adjustments displaying recipes with 1 item only 2017-05-10 21:09:56 +02:00
Alexander Weber
975a4ac1ba crecipes: add support for recipes with aliases 2017-05-01 01:04:46 +02:00
Alexander Weber
89d4d1fc7e crafting: add lookup for items in crafting preview that are buttons now 2017-04-30 22:11:34 +02:00
Alexander Weber
17e7b1c66b elements: changed crafting preview to buttons - in preparation to recipes navigation 2017-04-30 21:48:15 +02:00
Alexander Weber
298a87d2ce moved recipes object to own file crecipes.lua 2017-04-30 21:27:41 +02:00
Alexander Weber
00bf263c7a cache: bugfix for recipe check for small recipe width 2017-04-30 17:05:22 +02:00
Alexander Weber
4f56841aad crafting: rework of crafting prediction as grid lookup 2017-04-30 01:25:29 +02:00
Alexander Weber
f7c87eebc5 cache: take crecipe object methods to own table and use metatables 2017-04-29 20:02:18 +02:00
Alexander Weber
48032996cf crafting: lookup for crafting prediction 2017-04-29 00:58:22 +02:00
Alexander Weber
ec7909cf87 cache: add/show "not_in_creative" items if recipes defined with hidden output item 2017-04-29 00:09:02 +02:00
Alexander Weber
52c74bf046 filter: bugfix on suspicion. Items without mod_origin exists? 2017-04-26 22:28:04 +02:00
Alexander Weber
0624186147 get the smart_inventory_friendly_group_names setting working 2017-04-17 01:10:22 +02:00
Alexander Weber
6c0ad582d8 convert translatable textfiles to gettext complatible po files, including pot template
forced group prefix removed
some cache buildup rewrites
2017-04-17 00:51:39 +02:00
Alexander Weber
1037c5fa17 filter: adjust hardcoded per-group configurations to table form 2017-04-16 11:01:51 +02:00
Alexander Weber
709d5a5263 filter: some small filter adjustments 2017-04-16 00:46:32 +02:00
Alexander Weber
1e20f41da6 multiple changes and rewrites around check for revealed recipes 2017-04-16 00:29:43 +02:00
Alexander Weber
088ae2896d filter: fix customnode:default variant 2017-04-15 21:54:13 +02:00
Alexander Weber
8b4e917d50 moved some methods from cache to ui_tools 2017-04-15 21:51:00 +02:00
Alexander Weber
515f900245 filter: use keyword in dynamic grouping, ignore groups without keyword 2017-04-15 19:56:59 +02:00
Alexander Weber
09490fbd5f filter: add get_keyword method to filter, use them for searches instead of group name
get_keyword is now responsible if a group is visible or not
2017-04-15 19:25:17 +02:00
Alexander Weber
c07c4fcabd filter: unify get_description and descr_func 2017-04-15 16:46:53 +02:00
Alexander Weber
8d5e1f1ce0 filter: unify check_item_by_def and filter_func 2017-04-15 16:40:19 +02:00
Alexander Weber
4b062deb08 filter: use metatables for filter definition interface 2017-04-15 16:18:55 +02:00
Alexander Weber
586dbf52dd filter: renamed eatable to food 2017-04-13 21:51:12 +02:00
Alexander Weber
db1fd078a2 groups: add support for customnode groups 2017-04-13 21:45:14 +02:00
Alexander Weber
9117afdde2 cache: log recipe output for recipes with faulty recipe items 2017-04-10 22:47:05 +02:00
Alexander Weber
7044afa313 filter: add ingredient group again 2017-04-10 01:16:19 +02:00
Alexander Weber
dc2bce674d cache: remove groups with size < 3 from output calculation because of no advantage 2017-04-10 00:41:06 +02:00
Alexander Weber
c194707a95 creative+crafting: add swap rows buttons for main inventory 2017-04-09 23:17:00 +02:00
Alexander Weber
810dea3078 moved all main inventory list functions to libs/maininv.lua 2017-04-09 21:56:13 +02:00