-
Notifications
You must be signed in to change notification settings - Fork 335
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change up and add ninja objectives (#2359)
* change up and add ninja objectives * make cloak stealable * formatting --------- Co-authored-by: deltanedas <@deltanedas:kde.org>
- Loading branch information
1 parent
190030e
commit 6098390
Showing
9 changed files
with
141 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
objective-ninja-kill-head-title = Execute {$targetName}, {CAPITALIZE($job)} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
# Kill | ||
|
||
- type: entity | ||
abstract: true | ||
parent: [ BaseNinjaObjective, BaseTeachLessonObjective ] | ||
id: BaseNinjaTeachLessonObjective | ||
description: This fool has spoken out against the Spider Clan. Teach them the error of their ways. | ||
components: | ||
- type: Objective | ||
unique: true | ||
icon: | ||
sprite: Objects/Weapons/Throwable/throwing_star.rsi | ||
state: icon | ||
- type: TargetObjective | ||
title: objective-condition-teach-person-title | ||
|
||
- type: entity | ||
parent: BaseNinjaTeachLessonObjective | ||
id: NinjaTeachLessonRandomHeadObjective | ||
components: | ||
- type: PickRandomHead | ||
|
||
- type: entity | ||
parent: BaseNinjaTeachLessonObjective | ||
id: NinjaTeachLessonRandomPersonObjective | ||
components: | ||
- type: PickRandomPerson | ||
|
||
- type: entity | ||
parent: [ BaseNinjaObjective, BaseKillObjective ] | ||
id: NinjaKillRandomHeadObjective | ||
description: The Spider Clan is in need of more saboteur cyborgs. This head's brain will be perfect. | ||
components: | ||
- type: Objective | ||
icon: | ||
sprite: Objects/Weapons/Melee/energykatana.rsi | ||
state: icon | ||
- type: TargetObjective | ||
title: objective-ninja-kill-head-title | ||
- type: PickRandomHead | ||
- type: KillPersonCondition | ||
requireDead: true | ||
|
||
# Steal | ||
|
||
- type: entity | ||
abstract: true | ||
parent: [ BaseNinjaObjective, BaseStealObjective ] | ||
id: BaseNinjaStealObjective | ||
components: | ||
- type: StealCondition | ||
verifyMapExistence: false | ||
|
||
- type: entity | ||
parent: BaseNinjaStealObjective | ||
id: NinjaIanDossierStealObjective | ||
components: | ||
- type: StealCondition | ||
stealGroup: BookIanDossier | ||
|
||
- type: entity | ||
parent: BaseNinjaStealObjective | ||
id: NinjaLuckyBillStealObjective | ||
components: | ||
- type: StealCondition | ||
stealGroup: SpaceCashLuckyBill | ||
|
||
- type: entity | ||
parent: BaseNinjaStealObjective | ||
id: NinjaCaptainsCloakStealObjective | ||
components: | ||
- type: StealCondition | ||
stealGroup: CaptainsCloak | ||
|
||
- type: entity | ||
parent: BaseNinjaStealObjective | ||
id: NinjaNotaryStampStealObjective | ||
components: | ||
- type: StealCondition | ||
stealGroup: RubberStampNotary | ||
owner: job-name-clerk |
35 changes: 35 additions & 0 deletions
35
Resources/Prototypes/DeltaV/Objectives/objectiveGroups.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
## Ninja | ||
# Hacking things | ||
- type: weightedRandom | ||
id: NinjaHackingObjectiveGroups | ||
weights: | ||
NinjaObjectiveGroupHacking: 1 | ||
|
||
- type: weightedRandom | ||
id: NinjaObjectiveGroupHacking | ||
weights: | ||
StealResearchObjective: 1 | ||
TerrorObjective: 1 | ||
MassArrestObjective: 1 | ||
|
||
# Extra objectives besides hacking things | ||
- type: weightedRandom | ||
id: NinjaBonusObjectiveGroups | ||
weights: | ||
NinjaObjectiveGroupKill: 1 | ||
NinjaObjectiveGroupSteal: 1 | ||
|
||
- type: weightedRandom | ||
id: NinjaObjectiveGroupKill | ||
weights: | ||
NinjaTeachLessonRandomHeadObjective: 1 | ||
NinjaTeachLessonRandomPersonObjective: 0.5 | ||
NinjaKillRandomHeadObjective: 0.25 # rarely have to gib, but it'll be towards the end of the round anyway | ||
|
||
# Steal random sentimental things, hopefully a traitor didn't do it first... | ||
- type: weightedRandom | ||
id: NinjaObjectiveGroupSteal | ||
weights: | ||
NinjaIanDossierStealObjective: 1 | ||
NinjaLuckyBillStealObjective: 1 | ||
NinjaCaptainsCloakStealObjective: 0.75 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters