• 🏆 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!

Merchanting

Status
Not open for further replies.
Level 4
Joined
May 10, 2009
Messages
64
Hey I'm wondering if it is possible for my ORPG to make items randomly go up and down in price or whether I could make different shops in richer town buy for more. Anybody know whether this is possible?
 
Level 9
Joined
Aug 21, 2008
Messages
533
If you dont use the standart system of selling you could do it

First you have to make the items free of costs
when a unit buy a item you chek with a trigger if the player have enough gold- if yes then you subtrahate the gold - if no you just remove the item from inventory and destroy it.

This would kinda hard work cause you have to safe every iem in a library with something like a base price (you dont want that the +1 damage sword costs more than the +100 damage sword right?) and change the values every some seconds/enemys killed/player deads/whatever.

:thumbs_up:
 
Status
Not open for further replies.
Top