housing
This commit is contained in:
parent
6d90da2841
commit
b71b47a9fb
169 changed files with 12687 additions and 2932 deletions
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