Is there a command to change the existing price of an item in my Mall shop?

Is there a single command that will update the price of an item already in my shop?

I could accomplish this with:
Code:
int shopAmount = shop_amount(item);
int newPrice = 12345;
take_shop(item);
put_shop(newPrice, 0, shopAmount, item);

... but that seems unnecessarily complicated, and unnecessarily hard on the servers, since vanilla KoL provides a price-update function. Am I missing something?
 
Not according to the wiki. "Note that you cannot specify a quantity of 0 to change prices, but the function will still return true."

Edit: or actual testing.

> ash shop_price($item[tasty tart])

Returned: 4688

> ash put_shop(5000, 0, 0, $item[tasty tart])

Returned: true

> ash shop_price($item[tasty tart])

Returned: 4688
 
Last edited:

Bale

Minion
I'd rather you posted your own feature request from scratch. There just isn't any discussion here of great value other than to verify that the feature does not yet exist. And the first post in this thread doesn't look anything like a feature request which would make it really awkward to move.

Decide if think it would be best to have a new command, or for this functionality to be added to the existing command if you enter 0 for quantity.

Then post the feature you are requesting. From scratch.
 
Top