The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Architect buy/sell house issues 56d
Author Message
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: Architect buy/sell house issues 56d
You have also to change the prices inmultihouses.scp (scripts/items/multi).

So you can set the deed value to 1 and put the price you want in the multi definition.

Also remember that vendors have "markup" cost (default 15%), so if the value of an house is 1000 he will sell it at 1150.

Example:
Code:
[ITEMDEF i_deed_field_stone_house]
ID=i_deed
value = 1
NAME=Deed to a Small Stone House
CATEGORY=Provisions - Deeds
SUBSECTION=House Deeds
DESCRIPTION=Small Stone House
ON=@Create
   MORE=m_field_stone_house

Code:
[MULTIDEF 066]
DEFNAME=m_field_stone_house
NAME=Field stone house
NAMELOC=1011304    //Field stone house
TYPE=t_multi
VALUE=1000
REGIONFLAGS=region_flag_nobuilding|region_antimagic_teleport
TSPEECH=spk_house_cmds
DUPELIST=067
CATEGORY=Multis
SUBSECTION=Houses
DESCRIPTION=Field Stone House
MULTIREGION=-3,-3,3,4
COMPONENT=i_door_wood,0,3,7
COMPONENT=i_sign_brass_2,2,4,5

So the Field Stone House will be sold at 1000 + 15% vendor markup = 1150.

Apply TAG.VENDORMARKUP=0 to the vendor for removing the markup cost, you can also increase or decrease it by using this tag.
(This post was last modified: 09-04-2017 04:05 AM by darksun84.)
09-04-2017 04:05 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Architect buy/sell house issues 56d - darksun84 - 09-04-2017 04:05 AM

Forum Jump:


User(s) browsing this thread: 3 Guest(s)