GridLife LSL Update Instructions ================================ Current scripts --------------- - Standard HUD: gridlife_hud.lsl v1.11 - Classic HUD controller: gridlife_hud_classic.lsl v2.10 - Classic linked meter: gridlife_meter_classic.lsl - Consumable: gridlife_consumable.lsl v1.2 - Doctor HUD: gridlife_doctor_hud.lsl v1.2 - Reproduction HUD: gridlife_reproduction_hud.lsl v1.2 Important --------- - Use gridlifesl.com only. - Keep only one HUD controller in a HUD. Do not run the standard and classic HUD controller scripts together. - Save the configuration values from an existing product before replacing its script. - The fast stat refresh requires both an updated consumable script and an updated HUD controller. Updating the standard HUD ------------------------- 1. Edit the HUD and open the root prim's Contents tab. 2. Remove the old gridlife_hud.lsl script. 3. Add the new gridlife_hud.lsl script. 4. Reset the new script and reattach the HUD. 5. The HUD should rename itself to GridLife HUD (v1.11). 6. Active illnesses and required medications appear below the need stats. 7. Touch the HUD and choose Profile to set Gender and Age. These choices save to the server; Adult age is required before enabling reproduction roleplay. 8. Roleplay chat is on by default. Choose RP Chat Off from the main menu to stop local illness and critical-need emotes. Messages have a 10-minute cooldown, while newly detected illness and recovery may announce at once. 9. The display header shows player name, level, and XP. Stats are arranged two per row and separated by a vertical bar. Updating the classic HUD ------------------------ 1. Edit the HUD and open the root/controller prim's Contents tab. 2. Replace gridlife_hud_classic.lsl with the new v2.10 script. 3. Keep gridlife_meter_classic.lsl in the linked meter prim. 4. Remove any standard gridlife_hud.lsl script from the same HUD. 5. Reset the classic controller and linked meter scripts, then reattach. 6. Active illnesses and required medications appear in expanded and compact modes. 7. Choose Profile from the main menu to set Gender and Age. 8. Use RP OFF or RP ON to control local illness and critical-need emotes. 9. Player name, level, and XP appear above two-column stat rows. Updating the doctor HUD ----------------------- 1. Replace gridlife_doctor_hud.lsl with v1.2 and reset the script. 2. Add the required medication assets to the doctor's GridLife account. 3. Scan a nearby patient to see illnesses, severity, and required doses. 4. Choose Heal and select the patient. Treatment succeeds only when the doctor has every required medication; successful treatment consumes those assets. Using the reproduction roleplay HUD ----------------------------------- 1. Add gridlife_reproduction_hud.lsl to a separate wearable HUD object. 2. Set Age to Adult in the main GridLife HUD before enabling it. 3. Open Settings, enable roleplay, and choose Can Carry, Can Fertilize, Both, or Neither. Role is separate from avatar gender. 4. Both adults must enable their own HUD. Partner requests expire after 10 minutes and never start a pregnancy without explicit acceptance. 5. The carrier may choose pregnancy timing from 1 to 280 real days, track a fertility cycle, use optional birth control, and end roleplay at any time. 6. Prenatal care consumes one Prenatal Vitamins asset every 12 hours. 7. This is fictional roleplay and is not medical advice. 8. Version 1.2 refreshes immediately when Age or Gender changes in either main HUD. Its Refresh menu action also clears stale profile status manually. It reads the explicit saved age-group value to avoid viewer JSON boolean differences incorrectly reporting that an Adult profile is ineligible. Updating a consumable --------------------- 1. Copy these settings from the old script: ITEM_CODE ITEM_NAME TOTAL_USES VERSION ACCESS_MODE 2. Replace the old gridlife_consumable.lsl script in the product's root prim. 3. Enter the saved settings near the top of the new script and save it. 4. Reset the script. The root object will be named in this format: GridLife Tomato & Olive Oil x 5 (v1.0) 5. Touch the product. Choose Use Product to consume one use. 6. The owner can choose Access, then Owner, Group, or Everyone. This selection is saved in linkset data and survives resets and region restarts. Fast HUD refresh test --------------------- 1. Wear the updated standard or classic HUD. 2. Touch an updated consumable and choose Use Product. 3. Wait for the successful-use message. 4. The HUD should request and display the new server stats immediately. 5. If the in-world signal is missed, the normal 60-second HUD heartbeat will still recover the current server stats. Product updater setup --------------------- 1. Register the product at https://gridlifesl.com/admin/updates. 2. Configure PRODUCT_CODE, PRODUCT_VERSION, and UPDATE_KEY in gridlife_updater.lsl. 3. Put the updater in the product root and distribute that script no-mod. 4. Publish a release using the replacement object's exact inventory name. 5. Put the replacement object in an online GridLife Delivery Server. 6. For a no-copy customer product, the merchant master must remain copyable and transferable while next-owner copy permission is disabled. Downloads --------- https://gridlifesl.com/LSL/gridlife_hud.lsl https://gridlifesl.com/LSL/gridlife_hud_classic.lsl https://gridlifesl.com/LSL/gridlife_meter_classic.lsl https://gridlifesl.com/LSL/gridlife_consumable.lsl https://gridlifesl.com/LSL/gridlife_updater.lsl https://gridlifesl.com/LSL/gridlife_delivery_server.lsl https://gridlifesl.com/LSL/gridlife_doctor_hud.lsl https://gridlifesl.com/LSL/gridlife_reproduction_hud.lsl https://gridlifesl.com/LSL/REPRODUCTION_HUD_MANUAL.txt https://gridlifesl.com/LSL/CORE_SYSTEM_MANUAL.txt