mob
Del()
var/obj/Gold/G=new(loc)
G.amount=rand(0,2)
if(!G.amount)
del(G)
else
..()
obj
Gold
icon='Items.dmi'
icon_state="gold"
var
amount
verb
Get()
set category=null
set src in view(1)
usr<<"You picked up [amount] gold!"
src.Move(usr)
src.suffix="[amount]"
usr.gold+=amount
del(src)
Drop()
set category=null
set src in usr
src.Move(usr.loc)
usr<<"You drop [amount] [src]!"
Problem description: I've been getting worse and worse with my coding =/. When I try getting the gold, it doesn't go to my inventory. Whats wrong with it?