Skip to content

Commit

Permalink
[MIRROR] Adds the gifted "negative" quirk (#666)
Browse files Browse the repository at this point in the history
* Adds the gifted "negative" quirk (#24967)

* Gifted

Adds the gifted quirk.

* Update tgstation.dme

* updates

* Update code/_globalvars/traits.dm

* updoot

* Update traits.dm

* Update code/__DEFINES/~skyrat_defines/traits.dm

* Update modular_skyrat/master_files/code/datums/quirks/negative.dm

* Update negative.dm

---------

Co-authored-by: Deadmon <[email protected]>
Co-authored-by: Bloop <[email protected]>
Co-authored-by: Iajret <[email protected]>
  • Loading branch information
4 people authored Nov 20, 2023
1 parent 8b905c9 commit 4f79c0f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/__DEFINES/~skyrat_defines/traits.dm
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
/// This makes trait makes it so that the person cannot be infected by the zombie virus.
#define TRAIT_MUTANT_IMMUNE "mutant_immune"

/// adds -6 quirk to negative quirks for free points.
#define TRAIT_GIFTED "gifted"

//AdditionalEmotes *turf traits
#define TRAIT_WATER_ASPECT "water_aspect"
#define TRAIT_WEBBING_ASPECT "webbing_aspect"
Expand Down
1 change: 1 addition & 0 deletions code/_globalvars/traits.dm
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ GLOBAL_LIST_INIT(traits_by_type, list(
"TRAIT_ALCOHOL_TOLERANCE" = TRAIT_ALCOHOL_TOLERANCE,
"TRAIT_AGEUSIA" = TRAIT_AGEUSIA,
"TRAIT_HEAVY_SLEEPER" = TRAIT_HEAVY_SLEEPER,
"TRAIT_GIFTED" = TRAIT_GIFTED, // SKYRAT EDIT - ADDITION
"TRAIT_NIGHT_VISION" = TRAIT_NIGHT_VISION,
"TRAIT_LIGHT_STEP" = TRAIT_LIGHT_STEP,
"TRAIT_SPIRITUAL" = TRAIT_SPIRITUAL,
Expand Down
13 changes: 13 additions & 0 deletions modular_skyrat/master_files/code/datums/quirks/negative.dm
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,16 @@
var/datum/quirk/blooddeficiency/synth/bd_synth = new
qdel(src)
return bd_synth.add_to_holder(new_holder, quirk_transfer)

/datum/quirk/gifted
name = "Gifted"
desc = "You were born a bit lucky, intelligent, or something in between. You're able to do a little more."
icon = FA_ICON_DOVE
quirk_flags = QUIRK_HUMAN_ONLY|QUIRK_HIDE_FROM_SCAN
value = -6
mob_trait = TRAIT_GIFTED
gain_text = span_danger("You feel like you're just a little bit more flexible.")
lose_text = span_notice("You feel a little less flexible.")
medical_record_text = "Patient has a history of uncanny fortune."
hardcore_value = 0
hidden_quirk = TRUE // FF EDIT: ADDITION - Removing freebie points, staff decision

0 comments on commit 4f79c0f

Please sign in to comment.