obj
Gomu_Gomu_Fruit
icon= 'gomu gomu fruit.dmi'
verb
Eat()
set src in oview(1)
view() << "[usr] ate the \a [src]"
del(src)
Get()
set src in oview(1)
usr.contents += src
view() << "[usr] picks up \a [src]"
Drop()
new/obj/Gomu_Gomu_Fruit(usr.loc)
view() << "[usr] drops \a [src]"
del(src)
What I want:This code is basically allowing the player to eat the fruit them allowing them to get a power up and letting them becoming the race of "Gomu".This is a code for the popular manga/anime One Piece if you know what manga/ anime are.I am a noob so please help >.<
Now once all your changes to the player have been added in to the Eat() verb, they will essentially become the Gomu race.
If you are only looking for this to be temporary, then you can create a proc and call it in the Eat() verb.
The way to initialize this proc would be,