Woodside235 Posted January 9, 2015 Share Posted January 9, 2015 (edited) Some items have the component components.dapperness.mitigates_rain Is there a way to add a custom component to certain items? My goal is to have something similar to this from wx78.lua: for k, v in pairs(inst.components.inventory.equipslots) do if v.components.dapperness ~= nil and v.components.dapperness.mitigates_rain then --Mitigates rain, no sparks return endend Edited January 9, 2015 by Woodside235 Link to comment Share on other sites More sharing options...
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
Already have an account? Sign in here.Sign In Now