@@ -156,15 +156,15 @@ function YRV3:PopulateCEOwarehouseSlot(index)
156156 local property_index = (stats .get_int ((" MPX_PROP_WHOUSE_SLOT%d" ):format (index - 1 ))) - 1
157157 local warehouseName = HUD .GET_FILENAME_FOR_AUDIO_CONVERSATION ((" MP_WHOUSE_%d" ):format (property_index ))
158158
159- if self .t_CEOwarehouses [warehouseName ] then
159+ if self .t_CEOwarehouses [property_index ] then
160160 self .OwnedWarehouseData [index ] = {
161161 wasChecked = true ,
162162 isOwned = true ,
163163 autoFill = false ,
164164 name = warehouseName ,
165- size = self .t_CEOwarehouses [warehouseName ].size ,
166- max = self .t_CEOwarehouses [warehouseName ].max ,
167- pos = self .t_CEOwarehouses [warehouseName ].coords ,
165+ size = self .t_CEOwarehouses [property_index ].size ,
166+ max = self .t_CEOwarehouses [property_index ].max ,
167+ pos = self .t_CEOwarehouses [property_index ].coords ,
168168 }
169169 end
170170 end )
@@ -674,72 +674,28 @@ YRV3.t_SellScripts = {
674674}
675675
676676YRV3 .t_CEOwarehouses = {
677- [" Convenience Store Lockup" ] = {
678- size = 0 , max = 16 , coords = vec3 :new (249.246918 , - 1955.651978 , 23.161957 )
679- },
680- [" Celltowa Unit" ] = {
681- size = 0 , max = 16 , coords = vec3 :new (898.484314 , - 1031.882446 , 34.966454 )
682- },
683- [" White Widow Garage" ] = {
684- size = 0 , max = 16 , coords = vec3 :new (- 1081.083740 , - 1261.013184 , 5.648909 )
685- },
686- [" Pacific Bait Storage" ] = {
687- size = 0 , max = 16 , coords = vec3 :new (51.311188 , - 2568.470947 , 6.004591 )
688- },
689- [" Pier 400 Utility Building" ] = {
690- size = 0 , max = 16 , coords = vec3 :new (272.409424 , - 3015.267090 , 5.707359 )
691- },
692- [" Foreclosed Garage" ] = {
693- size = 0 , max = 16 , coords = vec3 :new (- 424.773499 , 184.146530 , 80.752899 )
694- },
695- [" GEE Warehouse" ] = {
696- size = 1 , max = 42 , coords = vec3 :new (1563.832031 , - 2135.110840 , 77.616447 )
697- },
698- [" Derriere Lingerie Backlot" ] = {
699- size = 1 , max = 42 , coords = vec3 :new (- 1269.286133 , - 813.215820 , 17.107399 )
700- },
701- [" Fridgit Annexe" ] = {
702- size = 1 , max = 42 , coords = vec3 :new (- 528.074585 , - 1782.701904 , 21.483055 )
703- },
704- [" Discount Retail Unit" ] = {
705- size = 1 , max = 42 , coords = vec3 :new (349.901184 , 327.976440 , 104.303856 )
706- },
707- [" Disused Factory Outlet" ] = {
708- size = 1 , max = 42 , coords = vec3 :new (- 328.013458 , - 1354.755371 , 31.296524 )
709- },
710- [" LS Marine Building 3" ] = {
711- size = 1 , max = 42 , coords = vec3 :new (- 308.772247 , - 2698.393799 , 6.000292 )
712- },
713- [" Old Power Station" ] = {
714- size = 1 , max = 42 , coords = vec3 :new (541.587646 , - 1944.362793 , 24.985096 )
715- },
716- [" Railyard Warehouse" ] = {
717- size = 1 , max = 42 , coords = vec3 :new (503.738037 , - 653.082642 , 24.751144 )
718- },
719- [" Wholesale Furniture" ] = {
720- size = 2 , max = 111 , coords = vec3 :new (1041.059814 , - 2172.653076 , 31.488876 )
721- },
722- [" West Vinewood Backlot" ] = {
723- size = 2 , max = 111 , coords = vec3 :new (- 245.651718 , 202.504669 , 83.792648 )
724- },
725- [" Xero Gas Factory" ] = {
726- size = 2 , max = 111 , coords = vec3 :new (- 1045.004395 , - 2023.150146 , 13.161570 )
727- },
728- [" Logistics Depot" ] = {
729- size = 2 , max = 111 , coords = vec3 :new (922.555481 , - 1560.048950 , 30.756647 )
730- },
731- [" Bilgeco Warehouse" ] = {
732- size = 2 , max = 111 , coords = vec3 :new (- 876.108032 , - 2734.502930 , 13.844264 )
733- },
734- [" Walker & Sons Warehouse" ] = {
735- size = 2 , max = 111 , coords = vec3 :new (93.278641 , - 2216.144775 , 6.033320 )
736- },
737- [" Cypress Warehouses" ] = {
738- size = 2 , max = 111 , coords = vec3 :new (1015.361633 , - 2510.986572 , 28.302608 )
739- },
740- [" Darnell Bros Warehouse" ] = {
741- size = 2 , max = 111 , coords = vec3 :new (762.672363 , - 909.193054 , 25.250854 )
742- },
677+ { id = 1 , size = 0 , max = 16 , coords = vec3 :new (51.311188 , - 2568.470947 , 6.004591 ) },
678+ { id = 2 , size = 0 , max = 16 , coords = vec3 :new (- 1081.083740 , - 1261.013184 , 5.648909 ) },
679+ { id = 3 , size = 0 , max = 16 , coords = vec3 :new (898.484314 , - 1031.882446 , 34.966454 ) },
680+ { id = 4 , size = 0 , max = 16 , coords = vec3 :new (249.246918 , - 1955.651978 , 23.161957 ) },
681+ { id = 5 , size = 0 , max = 16 , coords = vec3 :new (- 424.773499 , 184.146530 , 80.752899 ) },
682+ { id = 6 , size = 2 , max = 111 , coords = vec3 :new (- 1045.004395 , - 2023.150146 , 13.161570 ) },
683+ { id = 7 , size = 1 , max = 42 , coords = vec3 :new (- 1269.286133 , - 813.215820 , 17.107399 ) },
684+ { id = 8 , size = 2 , max = 111 , coords = vec3 :new (- 876.108032 , - 2734.502930 , 13.844264 ) },
685+ { id = 9 , size = 0 , max = 16 , coords = vec3 :new (272.409424 , - 3015.267090 , 5.707359 ) },
686+ { id = 10 , size = 1 , max = 42 , coords = vec3 :new (1563.832031 , - 2135.110840 , 77.616447 ) },
687+ { id = 11 , size = 1 , max = 42 , coords = vec3 :new (- 308.772247 , - 2698.393799 , 6.000292 ) },
688+ { id = 12 , size = 1 , max = 42 , coords = vec3 :new (503.738037 , - 653.082642 , 24.751144 ) },
689+ { id = 13 , size = 1 , max = 42 , coords = vec3 :new (- 528.074585 , - 1782.701904 , 21.483055 ) },
690+ { id = 14 , size = 1 , max = 42 , coords = vec3 :new (- 328.013458 , - 1354.755371 , 31.296524 ) },
691+ { id = 15 , size = 1 , max = 42 , coords = vec3 :new (349.901184 , 327.976440 , 104.303856 ) },
692+ { id = 16 , size = 2 , max = 111 , coords = vec3 :new (922.555481 , - 1560.048950 , 30.756647 ) },
693+ { id = 17 , size = 2 , max = 111 , coords = vec3 :new (762.672363 , - 909.193054 , 25.250854 ) },
694+ { id = 18 , size = 2 , max = 111 , coords = vec3 :new (1041.059814 , - 2172.653076 , 31.488876 ) },
695+ { id = 19 , size = 2 , max = 111 , coords = vec3 :new (1015.361633 , - 2510.986572 , 28.302608 ) },
696+ { id = 20 , size = 2 , max = 111 , coords = vec3 :new (- 245.651718 , 202.504669 , 83.792648 ) },
697+ { id = 21 , size = 1 , max = 42 , coords = vec3 :new (541.587646 , - 1944.362793 , 24.985096 ) },
698+ { id = 22 , size = 2 , max = 111 , coords = vec3 :new (93.278641 , - 2216.144775 , 6.033320 ) },
743699}
744700
745701YRV3 .t_BikerBusinessIDs = {
@@ -852,4 +808,14 @@ YRV3.t_BusinessSafeData = {
852808 max_cash = 1e5 ,
853809 blip = 900 ,
854810 },
811+ [" Car Wash" ] = {
812+ isOwned = function ()
813+ return stats .get_int (" MPX_SB_CAR_WASH_OWNED" ) ~= 0
814+ end ,
815+ cashValue = function ()
816+ return stats .get_int (" MPX_CWASH_SAFE_CASH_VALUE" )
817+ end ,
818+ max_cash = 1e5 ,
819+ blip = 931 ,
820+ },
855821}
0 commit comments