ID:148561
 
I need help with my Spirit Bomb tech...it does everything else it needs to, but. The image doesn't show up...it's multi-tile image, but...it's not because of that. I tried a single tile image and no go. Any suggestions?

obj
sbomb
tech=1
name="Spirit Bomb"
verb
sbomb(mob/M in oview())
set category="Fighting"
set name="Spirit Bomb"
if(istype(M,/mob/characters)||istype(M,/mob/monsters)||istype(M,/mob/multiform)||M.npp==0)
var/stage=1
var/obj/O=new/obj/sbombprojectile(usr.x,usr.y+2,usr.z)
O.overlays+=new/obj/sbombprojectile/s01
O.overlays+=new/obj/sbombprojectile/s02
O.overlays+=new/obj/sbombprojectile/s03
O.overlays+=new/obj/sbombprojectile/s05
O.overlays+=new/obj/sbombprojectile/s04
O.overlays+=new/obj/sbombprojectile/s06
O.overlays+=new/obj/sbombprojectile/s07
O.overlays+=new/obj/sbombprojectile/s08
O.overlays+=new/obj/sbombprojectile/s09
usr.icon_state="sbomb"
view(10)<<"<font color = green>{{<font color = white>[usr]<font color = green>}}<font color = white>: <b>Spirit Bomb!!!</b>"
for(var/mob/F in world)
if(F.client)
if(F.z==usr.z)
start
switch(alert("Draw more power from those that surround you?","SB","Yes","No"))
if("Yes")
if(stage>=5)
usr<<"<b>SB is fully powered!</b>"
switch(alert("Do you wish to launch the Spirit Bomb now, or later?","SB","Now","Later"))
if("Now")
s_missile(O,usr,M)
M.powerlevel-=(O:power *2)
M.Die()
usr.icon_state=""
del(O)
else
goto start
sleep(5)
else
stage++
if(F.ki>=1)
var/KI=(F.ki*0.10)
O:power+=KI
F.ki-=KI
F.ki=round(F.ki)
O:power=round(O:power)
if(F==usr)
F<<"<b>You slowly drain your energy into the attack.</b>"
else
F<<"<b>[usr] gathers energy from you...</b>"
sleep(15)
goto start
else
F<<"<b>[usr] tries to gather energy from you, but you have nothing more to give.</b>"
F.ki=0
goto start
if("No")
s_missile(O,usr,M)
M.powerlevel-=(O:power*2)
M.Die()
usr.icon_state=""
del(O)
else
usr<<"<b>You cannot.</b>"
It would probably help if you set an icon for the object in its definition.