well
name = "Well"
density = 0
layer = MOB_LAYER+1
icon = 'building.dmi'
icon_state = "well"
Entered(O)
if (m/var/level >= 100)
usr.loc = locate(/turf/hellsflo)
else
usr << "How cheap. A well drawn on the ground."
Problem description:
I get the errors
Turfs.dm:1376:error:m:undefined var
Turfs.dm:1376:error:var/level:undefined var
Everything is defined, but in another .dm. Ive also tried using mob/players/var/level and mob/var/level var and var/level and just plain level. Please note:
obj
...
.....
turf
.....
....
//code i posted here.
Replace the dots with other turf or obj coding, thats the general layout of that file. The player vars are defined in another file, i didnt think that would make a diff though.
If you need to know anymore, just post.
Thanks,
Daman