Top Mud Sites Forum Return to TopMudSites.com
Go Back   Top Mud Sites Forum > Mud Development and Administration > MUD Builders and Areas
Click here to Register

Reply
 
Thread Tools
Old 02-09-2003, 10:46 AM   #1
Santrilla
Senior Member
 
Join Date: Aug 2002
Location: Brighton, England
Posts: 387
Santrilla is on a distinguished road
I'm trying to put a special message on food and drink objects. For example instead of just 'you drink milk from a bottle', I want to say 'you put the bottle to your lips and feel the cool milk slide down your throat'... that sort of thing. Any ideas how I would program this into an object? (I'm using the OLC method, btw.)
Santrilla is offline   Reply With Quote
Old 02-09-2003, 07:22 PM   #2
Jorana
New Member
 
Join Date: Apr 2002
Posts: 12
Jorana is on a distinguished road
You may have to ask your coders to code this ability as I'm not sure it's in the standard OLC. We have many object messages available. We just do an ed add for the correct string - in this case ed add @drink_char. You can try that but I'm pretty sure that was added by our coders.

Jorana
Building Manager
Legends of Karinth
Jorana is offline   Reply With Quote
Old 02-10-2003, 04:44 PM   #3
Brianna
Member
 
Join Date: Apr 2002
Location: Bel Air, MD USA
Posts: 81
Brianna is on a distinguished road
Send a message via AIM to Brianna Send a message via MSN to Brianna Send a message via Yahoo to Brianna
If its available in your olc you can put object programs on various objects. I had a several object programs that were very nice for adding ambiance to an area. Perhaps you can look into that.
Brianna is offline   Reply With Quote
Old 02-10-2003, 05:16 PM   #4
Molly
Senior Member
 
Join Date: Apr 2002
Location: Sweden
Home MUD: 4 Dimensions
Posts: 574
Molly will become famous soon enoughMolly will become famous soon enough
If you cannot get the coders to do this for you as a spec_proc, it can be done easily with a script (mob_prog) set on the object. Use a command trigger, with the word eat/drink as keyword, then you can put in different echoes for the actor and the other people in the same room.

For instance the actor could see:
'you put the bottle to your lips and feel the cool milk slide down your throat'

while the rest of the room sees:
'%actor.name% downs a bottle of milk, pretending it's a cool beer'

or something along those lines.
(This is basically what makes socials so fun to tinker with, they don't always come out quite as expected in the other end).
Molly is offline   Reply With Quote
Old 02-12-2003, 07:00 PM   #5
Enzo
Senior Member
 
Join Date: Apr 2002
Location: Seattle, Washington
Posts: 342
Enzo is on a distinguished road
The thirst/hunger messages that come through to a player are all in the code I believe. When you set the object's liquid type, the code could have it like:

The creamy, white milk slides down your throat.

or:

The sweet wine trickles down your throat ever so slowly.

Or you could have a basic thing which applies to all the objects which most people have:

You drink some wata.

Just talk to your coders, they'll know what to do.
Enzo is offline   Reply With Quote
Old 02-18-2003, 11:13 AM   #6
Iluvatar
Member
 
Join Date: May 2002
Location: Mississippi USA
Posts: 142
Iluvatar is on a distinguished road
It's tough to recommend anything without actually seeing your OLC interface but I know the capability exists. We don't have specifically what you're asking for our use yet, but it should be feasible as a simple entry desc you would make into an ADESC field activated by a use_adesc flag assigned when you create the object.

In our Circle, we have the ADESC enabled to apply to wand and stave functions using simple mob_prog terms, Ergo the wand or stave performs an echoing or targeting etc function as it's used. I'm pretty sure it's a basic form of Oasis 1.0 so should be available for your coder to use. Setting up a <food or drink> designator use_adesc like our <wand or stave> should be simple.
Iluvatar is offline   Reply With Quote
Reply


Thread Tools


OLC- special messages for eat/drink - Similar Threads
Thread Thread Starter Forum Replies Last Post
Finding that Special RPI MUD... Almondine War Roleplaying and Storytelling 7 12-18-2004 09:56 PM
Are you someone special? Jaewyn Advertising for Staff 0 10-21-2004 07:11 AM
Special Mobs Iluvatar MUD Builders and Areas 13 08-27-2004 10:58 AM
Looking for that Special someone Raith MUD Coding 10 03-21-2004 09:12 PM
Random things popping up in messages John Newbie Help 5 02-17-2003 07:02 PM

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT -4. The time now is 06:48 PM.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Style based on a design by Essilor
Copyright Top Mud Sites.com 2022