mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-27 15:02:03 -08:00
Merge pull request #3215 from summetdev/groups/unit-factory
[QoL] Add Unit Factories to the Common Block Group.
This commit is contained in:
commit
440c035367
2 changed files with 3 additions and 2 deletions
|
|
@ -10,6 +10,7 @@ import mindustry.gen.*;
|
|||
import mindustry.world.*;
|
||||
import mindustry.world.blocks.payloads.*;
|
||||
import mindustry.world.blocks.production.*;
|
||||
import mindustry.world.meta.*;
|
||||
|
||||
import static mindustry.Vars.*;
|
||||
|
||||
|
|
@ -17,7 +18,7 @@ public class UnitBlock extends PayloadAcceptor{
|
|||
|
||||
public UnitBlock(String name){
|
||||
super(name);
|
||||
|
||||
group = BlockGroup.units;
|
||||
outputsPayload = true;
|
||||
rotate = true;
|
||||
update = true;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
package mindustry.world.meta;
|
||||
|
||||
public enum BlockGroup{
|
||||
none, walls, turrets, transportation, power, liquids, drills, storage
|
||||
none, walls, turrets, transportation, power, liquids, drills, storage, units
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue