Skip to content

Commit

Permalink
Merge branch 'Bubberstation:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
MosleyTheMalO authored Jul 23, 2024
2 parents 7a2984a + 07a088f commit 5d6c627
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 3 deletions.
4 changes: 4 additions & 0 deletions html/changelogs/AutoChangeLog-pr-1684.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
author: "Arturlang"
delete-after: True
changes:
- balance: "Bloodsuckers can only reach 560 max blood via drinking blood bags or the blood reagent, and bloodsuckers above level 4 will get 30% less blood and be disgusted by it."
4 changes: 4 additions & 0 deletions html/changelogs/AutoChangeLog-pr-1795.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
author: "nikothedude"
delete-after: True
changes:
- rscadd: "Mothroaches can now be milked for moth milk"
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,15 @@
var/datum/antagonist/bloodsucker/bloodsuckerdatum = IS_BLOODSUCKER(exposed_mob)
if(!bloodsuckerdatum)
return ..()
if(!(methods & (INJECT|INGEST)))
return ..()

if(istype(bloodsuckerdatum.my_clan, /datum/bloodsucker_clan/ventrue) && bloodsuckerdatum.GetBloodVolume() >= BLOOD_VOLUME_SAFE)
if(bloodsuckerdatum.my_clan && istype(bloodsuckerdatum.my_clan, /datum/bloodsucker_clan/ventrue) && bloodsuckerdatum.GetBloodVolume() >= BLOOD_VOLUME_SAFE)
return ..()
if(bloodsuckerdatum.GetBloodVolume() >= BLOOD_VOLUME_MAXIMUM)
if(bloodsuckerdatum.GetRank() >= BLOODSUCKER_HIGH_LEVEL)
exposed_mob.adjust_disgust(5 SECONDS, DISGUST_LEVEL_GROSS)
reac_volume = reac_volume * 0.3
if(bloodsuckerdatum.GetBloodVolume() >= BLOOD_VOLUME_NORMAL)
return ..()
bloodsuckerdatum.AdjustBloodVolume(round(reac_volume, 0.1))

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@

// Ranked up enough to get your true Reputation?
if(bloodsuckerdatum.GetRank() == BLOODSUCKER_HIGH_LEVEL)
to_chat(bloodsuckerdatum.owner.current, span_warning("Drinking from mindless humans is now much more less effective."))
to_chat(bloodsuckerdatum.owner.current, span_warning("Drinking from mindless humans and blood bags is now much more less effective."))
bloodsuckerdatum.SelectReputation(am_fledgling = FALSE, forced = TRUE)


Expand Down
6 changes: 6 additions & 0 deletions modular_zubbers/code/modules/reagents/drink_reagents.dm
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,9 @@
if(!ismoth(M))
M.adjust_disgust(10 * REM * delta_time,DISGUST_LEVEL_DISGUSTED)
return UPDATE_MOB_HEALTH


/mob/living/basic/mothroach/Initialize(mapload)
. = ..()

AddComponent(/datum/component/udder, reagent_produced_override = /datum/reagent/consumable/moth_milk)

0 comments on commit 5d6c627

Please sign in to comment.