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.
Debug
$xml
SimpleXMLElement Object
(
[name] => Angels Descent
[author] => Staffan Lindsgård
[genre] => Epic adventure
[setting] => Steampunk / Fantasy
[synopsis] => A renegade angel chooses an avatar on earth to be its host and the PC:s must find and stop it from damning all of creation to Hell. To aid them in their quest, a most strange helper is given to them.
[adventures] => SimpleXMLElement Object
(
[adventure] => Array
(
[0] => SimpleXMLElement Object
(
[adv_title] => Dancing to the Pipe
[adv_link] => adv_dancing_to_the_pipe.xml
)
[1] => SimpleXMLElement Object
(
[adv_title] => Adonai, my Lord!
[adv_link] => adv_adonai_my_lord.xml
)
[2] => SimpleXMLElement Object
(
[adv_title] => Nephilim Rising
[adv_link] => adv_nephilim_rising.xml
)
[3] => SimpleXMLElement Object
(
[adv_title] => A Clash of Titans
[adv_link] => adv_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>Angels Descent</name> <author>Staffan Lindsgård</author> <genre>Epic adventure</genre> <setting>Steampunk / Fantasy</setting> <synopsis>A renegade angel chooses an avatar on earth to be its host and the PC:s must find and stop it from damning all of creation to Hell. To aid them in their quest, a most strange helper is given to them.</synopsis> <adventures> <adventure> <adv_title>Dancing to the Pipe</adv_title> <adv_link>adv_dancing_to_the_pipe.xml</adv_link> </adventure> <adventure> <adv_title>Adonai, my Lord!</adv_title> <adv_link>adv_adonai_my_lord.xml</adv_link> </adventure> <adventure> <adv_title>Nephilim Rising</adv_title> <adv_link>adv_nephilim_rising.xml</adv_link> </adventure> <adventure> <adv_title>A Clash of Titans</adv_title> <adv_link>adv_a_clash_of_titans.xml</adv_link> </adventure> </adventures> </campaign>