Commit Graph

71 Commits (master)

Author SHA1 Message Date
Alexander Weber 943fe836a1 Switch to player has creative privilege check instead of creative mode.
Thanks to @Skaapdev
Closes #9 and #10
2020-08-19 08:49:21 +02:00
Alexander Weber cbd843311a Move door handling from cache to filter framework 2020-03-24 11:28:39 +01:00
Alexander Weber 8ff56a3322 added arrow button textures 2020-01-12 14:13:16 +01:00
Alexander Weber eae8d1f4e0 simple new unifieddyes support 2018-12-16 21:12:32 +01:00
Alexander Weber 36c75ed649 updated smartfs 2018-11-29 22:17:56 +01:00
Alexander Weber d2328eb1b8 proper metatables usage 2018-09-09 22:19:26 +02:00
Alexander Weber da2e1cd480 smartfs update, fix issue with complex images 2018-08-27 20:01:03 +02:00
Alexander Weber c5e25f0ea6 clothing support in skinsdb mode 2018-06-24 22:15:13 +02:00
Alexander Weber ac93e4b3ce performance update (table.copy is bad) 2018-04-14 00:19:33 +02:00
Alexander Weber cfa49c29ae bugfix for items with missed groups 2018-04-13 23:04:20 +02:00
Alexander Weber 560ad2a754 cache: "ingredient" is not a valid group without itemname 2018-04-04 20:53:16 +02:00
Alexander Weber 9175f59fe8 creative: add way to obtain full stacks 2018-02-15 11:03:25 +01:00
Alexander Weber c4e86b05ce smartfs update to the upstream version (all enhancements merged!) 2018-01-29 22:48:30 +01:00
Alexander Weber 729086f810 fix lookup recipe view. Select recipes with lookup item in output (how to craft the lookup item) 2018-01-08 13:47:51 +01:00
Alexander Weber 7000ff74aa doc: Be less strict in reveal information for shaped items.
If not revealed shape is in onther recipe, check Recursivelly if the shape could be crafted.
In check for "crafteable by" look forward for next items crafteable by shaped items
This change is necessary because sometimes the smart_inventory reveal function feels unusable.
The change take a boost for unifieddyes dyes mixing colors and some other recipes.
You do not need to craft a slab for each material to check if anything is crafteable by the slab..
2018-01-04 23:53:09 +01:00
Alexander Weber 65bbf80948 new method filter:is_valid(), can be redefined to check if a dimension-group is valid
basically to hide the ingredient:default but show ingredient:default:stick for example
removed all workarounds
2018-01-02 22:37:06 +01:00
Alexander Weber 764deaae70 exclude ingredient grouping from search. Activate the keywordless groups for search 2018-01-02 22:11:36 +01:00
Alexander Weber dabbbbd78e crecipes: optimize analyzing 2017-12-26 12:18:02 +01:00
Alexander Weber 06ad65f5b2 crecipes: simplify item groups handling - fix food recipes 2017-11-27 12:38:14 +01:00
Alexander Weber e46617b87c creative+crafting pages: show / hide dynamic groups in favor of item grid
Implements enhancement #1
2017-11-18 00:19:21 +01:00
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