mob/Player
verb/ChangeRockIcon( I as icon )
var/obj/Rock/R = /obj/Rock // This is NOT the correct way to reference an object
R.icon = I // Set the icon of all Rocks to whatever the user inputted
obj/Rock
icon = 'someicon.dmi' // Just some default icon
Problem description:
I have forgotten something so trivial as how to reference an object so that I can modify its variables from outside its scope. I just want the ChangeRockIcon verb to change the icon of all Rock objects, but from within the /mob/Player scope. How is this done?
changing view to whatever you need.