obj
Houses
icon = 'BHouse.dmi'
icon_state=""
density = 1
Green
name = "Green"
CA
icon_state="2,0"
Bump(mob/M)
if(istype(M,/mob/character))
M.loc=locate(1,1,1)
else
return
Problem description:
Well, basically when ever I bump...nothing happens =p. I actually used Entered() before I changed it from an obj to a turf. It needs to be a turf sicne I am using SwapColor() a lot, and that messes the turf up by making the background black or something. Well yeah, that isn't working, it is basically suppose to be a door >.>
Now, using that, we can fix your code:
Notice that I excluded the <font color=blue>else</font color=blue> in Bumped(): it was unnecessary.