Skip to content

Commit

Permalink
Pompeii DTC: Fix formatting, fix filter application
Browse files Browse the repository at this point in the history
  • Loading branch information
CoWinkKeyDinkInc committed Dec 13, 2021
1 parent 40ea46b commit 1cbc7d0
Showing 1 changed file with 52 additions and 53 deletions.
105 changes: 52 additions & 53 deletions dtcm/standard/pompeii_dtc/map.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<map proto="1.4.0">
<name>Pompeii DTC</name>
<version>2.0.1</version>
<objective>Desroy and leak the enemy's core.</objective>
<version>2.0.2</version>
<objective>Destroy and leak the enemy's core.</objective>
<gamemode>dtc</gamemode>
<authors>
<author uuid="5198dc37-537f-4ea5-8ee8-1e0952d4a36b" contribution="Main Map Builder, Landscape, Structures" />
<author uuid="5198dc37-537f-4ea5-8ee8-1e0952d4a36b" contribution="Main Map Builder, Landscape, Structures"/>
<!-- _3Each -->
<author uuid="9225421c-3c09-4d97-bb80-f6a77c1f360b" contribution="Map Builder, Terrain, XML, Gameplay" />
<author uuid="9225421c-3c09-4d97-bb80-f6a77c1f360b" contribution="Map Builder, Terrain, XML, Gameplay"/>
<!-- Jexel -->
<author uuid="38ab65dd-95f9-406f-917c-6accc995421f" contribution="Map Builder, Layout, Design" />
<author uuid="38ab65dd-95f9-406f-917c-6accc995421f" contribution="Map Builder, Layout, Design"/>
<!-- GoldenOre -->
</authors>
<contributors>
Expand All @@ -20,7 +20,7 @@
<!-- IlPapaya -->
</contributors>
<rules>
<rule>Do not block your team's spawn</rule>
<rule>Do not block your team's spawn.</rule>
<rule>Do not use boats to bypass bedrock walls/floors.</rule>
<rule>Placing boats where placing/breaking blocks is disabled is not allowed.</rule>
</rules>
Expand All @@ -36,71 +36,59 @@
<spawns>
<spawn team="red-team" filter="spawn-1" kit="red-kit">
<regions yaw="0">
<region id="red-spawn-1" />
<region id="red-spawn-1"/>
</regions>
</spawn>
<spawn team="red-team" filter="spawn-2" kit="red-kit">
<regions yaw="0">
<region id="red-spawn-2" />
<region id="red-spawn-2"/>
</regions>
</spawn>
<spawn team="purple-team" filter="spawn-1" kit="purple-kit">
<regions yaw="180">
<region id="purple-spawn-1" />
<region id="purple-spawn-1"/>
</regions>
</spawn>
<spawn team="purple-team" filter="spawn-2" kit="purple-kit">
<regions yaw="180">
<region id="purple-spawn-2" />
<region id="purple-spawn-2"/>
</regions>
</spawn>
<default>
<regions yaw="90">
<region id="obs-spawn" />
<region id="obs-spawn"/>
</regions>
</default>
</spawns>
<filters>
<any id="iron-allow">
<material>iron block</material>
<material>dead bush</material>
</any>
<not id="spawn-1">
<time>25m</time>
</not>
<all id="spawn-2">
<time>25m</time>
</all>
</filters>
<!--Kits-->
<kits>
<!--Root Kit-->
<kit id="spawn">
<item slot="0" material="stone sword" unbreakable="true" />
<item slot="0" material="stone sword" unbreakable="true"/>
<item slot="1" material="bow">
<enchantment level="1">arrow_infinite</enchantment>
</item>
<item slot="20" material="arrow" unbreakable="true" />
<item slot="2" material="diamond pickaxe" />
<item slot="20" material="arrow" unbreakable="true"/>
<item slot="2" material="diamond pickaxe"/>
<item slot="3" material="iron axe" unbreakable="true">
<enchantment level="1">dig_speed</enchantment>
</item>
<item slot="4" amount="32" material="wood" />
<item slot="5" amount="16" material="glass" />
<item slot="8" amount="32" material="cooked fish" unbreakable="true" />
<item slot="8" amount="32" material="cooked fish" unbreakable="true"/>
<effect duration="6" amplifier="1">heal</effect>
<effect duration="10">damage resistance</effect>
</kit>
<!--Red Kit-->
<kit id="red-kit" parents="spawn">
<helmet color="cd0000" material="leather helmet" unbreakable="true" />
<helmet color="cd0000" material="leather helmet" unbreakable="true"/>
<chestplate color="cd0000" material="leather chestplate" unbreakable="true">
<enchantment level="2">projectile_protection</enchantment>
</chestplate>
</kit>
<!--Purple Kit-->
<kit id="purple-kit" parents="spawn">
<helmet color="B24CD8" material="leather helmet" unbreakable="true" />
<helmet color="B24CD8" material="leather helmet" unbreakable="true"/>
<chestplate color="B24CD8" material="leather chestplate" unbreakable="true">
<enchantment level="2">projectile_protection</enchantment>
</chestplate>
Expand Down Expand Up @@ -128,87 +116,98 @@
<item>red rose</item>
</itemremove>
<respawns>
<respawn delay="2.5s" auto="true" blackout="true" filter="spawn-1" />
<respawn delay="4.0s" auto="true" blackout="true" filter="spawn-2" />
<respawn delay="2.5s" auto="true" blackout="true" filter="spawn-1"/>
<respawn delay="4.0s" auto="true" blackout="true" filter="spawn-2"/>
</respawns>
<cores material="obsidian" leak="7" mode-changes="true">
<core team="red-team" region="red-core" />
<core team="purple-team" region="purple-core" />
</cores>
<modes>
<mode after="20m" material="coal block" name="Coal Block Mode" />
<mode after="30m" material="gold block" name="Gold Core Mode" />
<mode after="20m" material="coal block" name="Coal Block Mode"/>
<mode after="30m" material="gold block" name="Gold Core Mode"/>
</modes>
<regions>
<!--
=====PLAYER SPAWNS=====
-->
<!--OBSERVERS SPAWN-->
<cuboid id="obs-spawn" min="-43,44,-7" max="-40,44,-10" />
<cuboid id="obs-spawn" min="-43,44,-7" max="-40,44,-10"/>
<!-- SPAWN 1 -->
<point id="red-spawn-1">-105.5,17,-157.5</point>
<point id="purple-spawn-1">-105.5,17,140.5</point>
<!--SPAWN 2-->
<!-- SPAWN 2 -->
<point id="red-spawn-2">-105.5,17,-157.5</point>
<point id="purple-spawn-2">-105.5,17,140.5</point>
<!--
=====OBJECTIVES=====
-->
<cuboid id="red-core" min="-94,18,-95" max="-87,25,-102" />
<cuboid id="purple-core" min="-117,18,78" max="-124,25,85" />
<cuboid id="red-core" min="-94,18,-95" max="-87,25,-102"/>
<cuboid id="purple-core" min="-117,18,78" max="-124,25,85"/>
<!--
=====PROTECTED SPAWN REGIONS=====
-->
<!-- SPAWN 1 -->
<union id="spawns-1">
<below id="red-spawn" z="-130" />
<above id="purple-spawn" z="113" />
<below id="red-spawn" z="-130"/>
<above id="purple-spawn" z="113"/>
</union>
<!--MID SKY LOW-->
<cuboid id="middle-sky" min="-140,26,17" max="-71,255,-34" />
<cuboid id="middle-sky" min="-140,26,17" max="-71,255,-34"/>
<union id="enchantment-tables">
<block>-91,10,62</block>
<block>-120,10,-80</block>
</union>
<!-- Playable Region -->
<cuboid id="playable" min="-71,0,153" max="-140,69.69,-170" />
<cuboid id="playable" min="-71,0,153" max="-140,69.69,-170"/>
<union id="unbreakable">
<region id="enchantment-tables" />
<region id="enchantment-tables"/>
</union>
<apply block="never" message="You have reached the maximum build height of this region.">
<region>
<region id="middle-sky" />
<region id="middle-sky"/>
</region>
</apply>
<apply block="never" message="`k1`r`cThis Material cannot be modified.`k1" region="unbreakable" />
<apply block="never" message="`k1`r`cThis Material cannot be modified.`k1" region="unbreakable"/>
<apply block="never" message="You may not modify the void area.">
<region>
<negative>
<region id="playable" />
<region id="playable"/>
</negative>
</region>
</apply>
<apply block-break="iron-allow" region="spawns-1" message="You may only destroy iron blocks within this region."/>
<apply block-place="iron-allow" region="spawns-1"/>
<apply block="iron-allow" region="spawns-1" message="You may only destroy iron blocks at spawn."/>
</regions>
<filters>
<any id="iron-allow">
<material>iron block</material>
<material>dead bush</material>
</any>
<not id="spawn-1">
<time>25m</time>
</not>
<all id="spawn-2">
<time>25m</time>
</all>
</filters>
<kill-rewards>
<kill-reward>
<filter>
<all>
<kill-streak count="3" repeat="true" />
<kill-streak count="3" repeat="true"/>
</all>
</filter>
<item amount="2" material="exp bottle" />
<item amount="1" material="ink sack" damage="4" />
<item amount="2" material="exp bottle"/>
<item amount="1" material="ink sack" damage="4"/>
</kill-reward>
<kill-reward>
<filter>
<all>
<kill-streak count="1" repeat="true" />
<kill-streak count="1" repeat="true"/>
</all>
</filter>
<item amount="8" material="wood" />
<item amount="1" material="golden apple" />
<item amount="8" material="wood"/>
<item amount="1" material="golden apple"/>
</kill-reward>
</kill-rewards>
<renewables>
Expand Down

0 comments on commit 1cbc7d0

Please sign in to comment.