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
SwissalpS
361719180b
whitespace: readability improvements
2020-12-02 12:17:34 +01:00
白狐
c490b1fc12
visual: Fix itemStackMax not initialized on insert ( #53 )
...
Co-authored-by: jessicara <chi@chi.hakurei.shrine>
2020-09-23 16:10:39 +02: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
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
Buckaroo Banzai
6603f27279
controller: Add nil check in for digiline pipeworks injection ( #49 )
...
Co-authored-by: BuckarooBanzay <BuckarooBanzay@users.noreply.github.com>
2020-06-25 12:11:20 +02:00
Linus Jahn
b97e905bc2
controller: Try to fix bugs with corrupted drawer index
2020-06-10 19:24:39 +02:00
Linus Jahn
62b5fa51ae
Large drawer controller refactoring
2020-06-09 20:06:16 +02:00
Linus Jahn
905af2ac1c
Fix luacheck errors
2020-06-06 11:59:16 +02:00
Linus Jahn
87bc535cc1
controller: Refactor index cache
2020-06-06 11:33:30 +02:00
Linus Jahn
eb2c069b8f
README: Update mod description
2020-06-06 11:17:22 +02:00
Linus Jahn
ea209e51fa
controller: Make digiline channel configurable
2020-06-06 00:44:57 +02:00
Linus Jahn
439eb81ccd
Add digiline support
2020-06-04 23:18:36 +02:00
ShihanAlma
c13238541a
Increase object search radius to avoid recreation of visuals ( #44 )
...
Fixes #43 .
2020-05-16 14:54:08 +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
Thomas Rudin
0fc267da84
controller: Kick off sorting after pipeworks inserted an item ( #40 )
...
Controllers in unloaded/inactive areas would become jammed otherwise
Co-authored-by: BuckarooBanzay <39065740+BuckarooBanzay@users.noreply.github.com>
2020-02-14 17:40:49 +01:00
Serhiy Zahoriya
4e99f7db71
Do not omit last inventory slot
2020-01-15 18:28:01 +01: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
e36c8721b1
Insert all from inv on rightclick with bare hand
2019-06-20 19:32:19 +02: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
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
Linus Jahn
3a12b831a0
Fix deprecated obj:setyaw()
2019-05-18 23:00:57 +02:00
isaiah658
df9bc95774
Fix MCL2 node groups for controller ( #34 )
...
Fixes the drawer controller being unbreakable in MCL2 due to MCL2 using different and extra groups to manage breaking nodes.
2019-05-05 20:03:25 +02:00
isaiah658
5f35fa308f
Fix controller gui
...
Added the same changes that were made to the drawer formspec to the controller formspec to not rely on default.
2019-05-05 15:07:28 +02:00
isaiah658
8fd4be6567
Fix nil inv bug
...
This should in theory fix the bug caused by other mobs or nodes punching a drawer.
2019-05-05 15:07:28 +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
Alex
df4e5f7c0c
Remove visual if no drawer ( #28 )
2019-03-27 16:27:55 +00:00
GreenDimond
f5cd37cd63
Play sounds locally
2019-03-27 16:27:02 +00:00
gpcf
08a52054a6
Fix crash when drawers_controller_interval is undefined ( #21 )
2018-09-21 23:39:41 +02:00
Linus Jahn
8702b6ac92
Make drawer controller update interval configurable
2018-09-10 21:23:29 +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
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
isaiah658
8cfd1185e3
Fix issue where storage drawer saves item name for items with max stack of 1 ( #17 )
...
Fix issue where storage drawer saves item name for items with max stack of 1 causing you to not be able to put in other items until breaking the drawer or reloading the game.
2018-06-04 14:03:07 +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
gpcf
f6a89e19bf
Add support for protections ( #10 )
2017-10-10 20:17:43 +02:00
LNJ
eb8d2dfd38
Set formspec on every load to support old drawers
...
Before this you had to dig and rebuild your drawers to
get the drawer formspecs and the ability to add upgrades.
2017-06-03 17:40:29 +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
1f0fdf832b
Play interact sound on adding/removing items from drawer
...
But I think the sounds are currently a bit too long.
2017-06-03 11:59:52 +02:00
LNJ
f83177346b
Fix stack_max=1 items are being stored
2017-04-23 18:15:27 +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
899caf5b84
Fix "Could not load 'drawers_empty.png'"
2017-04-11 13:31:43 +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
7cb2534a4f
Make entities selectable in latest dev build
2017-04-10 13:30:30 +02:00