else if(Target == "Rife")
M.loc = locate(/area/Paths/Worlds/Rife)
if((M.StoryPoint == "Rife Forest") || ("Plains" in M.Worlds)) return
new /image/Rife/Town/Plains_Barrier(null, M, /turf/Image_Spots/Rife/Town/Plains_Barrier)
M is the player and is added to the playerthrough the new()
image
New(l, mob/M, location)
//world << location
var/image/I = image(src.icon,locate(location),src.icon_state)
M << I
Rife
Town
Plains_Barrier
icon='Blockades.dmi'
icon_state="Barrier Full"
The code isn't working I'm probably adding it wrongly. Another question is, How would I add it to the player and then look it up within the player to get rid of it?