Item / Treasure Generator

With ColdStone can you make a treasure chest contain 1 of 3 items. The one that is in the chest is random between the three. Sorry if this is confusing. Couldn't think of a better way to describe it.

------------------

ColdStoner

You could probably do something like this: (Psuedo-code)
-------------------------------
If TreasureBox=Open Then:
RandNumGen 1-3
If RandNum=1 Then Add +1 Item1 to Inventory
Msg "Item 1 Aquired!"
TreasureBox=Empty
If RandNum=2 Then Add +1 Item2 to Inventory
Msg "Item 2 Aquired!"
TreasureBox=Empty
If RandNum=3 Then Add +1 Item3 to Inventory
Msg "Item 1 Aquired!"
TreasureBox=Empty
If TreasureBox=Empty Then Msg "There is nothing here!"
-----------------------------
You get the idea. I have no idea about the actual code structure of Coldstone, but it's my educated guess that it will have mathamatical functions, as well as basic logic.

------------------

Quote

Originally posted by ScrollMaker:
**With ColdStone can you make a treasure chest contain 1 of 3 items. The one that is in the chest is random between the three. Sorry if this is confusing. Couldn't think of a better way to describe it.

**

Of course, look at PoG. Everything (or almost) you find in rock piles and holes is random.

------------------
Dee Brown
Beenox inc. - (url="http://"http://www.beenox.com")www.beenox.com(/url)
(url="http://"http://www.AmbrosiaSW.com/news/upcoming/coldstone_betashots.html")Coldstone Game Engine(/url) / (url="http://"http://www.AmbrosiaSW.com/games/pog/")Pillars of Garendall(/url) developers

Heh, how IS the coding in Coldstone done anyway? And is there math functions? There had better be, what programming language (albeit a point-and-click programming language) would work without math? Constrained random number generation, perhaps with seeds? Additon? Subtraction? The ability to assign numbers to variables? Mmm, there's a lot non-included gameplay goodies like parties and unique battle systems, that could be figured out with math functions....

-edited for spelling-

(This message has been edited by Shari (edited 10-03-2001).)

Quote

Originally posted by Shari:
**Heh, how IS the coding in Coldstone done anyway? And is there math functions? There had better be, what programming language (albeit a point-and-click programming language) would work without math? Constrained random number generation, perhaps with seeds? Additon? Subtraction? The ability to assign numbers to variables? Mmm, there's a lot non-included gameplay goodies like parties and unique battle systems, that could be figured out with math functions....

-edited for spelling-

(This message has been edited by Shari (edited 10-03-2001).)**

Yes yes yes yes yes yes ......yes however there is absolutely no code to be found within the engine, there are separate interfaces in which you can do such....

------------------
...go fall on something sharp.

in fact view the following image for an example of variable assignment and mathmatical operations

Posted Image

------------------
...go fall on something sharp.

Simple but effective ... I like it 🙂

------------------

ColdStoner

Yay! What fun 😄

------------------