intficpy.physical_entity module

class intficpy.physical_entity.PhysicalEntity(game)

Bases: intficpy.ifp_object.IFPObject

addThing(item)
addTopLevelContains(item)
containsItem(item)

Returns True if item is in the contains or sub_contains dictionary

getNested()

Find revealed nested Things

getOutermostLocation()
removeContains(item)
removeThing(item)
subLevelContainsItem(item)
topLevelContainsItem(item)
property contentsList

Return the contents from contains and sub_contains as a flattened list

Return type

list

property subLevelContentsList

Return the sub contents as a flattened list

Return type

list

property sub_contains
property topLevelContentsList

Return the top level contents as a flattened list

Return type

list

property visible_nested_contents