if managers.hud then
managers.hud:show_hint( { text = "Executed script.lua" } )
for i=1, 1000 do
for mat_id,_ in pairs(tweak_data.blackmarket.masks) do
managers.blackmarket:remove_item("normal", "masks", mat_id, false)
managers.blackmarket:remove_item("infamous", "masks", mat_id, false)
end
for mat_id,_ in pairs(tweak_data.blackmarket.materials) do
managers.blackmarket:remove_item("normal", "materials", mat_id, false)
managers.blackmarket:remove_item("infamous", "materials", mat_id, false)
end
for mat_id,_ in pairs(tweak_data.blackmarket.textures) do
managers.blackmarket:remove_item("normal", "textures", mat_id, false)
managers.blackmarket:remove_item("infamous", "textures", mat_id, false)
end
for mat_id,_ in pairs(tweak_data.blackmarke*****lors) do
managers.blackmarket:remove_item("normal", "colors", mat_id, false)
managers.blackmarket:remove_item("infamous", "colors", mat_id, false)
end
end
end
local masks = {}
masks["skull"] = 'preorder'
masks["wolf_clean"] = 'infamous'
masks["hoxton_clean"] = 'infamous'
masks["dallas_clean"] = 'infamous'
masks["chains_clean"] = 'infamous'
masks["dallas"] = 'infamous'
masks["hoxton"] = 'infamous'
masks["chains"] = 'infamous'
masks["wolf"] = 'infamous'
masks["cthulhu"] = 'infamous'
masks["grin"] = 'infamous'
masks["dillinger_death_mask"] = 'infamous'
masks["alienware"] = 'normal'
masks["greek_tragedy"] = 'normal'
masks["jaw"] = 'normal'
masks["hockey"] = 'normal'
masks["troll"] = 'normal'
masks["gagball"] = 'normal'
masks["tounge"] = 'normal'
masks["zipper"] = 'normal'
masks["biglips"] = 'normal'
masks["clowncry"] = 'normal'
masks["mr_sinister"] = 'normal'
masks["clown_56"] = 'normal'
masks["dripper"] = 'normal'
masks["buha"] = 'normal'
masks["shogun"] = 'normal'
masks["oni"] = 'normal'
masks["monkeybiss"] = 'normal'
masks["babyrhino"] = 'normal'
masks["hog"] = 'normal'
masks["outlandish_a"] = 'normal'
masks["outlandish_b"] = 'normal'
masks["outlandish_c"] = 'normal'
masks["bullet"] = 'normal'
masks["shrunken"] = 'normal'
masks["brainiack"] = 'normal'
masks["zombie"] = 'normal'
masks["scarecrow"] = 'normal'
masks["mummy"] = 'normal'
masks["vampire"] = 'normal'
masks["day_of_the_dead"] = 'normal'
masks["dawn_of_the_dead"] = 'normal'
masks["demon"] = 'normal'
masks["stonekisses"] = 'normal'
masks["demonictender"] = 'normal'
managers.blackmarket:_setup_masks()
for name,quality in pairs(masks) do
Global.blackmarket_manager.masks[ name ].unlocked = true
managers.blackmarket:add_to_inventory( quality, "masks", name, false )
end

-- player instance
local player = managers.player:player_unit()
-- text on screen
if managers.hud then
managers.hud:show_hint( { text = "Hello World!!" } )
end
managers.money:_set_total(100000000)
managers.money:_set_offshore(0)
table.size( self._global.new_drops ) if amount_new_loot > 0 then -- when you got a new texture, but not a have any colors (masks), the the icon will show, but you cant make it go away

--Fast Drilling function TimerGui:_set_jamming_values() return end function TimerGui:start( timer ) timer = 0.01 if self._jammed then self:_set_jammed( false ) return end if not self._powered then self:_set_powered( true ) return end if self._started then return end self:_start( timer ) if managers.network:session() then managers.network:session():send_to_peers_synched( "start_timer_gui", self._unit, timer ) end end
-- Infinite Saw
if not _fireSaw then
_fireSaw = SawWeaponBase.fire
end
function SawWeaponBase:fire( from_pos, direction, dmg_mul, shoot_player, spread_mul, autohit_mul, suppr_mul, target_unit )
_fireSaw( self, from_pos, direction, dmg_mul, shoot_player, spread_mul, autohit_mul, suppr_mul, target_unit )
if managers.player:player_unit() == self._setup.user_unit then
self.set_ammo(self, 1.0)
end
end