• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Making an item unavailable for purchase from a shop

Status
Not open for further replies.
I want to make a Goblin Merchant able to sell a certain item only once, after selling it will be unavailable for the rest of the game, without affecting any other item in stock. There's a "Neutral Building - Make Item Unavailable From Shop" trigger, however it only works on a shop that has the "Sell Items" ability, but the Goblin Merchant has no such ability by default (it has Shop Purchasing Item, Select Hero, Invulnerable).
 
I found the solution.
Turns out I have to give the "Sell Items" ability to the Goblin Merchant and then, via triggers add the item to shop and remove it after someone buys it. It looks like "Sell Items" is some sort of dummy ability that's required on a neutral shop for neutral shop-related triggers to work.
Items in the field "Techtree - Items Sold" cannot be removed by any means.
Warcraft 3 is weird.
 
Status
Not open for further replies.
Top