Jump to content

Recommended Posts

So just got into dst and wanted to try modding followed a bunch of tutorials but I think I am missing a folder or something or if it has moved.
in one of the tutorials I watched  it show going to steamapps/common/don't starve together/data then going into the scrips But I cant find the scripts folder there.
Could someone help me or shed some info on this?

image.thumb.png.454ab8596340124cdcf6698fed44df78.png

Link to comment
https://forums.kleientertainment.com/forums/topic/111825-cant-fine-scripts-folder/
Share on other sites

18 hours ago, thomas4845 said:

some things you can't find easily (i'm trying to find the code for the sanity delta for wes when making balloons) but it ain't in the components or character prefab . so for some code it's almost invisible 

actions.lua

ACTIONS.MAKEBALLOON.fn = function(act)
    if act.doer ~= nil and
        act.invobject ~= nil and
        act.invobject.components.balloonmaker ~= nil and
        act.doer:HasTag("balloonomancer") then
        if act.doer.components.sanity ~= nil then
            if act.doer.components.sanity.current < TUNING.SANITY_TINY then
                return false
            end
            act.doer.components.sanity:DoDelta(-TUNING.SANITY_TINY)
        end

Wes is the only character with the tag "balloonomancer". I just searched for "balloon".

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...