Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / Ingredient list for Precious Potions (DATA)

Author
Message
Pincho Paxton
21
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 21st Sep 2005 16:25 Edited at: 21st Sep 2005 16:27
Hi folks!!!

I'm making a game called Precious Potions. I need ingredients for the Witches brews that I am going to concoct. I was wondering if you guys could post some ingredients.

Please use the Format posted below, including the word Data, with speech marks, and seperated by commas.

Data "Cat Whiskers","Dragon Scales","Frog's Breath"
Data "Fairy Tears","Dragon Claws"
Data "Wolf Blood","Crow's Beak","Willow Leaves","Monkey Brain"

I need as many as possible, maybe around 200.

Thank You!

Pincho.

Edit: Oh yeah, and a code snippet to sort them Alphabetically would be helpful.

Thanks again!

Freddy 007
19
Years of Service
User Offline
Joined: 30th Nov 2004
Location: Denmark
Posted: 21st Sep 2005 16:30


Get TreeMagik HERE!
Van B
Moderator
22
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 21st Sep 2005 16:40 Edited at: 21st Sep 2005 16:42
Hehe.



To sort them, well really I'd suggest you expand on whatever arrays your using, because you have to sort them as well, but assuming that your just worried about the name, stored in ing_name$ with ing_count telling us how many indices your using.

For n=0 to ing_count
For nn=n to ing_count
if ing_name$(n)>ing_name$(nn)
temp_ing_name$=ing_name$(nn)
ing_name$(nn)=ing_name$(n)
ing_name$(n)=temp_ing_name$
endif
Next nn
Next n

Remember that if you use the 'id' number of the ingredient anywhere else, like in an ING_WEIGHT() array to store the item weight - you'll have to swap that data too, just like I've shown with ing_name$.

I'd have used a function to add an ingredient, that way you can specify other factors while making the ingredients (like colour for instance - you'll need to let them mix colours up when mixing ingredients together).


Van-B

Put those fiery biscuits away!
Pincho Paxton
21
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 21st Sep 2005 16:56
Thanks! Will this work in DB Classic, because I was expecting Mid$ to be involved somewhere?

Quote: "For n=0 to ing_count
For nn=n to ing_count
if ing_name$(n)>ing_name$(nn)
temp_ing_name$=ing_name$(nn)
ing_name$(nn)=ing_name$(n)
ing_name$(n)=temp_ing_name$
endif
Next nn
Next n
"


Me!
19
Years of Service
User Offline
Joined: 26th Jul 2005
Location:
Posted: 21st Sep 2005 17:04
if you want some with comedy potential (since I don`t feel serious atm)

data "mummys brain","pirates hand","baslisk tongue"
data "fetid frogspawn","wart of foot","snakes toes","wing of cat"
data "slime of MP","putrid underpants","drop of dysentry"
data "eye of worm","tooth of chicken","egg of camel"
data "hour of clock","arrow of time","spot of stain","tired whirlwind"
data "elephant feather","onion scented buttock","virgins hair"
data "tongue of live alligator","2 gross piranha teeth","bucket of steam"
data "apple of willow","dwarves boot","E1101-27-fgb-54r","navel fluff"
data "clocks fingernail","odiforous boil","rotten music","rancid magic tree"
data "political promise","tasmanian angel blood","dehydrated gold bars"
data "ash of pirates leg","3 feet of moonbeam","packet of darkness"
data "stick of jelly","roast ice cream","sliced sausage dog sausage"
data "key of board","icon of window","disk of software"
data "tin of rum","powdered clouds","roast pilchard","effigy of nobody"
data "graveyard gloom","shredded tombstone moss","bats eggs"

for a start, might post some later.



the average IQ is 100...but the people that took the test where trying to look smart. most people don`t go over 50.
Area 51?, I`m more intrested in what they have in areas 1 to 50
Van B
Moderator
22
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 21st Sep 2005 17:05
Yeah, that's a real old boolean sort method - should work fine.

I think you might have seen some fancy sort system that needs to do more - but just checking the 2 name strings with a '>' is usually enough.


Van-B

Put those fiery biscuits away!
Pincho Paxton
21
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 22nd Sep 2005 15:17
Still need more ingredients.....

indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 22nd Sep 2005 15:38
data "puppy snot","kitten breath","green lint"
data "happy laugh","fire water","chinese burn"

go here pincho and get a spell component database thingy for AD&D
it will give you a plethora of ideas to add to potions
I used to play AD&D heaps but i gave it up at 17
theres plenty of ideas in spell components and you can add your own twist.

http://www.dndresources.com/index.php/files/645

If no-one gives your an answer to a question you have asked, consider:- Is your question clear.- Did you ask nicely.- Are you showing any effort to solve the problem yourself 
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 22nd Sep 2005 15:47
Slugs and snails and Puppy dogs tails
Sugar and spice and all things nice


Great Britain would be Amazing Britain if it wasn't for idiots like you bringing down the average!
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 22nd Sep 2005 16:03
data "George Michael hair","Elephant Scabs","Horse Kidney"
data "Bruised Banana","Wasabi Sauce","Moldy Cheese"
data "Frog Lips","Rotten Mushroom","Fly Legs"


Pincho Paxton
21
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 22nd Sep 2005 17:10 Edited at: 22nd Sep 2005 17:13
Why does this print only the Z part of the alphabet?




Oh silly Me!!!

Used Count instead of N.

soapyfish
21
Years of Service
User Offline
Joined: 24th Oct 2003
Location: Yorkshire, England
Posted: 22nd Sep 2005 20:39


*tries to think of witty and original signature*
*fails*
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 23rd Sep 2005 01:10
Pincho Paxton, are you going to make each ingredient actually mean something?

Eagle Feather = Flight
Dragon Scales = Fire Resistance
Cat Whiskers = Nimble as a cat (Increased Dexterity)

Or am I playing way too many RPGs?
French gui
20
Years of Service
User Offline
Joined: 11th May 2004
Location: France
Posted: 23rd Sep 2005 01:16
data "Wormy cheese" , "Drunk butterfly" ,"Slug genitals"


FPSC not allowed
Pincho Paxton
21
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 23rd Sep 2005 10:18
Quote: " Pincho Paxton, are you going to make each ingredient actually mean something?"


You are going to mix six of them together to make a spell.

Jiffy
20
Years of Service
User Offline
Joined: 5th Mar 2004
Location: Hiding in the bushes in your backyard
Posted: 23rd Sep 2005 10:34 Edited at: 23rd Sep 2005 10:35
Here you go...




Got to love Resident Evil 0! Currently playing for the: 5th time
French gui
20
Years of Service
User Offline
Joined: 11th May 2004
Location: France
Posted: 24th Sep 2005 23:22 Edited at: 24th Sep 2005 23:23
Some ingredients as requested...



FPSC not allowed

Attachments

Login to view attachments
Pincho Paxton
21
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 25th Sep 2005 01:27
YUK!

Megaton Cat
21
Years of Service
User Offline
Joined: 24th Aug 2003
Location: Toronto, Canada
Posted: 25th Sep 2005 02:16
The deliciousness has landed!


The future is here, and I can't afford it.
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 25th Sep 2005 05:45
What is that? Cockroaches in a puke broth?

Login to post a reply

Server time is: 2024-11-15 20:29:30
Your offset time is: 2024-11-15 20:29:30