Jump to content

Recommended Posts

So, i'm new to modding dst and im making a character and i wanted him to be able to sneeze every day or two, and every time he sneezes he drops a random item... literally any item. how would i go about doing that?

 

thx for any help!

Edited by bababooey
Link to comment
https://forums.kleientertainment.com/forums/topic/133888-help-with-sneezing/
Share on other sites

If you have Don't Starve and its DLC Hamlet, you can directly check how they implemented it. Otherwise, I recommend you to download the Uncompromising Mode and check how they rebalanced Walter, since you can read the following on the mod's wiki :

Quote

Walter's allergies now extend to hayfever, but now he has a nitre sink in the form of a new ammo type.

  • Walter sneezes more frequently from all hay fever sources.

Meaning that they have implemented the effect you try to get.

Regarding the Hamlet DLC, you can find the script you want in the following path :

[your steam folder]\steamapps\common\dont_starve\data\DLC0003\scripts\components\hayfever.lua

However, keep in mind that porting a feature from the solo game into the multiplayer game may not work, due to how network is managed (You will need to check the difference between the client and server). Hence why I'm recommending checking the mod mentioned above instead, since it already works in a multiplayer context.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...