Pistol
icon = 'Pistol.dmi'
verb
Pick_Up()
set src in oview(1)
world << "You found a Pistol!"
src.Move (usr)
Load_Ammo()
set src in usr
if(usr.contents = /obj/Ammo)
world << "You have loaded the gun!"
del src
IT'S NOT WORKING! Please help me! Please!:
1. comparisons are ==, not =
2. You need to find an object of a type, to do so - you should use the istype() procedure.
3.You need to check each value in the list, not just the list itself.
To fix these, take a look at the sample I provided below.