Commit Graph

21 Commits

Author SHA1 Message Date
Gabriel Pérez-Cerezo
b424bc3499 Fix #57 by using core.hash_node_position for reliable indexing
The previously used minetest.serialize function may provide different
results for the same table in certain circumstances, thus it is not
suitable for generating strings to index tables with.
2021-03-27 18:37:34 +01:00
gpcf
4e2e3a02b4
Fix maple drawers (#51)
Prevent the visible entity from being deleted on the maple drawers.
2020-09-05 23:54:15 +02:00
Linus Jahn
62b5fa51ae
Large drawer controller refactoring 2020-06-09 20:06:16 +02:00
ShihanAlma
c13238541a
Increase object search radius to avoid recreation of visuals (#44)
Fixes #43.
2020-05-16 14:54:08 +02:00
Thomas Rudin
516b99e50c Prevent z-fighting on certain coordinates by increasing the vector.multiply factor on the visuals (#36)
Co-authored-by: naturefreshmilk <naturefreshmilk@users.noreply.github.com>
2020-01-06 15:17:46 +01:00
Linus Jahn
3a12b831a0
Fix deprecated obj:setyaw() 2019-05-18 23:00:57 +02:00
Alex
d972c830fc Increase entity check radius by 0.03 and add automatic drawer check (#29) 2019-04-21 10:37:27 +01: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
4260e1fc89
Fix inventory cubes; using fitting tiles now 2017-04-14 18:59:42 +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
cb616b0df9
Use blank.png instead of own drawers_empty.png 2017-04-10 17:42:51 +02:00
FaceDeer
8009743d8d
Fix "uninitialized global variable" warnings 2017-04-10 13:30:10 +02:00
LNJ
dd97f22586
Add 1x2 drawers, Add crafting recipes for 1x2 and 2x2 2017-04-05 14:53:17 +02:00
LNJ
768edb4d09
Adjust restore visual lbm, Add new drawers.remove_visuals 2017-04-05 14:53:16 +02:00
LNJ
a53dac2929
Randomize drop pos 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
0acdd1a48a
Fix infotext is displaying "0 Empty (0% full)" 2017-04-01 22:30:07 +02:00
LNJ
ff11d6a518
New infotext format with percent 2017-04-01 20:24:32 +02:00
LNJ
eaec8f7478
Add support for pipeworks 2017-04-01 19:13:09 +02:00
LNJ
65e1ef85f3 Split up source code into multiple files 2017-04-01 16:28:03 +02:00