Merge pull request #3601 from genNAowl/projector-block-group

Add Projectors Blockgroup
This commit is contained in:
Anuken 2020-11-25 17:27:56 -05:00 committed by GitHub
commit f49f151901
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 1 deletions

View file

@ -48,6 +48,7 @@ public class ForceProjector extends Block{
super(name);
update = true;
solid = true;
group = BlockGroup.projectors;
hasPower = true;
hasLiquids = true;
hasItems = true;

View file

@ -31,6 +31,7 @@ public class MendProjector extends Block{
super(name);
solid = true;
update = true;
group = BlockGroup.projectors;
hasPower = true;
hasItems = true;
}

View file

@ -32,6 +32,7 @@ public class OverdriveProjector extends Block{
super(name);
solid = true;
update = true;
group = BlockGroup.projectors;
hasPower = true;
hasItems = true;
canOverdrive = false;

View file

@ -1,5 +1,5 @@
package mindustry.world.meta;
public enum BlockGroup{
none, walls, turrets, transportation, power, liquids, drills, storage, units, logic
none, walls, projectors, turrets, transportation, power, liquids, drills, storage, units, logic
}