/tg/ Station 13 - Modules - TypesVar Details - Proc Details

species_feature

This subtype handles a lot of boilerplate for implementing a species preference tied to a feature key / sprite accessory

Vars

feature_keyWhat feature key does this feature represent? Does not need to be set, it will infer it from either relevant_organ or relevant_body_markings. However you can set it manually if you have a more complex feature.

Procs

get_accessory_for_valueGet a specific accessory for a given value
get_accessory_listReturns what acessory list to draw from

Var Details

feature_key

What feature key does this feature represent? Does not need to be set, it will infer it from either relevant_organ or relevant_body_markings. However you can set it manually if you have a more complex feature.

Proc Details

get_accessory_for_value

Get a specific accessory for a given value

get_accessory_list

Returns what acessory list to draw from