RustyMods-SkillControl icon

SkillControl

Control skill experience gain through selectable, customizable jobs.

Last updated 5 months ago
Total downloads 3415
Total rating 1 
Categories Server-side Client-side Utility Ashlands Update
Dependency string RustyMods-SkillControl-1.0.5
Dependants 5 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2105 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.2105

README

Skill Controller

Plugin adds the ability to modify skill experience gain. Created with ItemControl in mind, so admins can effectively create professions.

https://thunderstore.io/c/valheim/p/RustyMods/ItemControl/

With ItemControl and SkillControl, you can control which skills can be leveled, in turn, because ItemControl can block craft, equip and or consume based on skill level, you can control what is craft-able, equip-able and consumable, depending on the "job" that the player chooses.

Changelog

1.0.0 - Initial release
1.0.1 - option to override default experiene gain for more granular control
1.0.2 - added more options for granular control, color for name, image name, plus or minus to define boon/bane
1.0.3 - increased size of image
1.0.4 - fixed override making skill gain 0
1.0.5 - fixed unrecognizeable job names in yml file

Credits

Commissioned by Aldhari

Configurations

Lock Configuration: Only admins are allowed to change synced values
Cost To Remove: Cost to remove job
Currency: Input PrefabName of currency you wish to use
Force Employment: If on, window will appear everytime player opens inventory to remind them to choose a job
Key: Hotkey to open menu
Limit: Amount of jobs one can have at a time
Position: Move UI
Lose Skills: If on, then removing a job, resets skills that are modified at 0

File Structure

Upon initial load of plugin. You will find a new folder in your BepinEx/config directory

FolderName: SkillControl

Inside, you will find default generated example jobs and another folder:

FolderName: Icons

You can manipulate YML files while in-game and it will update accordingly.

You can add/change/remove images from icons folder and it will update accordingly.

Icons

You must share your .png files with your friends if you wish for them to see your custom backgrounds.

They must share the same name as your job.

Example:

Name: Sword Master
Image:
Description: ...
SkillModifiers: ...

YML Structure

Name: Blacksmith
Description: For whom has a great deal of attention to the details of survival
SkillModifiers:
- SkillName: Blacksmithing
  Modifier: 1.2
  DisplayName: Forger
  type: plus
- SkillName: Farming
  Modifier: 0.5
- SkillName: Foraging
  Modifier: 0
  DisplayName: Survivor
  type: minus
- SkillName: Sailing
  Modifier: 0.5
- SkillName: Swords
  Modifier: 1.5

Modifiers

Once player selects a job, the modifiers are applied whenever they gain skill. If player has multiple jobs, the modifiers are additive.

If modifier is 0,
    then player does not gain any experience for said skill.
If modifier is less than 1,
    then player gains less experience for said skill.
If modifier is above 1,
    then player gains more experience for said skill.

Localization

text_my_jobs: "my jobs"
text_benefit: "benefits"
text_detriment: "detriments"
text_modifier: "modifier"
text_select: "select"
text_remove: "remove"
text_cost_to: "cost to"
text_skill_loss: "<color=yellow>Warning:</color> removing job, removes skill experience for any with <color=orange>0</color>% modifier"
msg_select_job: "Choose your employment"
msg_job_required: "employment required"
msg_job_limit: "you are already employed"
msg_cost_required: "required to remove"

If you wish to translate to your own language, simply create a YML file in your config directory and add these entries with the name of your language followed by .yml example: SkillControl.French.yml

Contact information

For Questions or Comments, find Rusty in the Odin Plus Team Discord

https://i.imgur.com/XXP6HCU.png

Or come find me at the Modding Corner

If you enjoy this mod and want to support me: PayPal

https://www.buymeacoffee.com/peimalcolm2