This commit is contained in:
Nordi98 2025-06-10 17:37:12 +02:00
parent 6d90da2841
commit b71b47a9fb
169 changed files with 12687 additions and 2932 deletions

View file

@ -0,0 +1,136 @@
-- Apartment 1: -787.78050000 334.92320000 215.83840000
exports('GetExecApartment1Object', function()
return ExecApartment1
end)
ExecApartment1 = {
currentInteriorId = -1,
Style = {
Theme = {
modern = {
interiorId = 227329,
ipl = "apa_v_mp_h_01_a"
},
moody = {
interiorId = 228097,
ipl = "apa_v_mp_h_02_a"
},
vibrant = {
interiorId = 228865,
ipl = "apa_v_mp_h_03_a"
},
sharp = {
interiorId = 229633,
ipl = "apa_v_mp_h_04_a"
},
monochrome = {
interiorId = 230401,
ipl = "apa_v_mp_h_05_a"
},
seductive = {
interiorId = 231169,
ipl = "apa_v_mp_h_06_a"
},
regal = {
interiorId = 231937,
ipl = "apa_v_mp_h_07_a"
},
aqua = {
interiorId = 232705,
ipl = "apa_v_mp_h_08_a"
}
},
Set = function(style, refresh)
if type(style) == "table" then
ExecApartment1.Style.Clear()
ExecApartment1.currentInteriorId = style.interiorId
EnableIpl(style.ipl, true)
if refresh then
RefreshInterior(style.interiorId)
end
end
end,
Clear = function()
for key, value in pairs(ExecApartment1.Style.Theme) do
SetIplPropState(value.interiorId, {
"Apart_Hi_Strip_A",
"Apart_Hi_Strip_B",
"Apart_Hi_Strip_C"
}, false)
SetIplPropState(value.interiorId, {
"Apart_Hi_Booze_A",
"Apart_Hi_Booze_B",
"Apart_Hi_Booze_C"
}, false)
SetIplPropState(value.interiorId, {
"Apart_Hi_Smokes_A",
"Apart_Hi_Smokes_B",
"Apart_Hi_Smokes_C"
}, false, true)
EnableIpl(value.ipl, false)
end
end
},
Strip = {
A = "Apart_Hi_Strip_A",
B = "Apart_Hi_Strip_B",
C = "Apart_Hi_Strip_C",
Enable = function(details, state, refresh)
SetIplPropState(ExecApartment1.currentInteriorId, details, state, refresh)
end
},
Booze = {
A = "Apart_Hi_Booze_A",
B = "Apart_Hi_Booze_B",
C = "Apart_Hi_Booze_C",
Enable = function(details, state, refresh)
SetIplPropState(ExecApartment1.currentInteriorId, details, state, refresh)
end
},
Smoke = {
none = "",
stage1 = "Apart_Hi_Smokes_A",
stage2 = "Apart_Hi_Smokes_B",
stage3 = "Apart_Hi_Smokes_C",
Set = function(smoke, refresh)
ExecApartment1.Smoke.Clear(false)
if smoke ~= nil then
SetIplPropState(ExecApartment1.currentInteriorId, smoke, true, refresh)
else
if refresh then
RefreshInterior(ExecApartment1.currentInteriorId)
end
end
end,
Clear = function(refresh)
SetIplPropState(ExecApartment1.currentInteriorId, {
ExecApartment1.Smoke.stage1,
ExecApartment1.Smoke.stage2,
ExecApartment1.Smoke.stage3
}, false, refresh)
end
},
LoadDefault = function()
ExecApartment1.Style.Set(ExecApartment1.Style.Theme.modern, true)
ExecApartment1.Strip.Enable({
ExecApartment1.Strip.A,
ExecApartment1.Strip.B,
ExecApartment1.Strip.C
}, false)
ExecApartment1.Booze.Enable({
ExecApartment1.Booze.A,
ExecApartment1.Booze.B,
ExecApartment1.Booze.C
}, false)
ExecApartment1.Smoke.Set(ExecApartment1.Smoke.none)
end
}

