Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /obj/machinery/plumbing/pipe/sink/attack_hand(mob/user as mob)
- var/datum/plumb_web/A
- user.visible_message("\blue [user] using the handle of sink","\blue you using the handle of sink")
- for(var/obj/structure/reagent_dispensers/D in world)
- if(D.connect_to_pipe == 1 & plumb_web_num == D.plumb_web_num & A.web_num != plumb_web_num)
- var/i
- A.web_num = plumb_web_num
- for (i = 1, i <= D.reagents.reagent_list.len, i++)
- var/datum/reagent/R = D.reagents.reagent_list[i]
- A.reagents_name += R.id
- A.reagents_num += 1
- plumb_web += A
Advertisement
Add Comment
Please, Sign In to add comment