Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: A script to view poetic/musical/dance form descriptions  (Read 385 times)

mifki

  • Bay Watcher
  • works secretly...
    • View Profile
    • mifki
A script to view poetic/musical/dance form descriptions
« on: April 17, 2017, 07:37:24 pm »



Download https://gist.github.com/pronvit/710f0de2d9fa8a1971c52f64131d24e1

Copy to hack/scripts and start with "performances" cmd. It will show a list of all poetic/musical/dance forms allowing to view their descriptions.

mifki

  • Bay Watcher
  • works secretly...
    • View Profile
    • mifki
Re: A script to view poetic/musical/dance form descriptions
« Reply #1 on: April 23, 2017, 05:54:37 pm »

I've updated the script with a decent UI.

(How do I make it to show all keys assigned for primary scrolling instead of just numeric keys?)

Warmist

  • Bay Watcher
  • Master of unfinished jobs
    • View Profile
Re: A script to view poetic/musical/dance form descriptions
« Reply #2 on: April 24, 2017, 07:40:10 am »

(How do I make it to show all keys assigned for primary scrolling instead of just numeric keys?)

There is no (easy) way. It all boils down to here: Screen.cpp and at quick glance in windows version we could iterate over all the values but in linux not sure. AFAIK this is just mirroring vanilla df functionality.
Logged
My stuff (i'm working/thinking about):
Mini mod collection
pretty lights
Multiplayer