Map editor fixes / Zone environment changes

This commit is contained in:
Anuken
2019-03-19 23:51:52 -04:00
parent ce5218db58
commit fbf4c411c1
31 changed files with 902 additions and 734 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

@@ -578,6 +578,7 @@ block.sandrocks.name = Sand Rocks
block.spore-pine.name = Spore Pine block.spore-pine.name = Spore Pine
block.sporerocks.name = Spore Rocks block.sporerocks.name = Spore Rocks
block.rock.name = Rock block.rock.name = Rock
block.snowrock.name = Snow Rock
block.shale.name = Shale block.shale.name = Shale
block.shale-boulder.name = Shale Boulder block.shale-boulder.name = Shale Boulder
block.moss.name = Moss block.moss.name = Moss

View File

@@ -201,6 +201,12 @@ waves.waves = wave(s)
waves.perspawn = per spawn waves.perspawn = per spawn
waves.to = to waves.to = to
waves.boss = Boss waves.boss = Boss
waves.preview = Preview
waves.edit = Edit...
waves.copy = Copy to Clipboard
waves.load = Load from Clipboard
waves.invalid = Invalid waves in clipboard.
waves.copied = Waves copied.
editor.default = [LIGHT_GRAY]<Default> editor.default = [LIGHT_GRAY]<Default>
edit = Edit... edit = Edit...
editor.name = Jméno: editor.name = Jméno:
@@ -254,6 +260,7 @@ filter.option.threshold = Threshold
filter.option.circle-scale = Circle Scale filter.option.circle-scale = Circle Scale
filter.option.octaves = Octaves filter.option.octaves = Octaves
filter.option.falloff = Falloff filter.option.falloff = Falloff
filter.option.block = Block
filter.option.floor = Floor filter.option.floor = Floor
filter.option.wall = Wall filter.option.wall = Wall
filter.option.ore = Ore filter.option.ore = Ore

View File

@@ -201,6 +201,12 @@ waves.waves = wave(s)
waves.perspawn = per spawn waves.perspawn = per spawn
waves.to = to waves.to = to
waves.boss = Boss waves.boss = Boss
waves.preview = Preview
waves.edit = Edit...
waves.copy = Copy to Clipboard
waves.load = Load from Clipboard
waves.invalid = Invalid waves in clipboard.
waves.copied = Waves copied.
editor.default = [LIGHT_GRAY]<Default> editor.default = [LIGHT_GRAY]<Default>
edit = Edit... edit = Edit...
editor.name = Name: editor.name = Name:
@@ -254,6 +260,7 @@ filter.option.threshold = Threshold
filter.option.circle-scale = Circle Scale filter.option.circle-scale = Circle Scale
filter.option.octaves = Octaves filter.option.octaves = Octaves
filter.option.falloff = Falloff filter.option.falloff = Falloff
filter.option.block = Block
filter.option.floor = Floor filter.option.floor = Floor
filter.option.wall = Wall filter.option.wall = Wall
filter.option.ore = Ore filter.option.ore = Ore

View File

@@ -201,6 +201,12 @@ waves.waves = wave(s)
waves.perspawn = per spawn waves.perspawn = per spawn
waves.to = to waves.to = to
waves.boss = Boss waves.boss = Boss
waves.preview = Preview
waves.edit = Edit...
waves.copy = Copy to Clipboard
waves.load = Load from Clipboard
waves.invalid = Invalid waves in clipboard.
waves.copied = Waves copied.
editor.default = [LIGHT_GRAY]<Default> editor.default = [LIGHT_GRAY]<Default>
edit = Edit... edit = Edit...
editor.name = Nombre: editor.name = Nombre:
@@ -254,6 +260,7 @@ filter.option.threshold = Threshold
filter.option.circle-scale = Circle Scale filter.option.circle-scale = Circle Scale
filter.option.octaves = Octaves filter.option.octaves = Octaves
filter.option.falloff = Falloff filter.option.falloff = Falloff
filter.option.block = Block
filter.option.floor = Floor filter.option.floor = Floor
filter.option.wall = Wall filter.option.wall = Wall
filter.option.ore = Ore filter.option.ore = Ore

View File