View file

@ -0,0 +1,135 @@
-- Apartment 2: -773.22580000 322.82520000 194.88620000
exports('GetExecApartment2Object', function()
return ExecApartment2
end)
ExecApartment2 = {
currentInteriorId = -1,
Style = {
Theme = {
modern = {
interiorId = 227585,
ipl = "apa_v_mp_h_01_b"
},
moody = {
interiorId = 228353,
ipl = "apa_v_mp_h_02_b"
},
vibrant = {
interiorId = 229121,
ipl = "apa_v_mp_h_03_b"
},
sharp = {
interiorId = 229889,
ipl = "apa_v_mp_h_04_b"
},
monochrome = {
interiorId = 230657,
ipl = "apa_v_mp_h_05_b"
},
seductive = {
interiorId = 231425,
ipl = "apa_v_mp_h_06_b"
},
regal = {
interiorId = 232193,
ipl = "apa_v_mp_h_07_b"
},
aqua = {
interiorId = 232961,
ipl = "apa_v_mp_h_08_b"
}
},
Set = function(style, refresh)
if type(style) == "table" then
ExecApartment2.Style.Clear()
ExecApartment2.currentInteriorId = style.interiorId
EnableIpl(style.ipl, true)
if refresh then
RefreshInterior(style.interiorId)
end
end
end,
Clear = function()
for key, value in pairs(ExecApartment2.Style.Theme) do
SetIplPropState(value.interiorId, {
"Apart_Hi_Strip_A",
"Apart_Hi_Strip_B",
"Apart_Hi_Strip_C"}, false)
SetIplPropState(value.interiorId, {
"Apart_Hi_Booze_A",
"Apart_Hi_Booze_B",
"Apart_Hi_Booze_C"
}, false)
SetIplPropState(value.interiorId, {
"Apart_Hi_Smokes_A",
"Apart_Hi_Smokes_B",
"Apart_Hi_Smokes_C"
}, false, true)
EnableIpl(value.ipl, false)
end
end
},
Strip = {
A = "Apart_Hi_Strip_A",
B = "Apart_Hi_Strip_B",
C = "Apart_Hi_Strip_C",
Enable = function(details, state, refresh)
SetIplPropState(ExecApartment2.currentInteriorId, details, state, refresh)
end
},
Booze = {
A = "Apart_Hi_Booze_A",
B = "Apart_Hi_Booze_B",
C = "Apart_Hi_Booze_C",
Enable = function(details, state, refresh)
SetIplPropState(ExecApartment2.currentInteriorId, details, state, refresh)
end
},
Smoke = {
none = "",
stage1 = "Apart_Hi_Smokes_A",
stage2 = "Apart_Hi_Smokes_B",
stage3 = "Apart_Hi_Smokes_C",
Set = function(smoke, refresh)
ExecApartment2.Smoke.Clear(false)
if smoke ~= nil then
SetIplPropState(ExecApartment2.currentInteriorId, smoke, true, refresh)
else
if refresh then
RefreshInterior(ExecApartment2.currentInteriorId)
end
end
end,
Clear = function(refresh)
SetIplPropState(ExecApartment2.currentInteriorId, {
ExecApartment2.Smoke.stage1,
ExecApartment2.Smoke.stage2,
ExecApartment2.Smoke.stage3
}, false, refresh)
end
},
LoadDefault = function()
ExecApartment2.Style.Set(ExecApartment2.Style.Theme.seductive, true)
ExecApartment2.Strip.Enable({
ExecApartment2.Strip.A,
ExecApartment2.Strip.B,
ExecApartment2.Strip.C
}, false)
ExecApartment2.Booze.Enable({
ExecApartment2.Booze.A,
ExecApartment2.Booze.B,
ExecApartment2.Booze.C
}, false)
ExecApartment2.Smoke.Set(ExecApartment2.Smoke.none)
end
}

View file

@ -0,0 +1,136 @@
-- Apartment 3: -787.78050000 334.92320000 186.11340000
exports('GetExecApartment3Object', function()
return ExecApartment3
end)
ExecApartment3 = {
currentInteriorId = -1,
Style = {
Theme = {
modern = {
interiorId = 227841,
ipl = "apa_v_mp_h_01_c"
},
moody = {
interiorId = 228609,
ipl = "apa_v_mp_h_02_c"
},
vibrant = {
interiorId = 229377,
ipl = "apa_v_mp_h_03_c"
},
sharp = {
interiorId = 230145,
ipl = "apa_v_mp_h_04_c"
},
monochrome = {
interiorId = 230913,
ipl = "apa_v_mp_h_05_c"
},
seductive = {
interiorId = 231681,
ipl = "apa_v_mp_h_06_c"
},
regal = {
interiorId = 232449,
ipl = "apa_v_mp_h_07_c"
},
aqua = {
interiorId = 233217,
ipl = "apa_v_mp_h_08_c"
}
},
Set = function(style, refresh)
if type(style) == "table" then
ExecApartment3.Style.Clear()
ExecApartment3.currentInteriorId = style.interiorId
EnableIpl(style.ipl, true)
if refresh then
RefreshInterior(style.interiorId)
end
end
end,
Clear = function()
for key, value in pairs(ExecApartment3.Style.Theme) do
SetIplPropState(value.interiorId, {
"Apart_Hi_Strip_A",
"Apart_Hi_Strip_B",
"Apart_Hi_Strip_C"
}, false)
SetIplPropState(value.interiorId, {
"Apart_Hi_Booze_A",
"Apart_Hi_Booze_B",
"Apart_Hi_Booze_C"
}, false)
SetIplPropState(value.interiorId, {
"Apart_Hi_Smokes_A",
"Apart_Hi_Smokes_B",
"Apart_Hi_Smokes_C"
}, false, true)
EnableIpl(value.ipl, false)
end
end
},
Strip = {
A = "Apart_Hi_Strip_A",
B = "Apart_Hi_Strip_B",
C = "Apart_Hi_Strip_C",
Enable = function(details, state, refresh)
SetIplPropState(ExecApartment3.currentInteriorId, details, state, refresh)
end
},
Booze = {
A = "Apart_Hi_Booze_A",
B = "Apart_Hi_Booze_B",
C = "Apart_Hi_Booze_C",
Enable = function(details, state, refresh)
SetIplPropState(ExecApartment3.currentInteriorId, details, state, refresh)
end
},
Smoke = {
none = "",
stage1 = "Apart_Hi_Smokes_A",
stage2 = "Apart_Hi_Smokes_B",
stage3 = "Apart_Hi_Smokes_C",
Set = function(smoke, refresh)
ExecApartment3.Smoke.Clear(false)
if smoke ~= nil then
SetIplPropState(ExecApartment3.currentInteriorId, smoke, true, refresh)
else
if refresh then
RefreshInterior(ExecApartment3.currentInteriorId)
end
end
end,
Clear = function(refresh)
SetIplPropState(ExecApartment3.currentInteriorId, {
ExecApartment3.Smoke.stage1,
ExecApartment3.Smoke.stage2,
ExecApartment3.Smoke.stage3
}, false, refresh)
end
},
LoadDefault = function()
ExecApartment3.Style.Set(ExecApartment3.Style.Theme.sharp, true)
ExecApartment3.Strip.Enable({
ExecApartment3.Strip.A,
ExecApartment3.Strip.B,
ExecApartment3.Strip.C
}, false)
ExecApartment3.Booze.Enable({
ExecApartment3.Booze.A,
ExecApartment3.Booze.B,
ExecApartment3.Booze.C
}, false)
ExecApartment3.Smoke.Set(ExecApartment3.Smoke.none)
end
}