Palanthir Library Reference
MODULE DESCRIPTION MODULE FUNCTIONS palanthir.data.getamountid(baseid, amount) - baseid - amount Description: Returns the id that should be shown instead of the baseid when the amount is > 1, as defined in amount.txt. Back to top palanthir.data.getanimgumpid(id) - id Description: Returns the paperdoll gumpid for a given animid as defined in anim2paperdoll.txt. Back to top palanthir.data.getclilocmessage(id) - id Description: Returns the cliloc entry. Back to top palanthir.data.getintlocmessage(id, filenr) - id - filenr Description: Returns the intloc entry. Back to top palanthir.data.getlandtileentry(id) - id Return Value: Returns a dictionary with the following keys: - name - texid - background - weapon - transparent - translucent - wall - damaging - impassable - liquid - unknown1 - surface - bridge - generic - window - noshoot - a - an - mongen - foliage - partialhue - unknown2 - map - container - wearable - lightsource - animation - nodiagonal - unknown3 - armor - roof - door - stairback - stairright Back to top palanthir.data.getskillcount() Description: Returns the number of existing skills. Back to top palanthir.data.getskillgroup(id) - id Description: Returns the name of the skill with the given id. Back to top palanthir.data.getskillgroupcount() Description: Returns the number of existing skillgroups. Back to top palanthir.data.getskillgroupname(id) - id Description: Returns the name of the skill with the given id. Back to top palanthir.data.getskillname(id) - id Description: Returns the name of the skill with the given id. Back to top palanthir.data.getstaticartheight(id) - id Description: Returns the height of the static art graphic. Back to top palanthir.data.getstaticartwidth(id) - id Description: Returns the width of the static art graphic. Back to top palanthir.data.getstatictileentry(id) - id Return Value: Returns a dictionary with the following keys: - name - animid - height - hue - quality - quantity - weight - unknown1 - unknown2 - unknown3 - unknown4 - unknown5 - background - weapon - transparent - translucent - wall - damaging - impassable - liquid - unknown1 - surface - bridge - generic - window - noshoot - a - an - mongen - foliage - partialhue - unknown2 - map - container - wearable - lightsource - animation - nodiagonal - unknown3 - armor - roof - door - stairback - stairright Back to top palanthir.data.setskillgroup(id, group) - id - group Description: Sets the skillgroup of the skill with the given id. Back to top palanthir.data.setskillgroupname(id, name) - id - name Description: Sets the name of the skill with the given id. Back to top palanthir.data.skillhasbutton(id) - id Description: Returns true if the skill with the given id has a button. Back to top |
Back to the Module Overview Back to the Palanthir Reference |