Byond Naruto Palms

By Mirccoder on Mar 24, 2009

This is a Code for Palms Move and a Login For it i use on my game

will need http://www.zshare.net/download/57565041ba2c61d6/ and http://www.zshare.net/download/5756506185aa704e/

mob
    verb
        Palm()
            set category = "Jutsus"
            set name = "64 Palms"
            if(usr.Fight==1) // If the mob's firing var is one...
                return
                return
            if(usr.froze)
                usr<<"Your frozen"
                return
            if(usr.PK==1)
                usr<<"NON PK ZONE!"
                return
            if(usr.resting==1)
                usr<<"Not while resting"
                return
            if(usr.Chakra <= 850)
                usr<<"You Dont Got The Right amount Of Chakra"
            else // If the firing var isn't 1...
                usr.Chakra -= 850
                usr.Fight = 1
                usr.froze=1
                view()<<"<Font Color=white>[usr]: <FONT COLOR=Black>8 Trigrams 64 Palms </font></font>"
                var/obj/moves/palms/A = new /obj/moves/palms/left
                var/obj/moves/palms/S = new /obj/moves/palms/top
                var/obj/moves/palms/D = new /obj/moves/palms/right
                var/obj/moves/palms/F = new /obj/moves/palms/middle
                var/obj/moves/palms/G = new /obj/moves/palms/bottom
                var/obj/moves/palms/H = new /obj/moves/palms/tail
                var/obj/moves/palms/Q = new /obj/moves/palms/bottoml
                var/obj/moves/palms/W = new /obj/moves/palms/topr
                var/obj/moves/palms/Z = new /obj/moves/palms/bottomr
                if(Q)
                    Q.loc = usr.loc
                    Q.y+=1
                    Q.x-=1
                if(W)
                    W.loc = usr.loc
                    W.x+=1
                    W.y+=1
                if(Z)
                    Z.loc = usr.loc
                    Z.y+=1
                if(S)
                    S.loc = usr.loc
                    S.y-=1
                if(G)
                    G.loc = usr.loc
                if(A)
                    A.loc = usr.loc
                    A.y-=1
                    A.x-=1
                if(D)
                    D.loc = usr.loc
                    D.x+=1
                    D.y-=1
                if(F)
                    F.loc = usr.loc
                    F.x-=1
                if(H)
                    H.loc = usr.loc
                    H.x+=1
                for(var/mob/M in oview(4,usr))
                    if(A)
                        if(M.loc==A.loc)
                            var/damage
                            M.froze=1
                            damage=usr.Ninjutsu*64 / 15
                            view()<<"[M] Takes [damage] Damage From [usr]'s 64 Palms"
                            M.hp-=damage
                        //  if(M.hp<=0)
                            //  M.Death(usr)
                for(var/mob/M in oview(4,usr))
                    if(S)
                        if(M.loc==S.loc)
                            var/damage
                            M.froze=1
                            damage=usr.Ninjutsu*64 / 15
                            view()<<"[M] Takes [damage] Damage From [usr]'s 64 Palms"
                            M.hp-=damage
                        //  if(M.hp<=0)
                            //  M.Death(usr)
                for(var/mob/M in oview(4,usr))
                    if(D)
                        if(M.loc==D.loc)
                            var/damage
                            M.froze=1
                            damage=usr.Ninjutsu*64 / 15
                            view()<<"[M] Takes [damage] Damage From [usr]'s 64 Palms"
                            M.hp-=damage
                        //  if(M.hp<=0)
                            //  M.Death(usr)
                for(var/mob/M in oview(4,usr))
                    if(F)
                        if(M.loc==F.loc)
                            var/damage
                            M.froze=1
                            damage=usr.Ninjutsu*64 / 15
                            view()<<"[M] Takes [damage] Damage From [usr]'s 64 Palms"
                            M.hp-=damage
                        //  if(M.hp<=0)
                            //  M.Death(usr)
                for(var/mob/M in oview(4,usr))
                    if(G)
                        if(M.loc==G.loc)
                            var/damage
                            M.froze=1
                            damage=usr.Ninjutsu*64 / 15
                            view()<<"[M] Takes [damage] Damage From [usr]'s 64 Palms"
                            M.hp-=damage
                        //  if(M.hp<=0)
                            //  M.Death(usr)
                for(var/mob/M in oview(4,usr))
                    if(H)
                        if(M.loc==H.loc)
                            var/damage
                            M.froze=1
                            damage=usr.Ninjutsu*64 / 15
                            view()<<"[M] Takes [damage] Damage From [usr]'s 64 Palms"
                            M.hp-=damage
                        //  if(M.hp<=0)
                            //  M.Death(usr)
                for(var/mob/M in oview(4,usr))
                    if(Q)
                        if(M.loc==Q.loc)
                            var/damage
                            M.froze=1
                            damage=usr.Ninjutsu*64 / 15
                            view()<<"[M] Takes [damage] Damage From [usr]'s 64 Palms"
                            M.hp-=damage
                        //  if(M.hp<=0)
                            //  M.Death(usr)
                for(var/mob/M in oview(4,usr))
                    if(W)
                        if(M.loc==W.loc)
                            var/damage
                            M.froze=1
                            damage=usr.Ninjutsu*64 / 15
                            view()<<"[M] Takes [damage] Damage From [usr]'s 64 Palms"
                            M.hp-=damage
                        //  if(M.hp<=0)
                            //  M.Death(usr)
                for(var/mob/M in oview(4,usr))
                    if(Z)
                        if(M.loc==Z.loc)
                            var/damage
                            M.froze=1
                            damage=usr.Ninjutsu*64 / 15
                            view()<<"[M] Takes [damage] Damage From [usr]'s 64 Palms"
                            M.hp-=damage
                        //  if(M.hp<=0)
                            //  M.Death(usr)
                spawn(25)
                    del(H)
                    del(G)
                    del(F)
                    del(D)
                    del(S)
                    del(A)
                    del(Q)
                    del(W)
                    del(Z)
                    usr.froze=0
                    usr.Fight=0
                    for(var/mob/M)
                        M.froze=0

