mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-02-23 08:31:09 -08:00
Many changes to improve scripting
This commit is contained in:
parent
a7d37b7e6c
commit
1aca302518
81 changed files with 288 additions and 282 deletions
|
|
@ -41,7 +41,7 @@ public class DirectConsumerTests extends PowerTestFixture{
|
|||
consumerTile.entity.items.add(Items.lead, leadAmount);
|
||||
|
||||
Tile producerTile = createFakeTile(2, 0, createFakeProducerBlock(producedPower));
|
||||
producerTile.<PowerGenerator.GeneratorEntity>entity().productionEfficiency = 1f;
|
||||
producerTile.<PowerGenerator.GeneratorEntity>ent().productionEfficiency = 1f;
|
||||
|
||||
PowerGraph graph = new PowerGraph();
|
||||
graph.add(producerTile);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue