housing
This commit is contained in:
parent
6d90da2841
commit
b71b47a9fb
169 changed files with 12687 additions and 2932 deletions
4
resources/[housing]/bob74_ipl/dlc_bounties/base.lua
Normal file
4
resources/[housing]/bob74_ipl/dlc_bounties/base.lua
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
CreateThread(function()
|
||||
RequestIpl("m24_1_legacyfixes")
|
||||
RequestIpl("m24_1_pizzasigns")
|
||||
end)
|
||||
25
resources/[housing]/bob74_ipl/dlc_bounties/carrier.lua
Normal file
25
resources/[housing]/bob74_ipl/dlc_bounties/carrier.lua
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
-- Aircraft carrier: -3208.03, 3954.54, 14.0
|
||||
exports('GetSummerCarrierObject', function()
|
||||
return SummerCarrier
|
||||
end)
|
||||
|
||||
SummerCarrier = {
|
||||
ipl = {
|
||||
"m24_1_carrier",
|
||||
"m24_1_carrier_int1",
|
||||
"m24_1_carrier_int2",
|
||||
"m24_1_carrier_int3",
|
||||
"m24_1_carrier_int4",
|
||||
"m24_1_carrier_int5",
|
||||
"m24_1_carrier_int6",
|
||||
"m24_1_carrier_ladders"
|
||||
},
|
||||
|
||||
Enable = function(state)
|
||||
EnableIpl(SummerCarrier.ipl, state)
|
||||
end,
|
||||
|
||||
LoadDefault = function()
|
||||
SummerCarrier.Enable(true)
|
||||
end
|
||||
}
|
||||
114
resources/[housing]/bob74_ipl/dlc_bounties/office.lua
Normal file
114
resources/[housing]/bob74_ipl/dlc_bounties/office.lua
Normal file
|
|
@ -0,0 +1,114 @@
|
|||
-- Bail office: 565.886, -2688.761, -50.0
|
||||
exports('GetSummerOfficeObject', function()
|
||||
return SummerOffice
|
||||
end)
|
||||
|
||||
SummerOffice = {
|
||||
interiorId = 295425,
|
||||
|
||||
Ipl = {
|
||||
Exterior = {
|
||||
ipl = {
|
||||
"m24_1_bailoffice_davis",
|
||||
"m24_1_bailoffice_delperro",
|
||||
"m24_1_bailoffice_missionrow",
|
||||
"m24_1_bailoffice_paletobay",
|
||||
"m24_1_bailoffice_vinewood"
|
||||
},
|
||||
|
||||
Load = function()
|
||||
EnableIpl(SummerOffice.Ipl.Exterior.ipl, true)
|
||||
end,
|
||||
Remove = function()
|
||||
EnableIpl(SummerOffice.Ipl.Exterior.ipl, false)
|
||||
end
|
||||
}
|
||||
},
|
||||
|
||||
Style = {
|
||||
vintage = "set_style_01",
|
||||
patterns = "set_style_02",
|
||||
teak = "set_style_03",
|
||||
|
||||
Set = function(style, refresh)
|
||||
SummerOffice.Style.Clear(false)
|
||||
|
||||
SetIplPropState(SummerOffice.interiorId, style, true, refresh)
|
||||
end,
|
||||
Clear = function(refresh)
|
||||
SetIplPropState(SummerOffice.interiorId, {
|
||||
SummerOffice.Style.vintage,
|
||||
SummerOffice.Style.patterns,
|
||||
SummerOffice.Style.teak
|
||||
}, false, refresh)
|
||||
end
|
||||
},
|
||||
|
||||
Desk = {
|
||||
files = "set_no_staff",
|
||||
computers = "set_staff_upgrade",
|
||||
|
||||
Set = function(style, refresh)
|
||||
SummerOffice.Desk.Clear(false)
|
||||
|
||||
SetIplPropState(SummerOffice.interiorId, style, true, refresh)
|
||||
end,
|
||||
Clear = function(refresh)
|
||||
SetIplPropState(SummerOffice.interiorId, {
|
||||
SummerOffice.Desk.files,
|
||||
SummerOffice.Desk.computers
|
||||
}, false, refresh)
|
||||
end
|
||||
},
|
||||
|
||||
Gunsafe = {
|
||||
cabinet = "set_gunsafe_off",
|
||||
gunsafe = "set_gunsafe_on",
|
||||
|
||||
Set = function(style, refresh)
|
||||
SummerOffice.Gunsafe.Clear(false)
|
||||
|
||||
SetIplPropState(SummerOffice.interiorId, style, true, refresh)
|
||||
end,
|
||||
Clear = function(refresh)
|
||||
SetIplPropState(SummerOffice.interiorId, {
|
||||
SummerOffice.Gunsafe.cabinet,
|
||||
SummerOffice.Gunsafe.gunsafe
|
||||
}, false, refresh)
|
||||
end
|
||||
},
|
||||
|
||||
Trophy = {
|
||||
plaque = "set_trophy_10x",
|
||||
badge = "set_trophy_24x",
|
||||
handcuffs = "set_trophy_100x",
|
||||
|
||||
Enable = function(trophy, state, refresh)
|
||||
SetIplPropState(SummerOffice.interiorId, trophy, state, refresh)
|
||||
end
|
||||
},
|
||||
|
||||
Plant = {
|
||||
plant = "set_new_plant",
|
||||
|
||||
Enable = function(state, refresh)
|
||||
SetIplPropState(SummerOffice.interiorId, SummerOffice.Plant.plant, state, refresh)
|
||||
end
|
||||
},
|
||||
|
||||
LoadDefault = function()
|
||||
SummerOffice.Ipl.Exterior.Load()
|
||||
|
||||
SummerOffice.Style.Set(SummerOffice.Style.teak, false)
|
||||
SummerOffice.Desk.Set(SummerOffice.Desk.files, false)
|
||||
SummerOffice.Gunsafe.Set(SummerOffice.Gunsafe.cabinet, false)
|
||||
|
||||
SummerOffice.Trophy.Enable(SummerOffice.Trophy.plaque, true, false)
|
||||
SummerOffice.Trophy.Enable(SummerOffice.Trophy.badge, true, false)
|
||||
SummerOffice.Trophy.Enable(SummerOffice.Trophy.handcuffs, true, false)
|
||||
|
||||
SummerOffice.Plant.Enable(true, false)
|
||||
|
||||
RefreshInterior(SummerOffice.interiorId)
|
||||
end
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue