Skip to content

Commit

Permalink
Frontiersmen Turrets (shiptest-ss13#3523)
Browse files Browse the repository at this point in the history
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->

## About The Pull Request

Adds Frontiersmen Coded Turrets

Spitter - Pounder - Shredder

<!-- Describe The Pull Request. Please be sure every change is
documented or this can delay review and even discourage maintainers from
merging your PR! -->

## Why It's Good For The Game

TurretQuest

<!-- Please add a short description of why you think these changes would
benefit the game. If you can't justify it in words, it might not be
worth adding. -->

## Changelog

:cl:
add: The Frontiersmen have duct taped some turrets of their own together
/:cl:

<!-- Both :cl:'s are required for the changelog to work! You can put
your name to the right of the first :cl: if you want to overwrite your
GitHub username as author ingame. -->
<!-- You can use multiple of the same prefix (they're only used for the
icon ingame) and delete the unneeded ones. Despite some of the tags,
changelogs should generally represent how a player might be affected by
the changes rather than a summary of the PR's contents. -->
  • Loading branch information
Erikafox authored and zimon9 committed Oct 29, 2024
1 parent 3e7d814 commit e08060a
Showing 1 changed file with 42 additions and 1 deletion.
43 changes: 42 additions & 1 deletion code/game/machinery/porta_turret/portable_turret.dm
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,7 @@ DEFINE_BITFIELD(turret_flags, list(
. = ..()
if(in_range(user, src) || isobserver(user))
if(!(machine_stat & BROKEN))
. += "<span class='notice'>[src] reports its integrity is currently [round(obj_integrity / max_integrity) * 100] percent.</span>"
. += "<span class='notice'>[src] reports its integrity is currently [round((obj_integrity / max_integrity) * 100)] percent.</span>"

/obj/machinery/porta_turret/ship/weak
max_integrity = 120
Expand Down Expand Up @@ -1013,6 +1013,47 @@ DEFINE_BITFIELD(turret_flags, list(
lethal_projectile = /obj/projectile/beam/hitscan/kalix/pgf/sniper //fwoom
lethal_projectile_sound = 'sound/weapons/gun/laser/heavy_laser.ogg'

/// Frontiersmen Turrets

// fast and spitty

/obj/machinery/porta_turret/ship/frontiersmen
name = "Spitter Turret"
desc = "A juryrigged mishmash of a 9mm SMG and targetting system. Stand clear!"
faction = list(FACTION_FRONTIER, "Turret")
subsystem_type = /datum/controller/subsystem/processing/fastprocess
integrity_failure = 0.6
max_integrity = 180

icon_state = "standard_lethal"
base_icon_state = "standard"

stun_projectile = /obj/projectile/bullet/c9mm
stun_projectile_sound = 'sound/weapons/gun/smg/spitter.ogg'
lethal_projectile = /obj/projectile/bullet/c9mm
lethal_projectile_sound = 'sound/weapons/gun/smg/spitter.ogg'
shot_delay = 2
scan_range = 6

/obj/machinery/porta_turret/ship/frontiersmen/light
name = "Pounder Turret"
desc = "A low caliber SMG with an atrociously high cycle rate, frankensteined together with a targetting assembly."
stun_projectile = /obj/projectile/bullet/c22lr
stun_projectile_sound = 'sound/weapons/gun/smg/pounder.ogg'
lethal_projectile = /obj/projectile/bullet/c22lr
lethal_projectile_sound = 'sound/weapons/gun/smg/pounder.ogg'
shot_delay = 1

/obj/machinery/porta_turret/ship/frontiersmen/heavy
name = "Mulcher Turret"
desc = "An abombination made out of the components of a Shredder and an automatic targetting system. Careful now."
stun_projectile = /obj/projectile/bullet/slug/beanbag
stun_projectile_sound = 'sound/weapons/gun/hmg/shredder.ogg'
lethal_projectile = /obj/projectile/bullet/slug
lethal_projectile_sound = 'sound/weapons/gun/hmg/shredder.ogg'
shot_delay = 3
scan_range = 8

////////////////////////
//Turret Control Panel//
////////////////////////
Expand Down

0 comments on commit e08060a

Please sign in to comment.