-
Notifications
You must be signed in to change notification settings - Fork 441
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
74696a7
commit 57c8526
Showing
3 changed files
with
54 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
/datum/disease/virus/babylonian_fever | ||
name = "Babylonian Fever" | ||
agent = "Babylon fever agent" | ||
desc = "If left untreated, the subject will be in a state of disorientation and will forget all the languages he knew." | ||
max_stages = 3 | ||
spread_flags = AIRBORNE | ||
visibility_flags = HIDDEN_HUD | ||
cure_text = "Mannitol & Mitocholide" | ||
cures = list("mannitol", "mitocholide") | ||
cure_prob = 30 | ||
permeability_mod = 0.75 | ||
severity = MEDIUM | ||
var/known_languages = list() | ||
|
||
/datum/disease/virus/babylonian_fever/stage_act() | ||
if(!..()) | ||
return FALSE | ||
switch(stage) | ||
if(1) | ||
if(affected_mob.languages && !LAZYLEN(known_languages)) | ||
for(var/datum/language/lan in affected_mob.languages) | ||
LAZYADD(known_languages, lan) | ||
affected_mob.remove_language(lan.name) | ||
if(2, 3) | ||
if(prob(stage)) | ||
affected_mob.adjustBrainLoss(0.5) | ||
if(prob(stage)) | ||
affected_mob.say(pick( | ||
"Ммм... гхм...", | ||
"А-а-а... эээ...", | ||
"Брр... бл... бл...", | ||
"Гх... гх... гх...", | ||
"Ааа... ааа... ааа...", | ||
"Ух... ух... ух...", | ||
"Хм... хм... хм...", | ||
"Шш... шш... шш...", | ||
"Ыы... ыы... ыы...", | ||
"Оо... оо... оо...", | ||
"Ээ... ээ... ээ...", | ||
"Ии... ии... ии...", | ||
) | ||
) | ||
return FALSE | ||
|
||
/datum/disease/virus/babylonian_fever/has_cure() | ||
if(..()) | ||
if(LAZYLEN(known_languages)) | ||
for(var/datum/language/lan in known_languages) | ||
affected_mob.add_language(lan.name) | ||
return TRUE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters