Author Topic: Quest Writing  (Read 30009 times)

Zakilevo

  • Guest
Re: Quest Writing
« Reply #45: June 24, 2015, 10:08:07 AM »
Code: [Select]
# 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

  • BM Dev Team
  • Exalted Emperor
  • *
  • Posts: 8228
    • View Profile
    • BattleMaster
Re: Quest Writing
« Reply #46: June 24, 2015, 08:34:52 PM »
I think I need to write a quest-checker. That would be really cool to have.

Tom

  • BM Dev Team
  • Exalted Emperor
  • *
  • Posts: 8228
    • View Profile
    • BattleMaster
Re: Quest Writing
« Reply #47: June 25, 2015, 07:48:34 AM »
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

  • Guest
Re: Quest Writing
« Reply #48: June 25, 2015, 08:23:43 AM »
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

  • Knight
  • **
  • Posts: 45
    • View Profile
Re: Quest Writing
« Reply #49: June 25, 2015, 08:54:13 AM »
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

  • Guest
Re: Quest Writing
« Reply #50: June 25, 2015, 09:21:43 AM »
For me this:

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

Tom

  • BM Dev Team
  • Exalted Emperor
  • *
  • Posts: 8228
    • View Profile
    • BattleMaster
Re: Quest Writing
« Reply #51: June 25, 2015, 10:09:08 AM »
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

  • BM Dev Team
  • Exalted Emperor
  • *
  • Posts: 8228
    • View Profile
    • BattleMaster
Re: Quest Writing
« Reply #52: July 17, 2015, 09:43:32 AM »
Necromancers Song and King of the Eastern Forest have been added as quests.

I will update the documentation for quests shortly.

Tom

  • BM Dev Team
  • Exalted Emperor
  • *
  • Posts: 8228
    • View Profile
    • BattleMaster
Re: Quest Writing
« Reply #53: July 17, 2015, 11:26:25 AM »
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