@@ -201,6 +201,12 @@ waves.waves = wave(s)
waves.perspawn = per spawn waves.perspawn = per spawn
waves.to = to waves.to = to
waves.boss = Boss waves.boss = Boss
waves.preview = Preview
waves.edit = Edit...
waves.copy = Copy to Clipboard
waves.load = Load from Clipboard
waves.invalid = Invalid waves in clipboard.
waves.copied = Waves copied.
editor.default = [LIGHT_GRAY]<Default> editor.default = [LIGHT_GRAY]<Default>
edit = Edit... edit = Edit...
editor.name = Nom: editor.name = Nom:
@@ -254,6 +260,7 @@ filter.option.threshold = Threshold
filter.option.circle-scale = Circle Scale filter.option.circle-scale = Circle Scale
filter.option.octaves = Octaves filter.option.octaves = Octaves
filter.option.falloff = Falloff filter.option.falloff = Falloff
filter.option.block = Block
filter.option.floor = Floor filter.option.floor = Floor
filter.option.wall = Wall filter.option.wall = Wall
filter.option.ore = Ore filter.option.ore = Ore

View File

@@ -201,6 +201,12 @@ waves.waves = wave(s)
waves.perspawn = per spawn waves.perspawn = per spawn
waves.to = to waves.to = to
waves.boss = Boss waves.boss = Boss
waves.preview = Preview
waves.edit = Edit...
waves.copy = Copy to Clipboard
waves.load = Load from Clipboard
waves.invalid = Invalid waves in clipboard.
waves.copied = Waves copied.
editor.default = [LIGHT_GRAY]<Default> editor.default = [LIGHT_GRAY]<Default>
edit = Edit... edit = Edit...
editor.name = Nom: editor.name = Nom:
@@ -254,6 +260,7 @@ filter.option.threshold = Threshold
filter.option.circle-scale = Circle Scale filter.option.circle-scale = Circle Scale
filter.option.octaves = Octaves filter.option.octaves = Octaves
filter.option.falloff = Falloff filter.option.falloff = Falloff
filter.option.block = Block
filter.option.floor = Floor filter.option.floor = Floor
filter.option.wall = Wall filter.option.wall = Wall
filter.option.ore = Ore filter.option.ore = Ore

View File

@@ -201,6 +201,12 @@ waves.waves = wave(s)
waves.perspawn = per spawn waves.perspawn = per spawn
waves.to = to waves.to = to
waves.boss = Boss waves.boss = Boss
waves.preview = Preview
waves.edit = Edit...
waves.copy = Copy to Clipboard
waves.load = Load from Clipboard
waves.invalid = Invalid waves in clipboard.
waves.copied = Waves copied.
editor.default = [LIGHT_GRAY]<Default> editor.default = [LIGHT_GRAY]<Default>
edit = Edit... edit = Edit...
editor.name = Name: editor.name = Name:
@@ -254,6 +260,7 @@ filter.option.threshold = Threshold
filter.option.circle-scale = Circle Scale filter.option.circle-scale = Circle Scale
filter.option.octaves = Octaves filter.option.octaves = Octaves
filter.option.falloff = Falloff filter.option.falloff = Falloff
filter.option.block = Block
filter.option.floor = Floor filter.option.floor = Floor
filter.option.wall = Wall filter.option.wall = Wall
filter.option.ore = Ore filter.option.ore = Ore

View File

@@ -201,6 +201,12 @@ waves.waves = wave(s)
waves.perspawn = per spawn waves.perspawn = per spawn
waves.to = to waves.to = to
waves.boss = Boss waves.boss = Boss
waves.preview = Preview
waves.edit = Edit...
waves.copy = Copy to Clipboard
waves.load = Load from Clipboard
waves.invalid = Invalid waves in clipboard.
waves.copied = Waves copied.
editor.default = [LIGHT_GRAY]<Default> editor.default = [LIGHT_GRAY]<Default>
edit = Edit... edit = Edit...
editor.name = Nome: editor.name = Nome:
@@ -254,6 +260,7 @@ filter.option.threshold = Threshold
filter.option.circle-scale = Circle Scale filter.option.circle-scale = Circle Scale
filter.option.octaves = Octaves filter.option.octaves = Octaves
filter.option.falloff = Falloff filter.option.falloff = Falloff
filter.option.block = Block
filter.option.floor = Floor filter.option.floor = Floor
filter.option.wall = Wall filter.option.wall = Wall
filter.option.ore = Ore filter.option.ore = Ore

View File

@@ -201,6 +201,12 @@ waves.waves = wave(s)
waves.perspawn = per spawn waves.perspawn = per spawn
waves.to = to waves.to = to
waves.boss = Boss waves.boss = Boss
waves.preview = Preview
waves.edit = Edit...
waves.copy = Copy to Clipboard
waves.load = Load from Clipboard
waves.invalid = Invalid waves in clipboard.
waves.copied = Waves copied.
editor.default = [LIGHT_GRAY]<Default> editor.default = [LIGHT_GRAY]<Default>
edit = Edit... edit = Edit...
editor.name = 名前: editor.name = 名前:
@@ -254,6 +260,7 @@ filter.option.threshold = Threshold
filter.option.circle-scale = Circle Scale filter.option.circle-scale = Circle Scale
filter.option.octaves = Octaves filter.option.octaves = Octaves
filter.option.falloff = Falloff filter.option.falloff = Falloff
filter.option.block = Block
filter.option.floor = Floor filter.option.floor = Floor
filter.option.wall = Wall filter.option.wall = Wall
filter.option.ore = Ore filter.option.ore = Ore

View File

@@ -201,6 +201,12 @@ waves.waves = wave(s)
waves.perspawn = per spawn waves.perspawn = per spawn
waves.to = to waves.to = to
waves.boss = Boss waves.boss = Boss
waves.preview = Preview
waves.edit = Edit...
waves.copy = Copy to Clipboard
waves.load = Load from Clipboard
waves.invalid = Invalid waves in clipboard.
waves.copied = Waves copied.
editor.default = [LIGHT_GRAY]<Default> editor.default = [LIGHT_GRAY]<Default>
edit = Edit... edit = Edit...
editor.name = 이름: editor.name = 이름:
@@ -254,6 +260,7 @@ filter.option.threshold = Threshold
filter.option.circle-scale = Circle Scale filter.option.circle-scale = Circle Scale
filter.option.octaves = Octaves filter.option.octaves = Octaves
filter.option.falloff = Falloff filter.option.falloff = Falloff
filter.option.block = Block
filter.option.floor = Floor filter.option.floor = Floor
filter.option.wall = Wall filter.option.wall = Wall
filter.option.ore = Ore filter.option.ore = Ore

View File

@@ -201,6 +201,12 @@ waves.waves = wave(s)
waves.perspawn = per spawn waves.perspawn = per spawn
waves.to = to waves.to = to
waves.boss = Boss waves.boss = Boss
waves.preview = Preview
waves.edit = Edit...
waves.copy = Copy to Clipboard
waves.load = Load from Clipboard
waves.invalid = Invalid waves in clipboard.
waves.copied = Waves copied.
editor.default = [LIGHT_GRAY]<Default> editor.default = [LIGHT_GRAY]<Default>
edit = Edit... edit = Edit...
editor.name = Name: editor.name = Name:
@@ -254,6 +260,7 @@ filter.option.threshold = Threshold
filter.option.circle-scale = Circle Scale filter.option.circle-scale = Circle Scale
filter.option.octaves = Octaves filter.option.octaves = Octaves
filter.option.falloff = Falloff filter.option.falloff = Falloff
filter.option.block = Block
filter.option.floor = Floor filter.option.floor = Floor
filter.option.wall = Wall filter.option.wall = Wall
filter.option.ore = Ore filter.option.ore = Ore

View File

@@ -201,6 +201,12 @@ waves.waves = wave(s)
waves.perspawn = per spawn waves.perspawn = per spawn
waves.to = to waves.to = to
waves.boss = Boss waves.boss = Boss
waves.preview = Preview
waves.edit = Edit...
waves.copy = Copy to Clipboard
waves.load = Load from Clipboard
waves.invalid = Invalid waves in clipboard.
waves.copied = Waves copied.
editor.default = [LIGHT_GRAY]<Default> editor.default = [LIGHT_GRAY]<Default>
edit = Edit... edit = Edit...
editor.name = Nazwa: editor.name = Nazwa:
@@ -254,6 +260,7 @@ filter.option.threshold = Threshold
filter.option.circle-scale = Circle Scale filter.option.circle-scale = Circle Scale
filter.option.octaves = Octaves filter.option.octaves = Octaves
filter.option.falloff = Falloff filter.option.falloff = Falloff
filter.option.block = Block
filter.option.floor = Floor filter.option.floor = Floor
filter.option.wall = Wall filter.option.wall = Wall
filter.option.ore = Ore filter.option.ore = Ore

View File

@@ -201,6 +201,12 @@ waves.waves = wave(s)
waves.perspawn = per spawn waves.perspawn = per spawn
waves.to = to waves.to = to
waves.boss = Boss waves.boss = Boss
waves.preview = Preview
waves.edit = Edit...
waves.copy = Copy to Clipboard
waves.load = Load from Clipboard
waves.invalid = Invalid waves in clipboard.
waves.copied = Waves copied.
editor.default = [LIGHT_GRAY]<Default> editor.default = [LIGHT_GRAY]<Default>
edit = Edit... edit = Edit...
editor.name = Nome: editor.name = Nome:
@@ -254,6 +260,7 @@ filter.option.threshold = Threshold
filter.option.circle-scale = Circle Scale filter.option.circle-scale = Circle Scale
filter.option.octaves = Octaves filter.option.octaves = Octaves
filter.option.falloff = Falloff filter.option.falloff = Falloff
filter.option.block = Block
filter.option.floor = Floor filter.option.floor = Floor
filter.option.wall = Wall filter.option.wall = Wall
filter.option.ore = Ore filter.option.ore = Ore

View File

@@ -201,6 +201,12 @@ waves.waves = wave(s)
waves.perspawn = per spawn waves.perspawn = per spawn
waves.to = to waves.to = to
waves.boss = Boss waves.boss = Boss
waves.preview = Preview
waves.edit = Edit...
waves.copy = Copy to Clipboard
waves.load = Load from Clipboard
waves.invalid = Invalid waves in clipboard.
waves.copied = Waves copied.
editor.default = [LIGHT_GRAY]<Default> editor.default = [LIGHT_GRAY]<Default>
edit = Edit... edit = Edit...
editor.name = Название: editor.name = Название:
@@ -254,6 +260,7 @@ filter.option.threshold = Threshold
filter.option.circle-scale = Circle Scale filter.option.circle-scale = Circle Scale
filter.option.octaves = Octaves filter.option.octaves = Octaves
filter.option.falloff = Falloff filter.option.falloff = Falloff
filter.option.block = Block
filter.option.floor = Floor filter.option.floor = Floor
filter.option.wall = Wall filter.option.wall = Wall
filter.option.ore = Ore filter.option.ore = Ore

View File

@@ -201,6 +201,12 @@ waves.waves = wave(s)
waves.perspawn = per spawn waves.perspawn = per spawn
waves.to = to waves.to = to
waves.boss = Boss waves.boss = Boss
waves.preview = Preview
waves.edit = Edit...
waves.copy = Copy to Clipboard
waves.load = Load from Clipboard
waves.invalid = Invalid waves in clipboard.
waves.copied = Waves copied.
editor.default = [LIGHT_GRAY]<Default> editor.default = [LIGHT_GRAY]<Default>
edit = Edit... edit = Edit...
editor.name = isim: editor.name = isim:
@@ -254,6 +260,7 @@ filter.option.threshold = Threshold
filter.option.circle-scale = Circle Scale filter.option.circle-scale = Circle Scale
filter.option.octaves = Octaves filter.option.octaves = Octaves
filter.option.falloff = Falloff filter.option.falloff = Falloff
filter.option.block = Block
filter.option.floor = Floor filter.option.floor = Floor
filter.option.wall = Wall filter.option.wall = Wall
filter.option.ore = Ore filter.option.ore = Ore

View File

@@ -201,6 +201,12 @@ waves.waves = wave(s)
waves.perspawn = per spawn waves.perspawn = per spawn
waves.to = to waves.to = to
waves.boss = Boss waves.boss = Boss
waves.preview = Preview
waves.edit = Edit...
waves.copy = Copy to Clipboard
waves.load = Load from Clipboard
waves.invalid = Invalid waves in clipboard.
waves.copied = Waves copied.
editor.default = [LIGHT_GRAY]<Default> editor.default = [LIGHT_GRAY]<Default>
edit = Edit... edit = Edit...
editor.name = Name: editor.name = Name:
@@ -254,6 +260,7 @@ filter.option.threshold = Threshold
filter.option.circle-scale = Circle Scale filter.option.circle-scale = Circle Scale
filter.option.octaves = Octaves filter.option.octaves = Octaves
filter.option.falloff = Falloff filter.option.falloff = Falloff
filter.option.block = Block
filter.option.floor = Floor filter.option.floor = Floor
filter.option.wall = Wall filter.option.wall = Wall
filter.option.ore = Ore filter.option.ore = Ore

