• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Tools in Workstaions base code

Bullfrogberry

New member
I have a mod Idea I want to try but I am new to modding. I want to know the base script that tells the workstations (Campfire, Forge, Dew collector) to hold only that tool item in that spot.

I have tried to look in all the different files but cant find it. 

Main goal: I want to make a custom set of storage containers that will always have a spot of said list of items. so weather I hold a spot open for each item I want as a place holder. OR I could find away to have the box have hidden locked items that hold "0" of each item. I want a Storage Container to have different block options (holding R) to select from a forge box, a food box, medical, ect. then even in the box is empty and the drop like items is pressed all related items all go in regardless if there are already some in the box. but only those items.

Once finished I think this would be a good add on to the mod that lets you drop to all storage boxes. I play on on a personal server were my friends can remember where things go.... and take forever to put things away.

Thank you for any and all help. :)

 
I dont know how I would do that in XML. I dont know if the logic that you describe can be managed strictly within XML.

However, for UI look and feel (not necessarily the logic) I would recommend checking out Khaine's 3 slot forge modlet to see how he manipulates the XML to change the workstation inputs. There are other mods that specifically change the tool setting for workstations as well - I believe Rebirth does this. You could also load up an old old alpha version of 7dtd - we used to have top put the wrench in the workstation to use it - that code probably still works if you can find the examples of it in the old releases.

https://community.7daystodie.com/topic/35797-khaines-v10-modlets-bigger-backpacks-lockable-slots-behemoths-random-wandering-hordes-etc/

cheers

 
Thank you for that recommendation. 

I will definitely look into those.



I did find the "smart Container" mod that is close to what I want. I will just modify it a bit. 

Does the writable text on a storage box have a "value" I'm thinking of an IF statement based on the written text on a writable box changing what items are pulled out of your inventory. (Perhaps also changing the model skin slightly.)

 
Back
Top