This repository has been archived by the owner on Aug 21, 2023. It is now read-only.
forked from BeeStation/BeeStation-Hornet
-
Notifications
You must be signed in to change notification settings - Fork 47
Adds nugget and corpse and lets nuggets move #851
Open
KoboldCommando
wants to merge
5
commits into
Monkestation:master
Choose a base branch
from
KoboldCommando:nuggets
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 2 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
db7c2b6
adds nugget and corpse and lets nuggets move
KoboldCommando 952628d
implements suggested changes
KoboldCommando 75ba8ca
fixes cryptic variable name
KoboldCommando 9907e80
updates and resolves merge conflict
KoboldCommando a2e55fe
these were staged im sure of it
KoboldCommando File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -99,3 +99,32 @@ | |
message = replacetext(message, "r", "w") | ||
message = replacetext(message, "l", "w") | ||
speech_args[SPEECH_MESSAGE] = message | ||
|
||
/datum/quirk/nugget | ||
name = "Nugget" | ||
desc = "An accident caused you to lose ALL of your limbs. There's no way your insurance payed for all those prosthetics!" | ||
value = -1 | ||
var/slot_string = "limb" | ||
|
||
/datum/quirk/nugget/on_spawn() | ||
var/mob/living/carbon/human/nuggeted = quirk_holder | ||
for(var/obj/item/bodypart/BP in nuggeted.bodyparts) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. i'd personally prefer if this was called something like bodypart and not BP, same reasoning as single letter variables There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good catch, fixed |
||
if(BP.body_part != HEAD && BP.body_part != CHEST) | ||
if(BP.dismemberable) | ||
BP.dismember() | ||
if(nuggeted.buckled) | ||
nuggeted.buckled.unbuckle_mob(nuggeted) | ||
nuggeted.suppress_bloodloss(1800) //stop them from bleeding out | ||
nuggeted.update_body_parts(TRUE) | ||
|
||
/datum/quirk/nugget/post_add() | ||
to_chat(quirk_holder, "<span class='boldannounce'>What cruel twist of fate has led to you arriving aboard a space station with no limbs?") | ||
|
||
/datum/quirk/corpse | ||
name = "Corpse" | ||
desc = "Something terrible happened on the shuttle to the station, you arrive dead as a doornail!" | ||
value = -1 | ||
|
||
/datum/quirk/corpse/post_add() | ||
to_chat(quirk_holder, pick("<span class='boldannounce'>F", "<span class='boldannounce'>RIP", "<span class='boldannounce'>RIP in peace", "<span class='boldannounce'>RIP in pepperoni", "<span class='boldannounce'>You were THIS close to surviving")) | ||
quirk_holder.adjustBruteLoss(300) |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This feels like it's going to change some things in a weird way, but I can't immediately say what
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the weirdness is intentional: it lets nuggets crawl around now. I thought carefully and couldn't come up with anything else it would affect offhand.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check wheelchair movement to make sure it doesn't just break them. Don't think it will but thats the only thing i can think of