1
0
mirror of https://github.com/tacigar/maidroid.git synced 2024-11-18 16:10:25 +01:00
maidroid/_aux.lua
2016-06-09 14:44:44 +09:00

15 lines
386 B
Lua

------------------------------------------------------------
-- Copyright (c) 2016 tacigar
-- https://github.com/tacigar/maidroid
------------------------------------------------------------
maidroid._aux = {}
-- get inventory of the maidroid
function maidroid._aux.get_maidroid_inventory(self)
return minetest.get_inventory{
type = "detached",
name = self.invname,
}
end