buttercup Posted September 30, 2013 Share Posted September 30, 2013 So just for fun, I've been messing around with dialogue strings - nothing serious, mostly just fixing misspellings and making the generic quotes character-specific. Anyway, I was just wondering, is there any way to make a description string change depending on your character's sanity level? For example, would it be possible to change the description of bunnies when they become beardlings, or is that not a thing that can happen? Sorry if it's a stupid question, I'm kind of bad at this whole modding thing. >_> Link to comment https://forums.kleientertainment.com/forums/topic/28346-help-sanity-dependent-quotes/ Share on other sites More sharing options...
Heavenfall Posted October 1, 2013 Share Posted October 1, 2013 (edited) You can set a function to do this, that would include checking the observer for something. Check out nightmare_timepiece.lua for an example, it is this function reference inst:AddComponent("inspectable") inst.components.inspectable.getstatus = GetStatusit is then mirrored in the strings file, ex NIGHTMARE_TIMEPIECE = { WAXING = "I think it's becoming more concentrated!", STEADY = "It seems to be staying steady.", WANING = "Feels like it's receding.", DAWN = "The nightmare is almost gone!", WARN = "Getting pretty magical around here.", CALM = "All is well.", NOMAGIC = "There's no magic around here.", } Edited October 1, 2013 by Heavenfall Link to comment https://forums.kleientertainment.com/forums/topic/28346-help-sanity-dependent-quotes/#findComment-333595 Share on other sites More sharing options...
buttercup Posted October 1, 2013 Author Share Posted October 1, 2013 Thank you! Sorry if it was entirely obvious. Like I said, I'm a bit new to the modding biz. [i'll try it out while I'm less sleep deprived ] Link to comment https://forums.kleientertainment.com/forums/topic/28346-help-sanity-dependent-quotes/#findComment-333608 Share on other sites More sharing options...
TeoSS69 Posted October 1, 2013 Share Posted October 1, 2013 Can this also be done for different character states? For Wolfgang's mightiness states for instance? Link to comment https://forums.kleientertainment.com/forums/topic/28346-help-sanity-dependent-quotes/#findComment-333639 Share on other sites More sharing options...
aonzavee Posted October 1, 2013 Share Posted October 1, 2013 cvh Link to comment https://forums.kleientertainment.com/forums/topic/28346-help-sanity-dependent-quotes/#findComment-333646 Share on other sites More sharing options...
ShadowDimentio Posted October 1, 2013 Share Posted October 1, 2013 Can this also be done for different character states? For Wolfgang's mightiness states for instance?This. If it's possible, someone needs to do it, like, NOW. Link to comment https://forums.kleientertainment.com/forums/topic/28346-help-sanity-dependent-quotes/#findComment-333653 Share on other sites More sharing options...
Heavenfall Posted October 1, 2013 Share Posted October 1, 2013 (edited) @TeoSS69 Yeah, that would be possible. Edited October 1, 2013 by Heavenfall Link to comment https://forums.kleientertainment.com/forums/topic/28346-help-sanity-dependent-quotes/#findComment-333748 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