ID:176678
![]() Dec 20 2002, 1:29 pm
|
|
How do i make it so you can smelt to make copper? Once i get that i can just edit for others, Thank you in advance!
|
Or, you could do this:
obj Copper_Ore icon = 'metals.dmi' icon_state = "Copper_Ore" Copper icon = 'metals.dmi' icon_state = "Copper" Smelter verb/Smelt_Copper() if(locate(/obj/Copper_Ore) in usr) del(Copper_Ore) // not sure if this works new/obj/Copper in usr usr << "You smelt the ore to get copper." else usr << "You don't have any Copper Ore!" I'm not sure that would work, but thats my best idea for it. |
Yeah, Garthor, I spose you could do it that way. If someone told me that, I'd stiff put
del(locate(/obj/Copper_Ore) in usr) Cause I'm wierd like that. |
Couldnt you use something like:
for(/obj/copper_ore/T in usr) del(T) ??? I dont do this kinda thing much. |
var
copper = 0
verb
Smelt()
usr.copper++
usr << "You smelted copper!"