nmmo.lib.material module#
- class nmmo.lib.material.All#
Bases:
object
List of all materials
- indices = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15}#
- materials = {<class 'nmmo.lib.material.Stone'>, <class 'nmmo.lib.material.Weeds'>, <class 'nmmo.lib.material.Foilage'>, <class 'nmmo.lib.material.Fragment'>, <class 'nmmo.lib.material.Crystal'>, <class 'nmmo.lib.material.Scrub'>, <class 'nmmo.lib.material.Tree'>, <class 'nmmo.lib.material.Grass'>, <class 'nmmo.lib.material.Stump'>, <class 'nmmo.lib.material.Water'>, <class 'nmmo.lib.material.Fish'>, <class 'nmmo.lib.material.Ore'>, <class 'nmmo.lib.material.Void'>, <class 'nmmo.lib.material.Slag'>, <class 'nmmo.lib.material.Ocean'>, <class 'nmmo.lib.material.Herb'>}#
- class nmmo.lib.material.Crystal(config)#
Bases:
Material
- capacity = 0#
- harvest()#
- index = 11#
- respawn = 0#
- table = None#
- tex = 'crystal'#
- class nmmo.lib.material.Fish(config)#
Bases:
Material
- capacity = 0#
- harvest()#
- index = 15#
- respawn = 0#
- table = <nmmo.systems.droptable.Standard object>#
- tex = 'fish'#
- class nmmo.lib.material.Foilage(config)#
Bases:
Material
- capacity = 0#
- harvest()#
- index = 4#
- respawn = 0#
- table = <nmmo.systems.droptable.Empty object>#
- tex = 'foilage'#
- tool = None#
- class nmmo.lib.material.Fragment(config)#
Bases:
Material
- capacity = 0#
- harvest()#
- index = 10#
- respawn = 0#
- table = None#
- tex = 'fragment'#
- tool = None#
- class nmmo.lib.material.Grass(config)#
Bases:
Material
- capacity = 0#
- harvest()#
- index = 2#
- respawn = 0#
- table = None#
- tex = 'grass'#
- tool = None#
- class nmmo.lib.material.Habitable#
Bases:
object
Materials that agents cannot walk on
- indices = {2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13}#
- materials = {<class 'nmmo.lib.material.Weeds'>, <class 'nmmo.lib.material.Foilage'>, <class 'nmmo.lib.material.Fragment'>, <class 'nmmo.lib.material.Crystal'>, <class 'nmmo.lib.material.Scrub'>, <class 'nmmo.lib.material.Tree'>, <class 'nmmo.lib.material.Grass'>, <class 'nmmo.lib.material.Stump'>, <class 'nmmo.lib.material.Ore'>, <class 'nmmo.lib.material.Slag'>, <class 'nmmo.lib.material.Herb'>}#
- class nmmo.lib.material.Harvestable#
Bases:
object
Materials that agents can harvest
- indices = {1, 4, 7, 9, 11, 13, 15}#
- materials = {<class 'nmmo.lib.material.Foilage'>, <class 'nmmo.lib.material.Crystal'>, <class 'nmmo.lib.material.Tree'>, <class 'nmmo.lib.material.Water'>, <class 'nmmo.lib.material.Fish'>, <class 'nmmo.lib.material.Ore'>, <class 'nmmo.lib.material.Herb'>}#
- class nmmo.lib.material.Herb(config)#
Bases:
Material
- capacity = 0#
- harvest()#
- index = 13#
- respawn = 0#
- table = <nmmo.systems.droptable.Standard object>#
- tex = 'herb'#
- class nmmo.lib.material.Impassible#
Bases:
object
Materials that agents cannot walk through
- indices = {0, 1, 5, 14, 15}#
- materials = {<class 'nmmo.lib.material.Stone'>, <class 'nmmo.lib.material.Water'>, <class 'nmmo.lib.material.Fish'>, <class 'nmmo.lib.material.Void'>, <class 'nmmo.lib.material.Ocean'>}#
- class nmmo.lib.material.Material(config)#
Bases:
object
- capacity = 0#
- harvest()#
- index = None#
- respawn = 0#
- table = None#
- tool = None#
- class nmmo.lib.material.Meta(name, bases, dict)#
Bases:
type
- mro()#
Return a type’s method resolution order.
- class nmmo.lib.material.Ocean(config)#
Bases:
Material
- capacity = 0#
- harvest()#
- index = 14#
- respawn = 0#
- table = None#
- tex = 'ocean'#
- tool = None#
- class nmmo.lib.material.Ore(config)#
Bases:
Material
- capacity = 0#
- harvest()#
- index = 7#
- respawn = 0#
- table = None#
- tex = 'ore'#
- class nmmo.lib.material.Scrub(config)#
Bases:
Material
- capacity = 0#
- harvest()#
- index = 3#
- respawn = 0#
- table = None#
- tex = 'scrub'#
- tool = None#
- class nmmo.lib.material.Slag(config)#
Bases:
Material
- capacity = 0#
- harvest()#
- index = 6#
- respawn = 0#
- table = None#
- tex = 'slag'#
- tool = None#
- class nmmo.lib.material.Stone(config)#
Bases:
Material
- capacity = 0#
- harvest()#
- index = 5#
- respawn = 0#
- table = None#
- tex = 'stone'#
- tool = None#
- class nmmo.lib.material.Stump(config)#
Bases:
Material
- capacity = 0#
- harvest()#
- index = 8#
- respawn = 0#
- table = None#
- tex = 'stump'#
- tool = None#
- class nmmo.lib.material.Tree(config)#
Bases:
Material
- capacity = 0#
- harvest()#
- index = 9#
- respawn = 0#
- table = None#
- tex = 'tree'#
- class nmmo.lib.material.Void(config)#
Bases:
Material
- capacity = 0#
- harvest()#
- index = 0#
- respawn = 0#
- table = None#
- tex = 'void'#
- tool = None#