Remove obsolete 'include' from quests, update the root file to contain the syntax

master
Nicolas Weeger 2021-11-07 19:38:11 +01:00
parent dd464e599b
commit 110166a1cb
3 changed files with 15 additions and 36 deletions

View File

@ -1,5 +1,3 @@
include darcap/cameron.quests
quest darcap/Spike
title Spike's Aching Back

View File

@ -1,10 +1,3 @@
include houses/malone.quests
include houses/farm.quests
include aristocracy.quests
include citygate.quests
include kar/gork.quests
include misc/rhyz.quests
quest scorn/smith/customarmour
title Custom Armour

View File

@ -1,44 +1,32 @@
# world.quests -- global quest definition file
#
# This file describes the various quests known in the game. It is used by the
# functions in 'server/quest.c'.
#
# This file describes the various quests known in the game, which is used by
# the functions in 'server/quest.c'. For the most part, this file pulls in
# additional quest description files that are region-specific.
# This file describes the syntax for the quests file.
#
# Quest definition files are written much like other files in the game. Each
# quest is defined by several keys, which are read from the file line-by-line.
# Some keys contain fields that may span multiple lines (i.e. 'description').
# The best way to understand the format is to look at an existing example.
#
# Quests are is handled by the functions in 'server/quest.c',
# quest files are handled by classes 'QuestLoader' and 'QuestWriter'.
#
# Key Reference:
# quest - internal name, which must be globally unique
# title - short, one-line descriptive title for the quest
# description - start of a description field for the block it is in
# description - start of a description field for the block (quest or step) it is in
# end_description - end a description field
# comment - start of a developer-oriented comment, not visible to players in-game
# end_comment - end of comment field
# restart - (optional) when set to a non-zero integer, the quest can
# is replayable (can be completed multiple times)
# step - integer value for the beginning of a step block; this
# block must also contain its own description block (see
# examples for details)
# setwhen - in a 'step' block, starts a block of conditions to automatically switch
# to that step, based on other quests. Syntax is 'quest state', where
# 'quest' is the internal name of a quest, and 'state' can be
# - "min step-max step" for a step range
# - "<=max step" for range 0 to "max step"
# - "exact step" for a specific step
# - "finished" to indicate the quest must be finished
# end_setwhen - end of a setwhen block
# end_step - end a step field
# end_quest - end of a quest definition
#
# include - include another quest file, either as a relative path to
# the current directory or an absolute path from the top
# level maps directory
include brest/brest.quests
include darcap/darcap.quests
include darcap/darcap/elemental.quests
include euthville/euthville.quests
include lake_country/lake_country.quests
include navar_city/navar_city.quests
include port_joseph/port_joseph.quests
include quests/quests.quests
include santo_dominion/santo_dominion.quests
include scorn/scorn.quests
include start/start.quests
include test/test.quests
include wolfsburg/wolfsburg.quests