This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.


no Ghost in game

Recommended Posts

orlyx    1

Hey this again me!

Now i have problem with no spawning ghost textures in Dont starve T mod

- I add transformation to my character and now when he die Ghost dont spawn

My Mod: Basara DST.rar

Share this post

Link to post
Share on other sites
K1NGT1GER609    95

Mate... not sure if you read the reply before but don't starve and don't starve together are different coding wise. For your ghost problem your coding in the basara lua is incorrect. It'd be better if you used:

local function sanitychange(inst)
    if (inst.components.sanity:GetPercent() > .4) then

  --STRINGS.CHARACTERS.basara = require "speech_basara" --this is redundant if its already stated in the modmain, unless you plan to change the speech file...

inst.components.combat.damagemultiplier = 1.75


inst:ListenForEvent("sanitydelta", sanitychange) --goes into the master_postinit


Share this post

Link to post
Share on other sites