<?xml version="1.0"?> <!-- ---------------------------------------------------------------------------- Copyright 2014-2016 Bo Zimmerman Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -------------------------------------------------------------------------------- See guides/RandomAreas.html for information about documents of this type. --> <AREADATA> <STRING load="/resources/randareas/inc_roomruns.xml" /> <STRING load="/resources/randareas/inc_common.xml" /> <STRING load="/resources/randareas/inc_adjectives.xml" /> <STRING load="/resources/randareas/inc_fantasynames.xml" /> <STRING load="/resources/randareas/forest.xml" /> <STRING load="/resources/randareas/plains.xml" /> <STRING load="/resources/randareas/snow.xml" /> <STRING load="/resources/randareas/jungle.xml" /> <STRING load="/resources/randareas/swamp.xml" /> <STRING load="/resources/randareas/mountains.xml" /> <STRING load="/resources/randareas/desert.xml" /> <STRING load="/resources/randareas/town.xml" /> <AREA id="random_planet_area" layout="$randomlayout" requires="areaname=$,areasize=int,racename=$" predefine="theme=$randomtheme,level_range=1"> <NAME>$areaname</NAME><SIZE>$areasize</SIZE><ATMOSPHERE>$randomatmo</ATMOSPHERE> <CLASS select="any-1"><CLASS condition="$areatype!=''">$areatype</CLASS><CLASS condition="$areatype=''">StdThinPlanet</CLASS></CLASS> <ROOM insert="hallway_rooms,interior_rooms,leaf_rooms" /> <!-- TODO: arrest, with silly laws --> </AREA> <STRING id="randomatmo" pick="any-1"> <STRING pickweight=9 define="atmosphere" condition="$theme!='ocean'">air</STRING> <STRING pickweight=1 define="atmosphere" condition="$theme!='ocean'">flourine</STRING> <STRING pickweight=1 define="atmosphere" condition="$theme!='ocean'">nitrogen</STRING> <STRING pickweight=1 define="atmosphere" condition="$theme!='ocean'">chlorine</STRING> <STRING pickweight=1 define="atmosphere" condition="$theme='ocean'">freshwater</STRING> <STRING pickweight=1 define="atmosphere" condition="$theme='ocean'">saltwater</STRING> </STRING> <STRING id="randomtheme" pick="any-1"> <STRING pickweight=9>city3000</STRING> <STRING pickweight=5>forest</STRING> <STRING pickweight=5>desert</STRING> <STRING pickweight=5>mountains</STRING> <STRING pickweight=5>jungle</STRING> <STRING pickweight=5>swamp</STRING> <STRING pickweight=5>snow</STRING> <STRING pickweight=5>plains</STRING> <STRING pickweight=4>ocean</STRING> <STRING pickweight=3>ruins</STRING> <STRING pickweight=1>city1300</STRING> <STRING pickweight=1>city1960</STRING> <STRING pickweight=1>western</STRING> <STRING pickweight=1>chicago</STRING> <STRING pickweight=1>tribal</STRING> </STRING> <ROOM id="hallway_rooms" select="pick-1" condition="$roomtag_nodetype='street' or $roomtag_nodetype='surround'"> </ROOM> <ROOM id="interior_rooms" select="any-1" condition="$roomtag_nodetype='interior' or $roomtag_nodetype='square'"> </ROOM> <ROOM id="leaf_rooms" select="any-1" condition="$roomtag_nodetype='leaf'"> </ROOM> </AREADATA>