|This talk page is for discussing Blacksmith.|
v1.3 Price Increase
The year 2 price increases for the Blacksmith are set in Utility::getBlacksmithStock(). Each item in Clint's shop is created with a version of the Object constructor that sets the sell price.
In contrast, the price increases at the Carpenter's Shop are set NOT in Utility::getCarpenterStock(), but in Object::salePrice(). (getCarpenterStock() calls a version of the Object constructor that doesn't set the sell price).
To further confuse things, Object::salePrice appears to set the sell price of both Clint's and Robin's stock, and includes new code to increase prices in both shops in year 2. Testing in-game shows the Blacksmith code in salePrice() is either not executed, or is overridden. margotbean (talk) 19:07, 27 May 2018 (BST)