housing
This commit is contained in:
parent
6d90da2841
commit
b71b47a9fb
169 changed files with 12687 additions and 2932 deletions
21
resources/[housing]/bob74_ipl/dlc_agents/airstrip.lua
Normal file
21
resources/[housing]/bob74_ipl/dlc_agents/airstrip.lua
Normal file
|
@ -0,0 +1,21 @@
|
|||
-- Airstrip: -2106.98, 1468.31, 282.0
|
||||
exports("GetAgentsAirstrip", function()
|
||||
return AgentsAirstrip
|
||||
end)
|
||||
|
||||
AgentsAirstrip = {
|
||||
Ipl = {
|
||||
ipl = "m24_2_airstrip",
|
||||
|
||||
Load = function()
|
||||
EnableIpl(AgentsAirstrip.Ipl.ipl, true)
|
||||
end,
|
||||
Remove = function()
|
||||
EnableIpl(AgentsAirstrip.Ipl.ipl, false)
|
||||
end
|
||||
},
|
||||
|
||||
LoadDefault = function()
|
||||
AgentsAirstrip.Ipl.Load()
|
||||
end
|
||||
}
|
4
resources/[housing]/bob74_ipl/dlc_agents/base.lua
Normal file
4
resources/[housing]/bob74_ipl/dlc_agents/base.lua
Normal file
|
@ -0,0 +1,4 @@
|
|||
CreateThread(function()
|
||||
RequestIpl("m24_2_legacy_fixes")
|
||||
RequestIpl("m24_2_mp2024_02_additions")
|
||||
end)
|
65
resources/[housing]/bob74_ipl/dlc_agents/factory.lua
Normal file
65
resources/[housing]/bob74_ipl/dlc_agents/factory.lua
Normal file
|
@ -0,0 +1,65 @@
|
|||
-- Garment Factory: 752.31, -997.24, -47.0
|
||||
exports("GetAgentsFactory", function()
|
||||
return AgentsFactory
|
||||
end)
|
||||
|
||||
AgentsFactory = {
|
||||
interiorId = 297729,
|
||||
|
||||
Ipl = {
|
||||
Exterior = {
|
||||
ipl = "m24_2_garment_factory",
|
||||
|
||||
Load = function()
|
||||
EnableIpl(AgentsFactory.Ipl.Exterior.ipl, true)
|
||||
end,
|
||||
Remove = function()
|
||||
EnableIpl(AgentsFactory.Ipl.Exterior.ipl, false)
|
||||
end
|
||||
}
|
||||
},
|
||||
|
||||
Trophy = {
|
||||
egg = "set_pent_rob_egg",
|
||||
idol01 = "set_pent_rob_idol_01",
|
||||
idol02 = "set_pent_rob_idol_02",
|
||||
scarab = "set_zanc_scarab",
|
||||
drive = "set_whistle_drive",
|
||||
plane = "set_cargo",
|
||||
|
||||
Enable = function(trophy, state, refresh)
|
||||
SetIplPropState(AgentsFactory.interiorId, trophy, state, refresh)
|
||||
end
|
||||
},
|
||||
|
||||
Details = {
|
||||
sonar = "set_sonar",
|
||||
drive = "set_malware_drive",
|
||||
controller = "set_rc_controller",
|
||||
thermite = "set_thermal",
|
||||
key = "set_smartkey",
|
||||
drone = "set_pent_drone",
|
||||
case = "set_pent_emp",
|
||||
armor = "set_zanc_armor",
|
||||
keycard = "set_zanc_keycard",
|
||||
|
||||
Enable = function(details, state, refresh)
|
||||
SetIplPropState(AgentsFactory.interiorId, details, state, refresh)
|
||||
end
|
||||
},
|
||||
|
||||
LoadDefault = function()
|
||||
-- Exterior
|
||||
AgentsFactory.Ipl.Exterior.Load()
|
||||
|
||||
-- Interior
|
||||
AgentsFactory.Trophy.Enable(AgentsFactory.Trophy.idol01, true, false)
|
||||
AgentsFactory.Trophy.Enable(AgentsFactory.Trophy.idol02, true, false)
|
||||
|
||||
AgentsFactory.Details.Enable(AgentsFactory.Details.armor, true, false)
|
||||
AgentsFactory.Details.Enable(AgentsFactory.Details.sonar, true, false)
|
||||
AgentsFactory.Details.Enable(AgentsFactory.Details.drive, true, false)
|
||||
|
||||
RefreshInterior(AgentsFactory.interiorId)
|
||||
end
|
||||
}
|
21
resources/[housing]/bob74_ipl/dlc_agents/hangar_door.lua
Normal file
21
resources/[housing]/bob74_ipl/dlc_agents/hangar_door.lua
Normal file
|
@ -0,0 +1,21 @@
|
|||
-- Hangar door: -2632.43, 2963.23, 8.5
|
||||
exports("GetAgentsHangarDoor", function()
|
||||
return AgentsHangarDoor
|
||||
end)
|
||||
|
||||
AgentsHangarDoor = {
|
||||
Ipl = {
|
||||
ipl = "m24_2_prop_m42_hangerdoor_02a",
|
||||
|
||||
Load = function()
|
||||
EnableIpl(AgentsHangarDoor.Ipl.ipl, true)
|
||||
end,
|
||||
Remove = function()
|
||||
EnableIpl(AgentsHangarDoor.Ipl.ipl, false)
|
||||
end
|
||||
},
|
||||
|
||||
LoadDefault = function()
|
||||
AgentsHangarDoor.Ipl.Load()
|
||||
end
|
||||
}
|
47
resources/[housing]/bob74_ipl/dlc_agents/office.lua
Normal file
47
resources/[housing]/bob74_ipl/dlc_agents/office.lua
Normal file
|
@ -0,0 +1,47 @@
|
|||
-- McKenzie Field Hangar Office: 2149.71, 4787.76, -47.0
|
||||
exports("GetAgentsOffice", function()
|
||||
return AgentsOffice
|
||||
end)
|
||||
|
||||
AgentsOffice = {
|
||||
interiorId = 297985,
|
||||
|
||||
Style = {
|
||||
bed = "set_bed",
|
||||
mess = "collision_z9mhn5",
|
||||
|
||||
Set = function(style, refresh)
|
||||
AgentsOffice.Style.Clear(refresh)
|
||||
|
||||
SetIplPropState(AgentsOffice.interiorId, style, true, refresh)
|
||||
end,
|
||||
Clear = function(refresh)
|
||||
SetIplPropState(AgentsOffice.interiorId, {
|
||||
AgentsOffice.Style.bed,
|
||||
AgentsOffice.Style.mess
|
||||
}, false, refresh)
|
||||
end
|
||||
},
|
||||
|
||||
Details = {
|
||||
laptop = "set_laptop",
|
||||
ammo = "set_ammo",
|
||||
intel = "set_intel",
|
||||
weapons = "set_weapons",
|
||||
tools = "collision_9k04j35",
|
||||
booze = "set_24_2",
|
||||
|
||||
Enable = function(details, state, refresh)
|
||||
SetIplPropState(AgentsOffice.interiorId, details, state, refresh)
|
||||
end
|
||||
},
|
||||
|
||||
LoadDefault = function()
|
||||
AgentsOffice.Style.Set(AgentsOffice.Style.bed, false)
|
||||
|
||||
AgentsOffice.Details.Enable(AgentsOffice.Details.laptop, true, false)
|
||||
AgentsOffice.Details.Enable(AgentsOffice.Details.booze, true, false)
|
||||
|
||||
RefreshInterior(AgentsOffice.interiorId)
|
||||
end
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue