Skip to content

Commit

Permalink
Adds 70% chance groundside reagent tanks are anchored. (#6279)
Browse files Browse the repository at this point in the history
# About the pull request

As title.

# Explain why it's good for the game

Whilst Xenos are more than capable of using environmental advantages in
traps, they're not intended to move human equipment to pre-plan traps in
different locations. Rather than rendering it entirely impossible
however, or forbidding it from a rules end, this leaves it to chance.

# Testing Photographs and Procedure
<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: Added a 70% chance groundside reagent tanks start anchored, if
they don't already.
/:cl:

---------

Co-authored-by: Drathek <[email protected]>
  • Loading branch information
realforest2001 and Drulikar authored May 14, 2024
1 parent 179f133 commit fcd1e13
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/game/objects/structures/reagent_dispensers.dm
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
verbs -= /obj/structure/reagent_dispensers/verb/set_APTFT
if(chemical)
reagents.add_reagent(chemical, reagent_amount)
if(!anchored && is_ground_level(z) && prob(70))
anchored = TRUE

/obj/structure/reagent_dispensers/initialize_pass_flags(datum/pass_flags_container/PF)
..()
Expand Down

0 comments on commit fcd1e13

Please sign in to comment.