index
:
advtrains.git
atcjit
doc
l10n
luaatcdebug
master
new-ks
new-ks-orwell
profiler
route_prog_rework
techage
tracy
trainhud
trainhud-unifont
Advtrains mod for minetest.
orwell
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
assets
/
signal_wall.blend
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
-- Minetest: builtin/detached_inventory.lua core
.
detached_inventories
= {}
function
core
.
create_detached_inventory
(
name
,
callbacks
,
player_name
)
local
stuff
= {}
stuff
.
name
=
name
if
callbacks
then
stuff
.
allow_move
=
callbacks
.
allow_move stuff
.
allow_put
=
callbacks
.
allow_put stuff
.
allow_take
=
callbacks
.
allow_take stuff
.
on_move
=
callbacks
.
on_move stuff
.
on_put
=
callbacks
.
on