Skip to content

Commit

Permalink
Dot laser turret
Browse files Browse the repository at this point in the history
  • Loading branch information
Slotterleet committed Nov 12, 2023
1 parent d791923 commit 44d4e41
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 1 deletion.
2 changes: 2 additions & 0 deletions core/res/bundles/bundle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ block.fos-helix.name = Helix
block.fos-helix.description = Shoots two waving bullets.
block.fos-sticker.name = Sticker
block.fos-sticker.description = Shoots sticky bullets at air targets. Requires tokicite.
block.fos-dot.name = Dot
block.fos-dot.description = Shoots a laser stream at targets.
block.fos-particulator.name = Particulator
block.fos-particulator.description = Shoots a large projectile that splits into many shards that stay on ground.
block.fos-pulse.name = Pulse
Expand Down
2 changes: 2 additions & 0 deletions core/res/bundles/bundle_ru.properties
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ block.fos-helix.name = Спираль
block.fos-helix.description = Стреляет двумя волновыми снарядами.
block.fos-sticker.name = Прилипатель
block.fos-sticker.description = Стреляет липучими снарядами по вражеским целям. Требует токицит.
block.fos-dot.name = Точка
block.fos-dot.description = Стреляет лазерным потоком по вражеским целям.
block.fos-particulator.name = Партикулятор
block.fos-particulator.description = Стреляет большим снарядом, разлетающимся на много осколков, которые остаются лежать на земле.
block.fos-pulse.name = Пульс
Expand Down
Binary file added core/res/sprites/blocks/turrets/dot-base.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added core/res/sprites/blocks/turrets/dot-laser-end.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added core/res/sprites/blocks/turrets/dot-laser.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added core/res/sprites/blocks/turrets/dot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 18 additions & 1 deletion core/src/fos/content/FOSBlocks.java
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public class FOSBlocks {

//defense
tinWall, tinWallLarge, diamondWall, diamondWallLarge, vanadiumWall, vanadiumWallLarge, cuberiumWall, cuberiumWallLarge,
helix, sticker, particulator, pulse, breakdown, thunder, cluster, judge, newJudge,
helix, sticker, dot, particulator, pulse, breakdown, thunder, cluster, judge, newJudge,
matrixShieldProj,
landMine,

Expand Down Expand Up @@ -568,6 +568,23 @@ diamond, new StickyBulletType(3f, 30, 60){{
}};
requirements(Category.turret, with(tin, 75, silver, 100));
}};
dot = new TractorBeamTurret("dot"){{
scaledHealth = 480;
size = 2;
range = 150f;
rotateSpeed = 7.5f;
shootCone = 2f;
laserWidth = 0.2f;
damage = 3f;
force = 0f;
retargetTime = 45f;
targetAir = targetGround = true;
laserColor = Color.scarlet;
shootSound = Sounds.laser;
squareSprite = false;
consumePower(2f);
requirements(Category.turret, with(silver, 50, diamond, 75, vanadium, 50));
}};
particulator = new ItemTurret("particulator"){{
health = 2400;
size = 3;
Expand Down

0 comments on commit 44d4e41

Please sign in to comment.