ID:2144898
 
(See the best response by Manio.)
Code:
mob
step_size = 8
density = 1
icon = 'Player.dmi'
Login()
loc = locate(/turf/start)
verb
Smile()
world<<"[usr] smiles"

area
luminosity = 0

obj
step_size = 8
Torch
icon = 'Torch.dmi'
luminosity = 5
verb
Extinguish()
set name = "Extinguish"
luminosity= 0
src in view(10)

turf
floor
icon = 'floor.dmi'
wall
name = "wall"
icon = 'wall.dmi'
density = 1
opacity = 1

secret_door
name = "wall"
icon = 'wall.dmi'
density = 0
opacity = 1
start
icon = 'floor.dmi'


Problem description:Trying to learn how to code, i'm then taking the "DM Guide", currently at chapter 4 "Verbs", it told me to make a code with the purpose of removing the luminosity of a torch, which i did(At least i think so), but i can't get the player to use the verb on the Torch in any way... I have no idea what i'm doing wrong...

Best response
obj
step_size = 8
Torch
icon = 'Torch.dmi'
luminosity = 5
name = "Torch"
verb
Extinguish()
set name = "Extinguish"
set src in oview(1)
luminosity= 0


That SHOULD fix it.
Worked :D thank you