Kuku's Villager Mod
NOTICE
- I would like to thank Horem for helping me out so much for this update as well as providing his awesome Assetbundle.
- Old villagers will dissapear because the names of the villagers have been changed.
- Huts will NOT spawn in existing world. To see huts you need to start a new world. Sorry for that :( . You can control the number of huts generated by editing the config.
- May work initially in Multiplayer as we got rid of beds BUT has not been designed with multiplayer in mind so there may be issues specially with work commands as it alters container's contents.
- Config file has a section called [Spawn Point HUT] Which is obselete and not used currently.
- Remember to delete old config :)
Installation (manual)
Paste the plugins folder in valheim/BepInEx/
Features
- Recruit villagers found in biomes.
- Villagers will have random stats. Every villager is going to be unique
- Upgrade Recruited villagers by using special items on them.
- Assign villagers bed, work posts, defense posts, containers.
- Command villagers to guard their beds & Defense Post, Follow you
- Villagers can also help player by picking up items, filling up smelters, Chopping trees
- Manage and control your villagers all at once using Runik Kuchuk Tablet.
- Simple GUI for interacting with villager and Runik Kuchuk Tablet
- Customization for flexible gameplay experience.
Bug :
- Villager may get lit on fire, especially when working.
- When chopping trees they may not attack or attack in the wrong direction.
- Villagers when chopping trees may sometime not play the attack animation.
- Villagers who are working will not attack enemies most of the time. This is the side effect of villagers AI being updated constantly to not keep staring at player.
- Villagers will get stuck if path is blocked but get teleported eventually.
USAGE GUIDE :
Recruiting villagers.
Villagers who are not recruited are going to be labelled as "Wanderer", interact with them by pressing (E by default) to open a menu that will show it's stats as well as a button to recruit.
Once recruited. It's label is going to change from "Wanderer" to "Villager".
You can see all your recruited villagers by pressing the open menu key when Runik Kuchuk Tablet is equipped
Stats :
Villagers will have different stats.
They also have a stat called "Efficiency" which determines how well it consumes upgradable items. In short, the more the efficiency the more it's stats will increase when upgrading it.
Some villagers may also come with special damage skill such as fire, frost, lightning, spirit, etc.
Upgrading villagers :
Villagers that have been recruited can be upgraded. This mod adds several new items that can be used on the villager to upgrade them.
Some items are going to upgrade their health, and some will upgrade their combat stats.
Commanding villagers :
You can command individual villagers by interacting with them and going to the order tab.
To command many villagers at once you can open the menu when Runik Kuchuk tablet is equipped and go to Universal Commands section.
Assigning Items :
For a villager to follow through certain commands you need to assign it specific items.
For a villager to guard bed you need to assign it a bed.
For a villager to guard Defense post you need to assign it a Defense Post.
For a villager to work you need to assign it work post and a container for it to put items.
Working
For a villager to work you need to either enable Pickup skill or smelting refill skill by interacting with the villager, going to the order tab and enabling the desired option.
Villager will pickup items closest to it's work post and then put the item in the container.
Villager will smelt by first checking the contents of the container then finding close by random smelter that needs fuel/Processable item and which is available in the container.
Runik Kuchuk Tablet
This item is used to see all the villagers you recruited.
You can select any villagers from the list and it will open the Villager stats GUI.
You can also give universal commands to the villagers
Changelog
3.1.4
1. Bug fixes related to unassignable work post, bed, defense post
2. Chop wood bug fix
3. Fixed healing spell killing player
3.1.0
1. 12 Unique Human NPC included, Thanks to Horem for his assets :)
2. Different villagers found in different biomes.
3. Villagers of Plains can generate shields to protect itself and nearby
4. Villagers of mistland can generate shields as well as spray yellow smoke to heal themselves and nearby allies.
5. Villagers should stare at the player less when working and do it's tasks more consistently.
6. Villager can only do one type of work now. This is because works were conflicting and causing serious bugs and getting hard to manage.
7. Next Major update will introduce villagers spawn area such as hut where you will find group of villagers chilling. This is to reduce villagers found in wild and have them in a small residence which will look nice and immersive. You can then visit the area to recruit villagers consistently. Thanks to Horem for the idea. Couldn't get it to work this update :)
3.0.1
1. Added config option for resources needed to upgrade villagers. As well as others config settings. Make sure to check out the config for full info :)
2. Wanderer's (Villagers found in the wild) stats will have stats scaled based on the biome it was found at. (Configurable)
3. Fixed versioning bug
4. Villagers with special Combat ability will have "*" Mark on their name
5. Next update will replace the villagers with human NPCs (3.1.0)
3.0.0
1. Complete Overhaul of how the mod works.
2. You will now find villagers scattered through the biome.
3. Every Villager will have Random stats such as HP, DMG, and sometime Special Power such as fire, frost, etc.
4. Upgrade Villager's Health and Combat stats by giving them certain items.
5. Beds are not mandatory. You can assign beds or not if you don't want them.
6. Completely new GUI when interacting with villager. It will show stats, orders and assignment options such as assign bed, container, defense post.
7. Completely new GUI for Villager Commander (Now called Runik Kuchuk Tablet)
8. Naming villagers.
9. Once a villager is dead they are gone permanently. Be careful.
2.1.4
- IMPORTANT! YOU WILL HAVE TO REASSIGN YOUR CONTAINERS OR ELSE THINGS WILL NOT WORK PROPERLY.
- Improved Logic for smelting and pickup job. Now the container and the work post can be far away from each other and still work.
2.1.3
Hot fix update
- Bug fixed where villager won't fill upblast furnace
2.1.2
- Silly Bug I overlooked fix
- Fixed Discovered Pickup bug
- Fixed Smelting work bug where villagers would fill up smelts even when not needed
- Added a boolean config variable that will decide if the villagers should run or walk when working
2.1.0
- Worker Villagers Added
- Two work skills : Pickup and store & Fill Smelter
- Commands and AI Tweaks
- Ability to command individual villager by using new items added by this mod
- Ability to assign Work Post and a container for villagers to work with. Recommended to have Work post and container close by.
- More configuration options, Make sure to delete config file of old version
2.0.0
1. Spawn system is based off of Valheim's spawn system which means it is going to be reliable.
2. No more huge fps drops and freezes
3. Revamped the way defense posts are handled. Now you can choose which villager to go to which post.
4. The distance between the beds, posts, villagers no longer matter and will work regardless if they are loaded in memory or not.
5. Changed few commander club commands.
1.1.0:
1. Villagers go back to their last state (Guarding Bed or Defending Post) When loaded.
2. Replaced Teleport Following Villagers with Move villagers, they will now move to the aimed location and only teleport if moving to that area is not possible.
1.0.1 :
Added Configurations for heavy customization,
Added A new command to teleport following villagers to looking direction. Refined Bed&Villager Link system.
1.0.0 :
Re-released after updating the code from scratch.
Mirror Link
https://www.nexusmods.com/valheim/mods/2131