Skip to content

Instantly share code, notes, and snippets.

@niwaniwa
Last active August 29, 2015 14:21
Show Gist options
  • Save niwaniwa/7c028658e60b4e8aa770 to your computer and use it in GitHub Desktop.
Save niwaniwa/7c028658e60b4e8aa770 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<map proto="1.3.3">
<name>Natural Fortress</name>
<version>1.0.0</version>
<objective>Destruction of obsidian in the enemy lines.</objective>
<authors>
<author uuid="f010845c-a9ac-4a04-bf27-61d92f8b03ff">KokekoKko_</author>
</authors>
<teams>
<team color="blue" max="35">Blue Team</team>
<team color="dark_red" max="35">Red Team</team>
</teams>
<include src="Natural Fortress/Naturalkit.xml"/>
<include src="Natural Fortress/etc.xml"/>
<toolrepair>
<item>IRON_SWORD</item>
</toolrepair>
<spawns>
<spawn team="blue" yaw="0" kit="blue">
<cuboid min="1,17,1" max="-1,17,-1"/>
</spawn>
<spawn team="dark_red" yaw="-180" kit="red">
<cuboid min="-1,17,195" max="1,56,197"/>
</spawn>
<default yaw="90">
<cuboid min="1,125,97" max="-1,125,99"/>
</default>
</spawns>
<filters>
<filter name="only-blue">
<team>BLUE</team>
</filter>
<filter name="only-red">
<team>DARK_RED</team>
</filter>
<filter name="void">
<not><void/></not>
</filter>
<filter name="allow-block" parents="deny-break">
<allow>
<block>iron block</block>
</allow>
</filter>
</filters>
<regions>
<union name="Bases">
<union name="blue-base">
<rectangle min="6,-12" max="-6,12"/>
<rectangle min="-12,6" max="12,-6"/>
<rectangle min="9,-9" max="-9,9"/>
<rectangle min="-11,8" max="11,-8"/>
<rectangle min="8,-11" max="-8,11"/>
</union>
<union name="red-base">
<rectangle min="-6,208" max="6,184"/>
<rectangle min="12,190" max="-12,202"/>
<rectangle min="-9,205" max="9,187"/>
<rectangle min="8,185" max="-8,207"/>
<rectangle min="-11,204" max="11,188"/>
</union>
</union>
<union name="Monuments">
<union name="blue-monument">
<union name="blue-left">
<cuboid min="-56,11,30" max="-56,9,30"/>
</union>
<union name="blue-right">
<cuboid min="56,11,30" max="56,9,30"/>
</union>
</union>
<union name="red-monument">
<union name="red-left">
<cuboid min="56,11,166" max="56,9,166"/>
</union>
<union name="red-right">
<cuboid min="-56,11,166" max="-56,9,166"/>
</union>
</union>
</union>
<!-- block -->
<apply block-break="allow-block" message="You may not modify base.">
<region name="Bases"/>
</apply>
<apply block-place="deny-all" message="You may not modify base.">
<region name="Bases"/>
</apply>
<apply block="void" message="You may not modify outside.">
<rectangle min="-oo,-oo" max="oo,oo"/>
</apply>
<!-- Player Rulues -->
<apply enter="only-blue" message="Don't enter the enemy spawn.">
<region name="blue-base"/>
</apply>
<apply enter="only-red" message="Don't enter the enemy spawn.">
<region name="red-base" />
</apply>
</regions>
<!-- Monument -->
<destroyables materials="OBSIDIAN;COAL_BLOCK;STAINED_GLASS:15" completion="100%">
<destroyable owner="blue" name="B Left Monument">
<cuboid min="-56,11,30" max="-56,9,30"/>
</destroyable>
<destroyable owner="blue" name="B Right Monument">
<cuboid min="56,11,30" max="56,9,30"/>
</destroyable>
<destroyable owner="dark_red" name="R Left Monument">
<cuboid min="56,11,166" max="56,9,166"/>
</destroyable>
<destroyable owner="dark_red" name="R Right Monument">
<cuboid min="-56,11,166" max="-56,9,166"/>
</destroyable>
</destroyables>
<blockdrops>
<rule>
<region>
<negative><rectangle min="0,0" max="0,0"/></negative>
</region>
<filter>
<block>OBSIDIAN</block>
<block>COAL_BLOCK</block>
<block>STAINED_GLASS:15</block>
<block>YELLOW_FLOWER</block>
<block>RED_ROSE</block>
</filter>
</rule>
<rule>
<region>
<region name="Bases"/>
</region>
<filter>
<block>iron block</block>
</filter>
<drops>
<item>iron block</item>
</drops>
<replacement>Air</replacement>
<direct>true</direct>
<restore-time>10s</restore-time>
</rule>
</blockdrops>
<maxbuildheight>90</maxbuildheight>
<include src="tutorial.xml"/>
<tutorial>
<stage title="Destroy the Monument (DTM)">
</stage>
</tutorial>
<!-- 多言語化 -->
<include src="Natural Fortress/locale.xml"/>
<script src="Natural.js"/>
</map>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment