#Code that doesn't use custom component and creates its own weapon object

1 messages · Page 1 of 1 (latest)

rugged solstice
#

found this code that I was using for reference but then I realized that it's not a itemCustomComponent
can anybody epxlain this one? I can't find any in the wiki about this.

stone lava
#

Its just a function returning an object. Where is the confusion?

#

It doesn't actually create the weapon

#

they handle it with scripts

#

I have a system just like that. Like almost the exact same

#

I wonder where you found that

rugged solstice
#

so i'ts kind of like overriding the item with that identifier?

rugged solstice
stone lava
#

no

#

its just a javascript object

#

it will probably be stored in a list and on tick, item use or whatever really the item information will be retrieved from the list and the callbacks executed