area
var
icon/covericon
covericon_state = ""
image/coverimage
Del()
if(coverimage) del(coverimage)
..()
Entered(O)
..()
if(coverimage && ismob(O) && O:client)
O:client.images -= coverimage
Exited(O)
..()
if(coverimage && ismob(O) && O:client)
O:client << coverimage
New()
..()
if(covericon)
coverimage = image(covericon,src,covericon,COVER_LAYER)
client
New()
..()
for(var/area/A in world)
if(A.coverimage)
src << A.coverimage
var/area/A = mob.loc
while(A && !istype(A))
A = A.loc
if(A)
A.Entered(mob)
area
church
icon = 'turf.dmi'
layer = 999
covericon = 'church.png'
|
|
Problem description: Alright, I tried filling the area I wanted the roof in, but when I tested it, it just filling the area with the first tile. I tried adding one tile to the beginning spot of the png, it worked but entering the roof, making it disappear was in a different spot. I sort of stuck and any help will be greatly appreciated. Thank you in advance.
</<></<>