Quest – Fetch Item

Type: Assembly Brain
Level: not in gallery
Pages: various
Description: Found in the Assemblies gallery. In this quest a female villager asks you to retrieve an apple from a tree. When you return with the apple in your inventory she gives you a coin.

Kode

Apple Brain

  1. WHEN [interacted] DO [it][pick up][me]
  2. …WHEN [iwp:Quest Giver][current page][not equal to][2] DO [iwp: Quest Giver][switch page][@Quest Active] // this is just in case you collect the apple before talking to the Quest Giver
  3. …/…WHEN DO [iwp:Exclamation Point][visible][equals][false]
  4. …/…WHEN DO [iwp:Quest Giver][objvar:player character][equals][it]

Quest Giver

page 1 @Interacted – Give Quest

page 1 @Interacted – Give Quest

  1. WHEN [not detect][player]
  2. …WHEN DO [emote][Greet]
  3. …WHEN DO [iwp:Exclamation Point A][visible][equals][true]
  4. WHEN [detect][player]
  5. …WHEN DO [turn][toward][it]
  6. …WHEN DO [iwp:Exclamation Point A][visible][equals][false]
  7. …WHEN DO [say][Hello adventurer…]
  8. …WHEN DO [objvar:player character][equals][it]
  9. …WHEN [interacted] DO [switch page][page: @Quest Active]

page 2 @Quest Active

  1. WHEN [page entered] DO [turn][toward][it]
  2. WHEN [not][objvar:player character][inventory][contains][iwp:Apple]
  3. …WHEN DO [display][screen top right][text:Quest Find an apple…]
  4. …WHEN DO [display][screen top right][Apple A][opacity][0.2]
  5. …WHEN DO [play fx:][fx:Sparkle small][on][iwp:Apple]
  6. …WHEN [detect][objvar:Player character]
  7. …/…WHEN [duration timer][4]
  8. …/…/…WHEN DO [say][text:Look for an apple…]
  9. …/…/…WHEN DO [turn][toward][it]
  10. WHEN [objvar:player character][inventory][contains][iwp:Apple]
  11. …WHEN DO [display][screen top right][text:Quest: Give the…]
  12. …WHEN DO [display][screen top right][Apple A]
  13. …WHEN DO [iwp:Exclamation Mark A][visible][equals][true]
  14. …WHEN [detect][objvar:player character]
  15. …/…WHEN DO [turn][toward][it]
  16. …/…WHEN DO [say][Did you find…]
  17. …/…WHEN [interacted]
  18. …/…/…WHEN DO [iwp: exclamation Mark A][visible][equals][false]
  19. …/…/…WHEN DO [objvar:player character][throw][iwp:Apple][at][me]
  20. …/…/…WHEN DO [switch page][page:@Quest complete]

page 3 @Quest Complete

  1. WHEN [page entered] DO [pick up][iwp:Apple]
  2. WHEN [detect][objvar:player Character] DO [turn][toward][it]
  3. WHEN [duration timer][4]
  4. …WHEN DO [say][text: Thanks…]
  5. …WHEN [started to]countdown timer][2] DO [throw][Coin][at][objvar:player character]

Comments are closed.

Powered by WordPress.com.

Up ↑

%d bloggers like this: