Jump to content

rain barrel functions for self made barrels

Recommended Posts

some are probably already annoyed by me, as I am constantly writing about the same crap.. 

anyways : I am stilll trying to make it so that self fabricated metal barrels can be used as water collectors, PLUS act like world objects (being blocks you cannot move through).


much like those... except witrh the added funcitonality of the mentioned collector barrels. 






I found a metal Drum in the recipes.txt and newitems.txt.

I also found several lua scripts, mainly

SMetalDrumSystem.lua, SMetalDrumGlobalObject.lua, ISMetalDrum.lua, 

CMetalDrumGlobalObject.lua, CMetalDrumSystem.lua


I suck at lua and have no clue, but it seemed to me those functionalities are already in the scripts. only thing blocking us using those is the fact that the recipoy requires blacksmithing, which is not in the game (yet ? )


so I though heck, lets try it out. 

I changed the recipe to a welding one. 

added some stuff, subtracted some stuff. 


and it works.


kind of. 

the object is created, YET

it cannot be placed int he world. and it cannot be created via GUI. 

it certainly does not have the right attributes...



it inherited all icons and weight and such. 

but it simply is not a world object but just somethign on the floor. 




if anyone is actually reading down to here, PLEASE, help me out here. 


what am I missing ? 

thank you guys so much in advance






Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...