ID:1980005
 
BYOND Version:509.1313
Operating System:Windows 7 Home Premium 64-bit
Web Browser:Chrome 46.0.2490.80
Applies to:DM Language
Status: Open

Issue hasn't been assigned a status value.
Descriptive Problem Summary:
Despite what the reference says, mobs don't appear to have an actual parent_type.

Code Snippet (if applicable) to Reproduce Problem:
mob/verb/Test()
var obj/o = new

world << src.parent_type
world << isnull(src.parent_type)
world << o.parent_type
world << isnull(o.parent_type)


Expected Results:
/mob has a parent_type is /atom/movable.

Actual Results:
/mob has a parent_type of null.
I fear what could happen if I disturb this.
In response to Lummox JR
Lummox JR wrote:
I fear what could happen if I disturb this.

Do not go gentle into that dark night.
This explains why you can't use istype(x,/atom/movable) to detect both mobs and objs at once... right?
In response to Pokemonred200
You can, though.
In response to Kaiochao
Kaiochao wrote:
You can, though.

Unless I'm recalling incorrectly, there was a bug report a while back saying istype(x,/atom/movable) returned false for /mob and /obj. Not sure if that's still the case, though...
In response to Pokemonred200
I'm pretty sure I dealt with that.