Това ще изтрие страница "Homes and Properties - Property and Location Mappings"
. Моля, бъдете сигурни.
This is used to map different variable values to the correct property code. For every property, the different accepted incoming values are in a specific order below - it doesn't matter for the code, but makes it easier to find things manually.
Most homes_properties
function and call uses this mapping to allow for the use of the different locations or simply the value of the $loc
variable.
WHenever a location that belongs to a property changes - for example, with release 8.8.0 the shulga_*
locations were replaced by the single vasilyhome
location - the mapping needs to be updated here.
Similarly, if a new property is introduced, the mapping has to be added to this list in the homes_properties_attr.qsrc
file, otherwise the code won't recognise the locations and the home.
'city_apartment' = 'city_apartment'
'1' = 'city_apartment'
'korr' = 'city_apartment'
'bedr' = 'city_apartment'
'sitr' = 'city_apartment'
'kuhr' = 'city_apartment'
'vanr' = 'city_apartment'
'parents_home' = 'parents_home'
'2' = 'parents_home'
'code' = 'parents_home'
'korrPar' = 'parents_home'
'bedrPar' = 'parents_home'
'sitrPar' = 'parents_home'
'kuhrPar' = 'parents_home'
'vanrPar' = 'parents_home'
'village_cottage' = 'village_cottage'
'3' = 'village_cottage'
'dachamy' = 'village_cottage'
'dachain' = 'village_cottage'
'dachaogr' = 'village_cottage'
'dachaogr0' = 'village_cottage'
'old_town_apartment' = 'old_town_apartment'
'4' = 'old_town_apartment'
'korr2x' = 'old_town_apartment'
'bedr2x' = 'old_town_apartment'
'sitr2x' = 'old_town_apartment'
'kuhr2x' = 'old_town_apartment'
'vanr2x' = 'old_town_apartment'
'matryona_mansion' = 'matryona_mansion'
'5' = 'matryona_mansion'
'city_mansion_entrance' = 'matryona_mansion'
'city_mansion_residence_1' = 'matryona_mansion'
'city_mansion_residence_2' = 'matryona_mansion'
'city_mansion_residence_3' = 'matryona_mansion'
'pavlovsk_hotel' = 'pavlovsk_hotel'
'6' = 'pavlovsk_hotel'
'pav_hotel' = 'pavlovsk_hotel'
'HotelRoom' = 'pavlovsk_hotel'
'maid_bedroom' = 'maid_bedroom'
'7' = 'maid_bedroom'
'nichBedroomServant' = 'maid_bedroom'
'niko_apartment' = 'niko_apartment'
'8' = 'niko_apartment'
This home actually doesn''t exist yet, but it was defined, has an ID and all so, I am keeping it here
'shulga_apartment' = 'vasilyhome'
'9' = 'vasilyhome'
'vasilyhome' = 'vasilyhome'
'lyceum_dorm' = 'lyceum_dorm'
'10' = 'lyceum_dorm'
'dom_gor' = 'lyceum_dorm'
'university_dorm' = 'university_dorm'
'11' = 'university_dorm'
'uni_grounds' = 'university_dorm'
'uni_dorm' = 'university_dorm'
'hunters_lodge' = 'hunters_lodge'
'12' = 'hunters_lodge'
'swamphouse' = 'hunters_lodge'
'swamp_yard' = 'hunters_lodge'
'shared_apartment' = 'shared_apartment'
'13' = 'shared_apartment'
'pav_shared_apt' = 'shared_apartment'
'grandparents_house' = 'grandparents_house'
'14' = 'grandparents_house'
'gaddvor' = 'grandparents_house'
'gadgarden' = 'grandparents_house'
'gadbana' = 'grandparents_house'
'gadgarden' = 'grandparents_house'
'gadhouse' = 'grandparents_house'
'city_house' = 'city_house'
'15' = 'city_house'
'city_house_res_misc' = 'city_house'
'city_house_res_bath' = 'city_house'
'city_house_re_bedr' = 'city_house'
'city_house-res_kitch' = 'city_house'
'meynold_household' = 'meynold_household'
'16' = 'meynold_household'
'mey_home' = 'meynold_household'
Това ще изтрие страница "Homes and Properties - Property and Location Mappings"
. Моля, бъдете сигурни.