Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 1980990

Browse files
authored
bye bye exodia (#21513)
1 parent fde95f3 commit 1980990

File tree

5 files changed

+1
-103
lines changed

5 files changed

+1
-103
lines changed

_maps/map_files/generic/CentCom.dmm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21400,7 +21400,6 @@
2140021400
/obj/item/dnainjector/hulkmut,
2140121401
/obj/item/dnainjector/insulated,
2140221402
/obj/item/dnainjector/lasereyesmut,
21403-
/obj/item/dnainjector/mindread,
2140421403
/obj/item/dnainjector/mutemut,
2140521404
/obj/item/dnainjector/olfaction,
2140621405
/obj/item/dnainjector/radioactive,

code/__DEFINES/DNA.dm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
#define THERMAL /datum/mutation/human/thermal
4646
#define ANTENNA /datum/mutation/human/antenna
4747
#define PARANOIA /datum/mutation/human/paranoia
48-
#define MINDREAD /datum/mutation/human/mindreader
4948
#define INSULATED /datum/mutation/human/insulated
5049
#define SHOCKTOUCH /datum/mutation/human/shock
5150
#define SHOCKTOUCHFAR /datum/mutation/human/shock/far

code/datums/mutations/_combined.dm

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@
1313

1414
/* RECIPES */
1515

16-
/datum/generecipe/mindread
17-
required = "/datum/mutation/human/antenna; /datum/mutation/human/paranoia"
18-
result = MINDREAD
19-
2016
/datum/generecipe/shock
2117
required = "/datum/mutation/human/insulated; /datum/mutation/human/radioactive"
2218
result = SHOCKTOUCH
@@ -30,5 +26,5 @@
3026
result = ANTIGLOWY
3127

3228
/datum/generecipe/cerebral
33-
required = "/datum/mutation/human/insulated; /datum/mutation/human/mindreader"
29+
required = "/datum/mutation/human/insulated; /datum/mutation/human/unintelligible"
3430
result = CEREBRAL

code/datums/mutations/antenna.dm

Lines changed: 0 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -28,91 +28,3 @@
2828
/datum/mutation/human/antenna/get_visual_indicator()
2929
return visual_indicators[type][1]
3030

31-
/datum/mutation/human/mindreader
32-
name = "Mind Reader"
33-
desc = "The affected person can look into the recent memories of others."
34-
quality = POSITIVE
35-
text_gain_indication = span_notice("You hear distant voices at the corners of your mind.")
36-
text_lose_indication = span_notice("The distant voices fade.")
37-
power_path = /datum/action/cooldown/spell/pointed/mindread
38-
instability = 40
39-
difficulty = 8
40-
locked = TRUE
41-
42-
/datum/action/cooldown/spell/pointed/mindread
43-
name = "Mindread"
44-
desc = "Read the target's mind."
45-
button_icon_state = "mindread"
46-
cooldown_time = 5 SECONDS
47-
spell_requirements = SPELL_REQUIRES_NO_ANTIMAGIC
48-
antimagic_flags = MAGIC_RESISTANCE_MIND
49-
ranged_mousepointer = 'icons/effects/mouse_pointers/mindswap_target.dmi'
50-
51-
/datum/action/cooldown/spell/pointed/mindread/is_valid_target(atom/cast_on)
52-
if(!isliving(cast_on))
53-
return FALSE
54-
var/mob/living/living_cast_on = cast_on
55-
if(!living_cast_on.mind)
56-
to_chat(owner, span_warning("[cast_on] has no mind to read!"))
57-
return FALSE
58-
if(living_cast_on.stat == DEAD)
59-
to_chat(owner, span_warning("[cast_on] is dead!"))
60-
return FALSE
61-
62-
return TRUE
63-
64-
/datum/action/cooldown/spell/pointed/mindread/cast(mob/living/cast_on)
65-
. = ..()
66-
if(cast_on.can_block_magic(MAGIC_RESISTANCE_MIND, charge_cost = 0))
67-
to_chat(owner, span_warning("As you reach into [cast_on]'s mind, \
68-
you are stopped by a mental blockage. It seems you've been foiled."))
69-
return
70-
71-
if(cast_on == owner)
72-
to_chat(owner, span_warning("You plunge into your mind... Yep, it's your mind."))
73-
return
74-
75-
to_chat(owner, span_boldnotice("You plunge into [cast_on]'s mind..."))
76-
if(prob(20))
77-
// chance to alert the read-ee
78-
to_chat(cast_on, span_danger("You feel something foreign enter your mind."))
79-
80-
var/list/recent_speech = list()
81-
var/list/say_log = list()
82-
var/log_source = cast_on.logging
83-
//this whole loop puts the read-ee's say logs into say_log in an easy to access way
84-
for(var/log_type in log_source)
85-
var/nlog_type = text2num(log_type)
86-
if(nlog_type & LOG_SAY)
87-
var/list/reversed = log_source[log_type]
88-
if(islist(reversed))
89-
say_log = reverse_range(reversed.Copy())
90-
break
91-
92-
for(var/spoken_memory in say_log)
93-
//up to 3 random lines of speech, favoring more recent speech
94-
if(length(recent_speech) >= 3)
95-
break
96-
if(prob(50))
97-
continue
98-
// log messages with tags like telepathy are displayed like "(Telepathy to Ckey/(target)) "greetings"""
99-
// by splitting the text by using a " delimiter, we can grab JUST the greetings part
100-
recent_speech[spoken_memory] = splittext(say_log[spoken_memory], "\"", 1, 0, TRUE)[3]
101-
102-
if(length(recent_speech))
103-
to_chat(owner, span_boldnotice("You catch some drifting memories of their past conversations..."))
104-
for(var/spoken_memory in recent_speech)
105-
to_chat(owner, span_notice("[recent_speech[spoken_memory]]"))
106-
107-
if(iscarbon(cast_on))
108-
var/mob/living/carbon/carbon_cast_on = cast_on
109-
to_chat(owner, span_boldnotice("You find that their intent is to [carbon_cast_on.a_intent]..."))
110-
to_chat(owner, span_boldnotice("You uncover that [carbon_cast_on.p_their()] true identity is [carbon_cast_on.mind.name]."))
111-
112-
/datum/mutation/human/mindreader/New(class_ = MUT_OTHER, timer, datum/mutation/human/copymut)
113-
..()
114-
if(!(type in visual_indicators))
115-
visual_indicators[type] = list(mutable_appearance('icons/effects/genetics.dmi', "antenna", -FRONT_MUTATIONS_LAYER+1))
116-
117-
/datum/mutation/human/mindreader/get_visual_indicator()
118-
return visual_indicators[type][1]

code/game/objects/items/dna_injector.dm

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -371,14 +371,6 @@
371371
name = "\improper DNA injector (Anti-Paranoia)"
372372
remove_mutations = list(PARANOIA)
373373

374-
/obj/item/dnainjector/mindread
375-
name = "\improper DNA injector (Mindread)"
376-
add_mutations = list(MINDREAD)
377-
378-
/obj/item/dnainjector/antimindread
379-
name = "\improper DNA injector (Anti-Mindread)"
380-
remove_mutations = list(MINDREAD)
381-
382374
/obj/item/dnainjector/radioactive
383375
name = "\improper DNA injector (Radioactive)"
384376
add_mutations = list(RADIOACTIVE)

0 commit comments

Comments
 (0)