Skip to content

Commit

Permalink
reduces binocular zoom for HvH (#7515)
Browse files Browse the repository at this point in the history
# About the pull request
reduces binocular zoom to miniscope level when no scope flag is on

# Explain why it's good for the game
# Testing Photographs and Procedure
binoculars give HUGE advantage on HvH, this reduces their zoom to
miniscope level from full scope level

<details>
<summary>Screenshots & Videos</summary>

Put screenshots and videos here with an empty line between the
screenshots and the `<details>` tags.

</details>


# Changelog
:cl:
balance: binoculars have miniscope level zoom on HvH
/:cl:

Co-authored-by: vincibrv <[email protected]>
  • Loading branch information
cuberound and uuuuhuuuu authored Nov 7, 2024
1 parent 4d8c782 commit 795d18a
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions code/game/objects/items/devices/binoculars.dm
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@
throw_speed = SPEED_VERY_FAST
/// If FALSE won't change icon_state to a camo marine bino.
var/uses_camo = TRUE

var/tile_offset = 11
var/viewsize = 12
var/hvh_tile_offset = 6 //same as miniscopes
var/hvh_zoom_viewsize = 7

//matter = list("metal" = 50,"glass" = 50)

Expand All @@ -29,8 +32,10 @@

if(SEND_SIGNAL(user, COMSIG_BINOCULAR_ATTACK_SELF, src))
return

zoom(user, 11, 12)
if(SSticker.mode && MODE_HAS_TOGGLEABLE_FLAG(MODE_NO_SNIPER_SENTRY))
zoom(user, hvh_tile_offset, hvh_zoom_viewsize)
else
zoom(user, tile_offset, viewsize)

/obj/item/device/binoculars/dropped(/obj/item/item, mob/user)
. = ..()
Expand Down

0 comments on commit 795d18a

Please sign in to comment.