PDA

View Full Version : Elixir of Life - Single Dose


linolino
19th Aug 2006, 01:35 AM
I posted a few days ago that i wanted to increase the price of the elixir of life to 100,000 points, but that's not possible since the prices are stored as a 16 bit number in the game so the maximum value to the price 32767
(read thread here: http://www.moreawesomethanyou.com/smf/index.php/topic,5262.0.html)

Since i cannot raise the price to the amount i wanted..

I'm trying to create a clone of the love potionn and recolor the liquid inside green, then make it have the same effect as the elixir of life when a sim drink it, except that it would give you the effect of a single dose of the elixir (3 days) and then disappear.

Ok so I already recolored it green, and im trying to change the menu strings.

However i have no idea how to make it work like the elixir.
Im thinking about deleting the behavior functions (BHAV) related to the love potion effects and copying the BHAV from the elixir...

Help anyone? i don't even know where to look for infrmation on how to do this...

linolino
19th Aug 2006, 08:46 PM
can anyone help me with the picture below? its the behavior functions for the Love potion. All function in italic were copied from the elixir of life. (including the one selected in green)
http://i104.photobucket.com/albums/m197/linolino/simpe.jpg

Smonaff
20th Aug 2006, 01:42 PM
I'm guessing that the BHAV that would have the effects you want is Sub - Drink Sucess. If it is you can call it from the Use From Inventory and Use From World Interactions since these are the BHAVs that are called from the pie menu strings.