View File

@@ -201,6 +201,12 @@ waves.waves = wave(s)
waves.perspawn = per spawn waves.perspawn = per spawn
waves.to = to waves.to = to
waves.boss = Boss waves.boss = Boss
waves.preview = Preview
waves.edit = Edit...
waves.copy = Copy to Clipboard
waves.load = Load from Clipboard
waves.invalid = Invalid waves in clipboard.
waves.copied = Waves copied.
editor.default = [LIGHT_GRAY]<Default> editor.default = [LIGHT_GRAY]<Default>
edit = Edit... edit = Edit...
editor.name = Назва: editor.name = Назва:
@@ -254,6 +260,7 @@ filter.option.threshold = Threshold
filter.option.circle-scale = Circle Scale filter.option.circle-scale = Circle Scale
filter.option.octaves = Octaves filter.option.octaves = Octaves
filter.option.falloff = Falloff filter.option.falloff = Falloff
filter.option.block = Block
filter.option.floor = Floor filter.option.floor = Floor
filter.option.wall = Wall filter.option.wall = Wall
filter.option.ore = Ore filter.option.ore = Ore

View File

@@ -201,6 +201,12 @@ waves.waves = wave(s)
waves.perspawn = per spawn waves.perspawn = per spawn
waves.to = to waves.to = to
waves.boss = Boss waves.boss = Boss
waves.preview = Preview
waves.edit = Edit...
waves.copy = Copy to Clipboard
waves.load = Load from Clipboard
waves.invalid = Invalid waves in clipboard.
waves.copied = Waves copied.
editor.default = [LIGHT_GRAY]<Default> editor.default = [LIGHT_GRAY]<Default>
edit = Edit... edit = Edit...
editor.name = 名字: editor.name = 名字:
@@ -254,6 +260,7 @@ filter.option.threshold = Threshold
filter.option.circle-scale = Circle Scale filter.option.circle-scale = Circle Scale
filter.option.octaves = Octaves filter.option.octaves = Octaves
filter.option.falloff = Falloff filter.option.falloff = Falloff
filter.option.block = Block
filter.option.floor = Floor filter.option.floor = Floor
filter.option.wall = Wall filter.option.wall = Wall
filter.option.ore = Ore filter.option.ore = Ore

View File

@@ -201,6 +201,12 @@ waves.waves = wave(s)
waves.perspawn = per spawn waves.perspawn = per spawn
waves.to = to waves.to = to
waves.boss = Boss waves.boss = Boss
waves.preview = Preview
waves.edit = Edit...
waves.copy = Copy to Clipboard
waves.load = Load from Clipboard
waves.invalid = Invalid waves in clipboard.
waves.copied = Waves copied.
editor.default = [LIGHT_GRAY]<Default> editor.default = [LIGHT_GRAY]<Default>
edit = Edit... edit = Edit...
editor.name = 名稱: editor.name = 名稱:
@@ -254,6 +260,7 @@ filter.option.threshold = Threshold
filter.option.circle-scale = Circle Scale filter.option.circle-scale = Circle Scale
filter.option.octaves = Octaves filter.option.octaves = Octaves
filter.option.falloff = Falloff filter.option.falloff = Falloff
filter.option.block = Block
filter.option.floor = Floor filter.option.floor = Floor
filter.option.wall = Wall filter.option.wall = Wall
filter.option.ore = Ore filter.option.ore = Ore

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 500 B

After

Width:  |  Height:  |  Size: 501 B

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 238 KiB

After

Width:  |  Height:  |  Size: 239 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 195 KiB

After

Width:  |  Height:  |  Size: 209 KiB

View File

