18 Commits

Author SHA1 Message Date
Araca
be1cda9464
Adapt inventory to MineClone2/ia (#18)
Co-authored-by: Florent Delord <fdelord@synthesio.com>
2024-02-01 19:04:38 +01:00
Montandalar
72dc10d6b1
Fix and improve throwing trash into the can (#16)
* The settingtypes default value was mismatched with the actual code.
  settingtypes have been changed to agree with the code because this
  keeps the old behaviour.
* builtin item's on_step has more arguments than self and dtime now, so
  the varargs syntax is used to pass additional arguments on now
  Without this, the mod will crash when trash_can_throw_in is on.
* I have tweaked the calculation for where the trash can will pick
  objects up, since it was too easy to land items on the rim instead of
  them going in.
* The calculation for where the trash can will pick objects up has been
  tweaked upwards, since it was too easy to land items on the rim instead
  of them going in.
* vector.round is now used to ensure the logging co-ordinates are
  accurate instead of floor, since this is the same basic algorithm
  minetest\.get_node uses.
2023-03-25 10:08:13 +01:00
Maksym H
f00f97d4ec
Don't error if default mod is not available (#14) 2022-10-29 21:38:10 +02:00
Emo"jigit
78611b3ccd
zh_TW Translations (#13) 2022-08-13 15:03:52 +02:00
tuedel
423b0f26a8
Use listrings for inventories (#12)
Enables moving itemstacks via shift-click for newly placed nodes.
2020-08-12 21:03:25 +02:00
minertestdude
c6ef1d7589
Add MineClone2 compatibility (#10) 2020-04-11 13:26:49 +02:00
bell07
f046558327 Add setting trash_can_throw_in (#5) 2019-08-26 19:59:19 +02:00
4Evergreen4
e2e670435b Use set_list instead of loop to clear trash 2016-01-12 20:58:14 -05:00
4Evergreen4
b8555fb71d Add items to trash can when thrown instead 2016-01-12 15:14:33 -05:00
4Evergreen4
b8df65405f Made new dumpster nodebox and fixes the issue of it placing into other nodes 2016-01-11 22:02:39 -05:00
4Evergreen4
f563014b74 Moved dumpster from its own file to init.lua 2016-01-11 17:17:58 -05:00
4Evergreen4
f942d765b4 Cleanup 2016-01-11 17:06:14 -05:00
4Evergreen4
e6f433d0c3 Small fix. 2014-08-21 17:32:57 -04:00
4Evergreen4
3cd1b2e40c Added dumpster 2013-08-24 11:54:43 -04:00
4Evergreen4
bf6d461b5f Added the ability to throw things inside of the trash can(tanks to Zeg9) 2013-06-21 11:36:55 -04:00
4Evergreen4
2e61072bd9 Added textures for trash can 2013-06-19 18:09:55 -04:00
4Evergreen4
fe65e136d7 Tagged full trash can node as unused 2013-06-18 20:53:19 -04:00
4Evergreen4
f3b307de3d Initial commit 2013-06-18 20:48:10 -04:00