Commit Graph

37 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
Niklp
4fdba85eb1
Uniform spacing in drawer formspec (#83) 2023-07-16 09:50:46 +02:00
ROllerozxa
76a97d1af7 Convert old inttlib to modern translation system 2022-12-26 21:48:41 +01:00
Niklp
b27bb6d26b
Fix luacheck (#71) 2022-10-12 12:37:11 +02:00
mazes-80
0ea57687b3
Add listring to upgrade slots form (#70) 2022-09-04 14:11:49 +02:00
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
SwissalpS
662be1a11f allow items to be taken from full drawers
I don't see why you wouldn't want to be able to take items from full
drawers.
2020-12-02 12:17:34 +01:00
Buckaroo Banzai
d3850ca205
Register drawers with mvps_stopper when available (#50)
Co-authored-by: BuckarooBanzay <BuckarooBanzay@users.noreply.github.com>
2020-06-28 20:57:34 +02:00
Linus Jahn
62b5fa51ae
Large drawer controller refactoring 2020-06-09 20:06:16 +02:00
Linus Jahn
eb2c069b8f
README: Update mod description 2020-06-06 11:17:22 +02:00
Linus Jahn
439eb81ccd
Add digiline support 2020-06-04 23:18:36 +02:00
BuckarooBanzay
5bd47f86d7 replace stray space-indent with tabs 2020-02-17 12:55:07 +01:00
BuckarooBanzay
dccb164133 fix common luacheck errors 2020-02-17 12:55:07 +01:00
Linus Jahn
14f21a434e
Try to insert incom. stacks to the correct drawer slot first 2019-05-19 01:09:29 +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
isaiah658
e8ee40a141 Add drawer controller translations (#20)
Added "Drawer Controller", "Current State: ", "Running", "Jammed", and "Stopped" to the
translation files to be translated.

While testing out the drawer controller translations, I noticed that in certain cases the entity
infotext wasn't being translated. This fixes that.
2018-06-18 18:40:19 +02:00
gpcf
336027fbd7 Check protection violations on digging drawer (#16) 2018-02-07 20:40:28 +01:00
gpcf
fe409885f0 Fix duplicate items bug when inserting items from pipes (#13) 2017-12-08 17:57:05 +01:00
gpcf
7d69f7d1a9 Prevent items from entering drawers without room for the item (#12)
* Honor protection with drawer upgrades
* Add function for pipeworks can_insert, so items don't attempt to enter a drawer with no room for them
2017-10-27 15:27:00 +02:00
gpcf
245e0a6e97 Forbid stealing drawer upgrades (#11) 2017-10-16 19:11:07 +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
cde5c46e44
Add i18n support using intllib 2017-04-11 13:02:31 +02:00
FaceDeer
7cb2534a4f
Make entities selectable in latest dev build 2017-04-10 13:30:30 +02:00
FaceDeer
8009743d8d
Fix "uninitialized global variable" warnings 2017-04-10 13:30:10 +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
ad3bbe8664
Adjust pipeworks support (on insert object) for 2x2 drawers 2017-04-05 14:53:16 +02:00
LNJ
03e692d72a
Fix drawer initialization bug; used wrong meta fields for 1x1 Drawers 2017-04-05 14:53:16 +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
69a974cb6b
Adapt drop function for 2x2 drawers to drop *all* items 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
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