Main Menu

News:

Please be aware of the Forum Rules of Conduct.

Quest Writing

Started by Tom, June 09, 2015, 05:54:47 PM

Previous topic - Next topic

Zakilevo


# Quest: Punch the Cultist
# written by Lapallanch

min_level: 4
max_level: 7
challenges:
investigation:
  level: [0,2]
  progress: 2
  test: [Wisdom, 18]
  success:
   damage: 0
   xp: 100
   gold: 0
  failure: ~
predicament:
  level: [2,4]
  progress: 2
  test: [Strength, 18]
  success:
   group_damage: 2
   xp: 200
   gold: 40
  failure:
   group_damage: 4
   attribute_damage: [Strength, 1]
trap:
  level: [4,6]
  progress: 2
  test: [Dexterity, 17]
  success:
   damage: 0
   xp: 250
   gold: 0
  failure:
   group_damage: 5
   attribute_damage: [Toughness, 1]
panther::
  level: [4,6]
  progress: 2
  test: [Dexterity, 20]
  success:
   damage: 0
   xp: 300
   gold: 0
  failure:
   damage: 20
cult:
  level: [6,8]
  progress: 2
  test: [Damage, 20]
  success:
   damage: 12
   xp: 300
   gold: 100
  failure:
   group_damage: 5
   attribute_damage: [Toughness, 1]
vile_cultist:
  level: [8,10]
  endboss: true
  test: [Toughness, 22]
  success:
   xp: 400
   gold: 250
  failure:
   group_damage: 6
   attribute_damage: [Strength, 2]

Tom

I think I need to write a quest-checker. That would be really cool to have.

Tom

You can now check basic syntax and consistency here:

http://shopkeeper.lemuria.org/game/questmaker


It is not yet complete, but it already checks a lot of things.

Zakilevo

Okay. Despite Panther section having a failure parameter, it doesn't recognize it.

Same goes for the text one. It doens't recognize panther challenge at all.

Crayne

My two quest files (as per the latest version on page 3 of this thread) give the following results (which I'm pretty sure aren't correct ;)):

Quote
There were errors parsing your quest:

Error parsing texts: Unable to parse at line 4 (near "The party meet a shaken Father Simeon at the local tavern, fearful as he is of staying too close to the cemetery next to his small chapel on the outskirts of town. He tells them of strange barely ").
texts for challenge gates are missing
texts for challenge forest are missing
texts for challenge clearing are missing
texts for challenge necromancer are missing
Challenge trophy: unsupported parameter trophy

Zakilevo

For me this:

QuoteChallenge investigation is missing the mandatory failure parameter.
texts for challenge panther: are missing

Tom

There's one bug where it doesn't recognize failure: ~ as correct, yet.

I'll put the others into it myself and check. I'm not 100% happy with this beast at the time, I would like to merge the importer with it or something, to get a cleaner structure and a lot better feedback, but that's a bigger task. This one was reasonably fast.

Tom

Necromancers Song and King of the Eastern Forest have been added as quests.

I will update the documentation for quests shortly.

Tom

I'm also working on a new quest builder interface:




In fact, you can preview it yourself (does not yet work completely):

http://shopkeeper.lemuria.org/game/questbuilder