search:

General



Rooms & Areas



Presence



Systems



Wiki Help



pmwiki.org



edit menu
Edit Page Upload Security

Areas.FoodDispensers History

Hide minor edits - Show changes to markup

July 09, 2008, at 03:12 PM EST by Exxy - Removed references to downloadable OLC, added web OLC
Changed lines 25-26 from:
Data2 Values
These are set in the OLC-helper under the second tab, Data2 / Data3.:
to:
Data2 Values
These are set in the OLC-helper under the second tab, Data2 / Data3.:
December 13, 2006, at 12:02 PM EST by Exxy -
Changed lines 1-4 from:

How to make Food and Drink Dispensers'

Notes:

to:
December 12, 2006, at 11:51 AM EST by Exxy -
Changed lines 22-23 from:
Step 4, Script
For dispensers, this needs to be set to the dispenser script number: 5070. For individual food/drink items you are selling in a store (not dispensers), stop using this guide and refer to how to build food and drinks.
to:
Step 4, script
For dispensers, this needs to be set to the dispenser script number: 5070. For individual food/drink items you are selling in a store (not dispensers), stop using this guide and refer to how to build food and drinks.
December 12, 2006, at 11:48 AM EST by Exxy -
Changed lines 14-17 from:

Food and Drink Dispensers can potentially crash the game if made incorrectly. It is a simple process, and you don't have to be scared of them, but you do need to be certain that you set the values correctly as explained below. The biggies are in bold.

Step 1, article/descriptor/name
These should be filled in as if you were making the food/drink that will be dispensed. As an example, some dark lager would be appropriate. This is what players will "get", as in "get lager".
to:

Food and drink dispensers can potentially crash the game if made incorrectly. It is a simple process, and you don't have to be scared of them, but you do need to be certain that you set the values correctly as explained below.

Step 1, article/descriptor/name
These should be filled in as if you were making the food/drink that will be dispensed. As an example, some dark lager would be appropriate. This is what players will GET ("get lager").
Changed lines 20-68 from:
Step 3, Full description
This is how we give the dispensed item its short description. In line with the other examples, this could be a tankard of dark lager.
Step 4, Script
For dispensers, this needs to be set to the dispenser script number: 5070.

For individual food/drink items you are selling in a store (not dispensers), set this number to 547.

Step 5, Charges
This sets the number of times the dispenser will dispense a food or drink. To make the dispenser make an unlimited amount, use 999. If this food/drink objects is to be sold, you can't sell a dispenser so put the actual number of charges the bought item should have.
Step 6, Data2 Values
These are set on the OLC Helper under the second tab, Data2 / Data3.:
Data2:1
Food should have a data2:1 of 0
Drinks should have a data2:1 of 1
Data2:2 - food/drink flavor
Data2:3 - # of times the dispensed item can be eaten or drank.
Data2:4 - Affects how often the flavor message is displayed.
Put the same number as data2:3 contains in your data2:4 field, unless you want the flavor message to be given with every taste, so that the script can tell if it is the first time the item is consumed. With this number set to the number of times it can be eaten, the message will be given on the first instance of "eat" or "drink", then once out of every three times, on average.
Data2:5 - Script for spawned item. You may have a specialty script for a food or drink, and this allows for that option. The script number, if you do not have a special script for the item is 547.
If this object is for sale, you do not have to include this number.
Data2:6 - Leave this blank or 0 for normal use. An exception would be for a dispenser created in code rather than in game. 0 = disabled, 1 = enabled.
Data2:7 - Determines type of container food/drink is in; see below for full list

