obj
scrolls
axe_scroll
name = "Scroll of Axe Making"
desc = "To read the scroll allows you to make axes."
icon = 'Objects.dmi'
icon_state = "full paper"
layer = 3
verb/Make_Axe()
set category = "Create"
if (usr.Wood >= 2)
if (usr.Tool == 0)
usr.Tool = 1
usr.Wood -= 2
usr.contents += new/obj/tools/axe
usr << "You made an axe."
oview() << "<b>[usr]</b> made an axe."
else
usr << "You need a free hand to make an axe."
else
usr << "You lack the wood required."
usr.afkback()
verb/Get()
set category = null
set src in view(1)
usr.contents += new/obj/scrolls/axe_scroll
usr << "You get the Scroll of Axe Making."
oview() << "<b>[usr]</b> gets the Scroll of Axe Making."
del src
usr.afkback()
verb/Drop()
set category = "Action"
src.Move(usr.loc)
usr << "You drop the Scroll of Axe Making."
oview() << "<b>[usr]</b> drops the Scroll of Axe Making."
usr.afkback()
paper
name = "Paper"
desc = "It's some paper."
icon = 'Objects.dmi'
icon_state = "empty paper"
layer = 3
verb
Get()
set category = null
set src in view(1)
src.loc = usr
usr << "You get the Paper."
oview() << "<b>[usr]</b> gets the Paper."
usr.afkback()
Drop()
set category = "Action"
src.Move(usr.loc)
usr << "You drop the Paper."
oview() << "<b>[usr]</b> drops the Paper."
usr.afkback()
Scribble(W as text)
set category = "Action"
src.message = "[src.message] [W]"
icon_state = "full paper"
usr << "You add a message onto the paper."
oview() << "<b>[usr]</b> adds a message onto the paper."
usr.afkback()
Examine()
set src in view(1)
set category = "Action"
alert("[src.message]","The paper says,")
usr.afkback()
var
message = ""
Problem description:
For some reason, it says the Get() and Drop() Verbs are duplicate ever since i put them into the scrolls thing, but they weren't duplicate before.
They both are currently the only thing in my scrolls, too.