obj/moves/palms
    icon='64 palms.dmi'
    layer=5
    density=1
    left
        icon_state="1"
    top
        icon_state="2"
    right
        icon_state="3"
    middle
        icon_state="4"
    bottom
        icon_state="5"
    tail
        icon_state="6"
    bottoml
        icon_state="7"
    bottomr
        icon_state="8"
    topr
        icon_state="9"

mob/Login()
    src.icon='base.dmi'
//  updates()
    players+=1
    players()
    WStatus()
    Admin()
    alert("Welcome To Naruto Return Of the Missing Shinobi")
    alert("There Are 16 Clans To Choose From But There Is around 30 to 50 Clans(Unlock Rest/Buy)")
    if(src.Pass=="Yes")
        src.loc = locate(62,10,1)
        return
    else
        src.loc = locate(62,10,1)
        alert("We will Ask you 2 Question Must get 1/2 right")
        switch(input("Who is the Missing Shinobi",text) in list("Sasuke","Orochimaru","Pein","Itachi"))
            if("Sasuke")
                src.Right+=1
                src<<"Correct"
                goto next
                return
            else
                src<<"Wrong"
                src.Wrong+=1
        next
        switch(input("Will you listen to all GMS and The Rules",text) in list("Yes","No"))
            if("Yes")
                src.Right+=1
                if(src.Right >=1)
                    src.loc = locate(62,10,1)
                    src.Pass="Yes"
                    src.layer=5
                return
            else
                src.Wrong+=1
                src<<"DUMASS THAT WAS A TRICK ALLWAYS PICK YES ON THE GM"
                sleep(5)
                src.Del()

var
    players=0
mob/var
    Pass=0
    Wrong=0
    Right=0
mob/var
    hp
    froze
    Fight
    Ninjutsu
    Taijutsu
    Genjutsu
    Chakra
    PK
    resting

Comments

Sign in to comment.
Mirccoder   -  May 23, 2009

Byond is a system that you can make REAl games instead of chat games

 Respond  
^Neptune   -  May 11, 2009

The heck is BYOND?

 Respond  
Mirccoder   -  Mar 24, 2009

I made this one out of boredum

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.