obj/Bird
icon = 'scroll.dmi'
icon_state = ""
layer=2
verb/LearnJutsu()
usr<<"You Learn To Make Clay Birds"
usr.verbs += new /mob/Clay/verb/ClaysBird()
verb/Get()
set src in oview(1)
src.loc = usr
usr<<"You picked up a [src]"
mob/var/owner
mob
Clay
verb
ClaysBird()
set category="Ninjutsu"
set name="Make Clay Bird"
usr.Bird()
mob/proc
Bird()
if(usr.Chakra<=1000)
usr<<"You Need More Chakra"
return
else
var/mob/ClayBird/B = new()
B.owner=src
B.name = "[usr] Bird"
B.loc = locate(src.x, src.y - 1, src.z)
B.MTaijutsu = src.MTaijutsu*5
B.health = 50000
src.Chakra -= 10000
return
/* else
var/mob/failedfrog/F = new()
F.loc=usr.loc
F.y-=1
view() << "<font size=1><font face=verdana><b><font color=white>[usr]<font color=green> Says: Oops.."
sleep(50)
del(F)*/
obj
part2
icon='deidara mount.dmi'
icon_state="-1,1"
name="1"
density=1
New()
..()
src.CreateOverlays()
obj
part3
icon='deidara mount.dmi'
icon_state="1,1"
name="2"
density=1
New()
..()
src.CreateOverlays()
obj
part4
icon='deidara mount.dmi'
icon_state="-1,0"
name="3"
density=1
New()
..()
src.CreateOverlays()
obj
part5
icon='deidara mount.dmi'
icon_state="0,1"
name="4"
density=1
New()
..()
src.CreateOverlays()
obj
part6
icon='deidara mount.dmi'
icon_state="1,0"
name="5"
density=1
New()
..()
src.CreateOverlays()
mob/var/ride
mob
ClayBird
icon='deidara mount.dmi'
icon_state="0,0"
density=1
layer=0
New()
..()
overlays+=/obj/part2
overlays+=/obj/part3
overlays+=/obj/part4
overlays+=/obj/part5
overlays+=/obj/part6
..()
verb/Ride()
set src in oview(1)
set category="Commandds"
for(var/mob/ClayBird/G in oview(2,usr))
if(G.owner==usr)
if(!usr.ride&&!G.ride)
usr.ride=1
if(G)
G.ride=1
usr.Fighting=1
else
usr.ride=0
usr.Fighting=0
if(G)
G.ride=0
Move()
..()
var/mob/O = src.owner
if(O.ride&&src.ride)
O.loc=src.loc
O.dir=src.dir
O.y+=1
atom/proc
CreateOverlays()
for(var/xi=1,xi<=3,xi++)
for(var/yi=1,yi<=3,yi++)
if(xi||yi)
var/obj/O = new()
O.icon=src.icon
O.icon_state="[xi],[yi]"
O.density=src.density
O.dir=src.dir
O.layer=11
O.pixel_x=-64
O.pixel_y=-64
if(xi)O.pixel_x += (32*xi)
if(yi)O.pixel_y += (32*yi)
src.overlays+=O
Problem description: OK i Got this But when use Jutsu It Goes all over place and 2 to 4 parts don't show
http://www.zshare.net/download/59386832e2d2a31d/
is icon