
Originally Posted by
Fuster
Do we add scripts onto the script.lua? Or are we meant to create a clean version?
you can add multiple lines to the script.lua, or start completely over.
say your .lua contains this
Before
if managers.hud then
managers.hud:show_hint( { text = "boner" } )
end
and you want to make it also change your deploy time, just add the line a space below, like this.
End result
if managers.hud then
managers.hud:show_hint( { text = "Boner" } )
end
PlayerManager.selected_equipment_deploy_timer = function(self) return 0 end
now your game will print "boner" on your screen and also change your deploy time.
---------- Post added at 06:06 PM ---------- Previous post was at 06:03 PM ----------

Originally Posted by
iiPhoenix
Can someone make a script to unlock all the masks, maybe?
this should do the trick. add these lines or simply over wright he ones in your default script.lua
--add all 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:add_to_inventory("normal", "masks", mask_id, false)
end
--All colors and materials
for i=1, 7 do
managers.lootdrop:debug_drop( 1000, true, i )
end