Daedalus Dock - Modules - TypesVar Details - Proc Details

subtype_picker

subtype picker component allows for an item to transform into its subtypes (this is not enforced and you can turn in whatever types, but i used this name as it was incredibly accurate for current usage of the behavior)

Used for the null rod to pick the other holy weapons.

Vars

built_radial_listlist given to the radial menu to display, built after init
name2subtypethe radial will return a name of the wanted subtype, this is a list of names back to the type, built after init
on_picked_callbackoptional proc to callback to when the weapon is picked
subtype2descriptionsA list of types and their menu descriptions

Procs

build_radial_listpick_subtype: turns the list of types to their description into all the data radial menus need
check_menuChecks if we are allowed to interact with the radial menu
on_attack_selfsignal called by the stat of the target changing
pick_subtypepick_subtype: called from on_attack_self, shows a user a radial menu of all available null rod reskins and replaces the current null rod with the user's chosen reskinned variant

Var Details

built_radial_list

list given to the radial menu to display, built after init

name2subtype

the radial will return a name of the wanted subtype, this is a list of names back to the type, built after init

on_picked_callback

optional proc to callback to when the weapon is picked

subtype2descriptions

A list of types and their menu descriptions

Proc Details

build_radial_list

pick_subtype: turns the list of types to their description into all the data radial menus need

check_menu

Checks if we are allowed to interact with the radial menu

Arguments:

on_attack_self

signal called by the stat of the target changing

pick_subtype

pick_subtype: called from on_attack_self, shows a user a radial menu of all available null rod reskins and replaces the current null rod with the user's chosen reskinned variant

Arguments: