gc_rev Posted April 17, 2021 Share Posted April 17, 2021 I'm working on a mod that will allow you to use the furniture placed in the map as a weapon. I referred to the "Movable WORKING furniture!" mod as a starting point, I just changed the portable and rearrangeable fridge to simply weapon. This worked almost as expected. By the way, "Movable WORKING furniture!" is refers to ContainerType in the item acquisition condition. self.object: getContainer (): getType () == "fridge" It's like this. I want to change this to refer to the unique name of the item. Something like "White_Fridge". I tried replacing it with as many words as I could think of, such as "Name", "CustomName", "GroupName", "String", but it doesn't work because of an error. What should I do? 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