Anquect Posted December 4, 2022 Share Posted December 4, 2022 (edited) 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? Edited December 4, 2022 by Anquect Link to comment Share on other sites More sharing options...
Hugo Qwerty Posted December 5, 2022 Share Posted December 5, 2022 An example from Hydrocraft: local scriptItem = ScriptManager.instance:getItem("Base.PillsBeta") if scriptItem then scriptItem:DoParam("ReplaceOnUse = Hydrocraft.HCPillbox") end 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 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