summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-06-03 22:51:08 +0200
committerGitHub <noreply@github.com>2018-06-03 22:51:08 +0200
commitb5ee7e4863f60a43d6c44c93104d4df4146fdd84 (patch)
treec9eb881ba40f8c9b4acb45945a5dcbbed82b79ca /src/map/script.c
parent1670e2b6e5eca660d73aafb8cbb4830bd453e79e (diff)
parentec527a6a2d2d915fb23ebb9b62c684eb7ad9b0b4 (diff)
downloadhercules-b5ee7e4863f60a43d6c44c93104d4df4146fdd84.tar.gz
hercules-b5ee7e4863f60a43d6c44c93104d4df4146fdd84.tar.bz2
hercules-b5ee7e4863f60a43d6c44c93104d4df4146fdd84.tar.xz
hercules-b5ee7e4863f60a43d6c44c93104d4df4146fdd84.zip
Merge pull request #2004 from Asheraf/stylist
Implementation of stylist ui
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/map/script.c b/src/map/script.c
index e127c4f4f..d9350081a 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -24161,6 +24161,17 @@ BUILDIN(hateffect)
return true;
}
+BUILDIN(openstylist)
+{
+ struct map_session_data *sd = script_rid2sd(st);
+
+ if (sd == NULL)
+ return false;
+
+ clif->open_ui(sd, STYLIST_UI);
+ return true;
+}
+
/**
* Adds a built-in script function.
*
@@ -24877,6 +24888,7 @@ void script_parse_builtin(void) {
BUILDIN_DEF(rodex_sendmail2, "isss?????????????????????????????????????????"),
BUILDIN_DEF2(rodex_sendmail2, "rodex_sendmail_acc2", "isss?????????????????????????????????????????"),
BUILDIN_DEF(airship_respond, "i"),
+ BUILDIN_DEF(openstylist,""),
BUILDIN_DEF(_,"s"),
BUILDIN_DEF2(_, "_$", "s"),