To remove ALL masks, materials, colors, and materials. This includes Infamous Items, Loot Bag Items, and Normal Items for those of you who can't read.
You'll have to spam the "insert" key but if you want to get around that you should use an "Auto-Keyboard" program.
-- remove masks
managers.blackmarket:_setup_masks()
for mask_id,_ in pairs(tweak_data.blackmarket.masks) do
Global.blackmarket_manager.masks[mask_id].unlocked = true
managers.blackmarket:remove_item("normal", "masks", mask_id, false)
managers.blackmarket:remove_item("preorder", "masks", mask_id, false)
managers.blackmarket:remove_item("infamous", "masks", mask_id, false)
end
-- remove mods
for mod_id,_ in pairs(tweak_data.blackmarket.weapon_mods) do
tweak_data.blackmarket.weapon_mods[ mod_id ].unlocked = true
managers.blackmarket:remove_item("normal", "weapon_mods", mod_id, false)
managers.blackmarket:remove_item("preorder", "weapon_mods", mod_id, false)
managers.blackmarket:remove_item("infamous", "weapon_mods", mod_id, false)
end
-- remove patterns
for mod_id,_ in pairs(tweak_data.blackmarket.textures) do
tweak_data.blackmarket.textures[ mod_id ].unlocked = true
managers.blackmarket:remove_item("normal", "textures", mod_id, false)
managers.blackmarket:remove_item("preorder", "textures", mod_id, false)
managers.blackmarket:remove_item("infamous", "textures", mod_id, false)
end
-- remove materials
for mod_id,_ in pairs(tweak_data.blackmarket.materials) do
tweak_data.blackmarket.materials[ mod_id ].unlocked = true
managers.blackmarket:remove_item("normal", "materials", mod_id, false)
managers.blackmarket:remove_item("preorder", "materials", mod_id, false)
managers.blackmarket:remove_item("infamous", "materials", mod_id, false)
end
-- remove colors
for mod_id,_ in pairs(tweak_data.blackmarke*****lors) do
tweak_data.blackmarke*****lors[ mod_id ].unlocked = true
managers.blackmarket:remove_item("normal", "colors", mod_id, false)
managers.blackmarket:remove_item("preorder", "colors", mod_id, false)
managers.blackmarket:remove_item("infamous", "colors", mod_id, false)
end