This works for both resource files, and files retrieved via file().
= 'icons/turf.dmi'
if(isfile(my_resource))
world.log << "It's true!"
This works for both resource files, and files retrieved via file().
= 'icons/turf.dmi'
if(isfile(my_resource))
world.log << "It's true!"