AkaiNight Posted April 4, 2018 Share Posted April 4, 2018 Well i need a code for can't pick up chester bone. When my character try it it must lose 30 sanity and components must say "I can't take the bone." is it possible. Link to comment Share on other sites More sharing options...
AkaiNight Posted April 7, 2018 Author Share Posted April 7, 2018 Well I find a code for can't pick up the bone but now i need a code for can't open chester. I have this code for don't starve but i don't know how to make it able to Don't starve together but here is the code. AddPrefabPostInit("chester", function(inst) if GetPlayer().prefab == "alishia" then inst:RemoveComponent("container") inst:RemoveTag("chester") end end) in modmain.lua Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now