// Namespace: TWKS.GoreBox27.CustomModes
// Author: TWKS
// Description: Logic stub for "Maniac's Secret" custom roleplay / hidden killer mode in GoreBox 27
using System;
using UnityEngine;
namespace TWKS.GoreBox27.Modes
{
public class ManiacSecretMode : MonoBehaviour
{
private bool isManiacAssigned = false;
private string localPlayerRole = "Innocent";
void Start()
{
print("[TWKS-MODE] Initializing 'Maniac's Secret' custom ruleet...");
InitializeModeRules();
}
private void InitializeModeRules()
{
// Назначение ролей: 1 Маньяк, остальные — Выжившие
// Окружение заполняется скрытыми ловушками и холодным оружием
isManiacAssigned = true;
print("[TWKS-MODE] Rules applied: One secret killer, dark lighting, restricted visibility.");
}
public void AssignRole(bool isKiller)
{
localPlayerRole = isKiller ? "Maniac" : "Survivor";
if (isKiller)
{
// Выдача скрытого баффа к скорости и урону ближнего боя
print("[TWKS-ROLE] You are the Maniac. Hunt down everyone in the shadows.");
}
else
{
print("[TWKS-ROLE] You are a Survivor. Find the exit or eliminate the maniac.");
}
}
}
}