Skip to content

Commit

Permalink
[MIRROR] Codifies male goats not having an udder [MDB IGNORE] (#656)
Browse files Browse the repository at this point in the history
* Codifies male goats not having an udder (#79722)

---------

Co-authored-by: SkyratBot <[email protected]>
Co-authored-by: san7890 <[email protected]>
Co-authored-by: Ghom <42542238+Ghommie@ users.noreply.github.com>
  • Loading branch information
4 people authored Nov 16, 2023
1 parent f7d8191 commit 935085b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 3 additions & 1 deletion code/modules/mob/living/basic/farm_animals/goat/_goat.dm
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,10 @@

INVOKE_ASYNC(src, PROC_REF(eat_plant), edible_plants)

/// When invoked, adds an udder. Overridden on subtypes
/// When invoked, adds an udder when applicable. Male goats do not have udders.
/mob/living/basic/goat/proc/add_udder()
if(gender == MALE)
return
AddComponent(/datum/component/udder)

/// Proc that handles dealing with the various types of plants we might eat. Assumes that a valid list of type(s) will be passed in.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,3 @@
if((bodytemperature < T20C) || istype(goat_area, /area/station/service/kitchen/coldroom))
. += span_notice("[p_They()] [p_do()]n't seem to be too bothered about the cold.") // special for pete

/mob/living/basic/goat/pete/add_udder()
return //no thank you

0 comments on commit 935085b

Please sign in to comment.