obj/firearm/deagle
icon = 'firearms.dmi'
icon_state = "Desert Eagle"
verb
Get()
set src in oview(1)
usr.contents += src
usr << "You pick up [src]."
Drop()
set src in oview(1)
usr.contents -= src
usr << "You toss aside your [src]"
Equip()
if(usr.RightHand == 1)
usr << "Your already holding something."
else
usr.ratk += src.Firepower
src.verbs += typesof(/mob/firearm/verb/Shoot)
obj
Muffin/// Makes the bullet that is shot
icon='projectiles.dmi'/// Uses its icon
icon_state="muffin"
density=1/// Makes it unable to go through
Bump(mob/M)/// if it hits someone, it kills them
if(istype(M,/mob))/// Makes sure that what it hits is a mob
del(src)/// Deletes them
mob
proc
projectile(obj/projectile,var/dir,var/delay)/// Proc that shoots it
walk(projectile,dir)/// Makes the bullet go in your direction
sleep(delay)/// delays it slightly
del(projectile)/// deletes the bullet when its stopped
mob/firearm
verb
Shoot()/// The shoot verb
usr.projectile(new/obj/Muffin(usr.loc),usr.dir,40)
eh...
what i'm wanting for this to do is that when you equip the deagle, you get the shoot verb, but nothing happens, i dont even get any errors.
Thx in advance for any and all help...