Skip to content

Commit

Permalink
Buffs cow and goat milk production. (#36728)
Browse files Browse the repository at this point in the history
* buffs milk production

* .
  • Loading branch information
Eneocho authored Jul 2, 2024
1 parent fc3d58e commit 0c8c65a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions code/modules/mob/living/simple_animal/friendly/farm_animals.dm
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

/mob/living/simple_animal/hostile/retaliate/goat/New()
if(gives_milk)
udder = new(50)
udder = new(100)
udder.my_atom = src
..()

Expand All @@ -53,8 +53,8 @@
Calm()

if(stat == CONSCIOUS)
if(udder && prob(5))
udder.add_reagent(MILK, rand(5, 10))
if(udder && prob(15))
udder.add_reagent(MILK, rand(10, 15))

if(locate(/obj/effect/plantsegment) in loc)
var/obj/effect/plantsegment/SV = locate(/obj/effect/plantsegment) in loc
Expand Down Expand Up @@ -143,7 +143,7 @@

/mob/living/simple_animal/cow/New()
..()
reagents.maximum_volume = 50
reagents.maximum_volume = 150

/mob/living/simple_animal/cow/attackby(var/obj/item/O as obj, var/mob/user as mob)
if(stat == CONSCIOUS && istype(O, /obj/item/weapon/reagent_containers/glass))
Expand All @@ -162,8 +162,8 @@
return 0 //under effects of time magick
. = ..()
if(stat == CONSCIOUS)
if(reagents && prob(5))
reagents.add_reagent(milktype, rand(5, 10))
if(reagents && prob(25))
reagents.add_reagent(milktype, rand(10, 15))

/mob/living/simple_animal/cow/attack_hand(mob/living/carbon/M as mob)
if(!stat && M.a_intent == I_DISARM && icon_state != icon_dead)
Expand Down

0 comments on commit 0c8c65a

Please sign in to comment.