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

[MIRROR] Codifies male goats not having an udder #656

Merged
merged 1 commit into from
Nov 16, 2023
Merged
Show file tree
Hide file tree
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
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
Loading