@@ -38,7 +38,7 @@ public class Blocks implements ContentList{
air, part, spawn, deepwater, water, tar, stone, craters, charr, sand, ice, snow, air, part, spawn, deepwater, water, tar, stone, craters, charr, sand, ice, snow,
holostone, rocks, sporerocks, icerocks, cliffs, sporePine, pine, whiteTree, whiteTreeDead, sporeCluster, holostone, rocks, sporerocks, icerocks, cliffs, sporePine, pine, whiteTree, whiteTreeDead, sporeCluster,
iceSnow, sandWater, duneRocks, sandRocks, moss, sporeMoss, shale, shaleRocks, shaleBoulder, grass, salt, iceSnow, sandWater, duneRocks, sandRocks, moss, sporeMoss, shale, shaleRocks, shaleBoulder, grass, salt,
metalFloor, metalFloorDamaged, metalFloor2, metalFloor3, metalFloor5, ignarock, magmarock, hotrock, snowrocks, rock, metalFloor, metalFloorDamaged, metalFloor2, metalFloor3, metalFloor5, ignarock, magmarock, hotrock, snowrocks, rock, snowrock,
//ores //ores
oreCopper, oreLead, oreScrap, oreCoal, oreTitanium, oreThorium, oreCopper, oreLead, oreScrap, oreCoal, oreTitanium, oreThorium,
@@ -189,11 +189,6 @@ public class Blocks implements ContentList{
variants = 0; variants = 0;
}}; }};
iceSnow = new Floor("ice-snow"){{
variants = 3;
attributes.set(Attribute.water, 0.3f);
}};
snow = new Floor("snow"){{ snow = new Floor("snow"){{
attributes.set(Attribute.water, 0.2f); attributes.set(Attribute.water, 0.2f);
}}; }};
@@ -205,6 +200,12 @@ public class Blocks implements ContentList{
attributes.set(Attribute.water, 0.4f); attributes.set(Attribute.water, 0.4f);
}}; }};
iceSnow = new Floor("ice-snow"){{
variants = 3;
attributes.set(Attribute.water, 0.3f);
edgeStyle = "blocky";
}};
cliffs = new StaticWall("cliffs"){{ cliffs = new StaticWall("cliffs"){{
variants = 1; variants = 1;
fillsTile = false; fillsTile = false;
@@ -222,6 +223,10 @@ public class Blocks implements ContentList{
variants = 2; variants = 2;
}}; }};
snowrock = new Rock("snowrock"){{
variants = 2;
}};
icerocks = new StaticWall("icerocks"){{ icerocks = new StaticWall("icerocks"){{
variants = 2; variants = 2;
}}; }};
@@ -277,6 +282,7 @@ public class Blocks implements ContentList{
sporeMoss = new Floor("spore-moss"){{ sporeMoss = new Floor("spore-moss"){{
variants = 3; variants = 3;
attributes.set(Attribute.spores, 0.3f); attributes.set(Attribute.spores, 0.3f);
edgeStyle = "blocky";
}}; }};
metalFloor = new Floor("metal-floor"){{ metalFloor = new Floor("metal-floor"){{

View File

@@ -16,7 +16,7 @@ public class Zones implements ContentList{
@Override @Override
public void load(){ public void load(){
groundZero = new Zone("groundZero", new MapGenerator("groundZero", 1)){{ groundZero = new Zone("groundZero", new MapGenerator("groundZero", 1).decor(new Decoration(Blocks.snow, Blocks.snowrock, 0.01))){{
baseLaunchCost = ItemStack.with(Items.copper, -100); baseLaunchCost = ItemStack.with(Items.copper, -100);
startingItems = ItemStack.list(Items.copper, 100); startingItems = ItemStack.list(Items.copper, 100);
alwaysUnlocked = true; alwaysUnlocked = true;
@@ -30,7 +30,7 @@ public class Zones implements ContentList{
}}; }};
}}; }};
craters = new Zone("craters", new MapGenerator("craters", 1).dist(0)){{ craters = new Zone("craters", new MapGenerator("craters", 1).dist(0).decor(new Decoration(Blocks.snow, Blocks.sporeCluster, 0.01))){{
startingItems = ItemStack.list(Items.copper, 200); startingItems = ItemStack.list(Items.copper, 200);
conditionWave = 10; conditionWave = 10;
itemRequirements = ItemStack.with(Items.copper, 2000); itemRequirements = ItemStack.with(Items.copper, 2000);

View File

@@ -212,7 +212,7 @@ public class MapEditor{
if(tile.block().isMultiblock()){ if(tile.block().isMultiblock()){
removeLinked(wx, wy); removeLinked(wx, wy);
}else if(link != 0 && tiles[x][y].block() == Blocks.part){ }else if(link != 0 && tiles[wx][wy].block() == Blocks.part){
removeLinked(wx - (Pack.leftByte(link) - 8), wy - (Pack.rightByte(link) - 8)); removeLinked(wx - (Pack.leftByte(link) - 8), wy - (Pack.rightByte(link) - 8));
} }
} }