Merge pull request #3103 from MEEPofFaith/patch-1
[Modding] Custom Base Support
This commit is contained in:
@@ -65,7 +65,7 @@ public abstract class Turret extends ReloadTurret{
|
|||||||
protected Vec2 tr = new Vec2();
|
protected Vec2 tr = new Vec2();
|
||||||
protected Vec2 tr2 = new Vec2();
|
protected Vec2 tr2 = new Vec2();
|
||||||
|
|
||||||
public @Load("block-@size") TextureRegion baseRegion;
|
public @Load(value = "base-@", fallback = "block-@size") TextureRegion baseRegion;
|
||||||
public @Load("@-heat") TextureRegion heatRegion;
|
public @Load("@-heat") TextureRegion heatRegion;
|
||||||
|
|
||||||
public Cons<TurretBuild> drawer = tile -> Draw.rect(region, tile.x + tr2.x, tile.y + tr2.y, tile.rotation - 90);
|
public Cons<TurretBuild> drawer = tile -> Draw.rect(region, tile.x + tr2.x, tile.y + tr2.y, tile.rotation - 90);
|
||||||
|
|||||||
Reference in New Issue
Block a user