mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-28 06:26:29 +01:00
More tweaks to IPC fixes.
This commit is contained in:
@@ -40,17 +40,6 @@
|
||||
#define ORGAN_MUTATED (1<<7)
|
||||
#define ORGAN_ASSISTED (1<<8)
|
||||
|
||||
/*// Organ defines.
|
||||
#define ORGAN_CUT_AWAY 1
|
||||
#define ORGAN_BLEEDING 2
|
||||
#define ORGAN_BROKEN 4
|
||||
#define ORGAN_DESTROYED 8
|
||||
#define ORGAN_ROBOT 16
|
||||
#define ORGAN_SPLINTED 32
|
||||
#define ORGAN_DEAD 64
|
||||
#define ORGAN_MUTATED 128
|
||||
#define ORGAN_ASSISTED 256*/
|
||||
|
||||
#define DROPLIMB_EDGE 0
|
||||
#define DROPLIMB_BLUNT 1
|
||||
#define DROPLIMB_BURN 2
|
||||
|
||||
@@ -207,14 +207,14 @@
|
||||
|
||||
/obj/machinery/recharge_station/proc/go_in(var/mob/living/silicon/robot/R)
|
||||
|
||||
if(occupant)
|
||||
return
|
||||
|
||||
if(istype(R, /mob/living/silicon/robot))
|
||||
if(!istype(R))
|
||||
return
|
||||
if(occupant)
|
||||
return
|
||||
|
||||
if(R.incapacitated())
|
||||
return
|
||||
|
||||
if(!R.cell)
|
||||
return
|
||||
|
||||
|
||||
@@ -189,14 +189,15 @@
|
||||
//Sanitize
|
||||
metadata = sanitize_text(metadata, initial(metadata))
|
||||
|
||||
if(species == "Machine")
|
||||
real_name = sanitizeName(real_name,,1)
|
||||
else
|
||||
real_name = sanitizeName(real_name)
|
||||
|
||||
if(isnull(species) || !(species in playable_species))
|
||||
species = "Human"
|
||||
|
||||
var/datum/species/cur_species = all_species[species]
|
||||
if(istype(cur_species))
|
||||
real_name = cur_species.sanitize_name(real_name)
|
||||
else
|
||||
real_name = sanitizeName(real_name)
|
||||
|
||||
if(isnum(underwear))
|
||||
var/list/undies = gender == MALE ? underwear_m : underwear_f
|
||||
underwear = undies[undies[underwear]]
|
||||
|
||||
Reference in New Issue
Block a user