Hammerwatch Forum

Custom mapping and Mods => Editor Discussion => Topic started by: Pizza_wizard on October 01, 2017, 02:35:48 PM

Title: Selling items in a custom shop (Trick??)
Post by: Pizza_wizard on October 01, 2017, 02:35:48 PM
Hey all,

So as you might know it is possible to add custom items/corresponding global flags to a shop.
And for those items you can set a cost. (Can be done in the shared.xml, to edit or tweak custom items/shop categories check out the tutorial for that)

Setting the cost to a negative number will grant you that much gold upon buying. (Effectively selling if you set things up right)
Unfortunately the vendor coins also work on that number and bring it closer to zero.

My custom campaign is nearing release and will feature the selling of custom items found around the game world.
I just thought it was a neat little trick that I have not seen done before and wanted to share.

Kind regards,

Pizza wizzard, formerly known as Pyrodioxide
Title: Re: Selling items in a custom shop (Trick??)
Post by: Interstellar50 on August 09, 2021, 08:46:24 AM
ธhis is cool!!! It's the best idea. I'm going to follow along.