Skip to content

Commit

Permalink
Фикс трейта на беременность (BlueMoon-Labs#1264)
Browse files Browse the repository at this point in the history
-Теперь точно никаких яиц быть не должно

Co-authored-by: Gardelin0 <[email protected]>
  • Loading branch information
Gar-Delin and Gardelin0 authored Sep 7, 2024
1 parent 0277636 commit 90a9ff4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions modular_splurt/code/datums/components/pregnancy.dm
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@
/datum/component/pregnancy/proc/handle_life(seconds)
SIGNAL_HANDLER

if(!HAS_TRAIT(carrier,TRAIT_COMMON_PREGNANCY)) //For normal pregnancy - Gardelin0
if(!HAS_TRAIT(carrier, TRAIT_COMMON_PREGNANCY)) //For normal pregnancy - Gardelin0
if(oviposition)
handle_ovi_preg()
else
Expand All @@ -192,7 +192,7 @@
carrier.apply_status_effect(/datum/status_effect/pregnancy)
carrier.apply_status_effect(/datum/status_effect/lactation)

if(!HAS_TRAIT(carrier,TRAIT_COMMON_PREGNANCY)) //For normal pregnancy - Gardelin0
if(!HAS_TRAIT(carrier, TRAIT_COMMON_PREGNANCY)) //For normal pregnancy - Gardelin0
if(stage > 3 && ishuman(carrier) && oviposition)
SEND_SIGNAL(carrier, COMSIG_ADD_MOOD_EVENT, "pregnancy", /datum/mood_event/pregnant_negative)

Expand Down Expand Up @@ -302,6 +302,9 @@
lay_eg(get_turf(carrier))

/datum/component/pregnancy/proc/lay_eg(atom/location, datum/reagents/senders_cum)
if(HAS_TRAIT(carrier, TRAIT_COMMON_PREGNANCY)) //For normal pregnancy - Gardelin0
return

to_chat(carrier, span_userlove("You feel your egg sliding slowly inside!"))

if(prob(60))
Expand Down

0 comments on commit 90a9ff4

Please sign in to comment.