Contact (contractors)
Last updated
Last updated
Updated for version 3.37.
The module inherits ItemModuleBase. All parameters and functions of this class are inherited by the module.
The name of the module you use as the meta of the module definition is 'contact' or 'ContactModule' if _force_search
is set to true in the module definition.
<contact id name_id desc_id package assets_gui>
Parameter | Type | Description |
---|---|---|
And any data which is not present here, but you wish to be included in the tweak data definition
This example is what you would put inside your main node within your mod config
Function | Description |
---|---|
id
String
id of the contact [REQUIRED]. This is used as the key for when it is added to the tweak_data
name_id
String
The localization id for the name of the contact, this is localized when the name of the contact is being displayed
desc_id
String
The localization id for the description of the contact
package
String
The package/bundle to be loaded which contains the assets used for the contact
assets_gui
String
The path of the gui file which is to be used by the contact
AddContactData(Table narr_self)
Called automatically by RegisterHook() if it's called. Adds to narr_self.contacts (narr_self is tweak_data.narrative) your new contact.