ID:1192596
 
Keywords: base, icon, problem
(See the best response by LordAndrew.)
Code:
MaleBase
icon='MaleBase.dmi'
pixel_x=-16


Problem description:

I used it like this: M.icon=/obj/MaleBase its as a base icon. and once i compile it says /obj/MaleBase: Bad File
Best response
The icon variable expects an actual icon as its value, so setting it to a typepath like /obj/MaleBase won't work.

You can just directly set the player's icon as icon = 'MaleBase.dmi'.