Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
 into dropper-qol
  • Loading branch information
Absolucy committed Apr 15, 2024
2 parents 0ec51e0 + f4d008a commit 0ba9253
Show file tree
Hide file tree
Showing 10 changed files with 31 additions and 14 deletions.
1 change: 1 addition & 0 deletions _maps/~monkestation/RandomBars/Icebox/BarSM.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -1385,6 +1385,7 @@
/obj/effect/turf_decal/trimline/yellow/warning{
dir = 5
},
/obj/effect/mapping_helpers/mail_sorting/service/bar,
/turf/open/floor/pod/dark,
/area/station/commons/lounge)
"Vg" = (
Expand Down
17 changes: 4 additions & 13 deletions _maps/~monkestation/RandomBars/Icebox/clockwork_icebox.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -304,10 +304,11 @@
"oS" = (
/obj/machinery/atmospherics/pipe/smart/manifold4w/scrubbers/visible/layer2,
/obj/machinery/atmospherics/pipe/smart/manifold4w/supply/hidden/layer4,
/obj/structure/disposalpipe/junction/flip{
/obj/structure/cable,
/obj/structure/disposalpipe/sorting/mail/flip{
dir = 4
},
/obj/structure/cable,
/obj/effect/mapping_helpers/mail_sorting/service/bar,
/turf/open/floor/bronze,
/area/station/commons/lounge)
"qk" = (
Expand Down Expand Up @@ -412,16 +413,6 @@
},
/turf/open/floor/bronze/filled,
/area/station/service/bar)
"va" = (
/obj/machinery/atmospherics/pipe/smart/manifold4w/scrubbers/visible/layer2,
/obj/machinery/atmospherics/pipe/smart/manifold4w/supply/hidden/layer4,
/obj/structure/disposalpipe/segment{
dir = 4
},
/obj/effect/mapping_helpers/mail_sorting/service/bar,
/obj/structure/cable,
/turf/open/floor/bronze,
/area/station/commons/lounge)
"vh" = (
/obj/structure/chair/bronze{
dir = 1
Expand Down Expand Up @@ -993,7 +984,7 @@ Pz
Xo
cx
vh
va
Xp
TP
EK
EK
Expand Down
2 changes: 2 additions & 0 deletions code/__DEFINES/~monkestation/traits.dm
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
#define TRAIT_ALL_SURGERIES "all_surgeries"
/// Prevents the user from ever (unintentionally) failing a surgery step, and ensures they always have the maximum surgery speed.
#define TRAIT_PERFECT_SURGEON "perfect_surgeon"
/// Prevents the user from casting spells using sign language. Works on both /datum/mind and /mob/living.
#define TRAIT_CANT_SIGN_SPELLS "cant_sign_spells"
/// Station trait for when the clown has bridge access *shudders*
#define STATION_TRAIT_CLOWN_BRIDGE "clown_bridge"

Expand Down
1 change: 1 addition & 0 deletions code/_globalvars/traits.dm
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ GLOBAL_LIST_INIT(traits_by_type, list(
"TRAIT_EXPANDED_FOV" = TRAIT_EXPANDED_FOV,
"TRAIT_ANALGESIA" = TRAIT_ANALGESIA,
"TRAIT_ON_ELEVATED_SURFACE" = TRAIT_ON_ELEVATED_SURFACE,
"TRAIT_CANT_SIGN_SPELLS" = TRAIT_CANT_SIGN_SPELLS, // monke edit
),
/obj/item/bodypart = list(
"TRAIT_PARALYSIS" = TRAIT_PARALYSIS,
Expand Down
2 changes: 2 additions & 0 deletions code/modules/spells/spell.dm
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,8 @@
return FALSE

if((invocation_type == INVOCATION_WHISPER || invocation_type == INVOCATION_SHOUT) && !living_owner.can_speak())
if(HAS_TRAIT(living_owner, TRAIT_SIGN_LANG) && !HAS_MIND_TRAIT(living_owner, TRAIT_CANT_SIGN_SPELLS)) // monkestation edit: allow sign language users to cast spells
return TRUE
if(feedback)
to_chat(owner, span_warning("You can't get the words out to invoke [src]!"))
return FALSE
Expand Down
4 changes: 4 additions & 0 deletions html/changelogs/AutoChangeLog-pr-1654.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
author: "KnigTheThrasher"
delete-after: True
changes:
- bugfix: "Fixed Icebox tests"
6 changes: 6 additions & 0 deletions html/changelogs/archive/2024-04.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,3 +172,9 @@
2024-04-14:
KnigTheThrasher:
- rscadd: Added composters into every perma botany
2024-04-15:
Absolucy:
- qol: People who can't taste things also can't smell things.
- qol: Mute people who can still use sign language are now capable of using sign
language to invoke spells. Wizards are still too egotistical to even consider
doing so, tho.
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/datum/antagonist/wizard/on_gain()
. = ..()
ADD_TRAIT(owner, TRAIT_CANT_SIGN_SPELLS, REF(src))

/datum/antagonist/wizard/on_removal()
REMOVE_TRAITS_IN(owner, REF(src))
return ..()

/datum/antagonist/wizard/traitor // traitors that complete a final objective to become a wizard, this subtype is mainly for wizard look things
name = "\improper Syndicate Space Wizard"
roundend_category = "syndicate wizards/witches"
Expand Down
2 changes: 2 additions & 0 deletions monkestation/code/modules/pollution/pollution.dm
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@

/// When a user smells this pollution
/datum/pollution/proc/smell_act(mob/living/sniffer)
if(HAS_TRAIT(sniffer, TRAIT_AGEUSIA)) // can't taste, can't smell.
return
var/list/singleton_cache = SSpollution.singletons
var/datum/pollutant/dominant_pollutant
var/dominiant_smell_power
Expand Down
2 changes: 1 addition & 1 deletion tgstation.dme
Original file line number Diff line number Diff line change
Expand Up @@ -5942,7 +5942,7 @@
#include "monkestation\code\modules\antagonists\traitor\objectives\tide_bug_department.dm"
#include "monkestation\code\modules\antagonists\traitor\objectives\final_objective\become_wizard.dm"
#include "monkestation\code\modules\antagonists\traitor\objectives\final_objective\final_objective.dm"
#include "monkestation\code\modules\antagonists\wizard\wizard_antagonist.dm"
#include "monkestation\code\modules\antagonists\wizard\wizard.dm"
#include "monkestation\code\modules\antagonists\wizard\equipment\artefact.dm"
#include "monkestation\code\modules\antagonists\wizard\equipment\spellbook_entries\defensive.dm"
#include "monkestation\code\modules\antagonists\wizard\equipment\spellbook_entries\mobility.dm"
Expand Down

0 comments on commit 0ba9253

Please sign in to comment.