Help creating shop

10/22/2026 15:33 geekbar21#1
Im trying to make a shop that would either require an item or other in game currency thats not eps or gold.
soulnecturn stated somewhere to refer to the actions of buying hair/avatar but im finding no lead
10/22/2026 16:57 Kaos2018#2
1655 -> Exchange store or NPC + Actions
Classic -> NPC + Actions

[Only registered and activated users can see links. Click Here To Register...]
10/23/2026 04:56 geekbar21#3
im not following the relation for old engine
the actions in the guide dont even show types/params related to what im looking for
unless im missing something
10/23/2026 16:49 magewarior2#4
oh yes in the 1655 there is an option for that,

cq_exchangegoods

id = id number
ownerid = Shop ID, Use NPC ID for this.
itemtype = Item ID
Price = How many of "needitem" you would like to exchange.
maxcount = Set to -1 for unlimited MAX is 999 DO NOT GO OVER

in cq_action => TYPE = 250 / Data 601 (also add this ID into cq_task)
10/24/2026 01:11 geekbar21#5
i meant for classic version but i figured it out, thank you !
10/24/2026 07:32 magewarior2#6
Quote:
Originally Posted by geekbar21 View Post
i meant for classic version but i figured it out, thank you !
You mean a text based shop via cq_action? Or what do you mean?
10/24/2026 09:03 no_1#7
Quote:
Originally Posted by geekbar21 View Post
Im trying to make a shop that would either require an item or other in game currency thats not eps or gold.
soulnecturn stated somewhere to refer to the actions of buying hair/avatar but im finding no lead
The idea here is you making custom shops.
when you make a normal shop it will take gold without ANY action so what the price is set in cq_exchange_goods.
when you buy from shopping mall you pay the price in pp or ep what is set in cq_exchange_goods.
when you buy a HAIR no gold or ep will be taken but an action is ran.
So you can make a custom action checking X amount of certain item ( custom currency) and if they have this amount they can buy this item and award via actions.

The other option is just to create a npc menu for buying certain items but thats only text based and not a visual shop.
10/24/2026 10:38 iman31#8
Quote:
Originally Posted by geekbar21 View Post
i meant for classic version but i figured it out, thank you !
You can just chain it with cq_action. However, you may occasionally encounter a bug where the purchased item does not appear in the player's inventory after the purchase. I would suggest saving every purchase in the GM log so that, if this issue occurs, you can at least confirm that the player actually bought the item.
10/24/2026 15:46 geekbar21#9
i figured it out:
i created a "dummy" item with starting id 73xxx
this ID has the action of checking currency and giving the purchased item.
using shop type 8 because it doesnt give gods blessing discount, and the description says "buy at:" instead of "Gold:"