ui_inn_label function library

Dependencies: lib_2da, lib_2daq, lib_anon, lib_array, lib_fn, lib_ietool, lib_ini, lib_script, lib_sfo, lib_ssl, lib_sugar, lib_tools, lib_ui, ui_system_call

Description

A single-function library used to label inn choices so the game engine can respond to them.

Public functions

ui_inn_label()=() action

After running this function, once you stay in an inn the room type (from 1 to 4, with - iirc - 1 as worst) is stored in the global variable dw_inn_roomtype. It gets reset once you rest again, so pick it up and change it to zero quickly if you want to interact with it.