mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-14 09:47:24 +07:00
Glass
This commit is contained in:
Binary file not shown.
Before Width: | Height: | Size: 274 B |
BIN
core/assets-raw/sprites/items/item-metaglass.png
Normal file
BIN
core/assets-raw/sprites/items/item-metaglass.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 261 B |
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Before Width: | Height: | Size: 608 KiB After Width: | Height: | Size: 609 KiB |
@ -7,7 +7,7 @@ import io.anuke.mindustry.type.ItemType;
|
|||||||
|
|
||||||
public class Items implements ContentList{
|
public class Items implements ContentList{
|
||||||
public static Item scrap, copper, lead, graphite, coal, titanium, thorium, silicon, plastanium, phasefabric, surgealloy,
|
public static Item scrap, copper, lead, graphite, coal, titanium, thorium, silicon, plastanium, phasefabric, surgealloy,
|
||||||
biomatter, sand, blastCompound, pyratite, bioglass;
|
biomatter, sand, blastCompound, pyratite, metaglass;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void load(){
|
public void load(){
|
||||||
@ -26,6 +26,11 @@ public class Items implements ContentList{
|
|||||||
genOre = true;
|
genOre = true;
|
||||||
}};
|
}};
|
||||||
|
|
||||||
|
metaglass = new Item("metaglass", Color.valueOf("648b55")){{
|
||||||
|
type = ItemType.material;
|
||||||
|
cost = 2f;
|
||||||
|
}};
|
||||||
|
|
||||||
graphite = new Item("graphite", Color.valueOf("b2c6d2")){{
|
graphite = new Item("graphite", Color.valueOf("b2c6d2")){{
|
||||||
type = ItemType.material;
|
type = ItemType.material;
|
||||||
cost = 1.3f;
|
cost = 1.3f;
|
||||||
@ -99,10 +104,5 @@ public class Items implements ContentList{
|
|||||||
flammability = 0.7f;
|
flammability = 0.7f;
|
||||||
explosiveness = 0.2f;
|
explosiveness = 0.2f;
|
||||||
}};
|
}};
|
||||||
|
|
||||||
bioglass = new Item("bioglass", Color.valueOf("648b55")){{
|
|
||||||
type = ItemType.material;
|
|
||||||
cost = 2f;
|
|
||||||
}};
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -51,11 +51,12 @@ public class ApplicationTests{
|
|||||||
|
|
||||||
BundleLoader.load();
|
BundleLoader.load();
|
||||||
content.load();
|
content.load();
|
||||||
content.initialize(Content::init);
|
|
||||||
|
|
||||||
add(logic = new Logic());
|
add(logic = new Logic());
|
||||||
add(world = new World());
|
add(world = new World());
|
||||||
add(netServer = new NetServer());
|
add(netServer = new NetServer());
|
||||||
|
|
||||||
|
content.initialize(Content::init);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Reference in New Issue
Block a user