Saturday, October 27, 2012

Guide - Brands (creation and event)

Brands can be added at any time through xml.  First off the directory for the xml is

libs\otherlib\xml\brand\

You can add need brand files to

libs\otherlib\xml\brand\book.xml


The properties for the xml are pretty straight forward.

name = "Amore"  - the name displayed at the counter
event = "amorebrand"  - the event called when the event fires
cost = "2" - the cost to use this brand
morning - night - is this brand effect usable in these times
description - what it does

That's it everything else is handled by the event system and it happens as a normal event except for one tag.

brand = "true"

To allow for brands to be skipped like, tattoo, furniture, and effects.

Daisy

No comments:

Post a Comment