• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece!🔗 Click here to enter!

Items/Shops pricing

Status
Not open for further replies.
Level 1
Joined
Nov 26, 2011
Messages
2
I'm working on a map for War 3 with a new economy system.
I wondered:
Can I make a shop sell (potion) for (100 gold)
and make a second shop sell (potion) for (300 gold)
Th exact same item for a different price?
And the other way around, Like I buy (potion) for (100 gold)
and sell it to a different shop for (300 gold)?
Please tell me wether or not there's a simple
way to do this that is escaping me.
EDIT:
Then is there a way to make a shop not buy a specific item?
like sell one but not buy it back, but buy other things?
 
Last edited:
Level 20
Joined
Jul 14, 2011
Messages
3,213
You create two versions of the same item, and make Shop 1 sell the first one, and Shop 2 sell the second one with a higher price. There's no way to modify item price with triggers, unless you manage the item prices with triggers.

To do the sell thing, you'll have to trigger the buy/sell thing.

It's easy. You can check if the item has been pawned at a shop, and add the respective gold depending on the item sold and the shop.
 
Status
Not open for further replies.
Top