Suggested NPC exercises

  1. Using the DIL function for team work found in the Section called DIL functions for NPCs create a guard that will help all other guards.

  2. Using the DIL function for rescue found in the Section called DIL functions for NPCs add to your guard from exercise one and make it so will now rescue as well as help.

  3. Using the shop keeper function from the Section called DIL functions for NPCs; make a shop keeper that sells two types of food. The shop keeper should make 5 of them a day and it should only buy items of the food type. For all other arguments be creative.

  4. Using the shop keeper you created from exercise three, turn your shop keeper into a global wondering sales person.

  5. Using the DIL function for aggressive found in the Section called DIL functions for NPCs create a Dwarf aggressive to any Orc that walks into the room.