leonseye Posted May 3, 2016 Share Posted May 3, 2016 Not sure if this is where to put this, and I apologize in advance if this is either the wrong place or breaking etiquette somehow (I'm not savvy, sorry!), but I'd like to request what I think is a simple character mod. Basically Maxwell, exactly as he is in the DST release, but w/ 12 sanity regen / min. That's all. I'd do it myself, but I just ... don't really have even the first clue how to go about that. I'm a complete layman when it comes to programming, unfortunately. Again, I am SO sorry if this is not the right place or is considered boorish to request mods here; I'm absolutely not trying to be rude or anything of the like. Link to comment Share on other sites More sharing options...
rezecib Posted May 4, 2016 Share Posted May 4, 2016 @leonseye Only 12? He has 20 in single-player. This is a one-line mod: AddPrefabPostInit("waxwell", function(inst) inst.components.sanity.dapperness = GLOBAL.TUNING.DAPPERNESS_HUGE end) Link to comment Share on other sites More sharing options...
leonseye Posted May 4, 2016 Author Share Posted May 4, 2016 5 hours ago, rezecib said: @leonseye Only 12? He has 20 in single-player. This is a one-line mod: AddPrefabPostInit("waxwell", function(inst) inst.components.sanity.dapperness = GLOBAL.TUNING.DAPPERNESS_HUGE end) Oh, I know, I just wanted something that made him feel a little more bearable, but still balanced for DST. : ) Also, thanks for the help! Link to comment Share on other sites More sharing options...
leonseye Posted June 3, 2016 Author Share Posted June 3, 2016 (edited) Sooo, I'm back. Having an issue w/ this one-line mod. When I enable it on my server, I receive the following error: Not... really sure what to do to fix this. : / PS) I turned off all other server-side mods except for this one and tried it again, and still get the same error. Edited June 3, 2016 by leonseye Link to comment Share on other sites More sharing options...
T4T3RGR3NAD3R Posted June 3, 2016 Share Posted June 3, 2016 Out of curiosity, how much does he gain in DST normally? Link to comment Share on other sites More sharing options...
leonseye Posted June 3, 2016 Author Share Posted June 3, 2016 17 minutes ago, T4T3RGR3NAD3R said: Out of curiosity, how much does he gain in DST normally? I believe it's 8.5, or however much a Tam-O'Shanter gives. It's the same as the hat normally. Link to comment Share on other sites More sharing options...
Aquaterion Posted June 3, 2016 Share Posted June 3, 2016 (edited) either make the mod server-side only which should work, or change ur line to this AddPrefabPostInit("waxwell", function(inst) if not GLOBAL.TheWorld.ismastersim then return inst end inst.components.sanity.dapperness = GLOBAL.TUNING.DAPPERNESS_HUGE end) Edited June 3, 2016 by Aquaterion Link to comment Share on other sites More sharing options...
leonseye Posted June 3, 2016 Author Share Posted June 3, 2016 1 hour ago, Aquaterion said: either make the mod server-side only which should work, or change ur line to this AddPrefabPostInit("waxwell", function(inst) if not GLOBAL.TheWorld.ismastersim then return inst end inst.components.sanity.dapperness = GLOBAL.TUNING.DAPPERNESS_HUGE end) As I'm not really certain how to make a mod server-side only (I thought it was already server-only, to be completely honest), I'll go ahead and change the line to what you suggested. Also... <3 Thanks so much! Link to comment Share on other sites More sharing options...
CarlZalph Posted June 3, 2016 Share Posted June 3, 2016 41 minutes ago, leonseye said: As I'm not really certain how to make a mod server-side only server_only_mod = true In modinfo.lua Link to comment Share on other sites More sharing options...
leonseye Posted June 4, 2016 Author Share Posted June 4, 2016 1 hour ago, CarlZalph said: server_only_mod = true In modinfo.lua Thanks, got it figured out. I was using client_only = false .. <.< I did say I'm really pretty bad at this, lol. 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