Skip to content

Roaches do not have species. (Carbon children should always specify a species) #197

@flleeppyy

Description

@flleeppyy

Roaches do not have species, this leads to runtimes like:

Title: Runtime in code/modules/organs/blood.dm, line 35: Cannot read null.name

runtime error: Cannot read null.name
proc name: get blood data (/mob/living/carbon/proc/get_blood_data)
  source file: code/modules/organs/blood.dm,35
  usr: ...  (/mob/living/carbon/human)
  src: Kampfer Roach (/mob/living/carbon/superior_animal/roach)
  usr.loc: the floor (101,113,3) (/turf/floor/tiled/steel/monofloor)
  src.loc: the floor (100,114,3) (/turf/floor/tiled/steel/monofloor)
  call stack:
Kampfer Roach (/mob/living/carbon/superior_animal/roach): get blood data()
Kampfer Roach (/mob/living/carbon/superior_animal/roach): take blood(the large syringe (/obj/item/reagent_containers/syringe/large), 30)
the large syringe (/obj/item/reagent_containers/syringe/large): afterattack(Kampfer Roach (/mob/living/carbon/superior_animal/roach), ... (/mob/living/carbon/human), 1, "icon-x=15;icon-y=17;left=1;but...")
... (/mob/living/carbon/human): ClickOn(Kampfer Roach (/mob/living/carbon/superior_animal/roach), "icon-x=15;icon-y=17;left=1;but...")
... (/client): Click(Kampfer Roach (/mob/living/carbon/superior_animal/roach), the floor (100,114,3) (/turf/floor/tiled/steel/monofloor), "mapwindow.map", "icon-x=15;icon-y=17;left=1;but...")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions