File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,10 @@ DiamondPenthouse = {
4242 SetIplPropState (DiamondPenthouse .interiorId , value , false , refresh )
4343 end
4444 end
45+ end ,
46+ SetColor = function (pattern , color , refresh )
47+ SetInteriorEntitySetColor (DiamondPenthouse .interiorId , pattern , color )
48+ if (refresh ) then RefreshInterior (DiamondPenthouse .interiorId ) end
4549 end
4650 },
4751 SpaBar = {
@@ -247,9 +251,15 @@ DiamondPenthouse = {
247251 },
248252
249253 LoadDefault = function ()
254+ local styleColor = DiamondPenthouse .Colors .sharp
255+ local stylePattern = DiamondPenthouse .Interior .Pattern .pattern01
256+
250257 DiamondPenthouse .Ipl .Interior .Load ()
251-
252- DiamondPenthouse .Interior .Walls .SetColor (DiamondPenthouse .Colors .default )
258+
259+ DiamondPenthouse .Interior .Walls .SetColor (styleColor )
260+ DiamondPenthouse .Interior .Pattern .Set (stylePattern )
261+ DiamondPenthouse .Interior .Pattern .SetColor (stylePattern , styleColor )
262+
253263 DiamondPenthouse .Interior .SpaBar .Set (DiamondPenthouse .Interior .SpaBar .open )
254264 DiamondPenthouse .Interior .MediaBar .Set (DiamondPenthouse .Interior .MediaBar .open )
255265 DiamondPenthouse .Interior .Dealer .Set (DiamondPenthouse .Interior .Dealer .open )
You can’t perform that action at this time.
0 commit comments