maidroid/_aux.lua

15 lines
398 B
Lua
Raw Normal View History

2016-05-31 06:26:54 +02:00
------------------------------------------------------------
-- Copyright (c) 2016 tacigar
-- https://github.com/tacigar/maidroid
------------------------------------------------------------
maidroid._aux = {}
2016-06-02 06:18:58 +02:00
-- get inventory of the maidroid
2016-05-31 06:26:54 +02:00
function maidroid._aux.get_maidroid_inventory(self)
2016-09-13 02:44:16 +02:00
return minetest.get_inventory{
type = "detached",
name = self.invname,
}
2016-05-31 06:26:54 +02:00
end