summaryrefslogtreecommitdiff
path: root/src/map/map.h
diff options
context:
space:
mode:
authorAsheraf <acheraf1998@gmail.com>2018-06-25 21:00:42 +0100
committerAsheraf <acheraf1998@gmail.com>2018-07-24 02:24:40 +0100
commit7c43dd908622e083b0fecf7fc8ebab61501186fa (patch)
treef742073f0dcc69ac5ac365ab24adaaac7aebc0df /src/map/map.h
parent620c55e87019a46ffffc6ffb69bea77df088b904 (diff)
downloadhercules-7c43dd908622e083b0fecf7fc8ebab61501186fa.tar.gz
hercules-7c43dd908622e083b0fecf7fc8ebab61501186fa.tar.bz2
hercules-7c43dd908622e083b0fecf7fc8ebab61501186fa.tar.xz
hercules-7c43dd908622e083b0fecf7fc8ebab61501186fa.zip
Questinfo System overhaul
Diffstat (limited to 'src/map/map.h')
-rw-r--r--src/map/map.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/src/map/map.h b/src/map/map.h
index b8956d72c..04525b4d5 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -773,14 +773,31 @@ struct map_drop_list {
int drop_per;
};
+struct questinfo_qreq {
+ int id;
+ int state;
+};
struct questinfo {
struct npc_data *nd;
unsigned short icon;
unsigned char color;
- int quest_id;
bool hasJob;
unsigned short job;/* perhaps a mapid mask would be most flexible? */
+ bool sex_enabled;
+ int sex;
+ struct {
+ int min;
+ int max;
+ } base_level;
+ struct {
+ int min;
+ int max;
+ } job_level;
+ VECTOR_DECL(struct item) items;
+ struct s_homunculus homunculus;
+ int homunculus_type;
+ VECTOR_DECL(struct questinfo_qreq) quest_requirement;
};