- Posts: 17
- Thank you received: 1
Kitchen Store - scripts
- Annah Gestaga
-
Topic Author
Less
More
04 Apr 2025 17:02 #2913
by Annah Gestaga
Kitchen Store - scripts was created by Annah Gestaga
I have been looking at the Kitchen Storage for keeping the Japanese crops that I am creating. My question is after looking at the scripts that I can find I don't truly understand how the the products end up in the containers.
If i click on the shelf, i get the standard scripts. The items on the shelves each have labels with their names and percentage of crops for each one, however there are no scripts in the contents of the containers. I'm not sure how this works, but would like to use this set-up to create a Japanese store. Any help would be appreciated.
If i click on the shelf, i get the standard scripts. The items on the shelves each have labels with their names and percentage of crops for each one, however there are no scripts in the contents of the containers. I'm not sure how this works, but would like to use this set-up to create a Japanese store. Any help would be appreciated.
Please Log in or Create an account to join the conversation.
- Sharpened Razor
-
Less
More
- Posts: 18
- Thank you received: 0
04 Apr 2025 20:46 - 04 Apr 2025 21:19 #2914
by Sharpened Razor
Replied by Sharpened Razor on topic Kitchen Store - scripts
the script reads the name's you put on each container EG if you have 5 containers each with their own names then just another prim/mesh on its own named SF Storage or what ever the storage is Named then add the scripts in the SF Storage prim/mesh, the SF Storage Prim/Mesh should be the last linked prim/mesh also make sure you have one of each item that's stored in the Contents with the scripts and notecards.
hope that helps if not i can show you how to do it... just keep in mind that there is limitations on how many names that the script can read i think it's around 15/20 i have noticed on the scarecrow storage i have made if you add to many names some won't show in the hover text ..... but it will still take the item..... all so i have found that the SENSOR_DISTANCE=96 in the Notecard will only search around 15 meters, even if you set it to 96 maybe that's a job for Buzzy to fix.
hope that helps if not i can show you how to do it... just keep in mind that there is limitations on how many names that the script can read i think it's around 15/20 i have noticed on the scarecrow storage i have made if you add to many names some won't show in the hover text ..... but it will still take the item..... all so i have found that the SENSOR_DISTANCE=96 in the Notecard will only search around 15 meters, even if you set it to 96 maybe that's a job for Buzzy to fix.
Last edit: 04 Apr 2025 21:19 by Sharpened Razor.
Please Log in or Create an account to join the conversation.
- Buzzy Cnayl
-
Less
More
- Posts: 320
- Thank you received: 58
05 Apr 2025 08:47 #2915
by Buzzy Cnayl
Replied by Buzzy Cnayl on topic Kitchen Store - scripts
I've updated the chapter about creating storage (
vivosim.net/help/guides/user-guide/chapt...ur-own-items-storage
) but yes, you have one main prim with all the products and code in it, then you can add extra prims that are used just to show individual product status levels,
The following user(s) said Thank You: Annah Gestaga
Please Log in or Create an account to join the conversation.
- Buzzy Cnayl
-
Less
More
- Posts: 320
- Thank you received: 58
05 Apr 2025 09:30 - 05 Apr 2025 09:34 #2916
by Buzzy Cnayl
Replied by Buzzy Cnayl on topic Kitchen Store - scripts
Not sure why you are seeing this - I checked the code and it does use the value you set in the config notecard when it scans. I tested and found it does follow that settings, at least in my testing.all so i have found that the SENSOR_DISTANCE=96 in the Notecard will only search around 15 meters, even if you set it to 96 maybe that's a job for Buzzy to fix.
Last edit: 05 Apr 2025 09:34 by Buzzy Cnayl.
Please Log in or Create an account to join the conversation.
- Sharpened Razor
-
Less
More
- Posts: 18
- Thank you received: 0
05 Apr 2025 11:48 #2917
by Sharpened Razor
Replied by Sharpened Razor on topic Kitchen Store - scripts
This is The Distance 21 meters i can get it to scan for a item if i set the item any further away it wont find item
Please Log in or Create an account to join the conversation.
- Buzzy Cnayl
-
Less
More
- Posts: 320
- Thank you received: 58
05 Apr 2025 13:53 #2918
by Buzzy Cnayl
Replied by Buzzy Cnayl on topic Kitchen Store - scripts
Is that all storage items or any one in particular?
Please Log in or Create an account to join the conversation.