Campaigns

A campaign can be described as a number of separate adventures that are stringed together to form a cohesive whole. If an adventure can be compared to a movie, a campaign can be compared to a TV-series.

Edit the campaign.

    1. Adv. #1

    2. Adv. #2


Debug

$xml

SimpleXMLElement Object
(
    [name] => The Gold of a Dragon
    [author] => Staffan Lindsgård
    [genre] => Adventure
    [setting] => Fantasy
    [synopsis] => Thanks to a rather large debt the PC:s find themselves hunting a vast treasure protected by a rather large and nasty dragon. Still, there just may be a way of getting what they want, as long as that drunk wizard gets his memory back.
    [adventures] => SimpleXMLElement Object
        (
            [adventure] => Array
                (
                    [0] => SimpleXMLElement Object
                        (
                            [adv_title] => Finding Nemodius
                            [adv_link] => adv_finding_nemodius.xml
                        )

                    [1] => SimpleXMLElement Object
                        (
                            [adv_title] => The Wizard of Ozra
                            [adv_link] => adv_the_wizard_of_ozra.xml
                        )

                )

        )

)

$issent

0

$delete_adventure

no

$xml (as XML)

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="../rp-campaign.xsl"?>
<campaign xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../rp-campaign.xsd">
	<name>The Gold of a Dragon</name>
	<author>Staffan Lindsgård</author>
	<genre>Adventure</genre>
	<setting>Fantasy</setting>
	<synopsis>Thanks to a rather large debt the PC:s find themselves hunting a vast treasure protected by a rather large and nasty dragon. Still, there just may be a way of getting what they want, as long as that drunk wizard gets his memory back.</synopsis>
	<adventures>
		<adventure>
			<adv_title>Finding Nemodius</adv_title>
			<adv_link>adv_finding_nemodius.xml</adv_link>
		</adventure>
		<adventure>
			<adv_title>The Wizard of Ozra</adv_title>
			<adv_link>adv_the_wizard_of_ozra.xml</adv_link>
		</adventure>
	</adventures>
</campaign>