- Posts: 104
- Thank you received: 30
Source code is at
github.com/punyauk/VivoSim
Sound and divers
- Louis Quatorze
-
Topic Author
Less
More
28 Sep 2020 10:13 #879
by Louis Quatorze
Sound and divers was created by Louis Quatorze
Hello
I would like to know in wich line of machine Sound is called
I have searched but I guess I passed on it several times!
Other question, is the value of EXPIRE can be decimale? For exemple EXPIRE= 0.1 for 2.4 hours.
Thanks
Louis
I would like to know in wich line of machine Sound is called
I have searched but I guess I passed on it several times!
Other question, is the value of EXPIRE can be decimale? For exemple EXPIRE= 0.1 for 2.4 hours.
Thanks
Louis
Please Log in or Create an account to join the conversation.
- Admin
-
Less
More
- Posts: 480
- Thank you received: 259
28 Sep 2020 12:06 #880
by Admin
Replied by Admin on topic Sound and divers
The sound is activated as part of the refresh function see line 394
github.com/punyauk/SatyrFarm-Quintonia/b...src/machine.lsl#L394
The EXPIRY (for products) is always converted to an integer so the shortest a product can last is 1 day. I'm interested to hear you are thinking of shorter times as I was actually wondering how useful the expiry actually is, since I assumed people store items after production. Maybe an option for hours rather than days could be added if that would be useful for people.
The EXPIRY (for products) is always converted to an integer so the shortest a product can last is 1 day. I'm interested to hear you are thinking of shorter times as I was actually wondering how useful the expiry actually is, since I assumed people store items after production. Maybe an option for hours rather than days could be added if that would be useful for people.
The following user(s) said Thank You: Louis Quatorze
Please Log in or Create an account to join the conversation.
- Louis Quatorze
-
Topic Author
Less
More
- Posts: 104
- Thank you received: 30
28 Sep 2020 12:33 #881
by Louis Quatorze
Replied by Louis Quatorze on topic Sound and divers
Its for a light candle,
I think Expire fonction is fine in some cases.. Food and all consumables for exemple
Louis
I think Expire fonction is fine in some cases.. Food and all consumables for exemple
Louis
Please Log in or Create an account to join the conversation.
- Admin
-
Less
More
- Posts: 480
- Thank you received: 259
28 Sep 2020 12:42 #882
by Admin
Replied by Admin on topic Sound and divers
Ah okay - there is actually the firepit script which is used in the fireplace and also I have now used it in the new SF Candle Bowl that you can make on the SF Crafting Workbench although at the moment the life is set by the script, but easy enough to make that an option

Please Log in or Create an account to join the conversation.
- Louis Quatorze
-
Topic Author
Less
More
- Posts: 104
- Thank you received: 30
28 Sep 2020 12:50 #883
by Louis Quatorze
Replied by Louis Quatorze on topic Sound and divers
Ah ok!
II thought to use script of SF table (in this case is SF Candlestick target of light candle) and use weared Expire value
Louis
II thought to use script of SF table (in this case is SF Candlestick target of light candle) and use weared Expire value
Louis
Please Log in or Create an account to join the conversation.
- Admin
-
Less
More
- Posts: 480
- Thank you received: 259
29 Sep 2020 10:20 #900
by Admin
Replied by Admin on topic Sound and divers
Thinking about it, you probably don't want a candle to expire quickly, since an unused candle should last a long time! The SF Candle Bowl will burn a candle for about 2 Hours in total.
The following user(s) said Thank You: Louis Quatorze
Please Log in or Create an account to join the conversation.