notquitethatguy Posted February 1, 2015 Share Posted February 1, 2015 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. Link to comment 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 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 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 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 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 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.