Commit Graph

25 Commits

Author SHA1 Message Date
Linus Jahn
d8e1d83fd6
MCL2: Fix drawer upgrade inventory background 2018-09-10 19:57:23 +02:00
isaiah658
60518668d5 Add drawer controller (#19)
Drawer controllers can sort items into drawer in a certain range. As normal drawers they have support
for pipeworks and MineClone 2. Crafting ingredients are one drawer, two diamonds, four steel/iron
ingots and a copper and tin ingot or two gold ingots.
2018-06-16 09:03:48 +02:00
Jordan Irwin
5c9a7bafd0 Replace deprecated method 'setting_getbool' with 'settings:get_bool' (#8) 2017-06-07 11:17:00 +02:00
LNJ
f3dafb5b6a Add Drawer Upgrades
Yey, they're finally there! :)
This will add steel, gold, obsidian and diamond upgrades for MTG
and iron, gold, obsidian, diamond and emerald upgrades for MCL2.

You can add them to a drawer by rightclicking it and adding them to
the new drawer's upgrade inventory.
2017-06-03 17:06:12 +02:00
LNJ
d539969310 Increase drawer capacity to 32 stack sizes
I did a mistake before here: Drawers only had the size of 24 stacks,
but they should have had space for 32 stacks, as a normal chest will do.
With this it's fixed now.
2017-06-02 21:45:51 +02:00
LNJ
753b31d74f
Add drawers in all wood types
This is still fully MineClone 2 compatible; there are different
drawers in MCL2 than MTG and they have different textures.

If you combine different wood types in the crafting field, the
default drawer (oak/wooden) will be crafted. If you use the same
wood, a drawer of this wood will be crafted.
2017-04-14 16:08:59 +02:00
LNJ
cde5c46e44
Add i18n support using intllib 2017-04-11 13:02:31 +02:00
LNJ
40230857ad
Make 1x1, 1x2 and 2x2 drawers disableable
The new settings for the minetest.conf are:
`drawers_disable_1x1`
`drawers_disable_1x2`
`drawers_disable_2x2`
2017-04-09 22:31:31 +02:00
LNJ
dd97f22586
Add 1x2 drawers, Add crafting recipes for 1x2 and 2x2 2017-04-05 14:53:17 +02:00
LNJ
f1156cc1da
Change descriptions to use plural for 2x2 drawers 2017-04-05 14:53:16 +02:00
LNJ
d3d29fb497
Add basic 2x2 Drawers
They're still missing some functionality as pipeworks and drops after dug.
This will be done in the next commit(s).
2017-04-05 14:53:16 +02:00
LNJ
b75a4dd39d
Use group:wood for crafting drawers 2017-04-03 13:07:34 +02:00
LNJ
eaec8f7478
Add support for pipeworks 2017-04-01 19:13:09 +02:00
LNJ
f42c15019a
Fix Wooden Drawer has no sounds/crafting 2017-04-01 17:21:50 +02:00
LNJ
65e1ef85f3 Split up source code into multiple files 2017-04-01 16:28:03 +02:00
LNJ
5f9a4f20ae
Add MineClone2 support, Make dependency to default optional 2017-03-29 19:12:55 +02:00
LNJ
8eb19ec548
Add Wooden Drawer textures by @jaquadro
These are the original textures of the Minecraft Mod (licensed under the MIT).
2017-03-29 17:21:15 +02:00
LNJ
a94a637f2a
Fix that LBM-restored visuals doesn't have a texture 2017-03-28 21:48:37 +02:00
LNJ
602abde7f5
Make drawers craftable
The recipe is as in the MC Mod:
W W W
  C    ->  D
W W W
W: Wood; C: Chest; D: Wooden Drawer
2017-03-28 20:22:28 +02:00
LNJ
1b280c5442
Fix 'automatic tool repair' bug, Don't add stack_max=1 items 2017-03-26 22:22:32 +02:00
LNJ
e784ad6a17
Fix node not specified in spawn_visual 2017-03-26 22:12:16 +02:00
LNJ
d7d41a8ed9
Fix that drawer visuals are not loaded again 2017-03-26 21:51:15 +02:00
LNJ
790360934c
Make Wooden Drawer breakable by hand and add sounds 2017-03-26 20:58:55 +02:00
LNJ
fe0daf9bdc
Drop all items on dug 2017-03-26 20:53:04 +02:00
LNJ
4c3dd28fcd
Inital Commit 2017-03-26 16:17:48 +02:00