Skip to content

Commit

Permalink
Removes telekinetic beaker cap manipulation (#2572)
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

AltClick() does not by default check for range (and probably other
stuff), adds a can_interact() check

## Why It's Good For The Game

fixes #1498

## Changelog

πŸ†‘ 
fix: Players are no longer bottlecap-omancers, and can no longer
magically manipulate bottle caps at range
/πŸ†‘

<!-- Both πŸ†‘'s are required for the changelog to work! You can put
your name to the right of the first πŸ†‘ 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. -->

---------

Signed-off-by: Theos <[email protected]>
  • Loading branch information
SomeguyManperson authored Dec 12, 2023
1 parent 738f4ac commit b917f4d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/modules/reagents/reagent_containers.dm
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@
reagents.remove_reagent(reag.type, reag.volume * frac)

/obj/item/reagent_containers/AltClick(mob/user)
if(!can_interact(user))
return
. = ..()
if(can_have_cap)
if(cap_lost)
Expand Down

0 comments on commit b917f4d

Please sign in to comment.