test
This commit is contained in:
parent
ad24fbbd9d
commit
6bf3b08136
|
|
@ -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;
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue