|
|||||||
This is a discussion on "mob restrings" in the Top Mud Sites MUD Builders and Areas forum : 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?... |
|
You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our MUD community today! If you have any problems with the registration process or your account login, please contact us. If you are a registered member of the old TMS forums, please click here
|
![]() |
|
|
LinkBack | Thread Tools |
|
|
#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? |
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Apr 2002
Location: Sweden
Home MUD: 4 Dimensions
Posts: 481
![]() |
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. |
|
|
|
|
|
#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.
|
|
|
|
|
|
#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 |
|
|
|