Skip to content

Instantly share code, notes, and snippets.

@SiruVa
Created July 23, 2015 14:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SiruVa/a16331688a5d90a2bbc2 to your computer and use it in GitHub Desktop.
Save SiruVa/a16331688a5d90a2bbc2 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<map proto="1.3.3">
<!-- マップ名 -->
<name>Moonlight Valley</name>
<!-- マップバージョン -->
<version>1.0.5</version>
<!-- マップの説明 -->
<objective>Take the enemy's wool located to either side of the enemy's base and place it in your victory monument.</objective>
<authors>
<author>SiruVa</author>
</authors>
<!-- チーム定義 -->
<teams>
<team color="blue" max="30">Blue Team</team>
<team color="dark_red" max="30">Red Team</team>
</teams>
<!-- 初期装備 -->
<kits>
<kit name="spawn">
<item slot="0">iron sword</item>
<item slot="1">bow</item>
<item slot="2" enchantment="DIG_SPEED:1">iron axe</item>
<item slot="3" enchantment="DIG_SPEED:1;DURABILITY:2">iron pickaxe</item>
<item slot="4" amount="2">golden_apple</item>
<item slot="5" amount="32">PUMPKIN_PIE</item>
<item slot="6" amount="64">glass</item>
<item slot="7" amount="64" damage="2">log</item>
<item slot="8" amount="64">arrow</item>
<item slot="9" amount="64">arrow</item>
<potion duration="15" amplifier="100">REGENERATION</potion>
<potion duration="10" amplifier="100">DAMAGE_RESISTANCE</potion>
<potion duration="15" amplifier="1">INCREASE_DAMAGE</potion>
</kit>
<kit name="red" parents="spawn">
<helmet color="AA0000" damage="-3000" enchantment="PROTECTION_PROJECTILE:1" bind="true">leather helmet</helmet>
<chestplate color="AA0000" damage="-3000" bind="true">leather chestplate</chestplate>
<leggings color="AA0000" damage="-3000" bind="true">leather leggings</leggings>
<boots color="AA0000" damage="-3000" bind="true">leather boots</boots>
</kit>
<kit name="blue" parents="spawn">
<helmet color="0000AA" damage="-3000" enchantment="PROTECTION_PROJECTILE:1" bind="true">leather helmet</helmet>
<chestplate color="0000AA" damage="-3000" bind="true">leather chestplate</chestplate>
<leggings color="0000AA" damage="-3000" bind="true">leather leggings</leggings>
<boots color="0000AA" damage="-3000" bind="true">leather boots</boots>
</kit>
</kits>
<!-- アイテムドロップ拒否 -->
<itemremove>
<item>iron_sword</item>
<item>bow</item>
<item>iron pickaxe</item>
<item>iron axe</item>
<item>PUMPKIN_PIE</item>
<item>diamond chestplate</item>
<item>leather helmet</item>
<item>leather chestplate</item>
<item>leather leggings</item>
<item>leather boots</item>
<item>iron helmet</item>
<item>iron chestplate</item>
<item>iron leggings</item>
<item>iron boots</item>
<item>glass</item>
<item>golden apple</item>
<item>wood</item>
<item>arrow</item>
<item damage="5">wool</item>
<item damage="10">wool</item>
<item damage="6">wool</item>
<item damage="13">wool</item>
</itemremove>
<!-- スポーン地点指定 -->
<spawns>
<spawn team="blue" yaw="0" kit="blue">
<cuboid min="0,51,-103" max="0,51,-103"/>
</spawn>
<spawn team="red" yaw="180" kit="red">
<cuboid min="0,51,104" max="0,51,104"/>
</spawn>
<default yaw="90">
<cuboid min="-1,26,-3" max="2,26,2"/>
</default>
</spawns>
<!-- フィルター定義 -->
<filters>
<filter name="only-blue" parents="deny-players deny-world">
<allow>
<team>blue</team>
</allow>
</filter>
<filter name="only-red" parents="deny-players deny-world">
<allow>
<team>red</team>
</allow>
</filter>
<filter name="no-void">
<not><void/></not>
</filter>
<filter name="allow-break-woolroom" parents="deny-break">
<allow>
<block>glass</block>
<block>web</block>
<block>wool</block>
</allow>
</filter>
<filter name="allow-breaks" >
<block>iron block</block>
</filter>
</filters>
<!-- リージョン定義 -->
<regions>
<!-- 保護範囲指定 -->
<!-- 羊毛部屋 -->
<union name="red-wool-rooms">
<cuboid name="pinkwool" min="-65,0,69" max="-91,55,95"/>
<cuboid name="purplewool" min="65,0,95" max="91,55,69"/>
</union>
<union name="blue-wool-rooms">
<cuboid name="limewool" min="-65,0,-93" max="-91,55,-68"/>
<cuboid name="greenwool" min="65,0,68" max="91,55,-93"/>
</union>
<!-- 採掘場 -->
<union name="iron-mine">
<cylinder name="red-mine" base="0,21,54" radius="9" height="6"/>
<cylinder name="blue-mine" base="0,21,-53" radius="9" height="6"/>
</union>
<!-- 拠点 -->
<union name="Base">
<cuboid name="red-base" min="11,0,84" max="-11,55,111"/>
<cuboid name="blue-base" min="-11,0,-83" max="11,55,-110"/>
</union>
<complement name="Bases">
<region name="Base"/>
<block>-1,29,-109</block>
<block>1,29,-109</block>
<block>-1,29,110</block>
<block>1,29,110</block>
</complement>
<!-- 保護内容指定 -->
<!-- 羊毛部屋 -->
<apply block="allow-break-woolroom" block-place="deny-blocks" message="You may not modify the wool room.">
<region name="blue-wool-rooms"/>
<region name="red-wool-rooms"/>
</apply>
<apply block="only-blue" use="only-blue" message="You may not modify your own wool room">
  <region name="red-wool-rooms"/>
</apply>
<apply enter="only-blue" message="You may not enter your own wool room">
  <region name="red-wool-rooms"/>
</apply>
<apply block="only-red" use="only-red" message="You may not modify your own wool room">
  <region name="blue-wool-rooms"/>
</apply>
<apply enter="only-red" message="You may not enter your own wool room">
  <region name="blue-wool-rooms"/>
</apply>
<!-- 拠点 -->
<apply enter="only-red" message="You may not enter enemy base.">
<region name="red-base"/>
</apply>
<apply enter="only-blue" message="You may not enter enemy base.">
<region name="blue-base"/>
</apply>
<apply block="deny-blocks" message="You may not modify the base.">
<region name="Bases"/>
</apply>
<!-- 採掘場 -->
<apply block-break="allow-breaks" block-place="deny-place" message="You may not modify the iron mine.">
<region name="iron-mine"/>
</apply>
<!-- 領域外 -->
<apply block="no-void" message="You may not modify void area.">
<rectangle min="-oo,-oo" max="oo,oo"/>
</apply>
</regions>
<!-- 建築最高高度 -->
<maxbuildheight>55</maxbuildheight>
<!-- キルボーナス -->
<killreward>
<item amount="1">golden_apple</item>
</killreward>
<!-- 時間固定 -->
<timelock>on</timelock>
<!-- ブロックドロップス -->
<blockdrops>
<!-- PINK -->
<rule>
<region>
<block>-78,45,82</block>
</region>
<filter>
<block>wool</block>
</filter>
<drops>
<item damage="6">wool</item>
</drops>
<replacement>wool:6</replacement>
<direct>true</direct>
<wrongtool>true</wrongtool>
</rule>
<!-- PURPLE -->
<rule>
<region>
<block>78,45,82</block>
</region>
<filter>
<block>wool</block>
</filter>
<drops>
<item damage="10">wool</item>
</drops>
<replacement>wool:10</replacement>
<direct>true</direct>
<wrongtool>true</wrongtool>
</rule>
<!-- LIME -->
<rule>
<region>
<block>-78,45,-81</block>
</region>
<filter>
<block>wool</block>
</filter>
<drops>
<item damage="5">wool</item>
</drops>
<replacement>wool:5</replacement>
<direct>true</direct>
<wrongtool>true</wrongtool>
</rule>
<!-- GREEN -->
<rule>
<region>
<block>78,45,-81</block>
</region>
<filter>
<block>wool</block>
</filter>
<drops>
<item damage="13">wool</item>
</drops>
<replacement>wool:13</replacement>
<direct>true</direct>
<wrongtool>true</wrongtool>
</rule>
</blockdrops>
<!-- 鉄ブロック復元 -->
<renewables>
<renewable rate="10" particles="true" sound="true" avoid-entities="true">
<region>
<cylinder name="red-mine" base="0,21,54" radius="9" height="6"/>
<cylinder name="blue-mine" base="0,21,-53" radius="9" height="6"/>
</region>
<renew>iron block</renew>
<replace>air</replace>
</renewable>
</renewables>
<!-- 羊毛設置座標 -->
<wools>
<wool team="blue" color="pink">
<block location="-1,29,-109"/>
</wool>
<wool team="blue" color="purple">
<block location="1,29,-109"/>
</wool>
<wool team="red" color="lime">
<block location="-1,29,110"/>
</wool>
<wool team="red" color="green">
<block location="1,29,110"/>
</wool>
</wools>
<!-- チュートリアル -->
<include src="tutorial.xml"/>
<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="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は`aライム`rと`2グリーン`rの羊毛ルームがあります。</line>
<line>`4Redチーム `rには`dピンク`rと`5パープル`rの羊毛があります。</line>
<line>Blueチームは羊毛を奪取しようとするRedチームの攻撃からこの羊毛ルームを防衛する必要があります。</line>
</message>
<teleport>
<point yaw="130" pitch="22">-55,46,-66</point>
</teleport>
</stage>
<stage title="Iron Mine">
<title lang="ja_JP">鉄採掘場</title>
<message>
<line>This is a iron mine. You can mine irons and reinforce your kit.</line>
</message>
<message lang="ja_JP">
<line>ここは鉄採掘場です。鉄を採掘し、装備を強化する事ができます。</line>
</message>
<teleport>
<point yaw="-180" pitch="40">0,29,62</point>
</teleport>
</stage>
<stage title="Red team's Base">
<title lang="ja_JP">Redチームの拠点</title>
<message>
<line>
Here is the `cRed team `rvictory monument and spawn 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="-8">0,31,76</point>
</teleport>
</stage>
</tutorial>
<!-- 日本語化 -->
<locales>
<locale lang="ja_JP">
<string name="Take the enemy's wool located to either side of the enemy's base and place it in your victory monument." value="敵本拠地横にある羊毛部屋から羊毛を奪取し台座に設置"/>
<string name="You may not modify the base." value="拠点は編集出来ません。"/>
<string name="You may not enter enemy base." value="敵チームの拠点には侵入出来ません。"/>
<string name="You may not enter your own wool room" value="自軍の羊毛部屋には侵入出来ません。"/>
<string name="You may not modify your own wool room" value="自軍の羊毛部屋は編集出来ません。"/>
<string name="You may only modify the wool room." value="羊毛部屋は編集出来ません。"/>
<string name="You may not modify void area." value="領域外は編集出来ません。"/>
<string name="You may not modify the iron mine." value="鉄採掘場は編集出来ません。"/>
</locale>
</locales>
</map>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment