turf
Furnace
icon = 'Scenery.dmi'
icon_state = "Furnace"
name = "Furnace"
density = 1
Click()
if (get_dist(src, usr) > 1)
return
var/A = input("What would you like to smelt?","Furnace")in list("Iron Ore")
if(A == "Iron Ore")
new /obj/Smithing/Iron_Ingot(usr)
Problem description:
Does anyone know how to make this where i can only create an iron ingot if i have iron ore in my inventory, of if they can fix it so it works?
The error is:
obj/Smithing/Iron_ingot: Undefined type path
PS:please take it easy im a newbie programmer, just started so i dont know much