im making a minning section. The getting ore is fine but now when it come to smelting i have a problem
runtime error: cannot remove from list
proc name: Smelt (/obj/forge/verb/Smelt)
source file: skills.dm,49
usr: Cloud (/mob/characters/Knight)
src: Forge (/obj/forge)
call stack:
Forge (/obj/forge): Smelt()
my code is like this
if (prob(10))
usr << "You smelted your tin ore to a bar!"
usr.contents+=new/obj/tinbar
usr.contents-=/obj/tin
else
usr << "You ruined your ore."
ID:148237
![]() May 15 2003, 11:40 am
|
|
Lummox JR