obj/scroll/recipe
minor_hp_potion
icon = 'Icons.dmi'
icon_state = "Scroll1"
var/materials
verb
Get()
set src in oview(1)
usr.contents += src
Use()
var/a = /obj/food/mushroom/red_mushroom
var/b = /obj/alchemy/slime
if(a && b in usr.contents)
new /obj/potion/hp/minor_hp_potion(usr.loc)
Problem description: Could someone show me what I did wrong and point me in the right direction? I have no errors or warnings, but the new item doesn't show up in game.
This is parsed as
The second is that neither of those typepaths will be in usr.contents, even though items of that time may be.