This commit is contained in:
Cepelinas1 2026-05-27 20:37:08 +03:00
parent ad24fbbd9d
commit 6bf3b08136
7 changed files with 87 additions and 1 deletions

View File

@ -0,0 +1,9 @@
using Content.Shared.Roles.Components;
namespace Content.Shared._DV.Roles;
/// <summary>
/// Added to mind role entities to tag that they are a Hamlet.
/// </summary>
[RegisterComponent]
public sealed partial class HamletRoleComponent : BaseMindRoleComponent;

View File

@ -0,0 +1,7 @@
Hamlet-briefing =
Attacking crew or jumping into space just to complete the objective would dishonor your ancestors.
Have a proper build up to your demise. Make it worth sharing!
objective-issuer-Hamlet = [color=#204cc7]Hamsters[/color]
Hamlet-round-end-name = Hamlet

View File

@ -7,3 +7,4 @@ role-subtype-armsdealer = Arms Dealer
role-subtype-asakim = Asakim
role-subtype-ntagent = NTAgent
role-subtype-hitman = Hitman
role-subtype-hamlet = Hamlet

View File

@ -649,6 +649,11 @@
name: ghost-role-information-hamlet-name
description: ghost-role-information-hamlet-description
rules: ghost-role-information-nonantagonist-rules
mindRoles:
- MindRoleHamlet
- type: AntagObjectives
objectives:
- HamletObjective
- type: GhostTakeoverAvailable
- type: InteractionPopup
successChance: 1
@ -919,7 +924,7 @@
proper: true
gender: male
#DeltaV Changes - he can shoot his gun 80% of the time
- type: Clumsy
- type: Clumsy
clumsyGunShootCheck: 0.2
#DeltaV Changes end

View File

@ -0,0 +1,41 @@
#- type: entity
# parent: BaseObjective
# id: HamletObjective
# name: Achieve your destiny
# description: Die in the most absurd, hilarious way.
# components:
# - type: Objective
# difficulty: 1.5
# issuer: objective-issuer-Hamlet # probably delete this
# unique: false
# icon:
# sprite: Mobs/Ghosts/ghost_human.rsi
# state: icon
# - type: RoleRequirement
# roles:
# - HamletRole
# - type: DieCondition
- type: entity
parent: BaseSurviveObjective # remember to change to die objective later
abstract: true
id: BaseHamletObjective
components:
- type: Objective
issuer: objective-issuer-Hamlet
difficulty: 1
- type: RoleRequirement
roles:
- HamletRole
- type: entity
parent: BaseHamletObjective
id: HamletObjective
name: Achieve your destiny
description: Die in the most absurd, hilarious way.
components:
- type: Objective
icon:
sprite: Mobs/Ghosts/ghost_human.rsi
state: icon

View File

@ -0,0 +1,9 @@
- type: antag
id: Hamlet
name: role-subtype-hamlet
antagonist: true
setPreference: true
objective: Hamlet-round-end-name
requirements:
- !type:OverallPlaytimeRequirement
time: 24h

View File

@ -141,3 +141,17 @@
- type: HitmanRole
- type: RoleBriefing
briefing: hitman-briefing
- type: entity
parent: BaseMindRoleAntag
id: MindRoleHamlet
name: Hamlet
components:
- type: MindRole
roleType: FreeAgent
subtype: role-subtype-hamlet
antagPrototype: Hamlet
exclusiveAntag: true
- type: HamletRole
- type: RoleBriefing
briefing: Hamlet-briefing