From f3edaa82a300e9d397337b8f815c7903c239497b Mon Sep 17 00:00:00 2001 From: zephyrus Date: Thu, 28 Feb 2008 22:25:58 +0000 Subject: - 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 --- src/map/npc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/map/npc.h') diff --git a/src/map/npc.h b/src/map/npc.h index 087d34d40..25487e7ff 100644 --- a/src/map/npc.h +++ b/src/map/npc.h @@ -89,6 +89,8 @@ int npc_reload(void); void npc_read_event_script(void); int npc_script_event(struct map_session_data* sd, enum npce_event type); +int npc_cashshop_buy(struct map_session_data *sd, int nameid, int amount, int points); + extern struct npc_data* fake_nd; #endif /* _NPC_H_ */ -- cgit v1.2.3-60-g2f50