housing
This commit is contained in:
parent
6d90da2841
commit
b71b47a9fb
169 changed files with 12687 additions and 2932 deletions
44
resources/[housing]/bob74_ipl/dlc_mercenaries/club.lua
Normal file
44
resources/[housing]/bob74_ipl/dlc_mercenaries/club.lua
Normal file
|
@ -0,0 +1,44 @@
|
|||
-- Vinewood Car Club: 1202.407, -3251.251, -50.000
|
||||
exports('GetMercenariesClubObject', function()
|
||||
return MercenariesClub
|
||||
end)
|
||||
|
||||
MercenariesClub = {
|
||||
interiorId = 291841,
|
||||
|
||||
Style = {
|
||||
empty = "entity_set_no_plus", -- The lamps if the podium is not there
|
||||
club = {
|
||||
"entity_set_plus",
|
||||
"entity_set_backdrop_frames",
|
||||
"entity_set_signs"
|
||||
},
|
||||
|
||||
Set = function(style, refresh)
|
||||
MercenariesClub.Style.Clear(false)
|
||||
|
||||
SetIplPropState(MercenariesClub.interiorId, style, true, refresh)
|
||||
end,
|
||||
Clear = function(refresh)
|
||||
SetIplPropState(MercenariesClub.interiorId, {
|
||||
MercenariesClub.Style.empty,
|
||||
MercenariesClub.Style.club
|
||||
}, false, refresh)
|
||||
end
|
||||
},
|
||||
|
||||
Stairs = {
|
||||
stairs = "entity_set_stairs",
|
||||
|
||||
Enable = function(state, refresh)
|
||||
SetIplPropState(MercenariesClub.interiorId, MercenariesClub.Stairs.stairs, state, refresh)
|
||||
end
|
||||
},
|
||||
|
||||
LoadDefault = function()
|
||||
MercenariesClub.Style.Set(MercenariesClub.Style.club, false)
|
||||
MercenariesClub.Stairs.Enable(true, false)
|
||||
|
||||
RefreshInterior(MercenariesClub.interiorId)
|
||||
end
|
||||
}
|
16
resources/[housing]/bob74_ipl/dlc_mercenaries/fixes.lua
Normal file
16
resources/[housing]/bob74_ipl/dlc_mercenaries/fixes.lua
Normal file
|
@ -0,0 +1,16 @@
|
|||
-- Map fixes
|
||||
exports('GetMercenariesFixesObject', function()
|
||||
return MercenariesFixes
|
||||
end)
|
||||
|
||||
MercenariesFixes = {
|
||||
ipl = "m23_1_legacy_fixes",
|
||||
|
||||
Enable = function(state)
|
||||
EnableIpl(MercenariesFixes.ipl, state)
|
||||
end,
|
||||
|
||||
LoadDefault = function()
|
||||
MercenariesFixes.Enable(true)
|
||||
end
|
||||
}
|
28
resources/[housing]/bob74_ipl/dlc_mercenaries/lab.lua
Normal file
28
resources/[housing]/bob74_ipl/dlc_mercenaries/lab.lua
Normal file
|
@ -0,0 +1,28 @@
|
|||
-- Fort Zancudo Lab: -1916.119, 3749.719, -100.000
|
||||
exports('GetMercenariesLabObject', function()
|
||||
return MercenariesLab
|
||||
end)
|
||||
|
||||
MercenariesLab = {
|
||||
interiorId = 292097,
|
||||
|
||||
Details = {
|
||||
levers = "entity_set_levers",
|
||||
crates = "entity_set_crates",
|
||||
weapons = "entity_set_weapons",
|
||||
lights = "entity_set_lift_lights",
|
||||
|
||||
Enable = function(details, state, refresh)
|
||||
SetIplPropState(MercenariesLab.interiorId, details, state, refresh)
|
||||
end
|
||||
},
|
||||
|
||||
LoadDefault = function()
|
||||
MercenariesLab.Details.Enable(MercenariesLab.Details.levers, true, false)
|
||||
MercenariesLab.Details.Enable(MercenariesLab.Details.crates, true, false)
|
||||
MercenariesLab.Details.Enable(MercenariesLab.Details.weapons, true, false)
|
||||
MercenariesLab.Details.Enable(MercenariesLab.Details.lights, true, false)
|
||||
|
||||
RefreshInterior(MercenariesLab.interiorId)
|
||||
end
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue