private static readonly EntProtoId DefaultChangelingRule = "Changeling";
private static readonly EntProtoId ParadoxCloneRuleId = "ParadoxCloneSpawn";
private static readonly EntProtoId DefaultWizardRule = "Wizard";
+ private static readonly EntProtoId DefaultNinjaRule = "NinjaSpawn";
private static readonly ProtoId<StartingGearPrototype> PirateGearId = "PirateGear";
// All antag verbs have names so invokeverb works.
};
args.Verbs.Add(wizard);
+ var ninjaName = Loc.GetString("admin-verb-text-make-space-ninja");
+ Verb ninja = new()
+ {
+ Text = ninjaName,
+ Category = VerbCategory.Antag,
+ Icon = new SpriteSpecifier.Rsi(new("/Textures/Objects/Weapons/Melee/energykatana.rsi"), "icon"),
+ Act = () =>
+ {
+ _antag.ForceMakeAntag<NinjaRoleComponent>(targetPlayer, DefaultNinjaRule);
+ },
+ Impact = LogImpact.High,
+ Message = string.Join(": ", ninjaName, Loc.GetString("admin-verb-make-space-ninja")),
+ };
+ args.Verbs.Add(ninja);
+
if (HasComp<HumanoidAppearanceComponent>(args.Target)) // only humanoids can be cloned
args.Verbs.Add(paradox);
}
admin-verb-make-thief = Make the target into a thief.
admin-verb-make-paradox-clone = Create a Paradox Clone ghost role of the target.
admin-verb-make-wizard = Make the target into a Wizard.
+admin-verb-make-space-ninja = Make the target into a Space Ninja.
admin-verb-make-changeling = Make the target into a Changeling.
admin-verb-text-make-thief = Make Thief
admin-verb-text-make-paradox-clone = Create Paradox Clone
admin-verb-text-make-wizard = Make Wizard
+admin-verb-text-make-space-ninja = Make Ninja
admin-verb-text-make-changeling = Make Changeling (WIP)
admin-overlay-antag-classic = ANTAG