-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MIRROR] Adds a Syndicate Monkey Agent beacon uplink item [MDB IGNORE…
…] (#24550) (#245) * Adds a Syndicate Monkey Agent beacon uplink item (#79012) ## About The Pull Request Adds a Syndicate Monkey Agent beacon uplink item. It spawns a dapper monkey that must follow your orders. Added a monkey gun case to the uplink, which contains monkey guns! Though they aren't very powerful. Added a more modularlike subtype for antagonist spawners to reduce future hardcoding. Gave the syndicate turtleneck a monkey sprite, from SS14! ## Why It's Good For The Game I want to see the clown driving security insane with 2-3 monkeys and an incredible amount of pranking. Or an assistant killing everyone with his monkey friends while wearing a monkey suit. Or a geneticist sending out mutated monkeys to kill people. Or a scientist equipping his monkeys with bombs or xenobiology equipment and sending them out to wreak havoc. 6 TC is only enough for two monkeys, but you can get a third if you finish any kind of objective. > Added a monkey gun case to the uplink, which contains monkey guns! Though they aren't very powerful. We can't have the monkey mafia without guns, come on. The guns are weak and only usable by monkeys. Additionally, they're restricted to entertainment only. Credit to SS14 for the monky turtleneck sprite. ## Changelog :cl: add: Adds a Syndicate Monkey Agent beacon uplink item. It spawns a dapper monkey that must follow your orders. add: Added a monkey gun case to the uplink, which contains monkey guns! Though they aren't very powerful. refactor: Added a more modularlike subtype for antagonist spawners to reduce future hardcoding. sprite: Gave the syndicate turtleneck a monkey sprite, from SS14! /:cl: --------- * Adds a Syndicate Monkey Agent beacon uplink item --------- Co-authored-by: SkyratBot <[email protected]> Co-authored-by: carlarctg <[email protected]> Co-authored-by: ATH1909 <42606352+ATH1909@ users.noreply.github.com> Co-authored-by: Jacquerel <hnevard@ gmail.com>
- Loading branch information
1 parent
f4e4ed8
commit ab96633
Showing
22 changed files
with
388 additions
and
6 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
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
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
37 changes: 37 additions & 0 deletions
37
code/modules/antagonists/syndicate_monkey/syndicate_monkey.dm
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,37 @@ | ||
/datum/antagonist/syndicate_monkey | ||
name = "\improper Syndicate Monkey" | ||
antagpanel_category = ANTAG_GROUP_SYNDICATE | ||
show_in_roundend = TRUE | ||
show_in_antagpanel = TRUE | ||
show_name_in_check_antagonists = TRUE | ||
count_against_dynamic_roll_chance = FALSE | ||
show_to_ghosts = TRUE | ||
/// The antagonist's master, used for objective | ||
var/mob/living/monky_master | ||
|
||
/datum/antagonist/syndicate_monkey/on_gain() | ||
monky_master = owner.enslaved_to?.resolve() | ||
if(monky_master) | ||
forge_objectives(monky_master) | ||
return ..() | ||
|
||
/datum/antagonist/syndicate_monkey/Destroy() | ||
monky_master = null | ||
return ..() | ||
|
||
/datum/antagonist/syndicate_monkey/greet() | ||
. = ..() | ||
owner.announce_objectives() | ||
|
||
/datum/objective/syndicate_monkey | ||
var/mob/living/monky_master | ||
|
||
/datum/objective/syndicate_monkey/check_completion() | ||
return monky_master.stat != DEAD | ||
|
||
/datum/antagonist/syndicate_monkey/forge_objectives(mob/monky_master) | ||
var/datum/objective/syndicate_monkey/objective = new | ||
objective.monky_master = monky_master | ||
objective.explanation_text = "You are a badass monkey syndicate agent. Protect and obey all of your master [monky_master]'s orders!" | ||
objective.owner = owner | ||
objectives += objective |
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
Oops, something went wrong.