3#ifndef TRAM_SDK_EXTENSIONS_KITCHENSINK_QUEST_H
4#define TRAM_SDK_EXTENSIONS_KITCHENSINK_QUEST_H
140 static std::vector<Quest*>
FindAll(
bool unknown_also);
Generic, type-safe union.
Definition: value.h:18
Extension containing random stuff that doesn't fit in anywhere else.
Definition: ai.cpp:15
quest_t
Definition: quest.h:12
@ QUEST_VAR_CONDITION_OR
Definition: quest.h:27
@ QUEST_VAR_VALUE_GREATER_OR_EQUAL
Definition: quest.h:21
@ QUEST_TGR_INCREMENT
Definition: quest.h:37
@ QUEST_VAR_CONDITION_AND
Definition: quest.h:26
@ QUEST_VAR_INVALID
Definition: quest.h:13
@ QUEST_VAR_CONDITION_NOT
Definition: quest.h:24
@ QUEST_TGR_SET_OBJECTIVE
Definition: quest.h:36
@ QUEST_VAR_CONDITION_SCRIPT
Definition: quest.h:29
@ QUEST_VAR_VALUE_IS
Definition: quest.h:18
@ QUEST_VAR_VALUE
Definition: quest.h:15
@ QUEST_VAR_OBJECTIVE
Definition: quest.h:16
@ QUEST_TGR_SET_VARIABLE
Definition: quest.h:35
@ QUEST_VAR_ENTITY_ITEM_COUNT
Definition: quest.h:32
@ QUEST_VAR_VALUE_LESS_OR_EQUAL
Definition: quest.h:23
@ QUEST_VAR_VALUE_GREATER
Definition: quest.h:20
@ QUEST_VAR_VALUE_IS_NOT
Definition: quest.h:19
@ QUEST_VAR_VALUE_LESS
Definition: quest.h:22
@ QUEST_TGR_SHOW_MESSAGE
Definition: quest.h:38
Value GetVariable(name_t)
Definition: quest.cpp:286
static void Init()
Definition: quest.cpp:397
name_t name
Definition: quest.h:124
static Quest * Find(name_t quest)
Definition: quest.cpp:385
Quest(name_t name)
Definition: quest.h:122
void SetVariable(name_t, Value)
Definition: quest.cpp:296
static void LoadFromDisk(const char *filename)
Definition: quest.cpp:427
void FireTrigger(name_t)
Definition: quest.cpp:318
std::vector< QuestVariable > variables
Definition: quest.h:126
static std::vector< Quest * > FindAll(bool unknown_also)
Definition: quest.cpp:353
std::vector< QuestTrigger > triggers
Definition: quest.h:127
name_t name
Definition: quest.h:108
name_t variable
Definition: quest.h:113
quest_t type
Definition: quest.h:109
name_t condition
Definition: quest.h:111
value_t value
Definition: quest.h:114
void SetIncrement(name_t variable)
Definition: quest.cpp:279
void SetObjective(name_t name, name_t state)
Definition: quest.cpp:273
void SetValue(name_t variable, Value)
Definition: quest.cpp:267
name_t item
Definition: quest.h:73
~QuestVariable()
Definition: quest.h:98
static QuestVariable Value(name_t, value_t)
Definition: quest.cpp:35
struct tram::Ext::Kitchensink::QuestVariable::@21::@26 comparison
name_t quest1
Definition: quest.h:61
static QuestVariable ItemCount(name_t, name_t, name_t)
Definition: quest.cpp:196
static QuestVariable Script(name_t, name_t)
Definition: quest.cpp:172
static QuestVariable Is(name_t, name_t, name_t, name_t, value_t)
Definition: quest.cpp:46
value_t variable2
Definition: quest.h:67
QuestVariable & operator=(const QuestVariable &)
Definition: quest.cpp:30
QuestVariable()
Definition: quest.h:97
static QuestVariable Or(name_t, name_t, name_t, name_t, value_t)
Definition: quest.cpp:158
int count
Definition: quest.h:74
struct tram::Ext::Kitchensink::QuestVariable::@21::@25 script
static QuestVariable Less(name_t, name_t, name_t, name_t, value_t)
Definition: quest.cpp:102
name_t entity
Definition: quest.h:72
struct tram::Ext::Kitchensink::QuestVariable::@21::@24 objective
static QuestVariable Greater(name_t, name_t, name_t, name_t, value_t)
Definition: quest.cpp:74
quest_t type
Definition: quest.h:43
static QuestVariable Not(name_t, name_t, name_t)
Definition: quest.cpp:130
name_t subtitle
Definition: quest.h:53
name_t value
Definition: quest.h:51
static QuestVariable LessOrEqual(name_t, name_t, name_t, name_t, value_t)
Definition: quest.cpp:116
Value value
Definition: quest.h:47
static QuestVariable IsNot(name_t, name_t, name_t, name_t, value_t)
Definition: quest.cpp:60
static QuestVariable GreaterOrEqual(name_t, name_t, name_t, name_t, value_t)
Definition: quest.cpp:88
name_t name
Definition: quest.h:42
static QuestVariable Objective(name_t, name_t, name_t, name_t)
Definition: quest.cpp:183
value_t Evaluate()
Definition: quest.cpp:220
name_t variable1
Definition: quest.h:62
name_t title
Definition: quest.h:52
static QuestVariable And(name_t, name_t, name_t, name_t, value_t)
Definition: quest.cpp:144
name_t quest2
Definition: quest.h:66
Interned string type.
Definition: uid.h:10