forked from tgstation/tgstation
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
TZK13
authored and
TZK13
committed
Jan 19, 2015
1 parent
c226a7a
commit fbe4194
Showing
4 changed files
with
81 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,40 @@ | ||
/* | ||
////////////////////////////////////// | ||
Spontaneous Combustion | ||
Slightly hidden. | ||
Lowers resistance tremendously. | ||
Decreases stage tremendously. | ||
Decreases transmittablity tremendously. | ||
Fatal Level. | ||
Bonus | ||
Ignites infected mob. | ||
////////////////////////////////////// | ||
*/ | ||
|
||
/datum/symptom/fire | ||
|
||
name = "Spontaneous Combustion" | ||
stealth = 1 | ||
resistance = -4 | ||
stage_speed = -4 | ||
transmittable = -4 | ||
level = 6 | ||
severity = 5 | ||
|
||
/datum/symptom/fire/Activate(var/datum/disease/advance/A) | ||
..() | ||
if(prob(SYMPTOM_ACTIVATION_PROB)) | ||
var/mob/living/M = A.affected_mob | ||
switch(A.stage) | ||
if(4) | ||
M.adjust_fire_stacks(5) | ||
M.IgniteMob() | ||
|
||
if(5) | ||
M.adjust_fire_stacks(10) | ||
M.IgniteMob() | ||
return |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/* | ||
////////////////////////////////////// | ||
Ocular Restoration | ||
Noticable. | ||
Lowers resistance significantly. | ||
Decreases stage speed moderately.. | ||
Decreases transmittablity tremendously. | ||
High level. | ||
Bonus | ||
Restores eyesight. | ||
////////////////////////////////////// | ||
*/ | ||
|
||
/datum/symptom/visionaid | ||
|
||
name = "Ocular Restoration" | ||
stealth = -1 | ||
resistance = -3 | ||
stage_speed = -2 | ||
transmittable = -4 | ||
level = 4 | ||
|
||
/datum/symptom/visionaid/Activate(var/datum/disease/advance/A) | ||
..() | ||
if(prob(SYMPTOM_ACTIVATION_PROB * 5)) | ||
var/mob/living/M = A.affected_mob | ||
switch(A.stage) | ||
if(4, 5) | ||
if (M.reagents.get_reagent_amount("oculine") < 20) | ||
M.reagents.add_reagent("oculine", 20) | ||
else | ||
if(prob(SYMPTOM_ACTIVATION_PROB * 5)) | ||
M << "<span class='notice'>[pick("Your eyes feel great.", "You are now blinking manually.", "You don't feel the need to blink.")]</span>" | ||
return |
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