This custom code hook is part of the Profile and Chargen plugins.
With custom code, you can add new fields to the character profile and/or chargen. There is an entire step-by-step tutorial for doing this, using Character Goals as an example. Below is a quick reference to the files you’ll need to modify.
You can add a new tab for your custom data to the “System” section of the profile.
ares-webportal/app/templates/components/profile-custom-tabs.hbs
ares-webportal/app/templates/components/profile-custom.hbs
ares-webportal/app/components/profile-custom-tabs.js
aresmush/plugins/profile/custom_char_fields.rb
(get_fields_for_viewing
)You can add a new tab with controls to edit your custom data in the profile edit screen.
ares-webportal/app/templates/components/char-edit-custom-tabs.hbs
ares-webportal/app/templates/components/char-edit-custom.hbs
ares-webportal/app/components/char-edit-custom.js
aresmush/plugins/profile/custom_char_fields.rb
(get_fields_for_editing
and save_fields_from_profile_edit2
)You can add a new tab to chargen with controls to set your custom data.
ares-webportal/app/templates/components/chargen-custom-tabs.hbs
ares-webportal/app/templates/components/chargen-custom.hbs
ares-webportal/app/components/chargen-custom.js
aresmush/plugins/profile/custom_char_fields.rb
(get_fields_for_chargen
and save_fields_from_chargen
)