Skip to content

Commit

Permalink
You can now throw things from behind tables (#3537)
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
You can now throw things from behind flipped tables. 
<!-- 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
You would think that being adjacent to a supposedly defensive thing
would at least let you throw things over it. Like sandbags. Or
barricades.
<!-- 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: Flipped tables actually let you throw things over them now.
/: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 Oct 15, 2024
1 parent 65718ef commit 0539e42
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/game/objects/structures/table_flipped.dm
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
density = TRUE
layer = ABOVE_MOB_LAYER
opacity = FALSE
pass_flags_self = LETPASSTHROW
var/table_type = /obj/structure/table

/obj/structure/flippedtable/Initialize()
Expand Down Expand Up @@ -54,6 +55,8 @@
return
if(istype(exiter, /obj/projectile))
return
if(istype(exiter, /obj/item))
return
if(direction == table_dir)
exiter.Bump(src)
return COMPONENT_ATOM_BLOCK_EXIT
Expand Down

0 comments on commit 0539e42

Please sign in to comment.