mob/*admin*/
verb
Additem()
var/Objs
for(var/S in typesof(/obj/)-/obj/)
Objs += list(S)
var/obj/Ob = input("Choose an item","Additem") in Objs
Ob.Move(src)
Problem description:
Desired Effect: Player chooses an item from the list of objs and it adds to the player's contents
The list shows up, but the obj doesn't add and i get this error:
runtime error: Cannot execute null.Move().
proc name: Additem (/mob/verb/Additem)
usr: KingCold999 (/mob/player)
src: KingCold999 (/mob/player)
call stack:
KingCold999 (/mob/player): Additem()