|
@@ -194,10 +194,10 @@ if $ARGS[0] = 'sell':
|
|
|
|
|
|
offer = property_sales_price + property_renovation_value + (property_sales_price*rand(-10,10))/100 + (property_renovation_value*rand(0,10))/100
|
|
|
'We have found a buyer for your <<$property_display[i]>>. They will offer <<func(''agentned'', ''format_price_string'', offer)>><b>₽</b>, minus 5% for fees and taxes to the value of <<func(''agentned'', ''format_price_string'', ( (offer*5)/100) )>>, bringing the total to <<func(''agentned'', ''format_price_string'', ( (offer*95)/100 ) )>>'
|
|
|
- if $property_code[i] = 'city_apartment': act 'Sell the <<$property_display[i]>>': gs 'agentned', 'finalise_sale', 'city_apartment'
|
|
|
- if $property_code[i] = 'village_cottage': act 'Sell the <<$property_display[i]>>': gs 'agentned', 'finalise_sale', 'village_cottage'
|
|
|
- if $property_code[i] = 'matryona_mansion': act 'Sell the <<$property_display[i]>>': gs 'agentned', 'finalise_sale', 'matryona_mansion'
|
|
|
- if $property_code[i] = 'city_house': act 'Sell the <<$property_display[i]>>': gs 'agentned', 'finalise_sale', 'city_house'
|
|
|
+ if $property_code[i] = 'city_apartment': act 'Sell the <<$property_display[i]>>': gs 'agentned', 'finalise_sale', 'city_apartment', i
|
|
|
+ if $property_code[i] = 'village_cottage': act 'Sell the <<$property_display[i]>>': gs 'agentned', 'finalise_sale', 'village_cottage', i
|
|
|
+ if $property_code[i] = 'matryona_mansion': act 'Sell the <<$property_display[i]>>': gs 'agentned', 'finalise_sale', 'matryona_mansion', i
|
|
|
+ if $property_code[i] = 'city_house': act 'Sell the <<$property_display[i]>>': gs 'agentned', 'finalise_sale', 'city_house', i
|
|
|
end
|
|
|
i += 1
|
|
|
if i < count: jump 'listing_offers_on_owned_properties_loop'
|
|
@@ -237,10 +237,10 @@ if $ARGS[0] = 'finalise_sale':
|
|
|
'<center><b><font color = maroon>Real Estate Agency</font></b></center>'
|
|
|
'<center><img <<$set_imgh>> src="images/locations/city/citycenter/realestate/agenstvo_paperwork.jpg"></center>'
|
|
|
minut += 30
|
|
|
- 'You spend thirty minutes filling out the paperwork for the sale of your <<$property_display>>. <<func(''agentned'', ''format_price_string'', ( (offer*95)/100) )>><b>₽</b> has been paid into your bank account.'
|
|
|
+ 'You spend thirty minutes filling out the paperwork for the sale of your <<$property_display[ARGS[2]]>>. <<func(''agentned'', ''format_price_string'', ( (offer*95)/100) )>><b>₽</b> has been paid into your bank account.'
|
|
|
gs 'homes_properties', 'sell_property', $ARGS[1], offer
|
|
|
karta += (offer*95)/100
|
|
|
- delact 'Sell the <<$property_display>>'
|
|
|
+ delact 'Sell the <<$property_display[ARGS[2]]>>'
|
|
|
gs 'stat'
|
|
|
killvar 'property_display' & killvar 'property_sales_price'
|
|
|
end
|