YAML Command Test


Author: PrimerBlock
Created: 2013-05-30T23:19:15-0400
Edited: 2013-05-30T23:19:15-0400
Denizen Version: 0.8.8
Views: 23
Downloads: 907
Likes: 0


WGET
Description: # This script is a working test of the denizen yaml command.
# Basically created to learn the yaml command myself.
# Once assigned to a NPC the NPC will allow a player to
# populate a yaml config file npcyamltest.yml. Once the file
# is populated with data. The script will be able to loop
# through printing both the name and the price keyed off of
# the storeinv number.
# Thanks to dimensionZ for the loop task and aufdemrand for
# the HallMonitor script which I borrowed much from.

Still some bugs in this script but it mostly works. Hoping it will serve as a starting point for others to use the yaml command. The file created npcyamltest.yml will be saved by default in the ./denizens/ directory and not the ./denizens/scripts/ directory. DON'T MOVE IT! It belongs there.