Manual:Zone Manual/The NPC Section/Suggested NPC exercises

From DikuMUD Wiki
Jump to navigation Jump to search

Suggested NPC exercises

1. Using the DIL function for team work found in (Link to npcdilfunc) create a guard that will help all other guards.

2. Using the DIL function for rescue found in (Link to npcdilfunc) 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 (Link to npcdilfunc); 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 agressive found in (Link to npcdilfunc) create a Dwarf agressive to any Orc that walks into the room.

Previous: Dragon station with rooms and NPCs
Next: The Objects Section