Commit Graph

39 Commits

Author SHA1 Message Date
Luke aka SwissalpS
d089c6ea38
drawers aren't ground content (#91)
see https://github.com/pandorabox-io/pandorabox.io/issues/836
2024-02-28 13:45:05 +01:00
Araca
70c30906cd
update controller inventory to be compatible with mcl2 (#89)
Co-authored-by: = <=>
2024-02-21 14:25:09 +01:00
Niklp
d410239bfe
Fix inventory preview with mcl2 (#84) 2023-07-25 21:37:34 +02:00
ROllerozxa
76a97d1af7 Convert old inttlib to modern translation system 2022-12-26 21:48:41 +01:00
SwissalpS
31c0bfd23a code-style fix
nothing important, adhere to guidelines even if not particularly
relevant here
2020-12-02 12:17:34 +01:00
Linus Jahn
1ec302f396 Add mithril drawer upgrade 2020-01-11 16:22:23 +01:00
Linus Jahn
0cf5202248 Make obsidian upgrade a bit less powerful 2020-01-11 16:05:58 +01:00
Linus Jahn
a939d8cc9f
Increase controller scan range to 14 2019-05-18 23:16:07 +02:00
Linus Jahn
654959ac55
Change default value of drawer controller interval to 1.0 2019-05-18 23:10:53 +02:00
Linus Jahn
885f8daf7b
Rewrite drawer controller scanning
This fixes the issue that some drawers have not been found by the
controller.
2019-05-18 23:02:00 +02:00
LNJ
3834835046
init: mcl2: Fix syntax of node registration
(Should) fix #24.
2018-12-03 17:37:09 +01:00
isaiah658
c0707bcbad MineClone 2 bug fix for trim
After looking at the code again I realized the trim block will also have the same issue as the drawers did.
2018-10-14 09:37:46 +02:00
isaiah658
9499d241aa Fix MineClone 2 draw punching bug
Fixes the issue where punching a drawer in MineClone 2 would cause it to instantly break and not drop. This was due to MineClone not using the same groups as Minetest and they also use additional parameters for hardness, blast resistance, etc.
2018-10-14 09:37:46 +02:00
Linus Jahn
bc48fc0c07
Add Wooden Trim for easy drawer network connections
This node is only used for connecting drawers, so that they are all in one
drawer network and can be used with a drawer controller.
2018-09-11 17:52:07 +02:00
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