obj
Paper
icon = 'icons.dmi'
icon_state = "Paper"
verb
pickup()
set src in oview()
Move(usr)
wright_on(msg as message, msg = src.desc)
src.desc = msg
Problem description: How would i do this? I want the message to start out as the old desc. of the item so they can change it.
ID:144016
Apr 23 2007, 2:54 am
|
|
Instead of message use text like this.
obj |
In response to Northern Rabbit
|
|
Northern Rabbit wrote:
There's your problem: wright_on(msg as message, msg = src.desc) Remove the <code>msg = src.desc</code> part of the line, and you should be fine. I don't really understand what you were trying to do there, since you already set <code>src.desc</code> to <code>msg</code> at the neighboring line below. I think he was trying to put the old description into the message box, to be able to edit it again, like change somthing on it or somthing. Just a guess. |
RuneKingOmega wrote:
obj What, you could possibly do is this. obj/Paper |
Remove the <code>msg = src.desc</code> part of the line, and you should be fine. I don't really understand what you were trying to do there, since you already set <code>src.desc</code> to <code>msg</code> at the neighboring line below.