Skip to content

Commit

Permalink
cow tweak (#36779)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eneocho authored Jul 18, 2024
1 parent d4b3f4a commit e01bd50
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
if(istype(O, /obj/item/weapon/reagent_containers/glass))
user.visible_message("<span class='notice'>[user] milks [src] using \the [O].</span>")
var/obj/item/weapon/reagent_containers/glass/G = O
var/transfered = udder.trans_id_to(G, MILK, rand(5,10))
var/transfered = udder.trans_id_to(G, MILK, rand(15,25))
if(G.reagents.total_volume >= G.volume)
to_chat(user, "<span class='warning'>[O] is full.</span>")
if(!transfered)
Expand Down Expand Up @@ -149,7 +149,7 @@
if(stat == CONSCIOUS && istype(O, /obj/item/weapon/reagent_containers/glass))
user.visible_message("<span class='notice'>[user] milks [src] using \the [O].</span>")
var/obj/item/weapon/reagent_containers/glass/G = O
var/transfered = reagents.trans_id_to(G, milktype, rand(5,10))
var/transfered = reagents.trans_id_to(G, milktype, rand(15,25))
if(G.reagents.total_volume >= G.volume)
to_chat(user, "<span class='warning'>[O] is full.</span>")
if(!transfered)
Expand Down

0 comments on commit e01bd50

Please sign in to comment.