Skip to content

Commit

Permalink
Tabs to spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
userMacieG committed May 2, 2022
1 parent 969e292 commit 98dddfa
Show file tree
Hide file tree
Showing 33 changed files with 1,169 additions and 1,169 deletions.
2 changes: 1 addition & 1 deletion dlc_bikers/clubhouse1.lua
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ BikerClubhouse1 = {
"id_stash2",
"id_stash3"
},

Set = function(stage, refresh)
BikerClubhouse1.Documents.Clear(false)

Expand Down
2 changes: 1 addition & 1 deletion dlc_bikers/cocaine.lua
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ BikerCocaine = {
BikerCocaine.Ipl.Interior.Load()
BikerCocaine.Style.Set(BikerCocaine.Style.basic)
BikerCocaine.Security.Set(BikerCocaine.Security.none)

RefreshInterior(BikerCocaine.interiorId)
end
}
2 changes: 1 addition & 1 deletion dlc_bikers/meth.lua
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ BikerMethLab = {
BikerMethLab.Style.Set(BikerMethLab.Style.empty)
BikerMethLab.Security.Set(BikerMethLab.Security.none)
BikerMethLab.Details.Enable(BikerMethLab.Details.production, false)

RefreshInterior(BikerMethLab.interiorId)
end
}
2 changes: 1 addition & 1 deletion dlc_bikers/weed.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ end)

BikerWeedFarm = {
interiorId = 247297,

Ipl = {
Interior = {
ipl = "bkr_biker_interior_placement_interior_3_biker_dlc_int_ware02_milo",
Expand Down
2 changes: 1 addition & 1 deletion dlc_casino/penthouse.lua
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ DiamondPenthouse = {
Bar = {
enabled = "Set_Pent_BAR_BLOCKER",
disabled = "",

Set = function(blocker, refresh)
DiamondPenthouse.Interior.Blockers.Bar.Clear(false)

Expand Down
120 changes: 60 additions & 60 deletions dlc_executive/apartment1.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-- Apartment 1: -787.78050000 334.92320000 215.83840000
exports('GetExecApartment1Object', function()
return ExecApartment1
return ExecApartment1
end)

ExecApartment1 = {
Expand All @@ -9,37 +9,37 @@ ExecApartment1 = {
Style = {
Theme = {
modern = {
interiorId = 227329,
ipl = "apa_v_mp_h_01_a"
},
interiorId = 227329,
ipl = "apa_v_mp_h_01_a"
},
moody = {
interiorId = 228097,
ipl = "apa_v_mp_h_02_a"
},
interiorId = 228097,
ipl = "apa_v_mp_h_02_a"
},
vibrant = {
interiorId = 228865,
ipl = "apa_v_mp_h_03_a"
},
interiorId = 228865,
ipl = "apa_v_mp_h_03_a"
},
sharp = {
interiorId = 229633,
ipl = "apa_v_mp_h_04_a"
},
interiorId = 229633,
ipl = "apa_v_mp_h_04_a"
},
monochrome = {
interiorId = 230401,
ipl = "apa_v_mp_h_05_a"
},
interiorId = 230401,
ipl = "apa_v_mp_h_05_a"
},
seductive = {
interiorId = 231169,
ipl = "apa_v_mp_h_06_a"
},
interiorId = 231169,
ipl = "apa_v_mp_h_06_a"
},
regal = {
interiorId = 231937,
ipl = "apa_v_mp_h_07_a"
},
interiorId = 231937,
ipl = "apa_v_mp_h_07_a"
},
aqua = {
interiorId = 232705,
ipl = "apa_v_mp_h_08_a"
}
interiorId = 232705,
ipl = "apa_v_mp_h_08_a"
}
},

Set = function(style, refresh)
Expand All @@ -50,54 +50,54 @@ ExecApartment1 = {
EnableIpl(style.ipl, true)

if refresh then
RefreshInterior(style.interiorId)
end
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)
"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)
"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)
"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",
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",
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",
stage1 = "Apart_Hi_Smokes_A",
stage2 = "Apart_Hi_Smokes_B",
stage3 = "Apart_Hi_Smokes_C",

Set = function(smoke, refresh)
ExecApartment1.Smoke.Clear(false)
Expand All @@ -106,31 +106,31 @@ ExecApartment1 = {
SetIplPropState(ExecApartment1.currentInteriorId, smoke, true, refresh)
else
if refresh then
RefreshInterior(ExecApartment1.currentInteriorId)
end
RefreshInterior(ExecApartment1.currentInteriorId)
end
end
end,
Clear = function(refresh)
SetIplPropState(ExecApartment1.currentInteriorId, {
ExecApartment1.Smoke.stage1,
ExecApartment1.Smoke.stage2,
ExecApartment1.Smoke.stage3
}, false, refresh)
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.Strip.A,
ExecApartment1.Strip.B,
ExecApartment1.Strip.C
}, false)
ExecApartment1.Booze.Enable({
ExecApartment1.Booze.A,
ExecApartment1.Booze.B,
ExecApartment1.Booze.C
}, false)
ExecApartment1.Booze.A,
ExecApartment1.Booze.B,
ExecApartment1.Booze.C
}, false)
ExecApartment1.Smoke.Set(ExecApartment1.Smoke.none)
end
}
Loading

0 comments on commit 98dddfa

Please sign in to comment.