Skip to content

Commit

Permalink
Fix backpack sprayers (#4161)
Browse files Browse the repository at this point in the history
# About the pull request
fixes: #3369
<!-- Remove this text and explain what the purpose of your PR is.

Mention if you have tested your changes. If you changed a map, make sure
you used the mapmerge tool.
If this is an Issue Correction, you can type "Fixes Issue #169420" to
link the PR to the corresponding Issue number #169420.

Remember: something that is self-evident to you might not be to others.
Explain your rationale fully, even if you feel it goes without saying.
-->

# Explain why it's good for the game
# 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:
fix: spraying with the hose will no cost 5u of water while spaying 5u of
water.
fix: fixed the verb to take out the hose.
fix: remove the option to change the output as it was confusing for
people.
/:cl:

---------

Co-authored-by: Julien <[email protected]>
  • Loading branch information
Huffie56 and Julien committed Aug 14, 2023
1 parent 317a0cb commit 7bb3846
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion code/game/objects/items/backpack_sprayers.dm
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
w_class = SIZE_LARGE
flags_equip_slot = SLOT_BACK
flags_atom = OPENCONTAINER
possible_transfer_amounts = null//no point giving it possibility when mister can't it just confuse people
volume = 500
var/fill_reagent = "water"
var/spawn_empty = FALSE
Expand Down Expand Up @@ -83,8 +84,10 @@
/obj/item/reagent_container/glass/watertank/verb/toggle_mister_verb()
set name = "Toggle Mister"
set category = "Object"
set src in usr
toggle_mister(usr)


/obj/item/reagent_container/glass/watertank/MouseDrop(obj/over_object as obj)
if(!CAN_PICKUP(usr, src))
return ..()
Expand Down Expand Up @@ -132,7 +135,7 @@
item_state = "nozzle"
w_class = SIZE_LARGE
flags_equip_slot = null
amount_per_transfer_from_this = 50
amount_per_transfer_from_this = 5
possible_transfer_amounts = null
spray_size = 5
volume = 500
Expand Down

0 comments on commit 7bb3846

Please sign in to comment.