- Messages : 56
- Remerciements reçus 1
Backpack & Sunshine Smoothies
- Savannah Joy
-
Auteur du sujet
Moins
Plus d'informations
29 Oct 2022 14:58 #2177
par Savannah Joy
Backpack & Sunshine Smoothies a été créé par Savannah Joy
I am trying to add Sunshine Smoothies as well as some other things that will not pop up on the blue menu to add to the backpack. Is there a code or something that I can add to the Config card that will allow me to do this please & thank you? 
Also, will I need to add the Sunshine Smoothie to the backpack ingredients (object)?
The main reason I am focusing on the Sunshine Smoothie is because it fulfills both Hunger & Thirst whereas the strawberry smoothie only fill hunger
Thank You!
Passion!

Also, will I need to add the Sunshine Smoothie to the backpack ingredients (object)?
The main reason I am focusing on the Sunshine Smoothie is because it fulfills both Hunger & Thirst whereas the strawberry smoothie only fill hunger

Thank You!

Passion!

Connexion ou Créer un compte pour participer à la conversation.
- Buzzy Cnayl
-
Moins
Plus d'informations
- Messages : 323
- Remerciements reçus 63
09 Nov 2022 19:50 - 09 Nov 2022 19:50 #2213
par Buzzy Cnayl
Réponse de Buzzy Cnayl sur le sujet Backpack & Sunshine Smoothies
As it is 'designed' at the moment, most made food and drink isn't stored in standard storage. Instead you can add it to the Provisions in the HUD. This allows you to later consume food and drink. If you really want to add the Sunshine smoothie to the backpack, the way to do it would be as follows:
Make your smoothie in the blender
Edit the smoothie and in the Content tab remove everything apart from the config notecard and the glug sound.
Click to create a new script and rename that to setpin then edit it to be:
Delete all the text in the objects Description.
Now you can take that into your inventory then put a copy into the backpack.
Hope that all makes sense!
Make your smoothie in the blender
Edit the smoothie and in the Content tab remove everything apart from the config notecard and the glug sound.
Click to create a new script and rename that to setpin then edit it to be:
Code:
// setpin.lsl
// Version 1.1 28 November 2020
default
{
state_entry()
{
llSetLinkPrimitiveParamsFast(LINK_SET, [PRIM_TEXT, "", ZERO_VECTOR, 0.0]);
}
on_rez(integer n)
{
llSetRemoteScriptAccessPin(999);
}
}
Delete all the text in the objects Description.
Now you can take that into your inventory then put a copy into the backpack.
Hope that all makes sense!
Dernière édition: 09 Nov 2022 19:50 par Buzzy Cnayl.
Connexion ou Créer un compte pour participer à la conversation.