01-03-2003, 11:23 PM | #1 |
New Member
Join Date: Dec 2002
Posts: 6
|
I'm trying to find a way to have a mob restring an item that a player buys. I'm thinking that the player types in the desired string as they buy the item, and then the mob would string by 'echoing' that string.
I'm doing this for a lottery ticket so let's use that: player: buy ticket 23 34 12 45 32 I need to have the mob string the object to include those numbers. Does anyone have any suggestions on how to do this? |
01-04-2003, 05:30 AM | #2 |
Senior Member
Join Date: Apr 2002
Location: Sweden
Home MUD: 4 Dimensions
Posts: 574
|
Sorry, but I actually don't think there is any way to do that, either with mob_progs or the more advanced DG_scripts, it's just not sustained by the script code..
You can make a mob use lots of imm commands with scripts, but not OLC commands like restring. If you want a mob to load an object, that object has to have been created in advance. You must figure out a way to work around the restrictions, I'm afraid. |
01-04-2003, 03:25 PM | #3 |
Member
Join Date: Apr 2002
Home MUD: DartMUD
Posts: 86
|
I can think of a number of ways to do it off the top of my head in LPMud, but I suppose that doesn't help. You didn't say which codebase you were using.
|
01-04-2003, 06:20 PM | #4 |
New Member
Join Date: Dec 2002
Posts: 6
|
ROM codebase, please let me know what works for yours and perhaps, if it doesn't already work for ROM, I can change it until it does.
Thanks |