Skip to content

Instantly share code, notes, and snippets.

@niwaniwa
Last active August 2, 2016 00:48
Show Gist options
  • Save niwaniwa/7ffbf922e57db73c8e4f to your computer and use it in GitHub Desktop.
Save niwaniwa/7ffbf922e57db73c8e4f to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<!--
+ map Stony Road
+ author KokekoKko_
+ version 1.1.2 -->
<map proto="1.3.3">
<name>Stony Road</name>
<version>1.1.2</version>
<objective>Grab the wool from the enemy's wool room and place it on your victory monument.</objective>
<authors>
<author uuid="f010845c-a9ac-4a04-bf27-61d92f8b03ff">KokekoKko_</author>
</authors>
<!-- team -->
<teams>
<team color="blue" max="35">Blue Team</team>
<team color="dark_red" max="35">Red Team</team>
</teams>
<!-- kit -->
<kits>
<kit name="default">
<item slot="0">IRON_SWORD</item>
<item slot="1">BOW</item>
<item slot="2" enchantment="DIG_SPEED:1">IRON_PICKAXE</item>
<item slot="3">IRON_AXE</item>
<item slot="6" amount="64">GLASS</item>
<item slot="7" amount="64">LOG</item>
<item slot="8" name="French bread!" amount="32">BREAD</item>
<item slot="9" amount="64" bind="true">ARROW</item>
<item slot="10" amount="64" bind="true">ARROW</item>
<item slot="11" amount="16">ARROW</item>
<!-- old 16453 -->
<item slot="34" damage="16421" bind="true">potion</item>
<item slot="35" damage="16421" bind="true">potion</item>
<potion duration="7" amplifier="2">increase_damage</potion>
<potion duration="7" amplifier="2">damage_resistance</potion>
</kit>
<kit name="blue" parents="default">
<helmet color="0066cc" enchantment="PROTECTION_PROJECTILE"
damage="-3000" bind="true">LEATHER_HELMET</helmet>
<chestplate color="6699D8" enchantment="PROTECTION_PROJECTILE"
damage="-3000" bind="true">LEATHER_CHESTPLATE</chestplate>
<leggings color="0066cc" enchantment="PROTECTION_PROJECTILE"
damage="-3000" bind="true">LEATHER_LEGGINGS</leggings>
<boots color="6699D8" enchantment="PROTECTION_PROJECTILE;PROTECTION_FALL:2"
damage="-3000" bind="true">LEATHER_BOOTS</boots>
</kit>
<kit name="red" parents="default">
<helmet color="cd0000" enchantment="PROTECTION_PROJECTILE"
damage="-3000" bind="true">LEATHER_HELMET</helmet>
<chestplate color="cd0000" enchantment="PROTECTION_PROJECTILE"
damage="-3000" bind="true">LEATHER_CHESTPLATE</chestplate>
<leggings color="cd0000" enchantment="PROTECTION_PROJECTILE"
damage="-3000" bind="true">LEATHER_LEGGINGS</leggings>
<boots color="cd0000" enchantment="PROTECTION_PROJECTILE;PROTECTION_FALL:2"
damage="-3000" bind="true">LEATHER_BOOTS</boots>
</kit>
<kit name="poison">
<potion duration="7" amplifier="200">POISON</potion>
</kit>
<kit name="damage">
<potion duration="5" amplifier="30">damage resistance</potion>
</kit>
</kits>
<itemremove>
<!-- sword and bow -->
<item>IRON_SWORD</item>
<item>STONE_SWORD</item>
<item>BOW</item>
<!-- 装備 -->
<!-- chainmail -->
<item>chainmail chestplate</item>
<item>chainmail leggings</item>
<item>chainmail boots</item>
<item>leather helmet</item>
<!-- leather -->
<item>LEATHER_HELMET</item>
<item>LEATHER_CHESTPLATE</item>
<item>LEATHER_LEGGINGS</item>
<item>LEATHER_BOOTS</item>
<!-- iron -->
<item>IRON_HELMET</item>
<item>IRON_CHESTPLATE</item>
<item>IRON_LEGGINGS</item>
<item>IRON_BOOTS</item>
<!-- diamon -->
<item>DIAMOND_HELMET</item>
<item>DIAMOND_CHESTPLATE</item>
<item>DIAMOND_LEGGINGS</item>
<item>DIAMOND_BOOTS</item>
<!-- tool -->
<item>IRON_PICKAXE</item>
<item>IRON_AXE</item>
<item>GLASS</item>
<item>GOLD_BLOCK</item>
<item>ARROW</item>
<item>STICK</item>
<item>STRING</item>
<item>GOLDEN_APPLE</item>
<item>FISHING_ROD</item>
<item>COOKED_BEEF</item>
<item>BREAD</item>
<!-- block -->
<item>wood</item>
<item>iron_block</item>
</itemremove>
<!-- spawn -->
<spawns>
<spawn team="blue" yaw="0" kit="blue">
<cuboid min="1,66,-3" max="-1,66,-5" />
</spawn>
<spawn team="dark_red" yaw="-180" kit="red">
<cuboid min="-1,66,299" max="1,66,301" />
</spawn>
<default yaw="-90">
<cuboid min="-100,114,144" max="-104,114,150" />
</default>
</spawns>
<!-- filter -->
<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="chest">
<not>
<block>chest</block>
</not>
</filter>
<filter name="iron" parents="deny-break">
<allow>
<block>iron block</block>
</allow>
</filter>
<filter name="block-red" parents="deny-blocks">
<allow>
<team>DARK_RED</team>
</allow>
</filter>
<filter name="block-blue" parents="deny-blocks">
<allow>
<team>BLUE</team>
</allow>
</filter>
</filters>
<!-- region -->
<regions>
<union name="bases">
<union name="blue-base">
<rectangle min="-11,-14" max="11,-3" />
<rectangle min="-10,-2" max="10,-2" />
<rectangle min="-9,-1" max="9,-1" />
<rectangle min="-8,0" max="8,0" />
<rectangle min="-7,1" max="7,1" />
<rectangle min="-6,2" max="6,2" />
<rectangle min="-5,3" max="5,3" />
<rectangle min="-4,4" max="4,4" />
<rectangle min="-8,4" max="8,0" />
<rectangle min="-4,12" max="4,5" />
</union>
<union name="red-base">
<rectangle min="-11,310" max="11,299" />
<rectangle min="-10,298" max="10,299" />
<rectangle min="-9,297" max="9,298" />
<rectangle min="-8,296" max="8,297" />
<rectangle min="-7,295" max="7,296" />
<rectangle min="-6,294" max="6,295" />
<rectangle min="-5,293" max="5,294" />
<rectangle min="-4,292" max="4,293" />
<rectangle min="8,292" max="-8,296" />
<rectangle min="-4,291" max="4,284" />
</union>
</union>
<!-- hayatarou_ 様ご協力 -->
<union name="all-wool-chest">
<union name="blue-chest">
<cuboid max="98,78,-83" min="97,78,-83"/>
<cuboid max="94,78,-86" min="94,78,-87"/>
<cuboid max="98,78,-91" min="99,78,-91"/>
<cuboid max="102,78,-88" min="102,78,-87"/>
<block>103,78,-82</block>
<block>93,78,-92</block>
<cuboid max="-94,78,-87" min="-94,78,-86"/>
<cuboid max="-97,78,-83" min="-98,78,-83"/>
<cuboid max="-99,78,-91" min="-98,78,-91"/>
<cuboid max="-102,78,-87" min="-102,78,-88"/>
<block>-103,78,-82</block>
<block>-93,78,-92</block>
</union>
<union name="red-chest">
<block>103,78,378</block>
<block>93,78,388</block>
<cuboid min="102,78,384" max="102,78,383"/>
<cuboid min="98,78,387" max="99,78,387"/>
<cuboid min="94,78,382" max="94,78,383"/>
<cuboid min="97,78,379" max="98,78,379"/>
<block>-93,78,388</block>
<block>-103,78,378</block>
<cuboid min="-98,78,387" max="-99,78,387"/>
<cuboid min="-102,78,383" max="-102,78,384"/>
<cuboid min="-94,78,382" max="-94,78,383"/>
<cuboid min="-97,78,379" max="-98,78,379"/>
</union>
</union>
<union name="all-wool">
<union name="blue-wool">
<complement>
<union name="blue-source">
<!-- lime -->
<cylinder base="-95,0,380" radius="11" height="255" />
<!-- green -->
<cylinder base="95,0,380" radius="11" height="255" />
</union>
<region name="blue-chest"/>
</complement>
</union>
<union name="red-wool">
<complement>
<union name="red-source">
<!-- pink -->
<cylinder base="95,0,-84" radius="11" height="255" />
<!-- magenta -->
<cylinder base="-95,0,-84" radius="11" height="255" />
</union>
<region name="red-chest"/>
</complement>
</union>
</union>
<union name="pedestal">
<complement>
<union>
<!-- blue -->
<cylinder name="blue-pedestal" base="0,0,46" radius="5" height="255" />
<!-- red -->
<cylinder name="red-pedestal" base="0,0,250" radius="5" height="255" />
</union>
<block location="1,74,45" />
<block location="-1,74,45" />
<block location="-1,74,251" />
<block location="1,74,251" />
</complement>
</union>
<union name="jump">
<union name="blue-jump">
<complement>
<union>
<cuboid min="-7,66,2" max="-6,66,3"/>
<cuboid min="7,66,2" max="6,66,3"/>
</union>
<block location="-6,66,2" />
<block location="6,66,2" />
</complement>
</union>
<union name="red-jump">
<complement>
<union>
<cuboid min="7,66,294" max="6,66,293"/>
<cuboid min="-7,66,294" max="-6,66,293"/>
</union>
<block location="-6,66,294" />
<block location="6,66,294" />
</complement>
</union>
</union>
<!-- block -->
<apply block-break="chest" message="You may not modify chest.">
<region name="red-chest" />
<region name="blue-chest" />
</apply>
<apply block-break="only-blue" block-place="only-blue" message="You may not modify your own wool room.">
<region name="blue-wool" />
</apply>
<apply block-break="only-red" block-place="only-red" message="You may not modify your own wool room.">
<region name="red-wool" />
</apply>
<apply block-break="iron" message="You may not modify base.">
<region name="bases" />
</apply>
<apply block="deny-all" message="You may not modify base.">
<region name="bases" />
</apply>
<apply block="deny-blocks" message="You may not modify.">
<region name="pedestal" />
</apply>
<apply block-place="deny-all" message="You may not modify.">
<cuboid min="-500,49,-500" max="500,1,500" />
</apply>
<apply block="void" message="You may not modify outside.">
<rectangle min="-oo,-oo" max="oo,oo" />
</apply>
<apply velocity="0,2,0" kit="damage">
<region name="jump"/>
</apply>
<!-- player -->
<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>
<apply enter="only-red" message="You may not enter your own wool room.">
<region name="red-wool" />
</apply>
<apply enter="only-blue" message="You may not enter your own wool room.">
<region name="blue-wool" />
</apply>
<apply filter="only-red" kit="poison">
<region name="blue-pedestal" />
<cuboid min="-2,57,66" max="2,77,52"/>
</apply>
<apply filter="only-blue" kit="poison">
<region name="red-pedestal" />
<cuboid min="-2,77,244" max="2,57,230"/>
</apply>
</regions>
<!-- kill -->
<killreward>
<item amount="1">GOLDEN_APPLE</item>
</killreward>
<killreward>
<filter>
<kill-streak min="1" max="5" />
</filter>
<item amount="1">GOLDEN_APPLE</item>
</killreward>
<killreward>
<filter>
<kill-streak min="5" max="10" />
</filter>
<item amount="8">EXP_BOTTLE</item>
</killreward>
<!-- Capture the Wool (CTW) -->
<wools>
<wool team="blue" color="lime">
<block location="1,74,45" />
</wool>
<wool team="blue" color="green">
<block location="-1,74,45" />
</wool>
<wool team="dark_red" color="pink">
<block location="-1,74,251" />
</wool>
<wool team="dark_red" color="magenta">
<block location="1,74,251" />
</wool>
</wools>
<!-- blockdrop -->
<blockdrops>
<!-- iron 1-->
<rule>
<region>
<!-- bule -->
<cuboid min="-4,59,-4" max="4,59,4" />
<!-- red -->
<cuboid min="4,59,300" max="-4,59,292" />
</region>
<filter>
<block>iron block</block>
</filter>
<drops>
<item amount="1">iron block</item>
</drops>
<wrongtool>true</wrongtool>
<direct>true</direct>
<replacement>iron block</replacement>
</rule>
<!-- iron 2-->
<rule>
<region>
<!-- bule -->
<cuboid min="-4,61,-4" max="4,60,4" />
<!-- red -->
<cuboid min="4,61,300" max="-4,60,292" />
</region>
<filter>
<block>iron block</block>
</filter>
<drops>
<item amount="1">iron block</item>
</drops>
<wrongtool>true</wrongtool>
<direct>true</direct>
<replacement>iron block</replacement>
</rule>
<!-- pink -->
<rule>
<region>
<block location="101,80,-90" />
</region>
<filter>
<block>wool</block>
</filter>
<drops>
<item damage="6" amount="1">wool</item>
</drops>
<replacement>wool:6</replacement>
<wrongtool>true</wrongtool>
<direct>true</direct>
</rule>
<!-- magenta -->
<rule>
<region>
<block location="-101,80,-90" />
</region>
<filter>
<block>wool</block>
</filter>
<drops>
<item damage="2" amount="1">wool</item>
</drops>
<replacement>wool:2</replacement>
<wrongtool>true</wrongtool>
<direct>true</direct>
</rule>
<!-- lime -->
<rule>
<region>
<block location="-101,80,386" />
</region>
<filter>
<block>wool</block>
</filter>
<drops>
<item damage="5" amount="1">wool</item>
</drops>
<replacement>wool:5</replacement>
<wrongtool>true</wrongtool>
<direct>true</direct>
</rule>
<!-- green -->
<rule>
<region>
<block location="101,80,386" />
</region>
<filter>
<block>wool</block>
</filter>
<drops>
<item damage="13" amount="1">wool</item>
</drops>
<replacement>wool:13</replacement>
<wrongtool>true</wrongtool>
<direct>true</direct>
</rule>
<!-- etc... -->
<rule>
<region>
<rectangle min="-oo,-oo" max="oo,oo" />
</region>
<filter>
<block>LAPIS_BLOCK</block>
<block>REDSTONE_TORCH_OFF</block>
<block>REDSTONE_TORCH_ON</block>
<block>REDSTONE_LAMP_OFF</block>
<block>REDSTONE_LAMP_ON</block>
<block>REDSTONE_WIRE</block>
<block>REDSTONE_BLOCK</block>
<block>GLOWSTONE</block>
</filter>
<replacement>Air</replacement>
</rule>
</blockdrops>
<maxbuildheight>100</maxbuildheight>
<include src="tutorial.xml" />
<!-- tutorial -->
<tutorial>
<stage title="Capture the Wool (CTW)">
<message>
<line>This map is a `a`lCapture the Wool`r(CTW) map.</line>
<line>The objective is to grab the wool on the other team's side and return it to your base.</line>
</message>
<message lang="ja_JP">
<line>このマップは`a`lCapture the Wool`r(CTW)マップです。</line>
<line>他チームの羊毛ルームから羊毛を奪取して拠点に持ち帰る事が目標になります。</line>
</message>
</stage>
<stage title="Observer spawn">
<title lang="ja_JP">観戦者スポーン</title>
<message>
<line>This is `bObserver `r spawn.</line>
</message>
<message lang="ja_JP">
<line>ここは`b観戦者`rスポーンです。</line>
</message>
<teleport>
<point yaw="-90" pitch="40">-82,128,147</point>
</teleport>
</stage>
<stage title="Blue team's Wool rooms">
<title lang="ja_JP">Blueチームの羊毛ルーム</title>
<message>
<line>These are `9Blue team`r's wool rooms housing `aLime`r and `2Green`r.</line>
<line>`cRed Team `rhas `dPink`r and `5Purple`r wools.</line>
<line>Blue Team should defend these rooms against Red Team invaders who are trying to steal the wool and make it back alive.</line>
</message>
<message lang="ja_JP">
<line>`9Blueチーム `rは`dPink`rと`5Magenta`rの羊毛ルームがあります。</line>
<line>`cRedチーム `rには`aLime`rと`2Green`rの羊毛があります。</line>
<line>Blueチームは羊毛を奪取しようとするRedチームの攻撃からこの羊毛ルームを防衛する必要があります。</line>
</message>
<teleport>
<point yaw="180" pitch="59">1,140,19</point>
</teleport>
</stage>
<stage title="Red team's Base">
<title lang="ja_JP">Redチームの拠点</title>
<message>
<line>Here is the `cRed team `rspawn.</line>
</message>
<message lang="ja_JP">
<line>ここは`cRedチーム`rのスポーンポイントです。</line>
</message>
<teleport>
<point yaw="0" pitch="0">0,66,296</point>
</teleport>
</stage>
<stage title="Red team's victory monument">
<title lang="ja_JP">Redチームの拠点</title>
<message>
<line>Here is the `cRed team `rvictory monument where the captured wool must be placed.</line>
<line>Both wool must be placed to win.</line>
</message>
<message lang="ja_JP">
<line>ここは`cRedチーム`rの台座です。</line>
<line>勝利するためには両方の羊毛を設置しなければなりません。</line>
</message>
<teleport>
<point yaw="0" pitch="0">0,73,245</point>
</teleport>
</stage>
</tutorial>
<include src="Stony Road/locale.xml" />
</map>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment