Don't Starve

Don't Starve

Not enough ratings
Guards & Wilba Rework
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
1.357 MB
Sep 11, 2022 @ 1:56pm
Jun 23, 2024 @ 12:49pm
3 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
Guards & Wilba Rework

Description
Wilba & Guards refresh


Have you ever felt like the hired guards in Hamlet are more of a hindrance than an asset? They put out your fires, steal your precious oincs and even attack you once on a full moon!

Shouldn't they be a bit more respectful to a ROYALS'T PIG such as yourself?? Look no further!


Features


* Hired royal guards stay loyal to Wilba for life. * Hired royal guards won't extinguish campfires. * Hired royal guards won't steal coins from Wilba. * Hired royal guards won't attack Werewilba. * Hired royal guards can be given another security contract to be dismissed. * Hired royal guards can be given hats to wear. * Hired royal guards will change graphics when they are very wounded or when their armor is broken. * Wilba starts the game with a Royal Whistle, and can craft more using 2 iron and 4 gold each. --1.0.2: * Pig guards will defend Wilba if attacked near them. * Wilba has hayfever resistance. * Option added for infinite recruiting of pigmen/wildbores. * Werewilba can eat raw meat without penalty. * Werewilba can reduce or stop her transformation by consuming sweets. * Werewilba has innate moisture protection. * Werewilba has scaling damage reduction based on hunger or sanity. * Angry pig guards will calm down when werewilba returns to Wilba. * Option to prevent Wilba's pig followers from attacking her when she is were. * Wilba can become were together with her pig followers and retain them as followers. * Tipping mechanic for picking up poop in cities has been fixed so it consistently pays the correct amount. * Fixed a bug where wildbores never stopped charging. * Tweak for making pig followers talk less.


Royal Whistle features


* All hired royal guards in the area will toggle "defensive mode" when played. * All hired royal guards in the area will drop their combat target when played. * Can be "traded" with individual hired royal guards to toggle "defensive mode" for that guard. * When in "defensive mode" the guard will stay much closer to Wilba. * When the whistle is dropped, all hired guards in "defensive mode" will stay near the whistle.


Config Options


Since the config names are limited to very few characters, here is a list of all the current config options and what they do:

Guards pick up $
- Never: Hired guards won't pick up money from the ground.
- Not fr. Wilba: Hired guards won't pick up money when playing as Wilba.
- Always: Hired guards will pick up money from the ground like in unmodded DS.

Extinguish fires
- No: Hired guards won't extinguish your campfires.
- Yes: Hired guards will extinguish your campfires like in unmodded DS.

Wilba has guardwhistle
- Yes: Wilba starts with a Royal Whistle in her inventory.
- No: Wilba won't start with a whistle, but will still be able to craft one.

Other characters
- Yes: Enables all these changes for other characters than Wilba.
- No: Only Wilba will benefit from these changes.

Guards defend on hit
- Yes: If Wilba is attacked, nearby pig guards will target whoever attacked her.
- No: Guards will not defend Wilba. (Unmodded behaviour)

Wilba eternal guards
- Yes: Wilba recruits guards with unlimited duration.
- No: Wilba's recruited guards will unrecruit after a set time like in unmodded DS.
(if No, no security contract will be recovered on dismissal)

(New config options, version 1.0.2)


New config options added with the latest patch.


Wilba eternal pigman/bores
- Yes: Wilba recruits pigmen/wildbores with unlimited duration.
- No: Wilba's recruited pigmen/wildbores will unrecruit after a set time like in unmodded DS.

Pigs attack were
- Yes: Default behaviour. Your recruited pigmen and wildbores will attack Wilba as soon as she turns were.
- No: Wilba's recruited pigmen/wildbores stays loyal even after transforming. Perhaps she has told them of her curse?

Were bonding
- Yes: Transforming to werepig together with your pig followers will preserve their loyalty and prevent them from attacking Wilba when she is were.
- No: Werepigs will attack Wilba when she is were, just like in unmodded DS.

Candy soothed
- Yes: Wilba's tantrums can be soothed by eating sweets. Depending on the type of snack she can reduce her transformation time or regain her normal shape at once.
- No: Default behaviour. While yummy, eating snacks does nothing to soothe her tantrums.

Wilba hayfever
- Yes: Wilba has a natural resistance against hayfever. She will sneeze significantly less compared to other characters by default, and won't double-sneeze.
- No: Default behaviour. Perhaps she sneezes because she is younger than the other pigs. She'll grow out of it eventually.

