pipes?

by Unknown

Back to Mechanic's Corner.

Unknown2007-01-09 07:13:06
what's the best way to script keeping pipes lit and full?
Jillian2007-01-09 14:06:41
Relight them when they go out, keep a variable that tracks the puffs in them and refills once it's empty. Not sure if pipelist is needed, but it can be useful to simplify things. Otherwise probe and gag the output should do the trick?
Unknown2007-01-09 15:51:00
Remember you have to be on bal/eq to light though, so just keep a variable to track whether you need to light your pipes, and which ones (they go out in the same order their lit, IIRC. So, if you light 12345, then you light 54321, then when you see a pipe go out, you should add 12345 to the list of pipes to light, and when the second pipe goes out add 54321, etc). Then check the variable on balance/eq recovery to light whatever pipes are needed.

For puffs, keep a variable to track the number of puffs, and also trigger off of the 'there is nothing in that pipe to smoke' message, to load whatever pipe you just tried to smoke.
Laysus2007-01-09 18:43:15
Pipelist does make things a lot easier.
Ekard2007-01-10 08:16:37
Buy arti pipes! tongue.gif

Or just try to lit every pipes whenever goues out, same with filling. It will be much more spammy (gag it) but much less complicated.

And yea pipelist makes it so much easier!
ferlas2007-01-10 09:39:54
Best thing to do is to actually track the number of puffs left in a pipe, if you just track when the pipe is lit then you'll always have lit pipes but there are times when you won't have a puff left in the pipe, for example your on your last puff of a pipe, if you don't track puffs then you smoke it nothing will happen until you try and smoke it again which could be some time later or when aeoned or something like that perhaps, on the other hand if you track the puffs and smoke your last one you know that it needs refilling straight away without ever seeing the there is nothing in the pipe to smoke/light message. You can use the look in pipe### to find out the exact puffs as well and you can do it off balance so you can smoke pipe;look in pipe trigger it to check the puffs then work out if you need refilled or not.
Eteria2007-01-18 19:24:18
Yeah... I just have an alias for lighting my pipes whenever I want to use them... Then I have another one to refill it. I got used to all the typing, so it's incredibly hard for me to change any one of them... doh.gif
Laysus2007-01-18 19:30:33
You need triggers and variables to keep your pipes full and lit so you don't need to do the typing tongue.gif