obj/Bomb_Damage
icon = 'Numbers.dmi'
layer = 100
pixel_x = 15
mob/verb/Test()
bomb_damage = 200
var/obj/Bomb_Damage/D = new(src.loc)
D.icon_state = "[num2text(round(bomb_damage),100)]"
Problem description:
When I press the Test() verb only a 2 appears. It doesn't show the two 0's. I'm not sure how to code so that the digits are positioned right. Help?
Thanks in Advance.
This should be fine.