Upload from upload_mods.ps1

This commit is contained in:
Nathaniel Cosford
2025-06-04 16:44:53 +09:30
commit f1fbbe67bb
1722 changed files with 165268 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
public class MinEventActionStopMusic : MinEventActionRemoveBuff
{
private int numItems = 1;
private int numLocation = 0;
private int numQuality = 0;
private string itemName = "";
public override void Execute(MinEventParams _params)
{
//Log.Out("MinEventActionStopMusic-Execute START");
if (GameManager.IsDedicatedServer)
{
//Log.Out("MinEventActionStopMusic-Execute IS SERVER");
return;
}
//Log.Out("MinEventActionStopMusic-Execute IS CLIENT");
EntityPlayerLocal player = _params.Self as EntityPlayerLocal;
if (player == null)
{
//Log.Out("MinEventActionStopMusic-Execute NO Player");
return;
}
//Log.Out("MinEventActionStopMusic-Execute player.AttachedToEntity: " + player.AttachedToEntity);
//Log.Out("MinEventActionStopMusic-Execute HAS WALKMAN MOD: " + RebirthUtilities.HasMod(player, "FuriousRamsayWalkmanMod"));
if (RebirthUtilities.HasMod(player, "FuriousRamsayWalkmanMod"))
{
//Log.Out("MinEventActionStopMusic-Execute HAS WALKMAN MOD");
return;
}
//Log.Out("MinEventActionStopMusic-Execute STOP MUSIC");
RebirthVariables.musicMode = 0;
}
}