mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 11:13:16 +00:00
* Ensures cores, slimes cannot be used twice in their machines. * Fixes xenos appearing friendly, simple_mob death problems. Simple mobs that were dead and not of the hostile subtype wouldn't call walk(src,0), which prevents corpses from following their target. * Cleans up trait data when a xeno or xeno product is removed. * Slimes more likely to have amutationtoxin, consumes virusfood. * Fixes some issues. * Adds changelog
18 lines
424 B
Plaintext
18 lines
424 B
Plaintext
/*
|
|
Xenobiological product lives here as a basic type.
|
|
*/
|
|
/obj/item/xenoproduct
|
|
name = "Xenobiological product"
|
|
desc = "How did this get here?."
|
|
icon = 'icons/mob/slime2.dmi'
|
|
icon_state = "slime extract"
|
|
var/datum/xeno/traits/traits
|
|
var/source = "Unknown"
|
|
var/product = "mess"
|
|
var/nameVar = "blah"
|
|
|
|
/obj/item/xenoproduct/Destroy()
|
|
traits.Destroy() //Let's not leave any traits hanging around.
|
|
traits = null
|
|
..()
|
|
|