Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix backpack sprayers #4161

Merged
merged 13 commits into from
Aug 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading