ui_hide_ability_button function library

Dependencies: lib_fn, lib_ui

Description

The function here is used to hide a particular ability button so that a specific kit can't use it.

Public functions

hide_ability_button_for_kit(kit:s, buttons:s)=() action

The kit 'kit' has the button(s) 'buttons' hidden by the UI. 'kit' is a rowname entry from kitlist.2da. 'Buttons' is a space-separated list of strings which appear as 'button' in enginest.2da entries of form STRREF_GUI_BUTTONS_[button].

Internal functions

These should not be called from outside the library itself.

hide_ability_button_setup()=() action

patch_button()=() patch