obj/head
density=0
layer=5
mob
var
obj/head/top
movetimer
Move(Loc)
if(world.time<movetimer) return
movetimer=world.time+5
..()
var/turf/T=locate(src.x + 1,src.y,src.z)
if(T)
top.loc = T
else
top.loc = null
new(Loc)
..()
top = new()
mob
New()
..()
top = New()
now i get 5 errors form that which r.. 2 new(Loc) duplications(no duplicates though)new(Loc) is a intruction not allowed here.. top = new() top undefiend var and empty type name ..() i really dunno whats wrong with these but mabe one of you can help..i also thought mabe where i put the new top blah in my vehicle coding..
mob/Bus/Move()
..()
for(var/mob/M in world)
if(M.vehicle == src)
M.loc = locate(src.x,src.y,src.z)
mob/Move()
if(src.vehicle)
return 0
..()
if(src.client)
for(var/mob/Bus/M in world)
if(M.driver == src)
M.loc = locate(src.x,src.y,src.z)
M.dir = usr.dir
M.Move(locate(src.x,src.y,src.z))
mob/var
driver
maxpassengers = 0
currentpassengers = 0
vehicle = null
mob/Bus
icon='stuff.dmi'
icon_state="1"
New()
..()
top.icon='stuff.dmi'
icon_state="2"
maxpassengers = 1
see_invisible = 100
verb/Hop_In()