mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-28 14:37:27 +01:00
Size stuffs
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
//////////////////////////////////////
|
||||
|
||||
Dwindling Malady
|
||||
Mass Revectoring
|
||||
|
||||
Very noticeable.
|
||||
Increases resistance slightly.
|
||||
@@ -10,13 +10,13 @@ Dwindling Malady
|
||||
Intense level.
|
||||
|
||||
BONUS
|
||||
Shrinks the host to small sizes
|
||||
Changes the size of the host.
|
||||
|
||||
//////////////////////////////////////
|
||||
*/
|
||||
|
||||
/datum/symptom/size
|
||||
name = "Dwindling Malady"
|
||||
name = "Mass Revectoring"
|
||||
stealth = -4
|
||||
resistance = 1
|
||||
stage_speed = 2
|
||||
@@ -24,29 +24,18 @@ BONUS
|
||||
level = 4
|
||||
severity = 1
|
||||
|
||||
var/initial_size
|
||||
|
||||
/datum/symptom/size/Start(datum/disease/advance/A)
|
||||
initial_size = A.affected_mob.size_multiplier
|
||||
|
||||
/datum/symptom/size/End(datum/disease/advance/A)
|
||||
A.affected_mob = initial_size
|
||||
|
||||
/datum/symptom/size/Activate(datum/disease/advance/A)
|
||||
..()
|
||||
if(prob(SYMPTOM_ACTIVATION_PROB))
|
||||
var/mob/living/M = A.affected_mob
|
||||
|
||||
switch(A.stage)
|
||||
if(1, 2, 3)
|
||||
to_chat(M, span_notice("Your clothes feel loose."))
|
||||
if(4, 5)
|
||||
if(prob(10))
|
||||
M.emote("twitches")
|
||||
Resize(M, -rand(0.1, 0.5))
|
||||
M.emote("twitch")
|
||||
Resize(M, rand(25, 200))
|
||||
|
||||
/datum/symptom/size/proc/Resize(mob/living/M, var/size)
|
||||
M.resize(size+M.size_multiplier)
|
||||
M.resize(size+M.size_multiplier/100)
|
||||
|
||||
/*
|
||||
//////////////////////////////////////
|
||||
@@ -74,9 +63,36 @@ BONUS
|
||||
var/mob/living/M = A.affected_mob
|
||||
|
||||
switch(A.stage)
|
||||
if(1, 2, 3)
|
||||
to_chat(M, span_notice("Your clothes feel tight."))
|
||||
if(4, 5)
|
||||
if(prob(10))
|
||||
M.emote("twitches")
|
||||
Resize(M, rand(0.1, 0.5))
|
||||
M.emote("twitch")
|
||||
Resize(M, rand(100, 200))
|
||||
|
||||
/*
|
||||
//////////////////////////////////////
|
||||
|
||||
Dwindling Malady
|
||||
|
||||
Very noticeable.
|
||||
Increases resistance slightly.
|
||||
Increases stage speed.
|
||||
Decreases transmittablity
|
||||
Intense level.
|
||||
|
||||
BONUS
|
||||
Shrinks the host to small sizes
|
||||
|
||||
//////////////////////////////////////
|
||||
*/
|
||||
|
||||
/datum/symptom/size/shrink
|
||||
name = "Dwindling Malady"
|
||||
|
||||
/datum/symptom/size/Activate(datum/disease/advance/A)
|
||||
..()
|
||||
if(prob(SYMPTOM_ACTIVATION_PROB))
|
||||
var/mob/living/M = A.affected_mob
|
||||
|
||||
switch(A.stage)
|
||||
if(4, 5)
|
||||
M.emote("twitch")
|
||||
Resize(M, rand(25, 100))
|
||||
|
||||
Reference in New Issue
Block a user