summaryrefslogtreecommitdiff
path: root/src/map/npc.h
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-03-09 18:28:27 -0300
committerJesusaves <cpntb1@ymail.com>2021-03-09 18:28:27 -0300
commit6902fd25a47e613295382bc6ef86bb5a04848819 (patch)
tree7480b13958e71ce2bc544950ebd1c9d71e6907ef /src/map/npc.h
parent321c67c633a664f133b60bad079782ba4eae170c (diff)
downloadhercules-6902fd25a47e613295382bc6ef86bb5a04848819.tar.gz
hercules-6902fd25a47e613295382bc6ef86bb5a04848819.tar.bz2
hercules-6902fd25a47e613295382bc6ef86bb5a04848819.tar.xz
hercules-6902fd25a47e613295382bc6ef86bb5a04848819.zip
[TMW2] Report back to script NST_CUSTOM purchases.
This allows to impose restrictions on amounts, for example.
Diffstat (limited to 'src/map/npc.h')
-rw-r--r--src/map/npc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/npc.h b/src/map/npc.h
index 5ff63532d..4e70c1f72 100644
--- a/src/map/npc.h
+++ b/src/map/npc.h
@@ -310,7 +310,7 @@ struct npc_interface {
void (*debug_warps) (void);
/* */
void (*trader_count_funds) (struct npc_data *nd, struct map_session_data *sd);
- bool (*trader_pay) (struct npc_data *nd, struct map_session_data *sd, int price, int points);
+ bool (*trader_pay) (struct npc_data *nd, struct map_session_data *sd, int price, int points, struct itemlist *item_list);
void (*trader_update) (int master);
enum market_buy_result (*market_buylist) (struct map_session_data *sd, struct itemlist *item_list);
int (*barter_buylist) (struct map_session_data *sd, struct barteritemlist *item_list);