notquitethatguy Posted February 1, 2015 Share Posted February 1, 2015 (edited) Hi, I would like to know how I can create a custom item in the tabs (Say the science tab) and then how I make that a placeable item. Specifically, my man aim is take houndius shootius and turn it into a cheaper version, for a test. I've had a look at the Don't Starve scripts and there's a lot and I would like some pointers to specific tutorials, if possible. Please note that I have used extended character template. I would like it to be part of the character mod.Thanks. Edited February 1, 2015 by notquitethatguy Link to comment https://forums.kleientertainment.com/forums/topic/50189-help-with-custom-placeable-in-tabs/ Share on other sites More sharing options...
Blueberrys Posted February 1, 2015 Share Posted February 1, 2015 @notquitethatguy, see the code of these mods (specifically the "cheaper" mods), then apply the concept to the prefab you want to change. Link to comment https://forums.kleientertainment.com/forums/topic/50189-help-with-custom-placeable-in-tabs/#findComment-608642 Share on other sites More sharing options...
notquitethatguy Posted February 1, 2015 Author Share Posted February 1, 2015 Thanks for the quick reply. Is there a way to make this for my character only, so that I am the only one who is able to craft it cheaper or whatever? Link to comment https://forums.kleientertainment.com/forums/topic/50189-help-with-custom-placeable-in-tabs/#findComment-608650 Share on other sites More sharing options...
Blueberrys Posted February 1, 2015 Share Posted February 1, 2015 @notquitethatguyfunction cheaper_stuff(player) if player.prefab == "your_character_prefab" then -- ... endend-- Executes the function above after the player is initializedAddSimPostInit(cheaper_stuff) Link to comment https://forums.kleientertainment.com/forums/topic/50189-help-with-custom-placeable-in-tabs/#findComment-608651 Share on other sites More sharing options...
notquitethatguy Posted February 1, 2015 Author Share Posted February 1, 2015 Thanks with all this, I'd be a little stumped with out it .Everything is working, it shows me the item in the tab and I can craft it, however, I cannot place it. Instead it just sticks it right ontop of my character. Link to comment https://forums.kleientertainment.com/forums/topic/50189-help-with-custom-placeable-in-tabs/#findComment-608669 Share on other sites More sharing options...
notquitethatguy Posted February 1, 2015 Author Share Posted February 1, 2015 Never mind, solved that! Link to comment https://forums.kleientertainment.com/forums/topic/50189-help-with-custom-placeable-in-tabs/#findComment-608679 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