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 Share on other sites More sharing options...
Heavenfall Posted October 1, 2013 Share Posted October 1, 2013 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.", } Link to comment 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 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 Share on other sites More sharing options...
aonzavee Posted October 1, 2013 Share Posted October 1, 2013 cvh Link to comment 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 Share on other sites More sharing options...
Heavenfall Posted October 1, 2013 Share Posted October 1, 2013 @TeoSS69 Yeah, that would be possible. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
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.