Blacksmith Brain

Type: Character Brain / Assembly
Level: not in gallery
Pages: 3
Description: This is the brain of the Blacksmith from the Blacksmiths Forge.He stands at the forge, has two randomised pieces of speech, and will attack any enemies in the vicinity before returning to the forge.

Kode

page 1 @Patrol

  1. WHEN [oncce] DO [team][equals][team 1]
  2. …WHEN DO [equip][Blacksmiths Hammer]
  3. WHEN [objects closer than][4][enemies]
  4. …WHEN DO [objvar:my enemy][equals][it]
  5. …WHEN [not][objvar:my enemy][is dead]
  6. …/…WHEN [distance to][objvar:my enemy][less than][2] DO [attack][objvar:my enemy][end combo]
  7. …WHEN [else] DO [move][on path][IWP: Path][at speed][0.2]
  8. WHEN [interacted]
  9. …WHEN DO [turn][toward][it]
  10. …WHEN [numvar:interacted][equal to][0] DO [switch page][page: @Talk 01]
  11. …WHEN [numvar:interacted][equal to][1] DO [switch page][page: @Talk 02]

page 2 @Talk 01

  1. WHEN [page entered]
  2. …WHEN DO [numvar:interacted][equals][1]
  3. …WHEN DO [emote][disagree]
  4. WHEN DO [turn][toward][player]
  5. WHEN [duration timer][4.5] DO [say][text:Im far too busy…]
  6. WHEN [countdown timer][6] DO [switch page][page: @Patrol]

page 3 @Talk 02

  1. WHEN [page entered]
  2. …WHEN DO [numvar:interacted][equals][0]
  3. …WHEN DO [emote][talk]
  4. WHEN DO [turn][toward][player]
  5. WHEN [duration timer][4.5] DO [say][text:Either look around…]
  6. WHEN [countdown timer][6] DO [switch page][page: @Patrol]

Alterations

I think there is a mistake in the logic here. I believe that the Blacksmith is suppose to say “look around” first, and then dont bother me from then on. It makes no sense to say “dont bother me” for the first interaction as the player is unlikely to try again, so the instructions are missing. Change the brains like this

page 1

Add

WHEN [once] DO [numvar:interaction][equals][1]

page 2 remove line 2

 

 

Comments are closed.

Powered by WordPress.com.

Up ↑

%d bloggers like this: