Skip to content

Identify Scroll

Zack Teater edited this page Dec 17, 2023 · 4 revisions

Capture output from scroll of identify to long-running log file. Items are additionally tested for wearable, holdable, wieldable attributes. The log can be parsed to both json and csv.


Usage

jt data-logs identify <state>

state

  • enabled: capture scroll of identify output
  • disabled: or don't

Run alias on item in inventory.

ident krrf

Output: logs/ident.log

-----
Object 'a block of krrf', Item type: LIQ-CONTAINER
Item will give you following abilities:  NOBITS 
Item is: INVIS UNIQUE 
Weight: 5, Value: 2000, Rent: 12, Min. level: 0
It can hold approximately 50 units of liquid.

Items are delimited by -----


Update Data

Description Script Output
Parse ident.log and convert to json. Used by other scripts for additional filtering, sorting, and searching. py/item_parser.py data/items.json
Convert items into distinct map of short descriptions. Used by jt item-brief to markup items inline. py/item_brief.py data/item-briefs.json

Clone this wiki locally