summaryrefslogtreecommitdiff
path: root/src/map/pc.h
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-28 22:25:58 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-28 22:25:58 +0000
commitf3edaa82a300e9d397337b8f815c7903c239497b (patch)
treeefbdc7106203ac69f5fd6e02ef8c0fb39010c582 /src/map/pc.h
parent4099749d598460b1614d1e94dfd6e951a9649955 (diff)
downloadhercules-f3edaa82a300e9d397337b8f815c7903c239497b.tar.gz
hercules-f3edaa82a300e9d397337b8f815c7903c239497b.tar.bz2
hercules-f3edaa82a300e9d397337b8f815c7903c239497b.tar.xz
hercules-f3edaa82a300e9d397337b8f815c7903c239497b.zip
- Added cash shop support. (i need to add documentation, working on it).
- An charcommand is still required to add/remove points. - Scripts command only requires to work on #CASHPOINTS and #KAFRAPOINTS. - I called it "Kafra Points" just because it's how comes in the translation. I allready know this changes between Oficial servers. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12264 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.h')
-rw-r--r--src/map/pc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/pc.h b/src/map/pc.h
index 2d96b1f31..d754034b1 100644
--- a/src/map/pc.h
+++ b/src/map/pc.h
@@ -177,6 +177,10 @@ int pc_additem(struct map_session_data*,struct item*,int);
int pc_getzeny(struct map_session_data*,int);
int pc_delitem(struct map_session_data*,int,int,int);
+// Special Shop System
+void pc_paycash(struct map_session_data *sd, int prize, int points);
+void pc_getcash(struct map_session_data *sd, int cash, int points);
+
int pc_cart_additem(struct map_session_data *sd,struct item *item_data,int amount);
int pc_cart_delitem(struct map_session_data *sd,int n,int amount,int type);
int pc_putitemtocart(struct map_session_data *sd,int idx,int amount);