[NAK_CVR_Mods] Unfucked for 2026r182

This commit is contained in:
NotAKid 2026-06-18 22:20:56 -05:00
parent c13dc8375a
commit 281403d68b
209 changed files with 3936 additions and 1122 deletions

View file

@ -58,15 +58,19 @@ public class PlapPlapForAllMod : MelonMod
if (!Friends.FriendsWith(player.PlayerId))
return;
// AdvTags check mask
CVRAvatarAdvancedTaggingEntry.Tags findTags = 0;
findTags |= CVRAvatarAdvancedTaggingEntry.Tags.Explicit;
findTags |= CVRAvatarAdvancedTaggingEntry.Tags.Suggestive;
// Ensure the avatar is NSFW
UgcContentTags tags = player.AvatarMetadata.TagsData;
if (tags is { Suggestive: false, Explicit: false } // Main tags
&& !avatar.TagHandledByAdvancedTagging(CVRAvatarAdvancedTaggingEntry.Tags.Suggestive) // Advanced tags
&& !avatar.TagHandledByAdvancedTagging(CVRAvatarAdvancedTaggingEntry.Tags.Explicit))
&& !HasAdvTags(avatar.advancedTaggingList, findTags)) // Advanced tags
return;
// Ensure mature content is allowed by user settings
if (!MetaPort.Instance.matureContentAllowed)
if (!MetaPort.Instance.MatureContentPermitted)
return;
GameObject avatarObject = avatar.gameObject;
@ -102,6 +106,19 @@ public class PlapPlapForAllMod : MelonMod
}
}
private static bool HasAdvTags(
List<CVRAvatarAdvancedTaggingEntry> list,
CVRAvatarAdvancedTaggingEntry.Tags findTags)
{
foreach (CVRAvatarAdvancedTaggingEntry entry in list)
{
// If entry is dead or no tags are blocked, go to next entry
if (entry == null || (entry.tags & findTags) == 0) continue;
return true;
}
return false;
}
/* Asset Bundle Loading */
private const string PlapPlapAssetsName = "PlapPlapForAll.Resources.plap plap.assets";

View file

@ -1,10 +1,10 @@
# PlapPlapForAll
Penetrator SFX mod which adds Noach's PlapPlap prefab to any detected DPS setup on avatars that do not already have it.
Penetrator SFX mod which adds Noachi's PlapPlap prefab to any detected DPS setup on avatars that do not already have it.
**Requirements:**
- The avatar must have DPS lights
- The avatar must not already have Noach's PlapPlap prefab
- The avatar must not already have Noachi's PlapPlap prefab
- The avatar must be tagged Suggestive or Explicit
- Mature content must be enabled in the user's settings
- The avatar must be worn by a friend or the local user

View file

@ -6,7 +6,7 @@
"loaderversion": "0.7.2",
"modtype": "Mod",
"author": "NotAKidoS, Noachi",
"description": "Penetrator SFX mod which adds Noach's PlapPlap prefab to any detected DPS setup on avatars that do not already have it.\n\n**Requirements:**\n- The avatar must have DPS lights\n- The avatar must not already have Noach's PlapPlap prefab\n- The avatar must be tagged Suggestive or Explicit\n- Mature content must be enabled in the user's settings\n- The avatar must be worn by a friend or the local user\n\nSFX are driven by the Avatar Audio slider. \n\nIf you have a setup which does not function correctly with this mod, I can *try* to look into it, but no guarantees.",
"description": "Penetrator SFX mod which adds Noachi's PlapPlap prefab to any detected DPS setup on avatars that do not already have it.\n\n**Requirements:**\n- The avatar must have DPS lights\n- The avatar must not already have Noachi's PlapPlap prefab\n- The avatar must be tagged Suggestive or Explicit\n- Mature content must be enabled in the user's settings\n- The avatar must be worn by a friend or the local user\n\nSFX are driven by the Avatar Audio slider. \n\nIf you have a setup which does not function correctly with this mod, I can *try* to look into it, but no guarantees.",
"searchtags": [
"dps",
"plapplap",