From a110c267b587c04f5e35926aa8a0a40b91bb4aaf Mon Sep 17 00:00:00 2001 From: RebeccaNod1 Date: Sun, 5 Apr 2026 11:15:27 -0600 Subject: [PATCH] v3.2.6 SENTINEL: Implemented automated Experience Sentinel diagnostic check for Final Girlz I.N.C. --- Main_Controller_Linkset.lsl | 17 +++++++++++++++++ Peril_Constants.lsl | 1 + 2 files changed, 18 insertions(+) diff --git a/Main_Controller_Linkset.lsl b/Main_Controller_Linkset.lsl index 1af3acb..e4381b8 100644 --- a/Main_Controller_Linkset.lsl +++ b/Main_Controller_Linkset.lsl @@ -180,6 +180,17 @@ checkMemoryUsage(string context) { // REMOVED: emergencyMemoryCleanup() - delegated to Controller_Memory.lsl // REMOVED: reportMemoryStats() - delegated to Controller_Memory.lsl +// Experience Sentinel - Checks if the required experience is enabled on the parcel +checkExperience() { + list parcelXps = llGetParcelDetails(llGetPos(), [PARCEL_DETAILS_EXPERIENCE_LIST]); + if (llListFindList(parcelXps, [EXPERIENCE_ID]) == -1) { + llOwnerSay("⚠️ [Peril Dice] SYSTEM WARNING: The 'Final Girlz I.N.C.' Experience is NOT active on this parcel!"); + llOwnerSay("🛡️ [Peril Dice] Auto-HUD attachment will FAIL. To fix: Open 'About Land' -> 'Experiences' -> 'Add' and search for 'Final Girlz I.N.C.'"); + } else { + dbg("✅ [Peril Dice] Experience Sentinel: Land is ready for Final Girlz I.N.C. features."); + } +} + // Send status message to scoreboard using link messages sendStatusMessage(string status) { // LOCKOUT: If victory is in progress, only allow "Victory" or "Title" statuses @@ -333,6 +344,9 @@ default { // Initialize channels for external communication initializeChannels(); + // Experience Sentinel check + checkExperience(); + // Reset the game on startup to ensure clean state resetGame(); @@ -351,6 +365,9 @@ default { // Re-initialize channels for external communication initializeChannels(); + // Experience Sentinel check + checkExperience(); + // Reset the game to ensure clean state when rezzed resetGame(); diff --git a/Peril_Constants.lsl b/Peril_Constants.lsl index d8a7c43..442090a 100644 --- a/Peril_Constants.lsl +++ b/Peril_Constants.lsl @@ -8,6 +8,7 @@ integer LINK_SCOREBOARD = -1; // "Scoreboard:0:0" integer LINK_DICE_BRIDGE = -1; // "FURWARE text mesh:Dice:0:0" integer LINK_LEADERBOARD_BRIDGE = -1; // "FURWARE text mesh:Leaderboard:0:0" integer LINK_STATUS_BRIDGE = -1; // "FURWARE text mesh:Status:0:0" +key EXPERIENCE_ID = "06926390-26e6-11f1-a452-0242ac110003"; // Final Girlz I.N.C. // Macro to discover core links by name #define DISCOVER_CORE_LINKS() { \