scroll
verb
description()
usr << "A Scroll For Summoning Items"
Use()
if(!s)return
if(!j)return
var/s=pick(
/obj/tv/,
prob (100)
/obj/armchair/,
prob(101,102) )
var/j=new s
get(j)
del(src)
Problem description:Erm it gives me a runtime error and only works to delete the scroll and give nothing, I added
if(!s)return
if(!j)return
I think it's because of this: "prob(101,102) ", which is null as nothing is after it.
- GhostAnime