mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Fix some misc bugs
This commit is contained in:
@@ -782,6 +782,7 @@ client
|
|||||||
|
|
||||||
if(H.set_species(new_species))
|
if(H.set_species(new_species))
|
||||||
usr << "Set species of [H] to [H.species]."
|
usr << "Set species of [H] to [H.species]."
|
||||||
|
H.regenerate_icons()
|
||||||
else
|
else
|
||||||
usr << "Failed! Something went wrong."
|
usr << "Failed! Something went wrong."
|
||||||
|
|
||||||
|
|||||||
@@ -20,8 +20,8 @@
|
|||||||
var/mess = 0 //Need to clean out it if it's full of exploded clone.
|
var/mess = 0 //Need to clean out it if it's full of exploded clone.
|
||||||
var/attempting = 0 //One clone attempt at a time thanks
|
var/attempting = 0 //One clone attempt at a time thanks
|
||||||
var/eject_wait = 0 //Don't eject them as soon as they are created fuckkk
|
var/eject_wait = 0 //Don't eject them as soon as they are created fuckkk
|
||||||
var/biomass = CLONE_BIOMASS
|
var/biomass = CLONE_BIOMASS * 3
|
||||||
var/opened = 0.0
|
var/opened = 0
|
||||||
|
|
||||||
/********************************************************************
|
/********************************************************************
|
||||||
** Adding Stock Parts to VV so preconstructed shit has its candy **
|
** Adding Stock Parts to VV so preconstructed shit has its candy **
|
||||||
@@ -214,6 +214,7 @@
|
|||||||
H.h_style = pick("Bedhead", "Bedhead 2", "Bedhead 3")
|
H.h_style = pick("Bedhead", "Bedhead 2", "Bedhead 3")
|
||||||
|
|
||||||
H.species = mrace
|
H.species = mrace
|
||||||
|
H.add_language(mrace.language)
|
||||||
H.update_mutantrace()
|
H.update_mutantrace()
|
||||||
H.suiciding = 0
|
H.suiciding = 0
|
||||||
src.attempting = 0
|
src.attempting = 0
|
||||||
|
|||||||
@@ -499,7 +499,7 @@
|
|||||||
if(SA_pp > SA_para_min) // Enough to make us paralysed for a bit
|
if(SA_pp > SA_para_min) // Enough to make us paralysed for a bit
|
||||||
Paralyse(3) // 3 gives them one second to wake up and run away a bit!
|
Paralyse(3) // 3 gives them one second to wake up and run away a bit!
|
||||||
if(SA_pp > SA_sleep_min) // Enough to make us sleep as well
|
if(SA_pp > SA_sleep_min) // Enough to make us sleep as well
|
||||||
sleeping = max(sleeping+2, 10)
|
sleeping = min(sleeping+2, 10)
|
||||||
else if(SA_pp > 0.15) // There is sleeping gas in their lungs, but only a little, so give them a bit of a warning
|
else if(SA_pp > 0.15) // There is sleeping gas in their lungs, but only a little, so give them a bit of a warning
|
||||||
if(prob(20))
|
if(prob(20))
|
||||||
spawn(0) emote(pick("giggle", "laugh"))
|
spawn(0) emote(pick("giggle", "laugh"))
|
||||||
@@ -1169,6 +1169,8 @@
|
|||||||
if(healths) healths.icon_state = "health7" //DEAD healthmeter
|
if(healths) healths.icon_state = "health7" //DEAD healthmeter
|
||||||
else
|
else
|
||||||
sight &= ~(SEE_TURFS|SEE_MOBS|SEE_OBJS)
|
sight &= ~(SEE_TURFS|SEE_MOBS|SEE_OBJS)
|
||||||
|
see_in_dark = species.darksight
|
||||||
|
see_invisible = see_in_dark>2 ? SEE_INVISIBLE_LEVEL_ONE : SEE_INVISIBLE_LIVING
|
||||||
if(dna)
|
if(dna)
|
||||||
switch(dna.mutantrace)
|
switch(dna.mutantrace)
|
||||||
if("slime")
|
if("slime")
|
||||||
|
|||||||
@@ -137,6 +137,8 @@
|
|||||||
winset(client, "input", "text=[null]")
|
winset(client, "input", "text=[null]")
|
||||||
|
|
||||||
/mob/living/carbon/human/say_understands(var/other,var/datum/language/speaking = null)
|
/mob/living/carbon/human/say_understands(var/other,var/datum/language/speaking = null)
|
||||||
|
if(has_brain_worms()) //Brain worms translate everything. Even mice and alien speak.
|
||||||
|
return 1
|
||||||
if (istype(other, /mob/living/silicon/ai))
|
if (istype(other, /mob/living/silicon/ai))
|
||||||
return 1
|
return 1
|
||||||
if (istype(other, /mob/living/silicon/decoy))
|
if (istype(other, /mob/living/silicon/decoy))
|
||||||
|
|||||||
@@ -101,6 +101,17 @@
|
|||||||
var/mob/living/carbon/human/h = mob
|
var/mob/living/carbon/human/h = mob
|
||||||
h.monkeyize()
|
h.monkeyize()
|
||||||
|
|
||||||
|
/datum/disease2/effect/catbeast
|
||||||
|
name = "Kingston Syndrome"
|
||||||
|
stage = 4
|
||||||
|
badness = 2
|
||||||
|
activate(var/mob/living/carbon/mob,var/multiplier)
|
||||||
|
if(istype(mob,/mob/living/carbon/human))
|
||||||
|
var/mob/living/carbon/human/h = mob
|
||||||
|
if(h.species.name != "Tajaran")
|
||||||
|
if(h.set_species("Tajaran"))
|
||||||
|
h.regenerate_icons()
|
||||||
|
|
||||||
/datum/disease2/effect/suicide
|
/datum/disease2/effect/suicide
|
||||||
name = "Suicidal Syndrome"
|
name = "Suicidal Syndrome"
|
||||||
stage = 4
|
stage = 4
|
||||||
|
|||||||
Reference in New Issue
Block a user