forked from Simnation/Main
all
This commit is contained in:
parent
b3be5bbddd
commit
4a0eae647e
134 changed files with 0 additions and 0 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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue