Domanda Kitchen Store - scripts

  • Annah Gestaga
  • Autore della discussione
  • Ringraziamenti ricevuti 0

Kitchen Store - scripts è stato creato da Annah Gestaga

Posted 04/04/2025 17:02 #2913
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.
da Annah Gestaga

Si prega Accesso o Crea un account a partecipare alla conversazione.

  • Sharpened Razor
  • Ringraziamenti ricevuti 0

Risposta da Sharpened Razor al topic Kitchen Store - scripts

Posted 04/04/2025 20:46 #2914
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.
Last Edit:04/04/2025 21:19 da Sharpened Razor
Ultima Modifica 04/04/2025 21:19 da Sharpened Razor.

Si prega Accesso o Crea un account a partecipare alla conversazione.

  • Buzzy Cnayl
  • Ringraziamenti ricevuti 55

Risposta da Buzzy Cnayl al topic Kitchen Store - scripts

Posted 05/04/2025 08:47 #2915
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,
da Buzzy Cnayl

Si prega Accesso o Crea un account a partecipare alla conversazione.

  • Buzzy Cnayl
  • Ringraziamenti ricevuti 55

Risposta da Buzzy Cnayl al topic Kitchen Store - scripts

Posted 05/04/2025 09:30 #2916

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.

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.
Last Edit:05/04/2025 09:34 da Buzzy Cnayl
Ultima Modifica 05/04/2025 09:34 da Buzzy Cnayl.

Si prega Accesso o Crea un account a partecipare alla conversazione.

  • Sharpened Razor
  • Ringraziamenti ricevuti 0

Risposta da Sharpened Razor al topic Kitchen Store - scripts

Posted 05/04/2025 11:48 #2917
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 
da Sharpened Razor

Si prega Accesso o Crea un account a partecipare alla conversazione.

  • Buzzy Cnayl
  • Ringraziamenti ricevuti 55

Risposta da Buzzy Cnayl al topic Kitchen Store - scripts

Posted 05/04/2025 13:53 #2918
Is that all storage items or any one in particular?
da Buzzy Cnayl

Si prega Accesso o Crea un account a partecipare alla conversazione.

donate

hg.vivosim.net:8002:Mintor

hg.vivosim.net:8002:Lugo

hg.vivosim.net:8002:Sandy Island

hg.vivosim.net:8002:Julian Beach

opensim logo