Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Добавил таймеры гост ролям #28

Merged
merged 3 commits into from
Jun 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Resources/Changelog/ChangelogSunrise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -272,3 +272,11 @@ Entries:
type: Add
id: 23
time: '2024-06-06T18:03:25.670495+00:00'
- author: pacable
changes:
- message: "\u0414\u043E\u0431\u0430\u0432\u0438\u043B \u0442\u0430\u0439\u043C\u0435\
\u0440\u044B \u043D\u0435\u043A\u043E\u0442\u043E\u0440\u044B\u043C \u0433\u043E\
\u0441\u0442 \u0440\u043E\u043B\u044F\u043C"
type: Add
id: 24
time: '2024-06-05T18:51:04.319862+00:00'
49 changes: 49 additions & 0 deletions Resources/Prototypes/Entities/Markers/Spawners/ghost_roles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
name: ghost-role-information-rat-king-name
description: ghost-role-information-rat-king-description
rules: ghost-role-information-rat-king-rules
requirements:
- !type:OverallPlaytimeRequirement
time: 36000 #10 hrs # Sunrise-RoleTime
raffle:
settings: default
- type: GhostRoleMobSpawner
Expand Down Expand Up @@ -101,6 +104,14 @@
name: ghost-role-information-loneop-name
description: ghost-role-information-loneop-description
rules: ghost-role-information-loneop-rules
requirements:
- !type:DepartmentTimeRequirement
department: Security
time: 54000 #15 hrs # Sunrise-RoleTime
- !type:OverallPlaytimeRequirement
time: 90000 #25 hrs # Sunrise-RoleTime
raffle:
settings: default
- type: Sprite
sprite: Markers/jobs.rsi
layers:
Expand All @@ -116,6 +127,14 @@
- type: GhostRole
name: roles-antag-nuclear-operative-commander-name
description: roles-antag-nuclear-operative-commander-objective
requirements:
- !type:OverallPlaytimeRequirement
time: 36000 # 10h # Sunrise-RoleTime
- !type:DepartmentTimeRequirement
department: Security
time: 18000 # 5h # Sunrise-RoleTime
raffle:
settings: default

- type: entity
noSpawn: true
Expand All @@ -125,6 +144,17 @@
- type: GhostRole
name: roles-antag-nuclear-operative-agent-name
description: roles-antag-nuclear-operative-agent-objective
requirements:
- !type:OverallPlaytimeRequirement
time: 36000 # 10h # Sunrise-RoleTime
- !type:RoleTimeRequirement
role: JobChemist
time: 18000 # 5h # Sunrise-RoleTime
- !type:DepartmentTimeRequirement
department: Security
time: 18000 # 5h # Sunrise-RoleTime
raffle:
settings: default

- type: entity
noSpawn: true
Expand All @@ -134,6 +164,14 @@
- type: GhostRole
name: roles-antag-nuclear-operative-name
description: roles-antag-nuclear-operative-objective
requirements:
- !type:OverallPlaytimeRequirement
time: 36000 # 10h # Sunrise-RoleTime
- !type:DepartmentTimeRequirement
department: Security
time: 7200 # 2h # Sunrise-RoleTime
raffle:
settings: default

- type: entity
noSpawn: true
Expand All @@ -144,6 +182,11 @@
name: ghost-role-information-space-dragon-name
description: ghost-role-information-space-dragon-description
rules: ghost-role-component-default-rules
requirements:
- !type:OverallPlaytimeRequirement
time: 36000 #10 hrs # Sunrise-RoleTime
raffle:
settings: default
- type: Sprite
layers:
- state: green
Expand All @@ -160,6 +203,12 @@
name: ghost-role-information-space-ninja-name
description: ghost-role-information-space-ninja-description
rules: ghost-role-information-space-ninja-rules
requirements:
- !type:DepartmentTimeRequirement
department: Security
time: 18000 #5 hrs # Sunrise-RoleTime
- !type:OverallPlaytimeRequirement
time: 36000 #10 hrs # Sunrise-RoleTime
raffle:
settings: default
- type: GhostRoleMobSpawner
Expand Down
Loading