Cleanup
This commit is contained in:
BIN
core/assets-raw/sprites/blocks/units/resupply-point.png
Normal file
BIN
core/assets-raw/sprites/blocks/units/resupply-point.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
@@ -73,7 +73,7 @@ public class Rules{
|
|||||||
/** Spawn layout. */
|
/** Spawn layout. */
|
||||||
public Seq<SpawnGroup> spawns = new Seq<>();
|
public Seq<SpawnGroup> spawns = new Seq<>();
|
||||||
/** Starting items put in cores */
|
/** Starting items put in cores */
|
||||||
public Seq<ItemStack> loadout = Seq.with(ItemStack.with(Items.copper, 100));
|
public Seq<ItemStack> loadout = ItemStack.list(Items.copper, 100);
|
||||||
/** Weather events that occur here. */
|
/** Weather events that occur here. */
|
||||||
public Seq<WeatherEntry> weather = new Seq<>(1);
|
public Seq<WeatherEntry> weather = new Seq<>(1);
|
||||||
/** Blocks that cannot be placed. */
|
/** Blocks that cannot be placed. */
|
||||||
|
|||||||
@@ -144,10 +144,8 @@ public class CustomRulesDialog extends BaseDialog{
|
|||||||
|
|
||||||
main.button("$configure",
|
main.button("$configure",
|
||||||
() -> loadoutDialog.show(Blocks.coreShard.itemCapacity, rules.loadout,
|
() -> loadoutDialog.show(Blocks.coreShard.itemCapacity, rules.loadout,
|
||||||
() -> {
|
() -> rules.loadout.clear().add(new ItemStack(Items.copper, 100)),
|
||||||
rules.loadout.clear();
|
() -> {}, () -> {}
|
||||||
rules.loadout.add(new ItemStack(Items.copper, 100));
|
|
||||||
}, () -> {}, () -> {}
|
|
||||||
)).left().width(300f);
|
)).left().width(300f);
|
||||||
main.row();
|
main.row();
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
org.gradle.daemon=true
|
org.gradle.daemon=true
|
||||||
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
||||||
archash=f76b0c94953c07ef2ac40858b3b615a34911bdf7
|
archash=bae3e678b96297aed5ca6dbaabcc652da62fa904
|
||||||
|
|||||||
Reference in New Issue
Block a user