When step 6 is completed, the item is ready to create. Staff may enable/disable the dispenser with the poke verb. Enabled dispensers cannot be picked up (by players or staff, as get will spawn the food or drink. To pick one up, poke it first to disable it.

For foods, Data2:7 determines if the food is in:
0 = No dish.
1 = In a dish.

For drinks, Data2:7 determines if the drink is in:
0 - An unspecified container,
1 - glass,
2 - stein,
3 - tankard,
4 - shotglass,
5 - mug,
6 - wine glass,
7 - cup,
8 - tumbler,
9 - bowl,
10 - goblet,
11 - pilsner glass,
12 - krug,
13 - fluted glass. \\

to:
Step 3, full/LOOK description
This is how we give the dispensed item its short description. In line with the other examples, this could be a tankard of dark lager.
Step 4, Script
For dispensers, this needs to be set to the dispenser script number: 5070. For individual food/drink items you are selling in a store (not dispensers), stop using this guide and refer to how to build food and drinks.
Step 5, charges
This sets the number of times the dispenser will dispense a food or drink. To make the dispenser make an unlimited amount, use 999.
Data2 Values
These are set in the OLC-helper under the second tab, Data2 / Data3.:
(see the how to build food and drinks guide to set the preliminary data2/value1 - data2/value8 fields)
Data2/Value5 - the Script number for a dispensed food or drink. You may have a specialty script for a food or drink, and this allows for that option. Otherwise, use the general food/drink script number, which is 547.
Data2/Value6 - leave this blank or 0 for normal use, which enables the dispenser (0 = enabled, 1 = disabled)

When step 6 is completed, the item is ready to be created. Staff may enable/disable the dispenser with the POKE verb. Enabled dispensers cannot be picked up (by players or staff), as GET will spawn the food or drink. To pick one up, POKE it first to disable it.

December 12, 2006, at 11:12 AM EST by Exxy -
Changed lines 33-34 from:
Data2:2 - Flavor setting; options listed below.
to:
Deleted lines 68-209:

Food and Drink Flavors
For Script #547

Food

(0) -- Hmm. Could use some salt.
(1) -- Ahh, sweet and juicy.
(2) -- *CRUNCH* Delicious!
(3) -- Mmm, rich and delicious.
(5) -- Ahh, fresh and ripe.
(6) -- Ouch! It's hot!
(7) -- Yow, that's spicy!
(8) -- Outstanding, succulent and delicious.
(9) -- Yuck! It's spoiled.
(10) -- Ugh! Disgusting!
(11) -- Tastes like an old sock.
(12) -- Yipe! It's bitter!
(13) -- Mmm, lightly salted.
(14) -- Ahh, it's still warm.
(15) -- Mmm, sweet.
(16) -- Tastes like chicken.
(17) -- Wow! Mouth-puckering sour!
(18) -- Mmm, melts in your mouth.
(19) -- Mmm, sweet and tangy.
(20) -- Hmm, leaves a strange aftertaste.
(21) -- Yum, light and fluffy.
(22) -- Sort of crunchy, with a gooey center. Not Bad!
(23) -- Yum! Chocolate with a kick!
(24) -- Tastes like road-kill. ...Just how do you know that?
(25) -- Crunchy, with a warm gooey center.
(26) -- Crispy, with a nutty flavor
(27) -- Hrm. Wet and gritty...it tastes a lot like mud!
(28) -- Eww, Yuck!
(29) -- Gooey, but good!
(30) -- Mmmm! Sweet and fruity, with just a hint of spice.
(31) -- Scrumptiously sweet, with just a bit of tang.
(32) -- Ouch! It's hot!
(33) -- Delectable! Tender, and just a hint of sweetness.
(34) -- Mmm. Warm and hearty!
(35) -- Crunchy and fresh!
(36) -- Hot, but oh so good!
(37) -- Smooth and creamy, very good!
(38) -- Thick and rich, and very sweet too!
(39) -- Yum, greasy goodness!
(40) -- A bit bland, but not too bad.
(41) -- Ugh, it tastes worst than it looks.
(42) -- Blech!
(43) -- Mmm, rich and delicious.
(44) -- Mmm, lightly salted.
(45) -- Mmm, melts on the tongue. Delicious!
(46) -- A bit chewy, but good!
(47) -- Mmmm, warm and buttery. It crumbles on your tongue!
(48) -- Not all together very tasty. In fact, it's rather bland.
(49) -- Delicious! A wonderful blend of flavors.
(50) -- The creamy tomato broth enhances the distinct flavors of each different seafood, creating a delicious assault on your taste buds.
(51) -- A bit batter to the pallet, but delicious none the less!
(52) -- Ooh, that's a bit tart!
(53) -- A bit dry, but doesn't taste too bad.
(54) -- Delicious! With just the right amount of butter.
(55) -- Succulent! Grilled to perfection.
(56) -- Rich. And disgusting, Ugh!!
(57) -- Yum! Creamy, with a hint of onion and parsley.
(58) -- Smooth and creamy. Very good!
(59) -- A bit tart. No, a bit sweet. Well, whatever it is, it's good!
(60) -- Mmm, warm and sweet.
(61) -- Yum! Sweet and creamy!
(62) -- Mmm, minty goodness!
(63) -- Mmm! It's almost *too* rich!
(64) -- Ooh, that's got some kick!
(65) -- Oh! Tastes just like what Mom would make!
(66) -- Crunchy, but tasty in a strange sort of way.
(67) -- The meat is so tender it nearly melts in your mouth, mingling with the intense flavor of the vegetables.
(68) -- Whoa! So good it should be illegal!
(69) -- Juicy and tender, the best turkey you have ever tasted!
(70) -- The slight bitterness of the parsley against the creamy butter provides the perfect sauce for this mix of tender vegetables.
(71) -- The warm, rich chocolate and crunchy walnuts are a perfect delight.
(72) -- Crunchy! A hint of vanilla and sugar.
(73) -- Peanut butter and chocolate! What a delight.
(74) -- Tart yet sweet, a perfect combination.
(75) -- Crisp apples with a hint of cinnamon delight your mouth.
(76) -- The rich, creamy chocolate slides smoothly down your throat.
(77) -- (Spit it out)
(78) -- (Fan your mouth)
(79) -- (Turn green)

Drink

(0) -- Hmm. Not bad.
(1) -- Ahh, cool and refreshing.
(2) -- Mmm, sweet and tangy.
(3) -- Ahh, warm and aromatic.
(4) -- Ahh, hits the spot.
(5) -- Ahh, rich and smooth.
(6) -- Delicious! A bouquet of flavors!
(7) -- Ahh, warms the belly.
(8) -- You supress a cough as your eyes begin to water.
(9) -- Yuck! Tastes like mud.
(10) -- It tastes bizarre. You wonder if this is safe to drink.
(11) -- Ooh, it tingles.
(12) -- Ahh, hearty and smooth.
(13) -- It tastes watery and thin.
(14) -- ACK! It tastes like lye.
(15) -- Ahh, full and robust.
(16) -- Wonderful! A delightful bouquet of flavors.
(17) -- Delicious! Light and aromatic.
(18) -- Wow! A spectacular brew!
(19) -- Nice. Strong and hearty, with a subtle hint of oak.
(20) -- Blech! That's sour!
(21) -- Ugh! That was rotten!
(22) -- Brrr, thats cold!
(23) -- Refreshingly sweet and smooth!
(24) -- Wow, That's potent!
(25) -- Whoa, that's some strong stuff!
(26) -- Surprisingly good!
(27) -- Tangy and sweet. It's wonderful!
(28) -- Yum! Fruity goodness!
(29) -- Ooh, that's got some kick!
(30) -- Mmm, thick and rich!
(31) -- Cold and delicious!
(32) -- Whoa! That's so strong it makes your tongue numb!
(33) -- Mmmm, Full bodied with a nice finish.
(34) -- OOph! That knocks the wind right out of ya!
(35) -- Hot, hot, hot! Can you say hot?
(36) -- Wow! Now that is a real pick me up!
(37) -- Smooth and refreshing.
(38) -- Tastes great! Less filling!
(39) -- Hee! Bubbles that tickle your nose!
(40) -- You can't quite tell *what* it tastes like.
(41) -- Sweet and sour, all at the same time.
(42) -- Yikes! Water, please!
(43) -- The blend of herbs releases a distinct flavor that is quite pleasing.
(44) -- The bold lemon flavor teases your taste buds.
(45) -- Cold and refreshing!
(46) -- It burns the throat as it goes down. Now that's some ale!
(47) -- It has a slight fruity flavor mingled with a barely perceptible smoky taste, not quite like any other wine.
(48) -- (fall on butt)
(49) -- (gasp and cough)
(50) -- (spit it out)

December 12, 2006, at 11:08 AM EST by Exxy -
Changed line 22 from:
Step 4, Script
For dispensers, this needs to be set to the dispenser script number: 5070.
to:
Step 4, Script
For dispensers, this needs to be set to the dispenser script number: 5070.
Changed lines 38-41 from:

Put the same number as data2:3 contains in your data2:4 field, unless you want the flavor message to be given with every taste, so that the script can tell if it is the first time the item is consumed. With this number set to the number of times it can be eaten, the message will be given on the first instance of "eat" or "drink", then once out of every three times, on average.:

Data2:5 - Script for spawned item. You may have a specialty script for a food or drink, and this allows for that option. The script number, if you do not have a special script for the item is 547.
to:

Put the same number as data2:3 contains in your data2:4 field, unless you want the flavor message to be given with every taste, so that the script can tell if it is the first time the item is consumed. With this number set to the number of times it can be eaten, the message will be given on the first instance of "eat" or "drink", then once out of every three times, on average.:

Data2:5 - Script for spawned item. You may have a specialty script for a food or drink, and this allows for that option. The script number, if you do not have a special script for the item is 547.
Changed line 73 from:

For script #547\\

to:

For Script #547\\

December 12, 2006, at 11:04 AM EST by Exxy -
Added lines 1-210:

How to make Food and Drink Dispensers'

Notes:

If you're not sure how many bites or sips to make your food, 5-6 bites and 8-9 sips is appropriate; perhaps around 3 for alcoholic drinks.
Also, if you want your food/drink dispenser object to be sold in a store, include value 23 in the data 3 value 1 field, and be certain to set a price amount on the object.
IMPORTANT NOTE: if you drop a food or drink item, even the dispenser, it will disappear. You have to use the QDROP command.

Warning!
Food and Drink Dispensers can potentially crash the game if made incorrectly. It is a simple process, and you don't have to be scared of them, but you do need to be certain that you set the values correctly as explained below. The biggies are in bold.

Step 1, article/descriptor/name
These should be filled in as if you were making the food/drink that will be dispensed. As an example, some dark lager would be appropriate. This is what players will "get", as in "get lager".
Step 2, short description
This is how you will name the dispenser. Remember, players will not be able to see a full description of the dispenser (also called "the look"), they can only see "Looks tasty!" While you can be creative with naming the dispenser, you must also remember that it will be interacted with using the name set as the name in step one, so calling it a crystal decanter in short description and having it dispense some aged brandy isn't going to work. You could use an oaken barrel of imported dark lager.
Step 3, Full description
This is how we give the dispensed item its short description. In line with the other examples, this could be a tankard of dark lager.
Step 4, Script
For dispensers, this needs to be set to the dispenser script number: 5070.

For individual food/drink items you are selling in a store (not dispensers), set this number to 547.

Step 5, Charges
This sets the number of times the dispenser will dispense a food or drink. To make the dispenser make an unlimited amount, use 999. If this food/drink objects is to be sold, you can't sell a dispenser so put the actual number of charges the bought item should have.
Step 6, Data2 Values
These are set on the OLC Helper under the second tab, Data2 / Data3.:
Data2:1
Food should have a data2:1 of 0
Drinks should have a data2:1 of 1
Data2:2 - Flavor setting; options listed below.
Data2:3 - # of times the dispensed item can be eaten or drank.
Data2:4 - Affects how often the flavor message is displayed.
Put the same number as data2:3 contains in your data2:4 field, unless you want the flavor message to be given with every taste, so that the script can tell if it is the first time the item is consumed. With this number set to the number of times it can be eaten, the message will be given on the first instance of "eat" or "drink", then once out of every three times, on average.
Data2:5 - Script for spawned item. You may have a specialty script for a food or drink, and this allows for that option. The script number, if you do not have a special script for the item is 547.
If this object is for sale, you do not have to include this number.
Data2:6 - Leave this blank or 0 for normal use. An exception would be for a dispenser created in code rather than in game. 0 = disabled, 1 = enabled.
Data2:7 - Determines type of container food/drink is in; see below for full list

When step 6 is completed, the item is ready to create. Staff may enable/disable the dispenser with the poke verb. Enabled dispensers cannot be picked up (by players or staff, as get will spawn the food or drink. To pick one up, poke it first to disable it.

For foods, Data2:7 determines if the food is in:
0 = No dish.
1 = In a dish.

For drinks, Data2:7 determines if the drink is in:
0 - An unspecified container,
1 - glass,
2 - stein,
3 - tankard,
4 - shotglass,
5 - mug,
6 - wine glass,
7 - cup,
8 - tumbler,
9 - bowl,
10 - goblet,
11 - pilsner glass,
12 - krug,
13 - fluted glass.


Food and Drink Flavors
For script #547

Food

(0) -- Hmm. Could use some salt.
(1) -- Ahh, sweet and juicy.
(2) -- *CRUNCH* Delicious!
(3) -- Mmm, rich and delicious.
(5) -- Ahh, fresh and ripe.
(6) -- Ouch! It's hot!
(7) -- Yow, that's spicy!
(8) -- Outstanding, succulent and delicious.
(9) -- Yuck! It's spoiled.
(10) -- Ugh! Disgusting!
(11) -- Tastes like an old sock.
(12) -- Yipe! It's bitter!
(13) -- Mmm, lightly salted.
(14) -- Ahh, it's still warm.
(15) -- Mmm, sweet.
(16) -- Tastes like chicken.
(17) -- Wow! Mouth-puckering sour!
(18) -- Mmm, melts in your mouth.
(19) -- Mmm, sweet and tangy.
(20) -- Hmm, leaves a strange aftertaste.
(21) -- Yum, light and fluffy.
(22) -- Sort of crunchy, with a gooey center. Not Bad!
(23) -- Yum! Chocolate with a kick!
(24) -- Tastes like road-kill. ...Just how do you know that?
(25) -- Crunchy, with a warm gooey center.
(26) -- Crispy, with a nutty flavor
(27) -- Hrm. Wet and gritty...it tastes a lot like mud!
(28) -- Eww, Yuck!
(29) -- Gooey, but good!
(30) -- Mmmm! Sweet and fruity, with just a hint of spice.
(31) -- Scrumptiously sweet, with just a bit of tang.
(32) -- Ouch! It's hot!
(33) -- Delectable! Tender, and just a hint of sweetness.
(34) -- Mmm. Warm and hearty!
(35) -- Crunchy and fresh!
(36) -- Hot, but oh so good!
(37) -- Smooth and creamy, very good!
(38) -- Thick and rich, and very sweet too!
(39) -- Yum, greasy goodness!
(40) -- A bit bland, but not too bad.
(41) -- Ugh, it tastes worst than it looks.
(42) -- Blech!
(43) -- Mmm, rich and delicious.
(44) -- Mmm, lightly salted.
(45) -- Mmm, melts on the tongue. Delicious!
(46) -- A bit chewy, but good!
(47) -- Mmmm, warm and buttery. It crumbles on your tongue!
(48) -- Not all together very tasty. In fact, it's rather bland.
(49) -- Delicious! A wonderful blend of flavors.
(50) -- The creamy tomato broth enhances the distinct flavors of each different seafood, creating a delicious assault on your taste buds.
(51) -- A bit batter to the pallet, but delicious none the less!
(52) -- Ooh, that's a bit tart!
(53) -- A bit dry, but doesn't taste too bad.
(54) -- Delicious! With just the right amount of butter.
(55) -- Succulent! Grilled to perfection.
(56) -- Rich. And disgusting, Ugh!!
(57) -- Yum! Creamy, with a hint of onion and parsley.
(58) -- Smooth and creamy. Very good!
(59) -- A bit tart. No, a bit sweet. Well, whatever it is, it's good!
(60) -- Mmm, warm and sweet.
(61) -- Yum! Sweet and creamy!
(62) -- Mmm, minty goodness!
(63) -- Mmm! It's almost *too* rich!
(64) -- Ooh, that's got some kick!
(65) -- Oh! Tastes just like what Mom would make!
(66) -- Crunchy, but tasty in a strange sort of way.
(67) -- The meat is so tender it nearly melts in your mouth, mingling with the intense flavor of the vegetables.
(68) -- Whoa! So good it should be illegal!
(69) -- Juicy and tender, the best turkey you have ever tasted!
(70) -- The slight bitterness of the parsley against the creamy butter provides the perfect sauce for this mix of tender vegetables.
(71) -- The warm, rich chocolate and crunchy walnuts are a perfect delight.
(72) -- Crunchy! A hint of vanilla and sugar.
(73) -- Peanut butter and chocolate! What a delight.
(74) -- Tart yet sweet, a perfect combination.
(75) -- Crisp apples with a hint of cinnamon delight your mouth.
(76) -- The rich, creamy chocolate slides smoothly down your throat.
(77) -- (Spit it out)
(78) -- (Fan your mouth)
(79) -- (Turn green)

Drink

(0) -- Hmm. Not bad.
(1) -- Ahh, cool and refreshing.
(2) -- Mmm, sweet and tangy.
(3) -- Ahh, warm and aromatic.
(4) -- Ahh, hits the spot.
(5) -- Ahh, rich and smooth.
(6) -- Delicious! A bouquet of flavors!
(7) -- Ahh, warms the belly.
(8) -- You supress a cough as your eyes begin to water.
(9) -- Yuck! Tastes like mud.
(10) -- It tastes bizarre. You wonder if this is safe to drink.
(11) -- Ooh, it tingles.
(12) -- Ahh, hearty and smooth.
(13) -- It tastes watery and thin.
(14) -- ACK! It tastes like lye.
(15) -- Ahh, full and robust.
(16) -- Wonderful! A delightful bouquet of flavors.
(17) -- Delicious! Light and aromatic.
(18) -- Wow! A spectacular brew!
(19) -- Nice. Strong and hearty, with a subtle hint of oak.
(20) -- Blech! That's sour!
(21) -- Ugh! That was rotten!
(22) -- Brrr, thats cold!
(23) -- Refreshingly sweet and smooth!
(24) -- Wow, That's potent!
(25) -- Whoa, that's some strong stuff!
(26) -- Surprisingly good!
(27) -- Tangy and sweet. It's wonderful!
(28) -- Yum! Fruity goodness!
(29) -- Ooh, that's got some kick!
(30) -- Mmm, thick and rich!
(31) -- Cold and delicious!
(32) -- Whoa! That's so strong it makes your tongue numb!
(33) -- Mmmm, Full bodied with a nice finish.
(34) -- OOph! That knocks the wind right out of ya!
(35) -- Hot, hot, hot! Can you say hot?
(36) -- Wow! Now that is a real pick me up!
(37) -- Smooth and refreshing.
(38) -- Tastes great! Less filling!
(39) -- Hee! Bubbles that tickle your nose!
(40) -- You can't quite tell *what* it tastes like.
(41) -- Sweet and sour, all at the same time.
(42) -- Yikes! Water, please!
(43) -- The blend of herbs releases a distinct flavor that is quite pleasing.
(44) -- The bold lemon flavor teases your taste buds.
(45) -- Cold and refreshing!
(46) -- It burns the throat as it goes down. Now that's some ale!
(47) -- It has a slight fruity flavor mingled with a barely perceptible smoky taste, not quite like any other wine.
(48) -- (fall on butt)
(49) -- (gasp and cough)
(50) -- (spit it out)

Recent Changes - Page History - Printable View
Page last modified on July 09, 2008, at 03:12 PM EST
PmWiki 2.20-beta16 - www.PmWiki.org