Skip to content
Open
Show file tree
Hide file tree
Changes from 8 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
5 changes: 5 additions & 0 deletions code/datums/diseases/viruses/_virus.dm
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,8 @@
if(spread_flags & AIRBORNE)
spread += "Воздушно-капельный"
return russian_list(spread, "Неизвестено", " и ")

//List of viruses that cannot be vaccinated against using PANDEMIC. For game balance, some viruses are not intended to be preventable with a simple vaccine.
GLOBAL_LIST_INIT(no_vaccine_viruses, list(
/datum/disease/virus/loyalty,
))
6 changes: 3 additions & 3 deletions code/datums/diseases/viruses/loyalty_syndrome.dm
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
desc = "Болезнь, вызывающая острую массовую одержимость определённым человеком, а также различные навязчивые идеи."
spread_flags = CONTACT
permeability_mod = 0.8
can_immunity = FALSE
cure_text = "Галоперидол"
cures = list("haloperidol")
cure_text = "Галоперидол и Эфир"
cures = list("haloperidol", "ether")
visibility_flags = HIDDEN_HUD
severity = DISEASE_SEVERITY_BIOHAZARD
var/is_master = FALSE
Expand Down Expand Up @@ -164,4 +163,5 @@
need_master_death_message = FALSE
affected_mob.adjustBrainLoss(50)
addtimer(CALLBACK(affected_mob, TYPE_PROC_REF(/mob/living/carbon/human, emote), "cry"), rand(3, 10) SECONDS)

#undef STAGE_TIME
6 changes: 4 additions & 2 deletions code/modules/reagents/chemistry/machinery/pandemic.dm
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@
vaccine_name = disease.name

if(vaccine_type)

B.name = "вакцина [capitalize(vaccine_name)]"
B.ru_names = list(
NOMINATIVE = "вакцина [capitalize(vaccine_name)]",
Expand Down Expand Up @@ -359,6 +358,10 @@
return ..()
beaker = I
balloon_alert(user, "ёмкость вставлена")
var/datum/reagents/reagents = beaker.reagents
for(var/datum/reagent/blood in reagents.reagent_list)
if(blood?.data && blood.data["resistances"])
blood.data["resistances"] -= GLOB.no_vaccine_viruses
updateUsrDialog()
update_icon(UPDATE_ICON_STATE)
return ATTACK_CHAIN_BLOCKED_ALL
Expand All @@ -381,4 +384,3 @@

/obj/machinery/computer/pandemic/wrench_act(mob/living/user, obj/item/I)
return default_unfasten_wrench(user, I)

Loading