This commit is contained in:
Nordi98 2025-06-10 20:01:53 +02:00
parent b3be5bbddd
commit 4a0eae647e
134 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,47 @@
exports('GetFranklinAuntObject', function()
return FranklinAunt
end)

FranklinAunt = {
interiorId = 197889,

Style = {
empty = "",
franklinStuff = "V_57_FranklinStuff",
franklinLeft = "V_57_Franklin_LEFT",

Set = function(style, refresh)
FranklinAunt.Style.Clear(false)

if style ~= "" then
SetIplPropState(FranklinAunt.interiorId, style, true, refresh)
else
if refresh then
RefreshInterior(FranklinAunt.interiorId)
end
end
end,
Clear = function(refresh)
SetIplPropState(FranklinAunt.interiorId, {
FranklinAunt.Style.franklinStuff,
FranklinAunt.Style.franklinLeft
}, false, refresh)
end
},
Details = {
bandana = "V_57_GangBandana", -- Bandana on the bed
bag = "V_57_Safari", -- Bag in the closet

Enable = function(details, state, refresh)
SetIplPropState(FranklinAunt.interiorId, details, state, refresh)
end
},

LoadDefault = function()
FranklinAunt.Style.Set(FranklinAunt.Style.empty)
FranklinAunt.Details.Enable(FranklinAunt.Details.bandana, false)
FranklinAunt.Details.Enable(FranklinAunt.Details.bag, false)

RefreshInterior(FranklinAunt.interiorId)
end
}