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

    3. Adv. #3


Debug

$xml

SimpleXMLElement Object
(
    [name] => The Dark Eden Project
    [author] => Staffan Lindsgård
    [genre] => Adventure / Horror
    [setting] => Mutant Chronicles
    [synopsis] => In the world of Mutant Chronicles, a small group of unlikely heroes find themselves drafted into a war against the forces of darkness and must battle impossible odds in order to survive.
    [adventures] => SimpleXMLElement Object
        (
            [adventure] => Array
                (
                    [0] => SimpleXMLElement Object
                        (
                            [adv_title] => Adonai, my Lord!
                            [adv_link] => a2_adonai_my_lord.xml
                        )

                    [1] => SimpleXMLElement Object
                        (
                            [adv_title] => Nephilim Rising
                            [adv_link] => a6_nephilim_rising.xml
                        )

                    [2] => SimpleXMLElement Object
                        (
                            [adv_title] => A Clash of Titans
                            [adv_link] => a7_a_clash_of_titans.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 Dark Eden Project</name>
	<author>Staffan Lindsgård</author>
	<genre>Adventure / Horror</genre>
	<setting>Mutant Chronicles</setting>
	<synopsis>In the world of Mutant Chronicles, a small group of unlikely heroes find themselves drafted into a war against the forces of darkness and must battle impossible odds in order to survive.</synopsis>
	<adventures>
		<adventure>
			<adv_title>Adonai, my Lord!</adv_title>
			<adv_link>a2_adonai_my_lord.xml</adv_link>
		</adventure>
		<adventure>
			<adv_title>Nephilim Rising</adv_title>
			<adv_link>a6_nephilim_rising.xml</adv_link>
		</adventure>
		<adventure>
			<adv_title>A Clash of Titans</adv_title>
			<adv_link>a7_a_clash_of_titans.xml</adv_link>
		</adventure>
	</adventures>
</campaign>