Were water restist
- Slight/Moderate/Significant/Full: Wilba's thick fur coat protects her from wetness. (30%/50%/80%/100%)
- None: Default behaviour. She may have fur, but the rain seeps right through.

Were damage resist
- Scaling: Her fur coat absorbs some damage, but the effectiveness depends on hunger/sanity.
- None: Default behaviour. Wilba's fur offers no protection against hard hits.

Damage resist scaling
- Regular/Inverse: Used to flip the scaling for damage resist. (E.g. instead of effectiveness at high fullness, can be more effective the hungrier Wilba is...)

Were absorption scaling
- Hunger/Sanity: Used to select if damage resist scales on hunger or sanity. Hunger is default.

Were absorption MIN/MAX
- 0%/10%...80%/90%: The damage resistance at minimum/maximum scaling value. E.g. if scaling is regular hunger, the MIN value determines damage absorption at her hungriest and MAX value determines absorption when full.

Pigs less chatty
- Yes: Reduces how often pig followers will talk. Amount is set with the following config option.
- No: Default behaviour. Pig followers will talk their usual amount.

Pig talk chance
- Never/5%/10%.../90%: Sets the chance of pig followers to talk. Never will mute them.

Pig poop tip fix
- Yes: City pigs will more consistently pay for poop picking. Picking up multiple will now result in getting paid the correct amount.
- No: Default behaviour. Poop picking is an inconsistent, and often times unpaid, art.


Smarter torches


Tired of the guards being chaotic pyromaniacs at night?
I created another mod to solve this, making them a bit smarter about how they use their torches.


Guard Torch Logic
by Sopi


Disclaimers


Don't reuse or republish my code on the workshop without my explicit permission. I've put a lot of time and hard work into creating this mod.

Please let me know if you encounter any bugs and I will try to resolve them! I've tried to test everything extensively, but I am just one person so I'm bound to have missed things.


Additional search keywords: character update, royalguard, QoL changes, campfire, extinguish
13 Comments
steak-frites Aug 25, 2024 @ 2:19am 
gem of a mod! so nice to see a project that's well conceived, well planned out and well executed! compared to all that....
wampire Jun 23, 2024 @ 3:13pm 
oh really? sweet!!
Sopi  [author] Jun 23, 2024 @ 12:51pm 
@The Amazing Maxwell 👌 Added along with update 1.0.2. Enjoy!
wampire May 27, 2024 @ 7:53am 
heyy could you make it so if wilba gets attacked by something,every pigs nearby will come to her defense and attack the thing that hurt her? y'know since she is a pig princess after all?
Sopi  [author] Jun 1, 2023 @ 9:06am 
@Argon Pepper The whistle has a specific range, so it won't target globally. It only affects your followers, and if the whistle is dropped while guards are in defensive mode they will technically become the whistle's followers temporarily.

This means that you could trade one whistle with some of your pigs to activate defensive mode only for them, drop the whistle, blow another whistle to make the rest of your guards sync with that one instead. Now you have one group of guards stationed at one spot and you can move the other whistle somewhere else to "station" them there.

No worries, hope it helps!
Argon Pepper Jun 1, 2023 @ 6:46am 
ahh, ok. just thought the option changes appliable to other characters involved the addition of the whistle too, maybe with specific examination quotes (it did say the same as wilba). i haven't tried, but can there be multiple whistles and be used to set up different groups of guards in different areas or does blowing it call all the befriended guards in the world go in defensive mode? sorry if i am too annoying with those questions
Sopi  [author] Jun 1, 2023 @ 12:09am 
@Argon Pepper Right now the recipe is only available to Wilba, but I can add a config option to make it available to other characters as well!

I've been meaning to rollout version 1.0.2 of the mod, but have been testing it additionally after the latest QoL patch to ensure the patch didn't break it. It will probably be out by this weekend.
Argon Pepper May 31, 2023 @ 2:51pm 
The guard whistle doesn't show up as a recepie for woodlegs even if i put myself in creative (haven't tried with other characters) but can still be obtained through console commands, but other changes like giving guards different hats works. I think the other things like no picking up money and duration for life worked though. i do have a lot of mods turned on, so i don't know if it's that :(. still a great mod
Sopi  [author] May 30, 2023 @ 11:10pm 
@Moonsnow Alright, thanks for letting me know! I'll look into deactivating the mod instead if the DLC is inactive for the next version, but for now the mod simply assumes that you have Hamlet activated.
Moonsnow May 30, 2023 @ 8:12pm 
Sorry, It's my problem. I choose the RoG and SW, without HEM.