LuaEquipmentGrid Contents/Shield
Posted: Fri Apr 07, 2017 3:45 am
Just a few things that could help when working with equipment grids.
#1 LuaEquipmentGrid::get_contents() → dictionary string → uint similar to LuaInventory::get_contents() returns equipment_name and count
#2 LuaEquipmentGrid::shield (r) and LuaEquipmentGrid::max_shield (r) similar to same fields in LuaEquipment except totaled for all/read only
#3 LuaEntity::get_armor_grid() -> luaEquipmentGrid returns the armor grid for the entity if it has one, similar to the other get_specific_inv functions
Thanks for looking in to this!
#1 LuaEquipmentGrid::get_contents() → dictionary string → uint similar to LuaInventory::get_contents() returns equipment_name and count
#2 LuaEquipmentGrid::shield (r) and LuaEquipmentGrid::max_shield (r) similar to same fields in LuaEquipment except totaled for all/read only
#3 LuaEntity::get_armor_grid() -> luaEquipmentGrid returns the armor grid for the entity if it has one, similar to the other get_specific_inv functions
Thanks for looking in to this!