maidroid/_aux.lua
2016-05-31 13:26:54 +09:00

18 lines
398 B
Lua

------------------------------------------------------------
-- Copyright (c) 2016 tacigar
-- https://github.com/tacigar/maidroid
------------------------------------------------------------
maidroid._aux = {}
-- maidroidのインベントリを得る
function maidroid._aux.get_maidroid_inventory(self)
return minetest.get_inventory{
type = "detached",
name = self.invname,
}
end