housing
This commit is contained in:
parent
6d90da2841
commit
b71b47a9fb
169 changed files with 12687 additions and 2932 deletions
94
resources/[housing]/bob74_ipl/dlc_tuner/garage.lua
Normal file
94
resources/[housing]/bob74_ipl/dlc_tuner/garage.lua
Normal file
|
@ -0,0 +1,94 @@
|
|||
exports('GetTunerGarageObject', function()
|
||||
return TunerGarage
|
||||
end)
|
||||
|
||||
TunerGarage = {
|
||||
InteriorId = 285953,
|
||||
|
||||
Ipl = {
|
||||
Exterior = {
|
||||
ipl = {
|
||||
'tr_tuner_shop_burton',
|
||||
'tr_tuner_shop_mesa',
|
||||
'tr_tuner_shop_mission',
|
||||
'tr_tuner_shop_rancho',
|
||||
'tr_tuner_shop_strawberry'
|
||||
}
|
||||
},
|
||||
|
||||
Load = function()
|
||||
EnableIpl(TunerGarage.Ipl.Exterior.ipl, true)
|
||||
end,
|
||||
Remove = function()
|
||||
EnableIpl(TunerGarage.Ipl.Exterior.ipl, false)
|
||||
end,
|
||||
},
|
||||
Entities = {
|
||||
entity_set_bedroom = true,
|
||||
entity_set_bedroom_empty = false,
|
||||
entity_set_bombs = true,
|
||||
entity_set_box_clutter = false,
|
||||
entity_set_cabinets = false,
|
||||
entity_set_car_lift_cutscene = true,
|
||||
entity_set_car_lift_default = true,
|
||||
entity_set_car_lift_purchase = true,
|
||||
entity_set_chalkboard = false,
|
||||
entity_set_container = false,
|
||||
entity_set_cut_seats = false,
|
||||
entity_set_def_table = false,
|
||||
entity_set_drive = true,
|
||||
entity_set_ecu = true,
|
||||
entity_set_IAA = true,
|
||||
entity_set_jammers = true,
|
||||
entity_set_laptop = true,
|
||||
entity_set_lightbox = true,
|
||||
entity_set_methLab = false,
|
||||
entity_set_plate = true,
|
||||
entity_set_scope = true,
|
||||
entity_set_style_1 = false,
|
||||
entity_set_style_2 = false,
|
||||
entity_set_style_3 = false,
|
||||
entity_set_style_4 = false,
|
||||
entity_set_style_5 = false,
|
||||
entity_set_style_6 = false,
|
||||
entity_set_style_7 = false,
|
||||
entity_set_style_8 = false,
|
||||
entity_set_style_9 = true,
|
||||
entity_set_table = false,
|
||||
entity_set_thermal = true,
|
||||
entity_set_tints = true,
|
||||
entity_set_train = true,
|
||||
entity_set_virus = true,
|
||||
|
||||
Set = function(name, state)
|
||||
for entity, _ in pairs(TunerGarage.Entities) do
|
||||
if entity == name then
|
||||
TunerGarage.Entities[entity] = state
|
||||
TunerGarage.Entities.Clear()
|
||||
TunerGarage.Entities.Load()
|
||||
end
|
||||
end
|
||||
end,
|
||||
Load = function()
|
||||
for entity, state in pairs(TunerGarage.Entities) do
|
||||
if type(entity) == 'string' and state then
|
||||
ActivateInteriorEntitySet(TunerGarage.InteriorId, entity)
|
||||
end
|
||||
end
|
||||
end,
|
||||
Clear = function()
|
||||
for entity, _ in pairs(TunerGarage.Entities) do
|
||||
if type(entity) == 'string' then
|
||||
DeactivateInteriorEntitySet(TunerGarage.InteriorId, entity)
|
||||
end
|
||||
end
|
||||
end
|
||||
},
|
||||
|
||||
LoadDefault = function()
|
||||
TunerGarage.Ipl.Load()
|
||||
TunerGarage.Entities.Load()
|
||||
|
||||
RefreshInterior(TunerGarage.InteriorId)
|
||||
end
|
||||
}
|
65
resources/[housing]/bob74_ipl/dlc_tuner/meetup.lua
Normal file
65
resources/[housing]/bob74_ipl/dlc_tuner/meetup.lua
Normal file
|
@ -0,0 +1,65 @@
|
|||
-- Los Santos Car Meet: -2000.0, 1113.211, -25.36243
|
||||
exports('GetTunerMeetupObject', function()
|
||||
return TunerMeetup
|
||||
end)
|
||||
|
||||
TunerMeetup = {
|
||||
InteriorId = 285697,
|
||||
|
||||
Ipl = {
|
||||
Exterior = {
|
||||
ipl = {
|
||||
'tr_tuner_meetup',
|
||||
'tr_tuner_race_line'
|
||||
}
|
||||
},
|
||||
|
||||
Load = function()
|
||||
EnableIpl(TunerMeetup.Ipl.Exterior.ipl, true)
|
||||
end,
|
||||
Remove = function()
|
||||
EnableIpl(TunerMeetup.Ipl.Exterior.ipl, false)
|
||||
end
|
||||
},
|
||||
Entities = {
|
||||
entity_set_meet_crew = true,
|
||||
entity_set_meet_lights = true,
|
||||
entity_set_meet_lights_cheap = false,
|
||||
entity_set_player = true,
|
||||
entity_set_test_crew = false,
|
||||
entity_set_test_lights = true,
|
||||
entity_set_test_lights_cheap = false,
|
||||
entity_set_time_trial = true,
|
||||
|
||||
Set = function(name, state)
|
||||
for entity, _ in pairs(TunerMeetup.Entities) do
|
||||
if entity == name then
|
||||
TunerMeetup.Entities[entity] = state
|
||||
TunerMeetup.Entities.Clear()
|
||||
TunerMeetup.Entities.Load()
|
||||
end
|
||||
end
|
||||
end,
|
||||
Load = function()
|
||||
for entity, state in pairs(TunerMeetup.Entities) do
|
||||
if type(entity) == 'string' and state then
|
||||
ActivateInteriorEntitySet(TunerMeetup.InteriorId, entity)
|
||||
end
|
||||
end
|
||||
end,
|
||||
Clear = function()
|
||||
for entity, _ in pairs(TunerMeetup.Entities) do
|
||||
if type(entity) == 'string' then
|
||||
DeactivateInteriorEntitySet(TunerMeetup.InteriorId, entity)
|
||||
end
|
||||
end
|
||||
end
|
||||
},
|
||||
|
||||
LoadDefault = function()
|
||||
TunerMeetup.Ipl.Load()
|
||||
TunerMeetup.Entities.Load()
|
||||
|
||||
RefreshInterior(TunerMeetup.InteriorId)
|
||||
end
|
||||
}
|
42
resources/[housing]/bob74_ipl/dlc_tuner/methlab.lua
Normal file
42
resources/[housing]/bob74_ipl/dlc_tuner/methlab.lua
Normal file
|
@ -0,0 +1,42 @@
|
|||
exports('GetTunerMethLabObject', function()
|
||||
return TunerMethLab
|
||||
end)
|
||||
|
||||
TunerMethLab = {
|
||||
InteriorId = 284673,
|
||||
|
||||
Entities = {
|
||||
tintable_walls = true,
|
||||
|
||||
Set = function(name, state)
|
||||
for entity, _ in pairs(TunerMethLab.Entities) do
|
||||
if entity == name then
|
||||
TunerMethLab.Entities[entity] = state
|
||||
TunerMethLab.Entities.Clear()
|
||||
TunerMethLab.Entities.Load()
|
||||
end
|
||||
end
|
||||
end,
|
||||
Load = function()
|
||||
for entity, state in pairs(TunerMethLab.Entities) do
|
||||
if type(entity) == 'string' and state then
|
||||
ActivateInteriorEntitySet(TunerMethLab.InteriorId, entity)
|
||||
end
|
||||
end
|
||||
end,
|
||||
Clear = function()
|
||||
for entity, _ in pairs(TunerMethLab.Entities) do
|
||||
if type(entity) == 'string' then
|
||||
DeactivateInteriorEntitySet(TunerMethLab.InteriorId, entity)
|
||||
end
|
||||
end
|
||||
end
|
||||
},
|
||||
|
||||
LoadDefault = function()
|
||||
TunerMethLab.Entities.Load()
|
||||
|
||||
SetInteriorEntitySetColor(TunerMethLab.InteriorId, TunerMethLab.Entities.tintable_walls, 3)
|
||||
RefreshInterior(TunerMethLab.InteriorId)
|
||||
end
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue