Jump to content

Modifying Junk Items (done, no need help)


Recommended Posts

So basically im trying to make one of the junk items in to a drinkable object but i don't know what to do with file placement in my mod folder, I've created pistol mod before and i atleast know about the file placement like .vs/media but don't know how to modify already existing game item can someone help?

Is that right?

Ekran22 Alıntısı.PNG

Edited by Anquect
Link to comment
Share on other sites

  • Anquect changed the title to Modifying Junk Items (done, no need help)

An example from Hydrocraft:


local scriptItem = ScriptManager.instance:getItem("Base.PillsBeta")
if scriptItem then
	scriptItem:DoParam("ReplaceOnUse = Hydrocraft.HCPillbox")


File is placed in /media/lua/shared/


Alternatively, you could just re-declare the item in a file within /media/scripts/


Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...