Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ports Psionics From Baystation (2 years later edition) #22301

Draft
wants to merge 268 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
268 commits
Select commit Hold shift + click to select a range
32a8772
Update implant_psi.dm
Moltijoe Jul 8, 2024
59bf30f
lint
Moltijoe Jul 8, 2024
974f42b
updates some stuff
cowbot92 Jul 8, 2024
4e62408
moves shit
cowbot92 Jul 8, 2024
f3bacc8
a lot
cowbot92 Jul 9, 2024
cd93f71
e
cowbot92 Jul 9, 2024
3b9ba5c
Update ui_toggle.dm
Moltijoe Jul 9, 2024
76d6d7d
fixed
Moltijoe Jul 9, 2024
314ae9c
gross redaction shit
cowbot92 Jul 9, 2024
4e6cfd9
Update energistics.dm
Moltijoe Jul 9, 2024
76ef64e
Merge branch 'PortsPsionics' of https://github.com/cowbot92/Yogstatio…
Moltijoe Jul 9, 2024
fce1c3c
mining
cowbot92 Jul 9, 2024
ee9c3b3
radial
Moltijoe Jul 9, 2024
0195f62
Merge branch 'PortsPsionics' of https://github.com/cowbot92/Yogstatio…
Moltijoe Jul 9, 2024
d81e1b3
chat, is this real?
Moltijoe Jul 9, 2024
c8e6f7e
Update psipower_tinker.dm
Moltijoe Jul 9, 2024
de0b3d9
Update complexus_process.dm
Moltijoe Jul 9, 2024
85f6b9c
radials
Moltijoe Jul 9, 2024
6810bf5
Update redaction.dm
Moltijoe Jul 9, 2024
674d698
Update complexus_helpers.dm
Moltijoe Jul 9, 2024
2264915
abilities
Moltijoe Jul 9, 2024
186500a
psi batong
cowbot92 Jul 9, 2024
96196f5
Merge branch 'PortsPsionics' of https://github.com/cowbot92/Yogstatio…
cowbot92 Jul 9, 2024
15129e9
Update redaction.dm
Moltijoe Jul 9, 2024
ce45a71
Merge branch 'PortsPsionics' of https://github.com/cowbot92/Yogstatio…
Moltijoe Jul 9, 2024
4210dd8
Update redaction.dm
Moltijoe Jul 9, 2024
487b11e
Update redaction.dm
Moltijoe Jul 9, 2024
ca1a9b9
Update redaction.dm
Moltijoe Jul 9, 2024
e18fc42
updates this
cowbot92 Jul 9, 2024
33c6814
updates descriptors
cowbot92 Jul 9, 2024
f803b4d
Merge branch 'PortsPsionics' of https://github.com/cowbot92/Yogstatio…
cowbot92 Jul 9, 2024
0a61982
updates icons
cowbot92 Jul 9, 2024
edfc573
this
Moltijoe Jul 9, 2024
ba7956e
Merge branch 'PortsPsionics' of https://github.com/cowbot92/Yogstatio…
Moltijoe Jul 9, 2024
7d9e41f
Update towercap.dm
Moltijoe Jul 9, 2024
4699a82
icons
cowbot92 Jul 9, 2024
a5c92fb
Merge branch 'PortsPsionics' of https://github.com/cowbot92/Yogstatio…
cowbot92 Jul 9, 2024
b4b0b47
Update mineral_walls.dm
Moltijoe Jul 9, 2024
0a80b2e
Merge branch 'PortsPsionics' of https://github.com/cowbot92/Yogstatio…
Moltijoe Jul 9, 2024
b5cd4a8
tool stuff
Moltijoe Jul 9, 2024
9bc927b
fixes telekinesis
Moltijoe Jul 9, 2024
2d9df13
should be done
Moltijoe Jul 9, 2024
16c91ef
autoredaction
Moltijoe Jul 9, 2024
4f03c4a
Update complexus_process.dm
Moltijoe Jul 9, 2024
8c6c394
Update complexus_process.dm
Moltijoe Jul 9, 2024
b7f8333
shift
Moltijoe Jul 9, 2024
7b3aa45
update access
cowbot92 Jul 9, 2024
47f2e0c
Merge branch 'PortsPsionics' of https://github.com/cowbot92/Yogstatio…
cowbot92 Jul 9, 2024
31c792b
returns
Moltijoe Jul 9, 2024
c404424
Merge branch 'PortsPsionics' of https://github.com/cowbot92/Yogstatio…
Moltijoe Jul 9, 2024
92c4966
latency trigger
Moltijoe Jul 9, 2024
c51c350
fixes stacking + gives sec mind control
cowbot92 Jul 9, 2024
80608c5
Merge branch 'PortsPsionics' of https://github.com/cowbot92/Yogstatio…
cowbot92 Jul 9, 2024
b892d6e
awakener
Moltijoe Jul 9, 2024
469b2f1
Update psionic_awakener.dm
Moltijoe Jul 9, 2024
dace581
Merge branch 'PortsPsionics' of https://github.com/cowbot92/Yogstatio…
cowbot92 Jul 9, 2024
c532883
tweaks
Moltijoe Jul 9, 2024
c73a76a
Merge branch 'PortsPsionics' of https://github.com/cowbot92/Yogstatio…
Moltijoe Jul 9, 2024
8857951
remove lowmeme adjust races psionics
cowbot92 Jul 9, 2024
4dee5b5
Merge branch 'PortsPsionics' of https://github.com/cowbot92/Yogstatio…
cowbot92 Jul 9, 2024
374160b
admin and tooltips
Moltijoe Jul 9, 2024
8f926f4
Merge branch 'PortsPsionics' of https://github.com/cowbot92/Yogstatio…
Moltijoe Jul 9, 2024
d34c6aa
rearrange species stuff
Moltijoe Jul 9, 2024
826ab85
IPC """immunity"""
cowbot92 Jul 9, 2024
e857480
Merge branch 'PortsPsionics' of https://github.com/cowbot92/Yogstatio…
cowbot92 Jul 9, 2024
f6084ac
Update admin.dm
Moltijoe Jul 9, 2024
161d877
Merge branch 'PortsPsionics' of https://github.com/cowbot92/Yogstatio…
cowbot92 Jul 9, 2024
a2a08bc
coercion
Moltijoe Jul 9, 2024
42dd20e
Merge branch 'PortsPsionics' of https://github.com/cowbot92/Yogstatio…
Moltijoe Jul 9, 2024
25b26c5
oh fuck right
cowbot92 Jul 9, 2024
f48d1dd
fuck fuck
cowbot92 Jul 9, 2024
a6ab553
Merge branch 'PortsPsionics' of https://github.com/cowbot92/Yogstatio…
cowbot92 Jul 9, 2024
f4b42e3
conflicts b gone
cowbot92 Jul 9, 2024
089171c
no dobule
cowbot92 Jul 9, 2024
55196ed
maybe fix?
cowbot92 Jul 9, 2024
bebab64
null glass move
cowbot92 Jul 9, 2024
6be9234
[so ar,pr
Moltijoe Jul 9, 2024
ec8f1c8
Merge branch 'PortsPsionics' of https://github.com/cowbot92/Yogstatio…
Moltijoe Jul 9, 2024
0bd61d1
fix?
cowbot92 Jul 9, 2024
b17089f
Update living_defense.dm
Moltijoe Jul 9, 2024
93a1e53
Merge branch 'PortsPsionics' of https://github.com/cowbot92/Yogstatio…
Moltijoe Jul 9, 2024
5e33296
ok no null glass
cowbot92 Jul 9, 2024
bad4492
Merge branch 'PortsPsionics' of https://github.com/cowbot92/Yogstatio…
cowbot92 Jul 9, 2024
d70e75a
shrug
cowbot92 Jul 9, 2024
6396193
compile
cowbot92 Jul 9, 2024
c35f429
Update psychokenisis.dm
Moltijoe Jul 9, 2024
5f9f847
Update psychokenisis.dm
Moltijoe Jul 9, 2024
0f8d9a6
Update psychokenisis.dm
Moltijoe Jul 9, 2024
2e9b527
nullglass
Moltijoe Jul 9, 2024
3167e37
Update stack_objects.dmi
Moltijoe Jul 9, 2024
eb2b3e2
better parts better farts
cowbot92 Jul 9, 2024
205ae55
Merge branch 'PortsPsionics' of https://github.com/cowbot92/Yogstatio…
cowbot92 Jul 9, 2024
05430d5
Merge branch 'yogstation13:master' into PortsPsionics
cowbot92 Jul 9, 2024
bc7f796
Merge remote-tracking branch 'upstream/master' into PortsPsionics
cowbot92 Jul 9, 2024
3097e86
null
Moltijoe Jul 9, 2024
dee42be
Merge branch 'PortsPsionics' of https://github.com/cowbot92/Yogstatio…
cowbot92 Jul 9, 2024
e9b3a3d
brain damage
Moltijoe Jul 9, 2024
0d68c3d
Merge branch 'PortsPsionics' of https://github.com/cowbot92/Yogstatio…
Moltijoe Jul 9, 2024
0271c5f
Update psionic_awakener.dm
Moltijoe Jul 9, 2024
3c03aeb
Update psionic_awakener.dm
Moltijoe Jul 9, 2024
3b7d012
admin force
Moltijoe Jul 9, 2024
ff214c5
Update complexus_latency.dm
Moltijoe Jul 9, 2024
e745c99
Update complexus_latency.dm
Moltijoe Jul 9, 2024
ff00944
zorch hud plane
cowbot92 Jul 9, 2024
46d0d65
don'tshowuseless
Moltijoe Jul 9, 2024
16d33e0
pupdate
cowbot92 Jul 9, 2024
6e80d72
Merge branch 'PortsPsionics' of https://github.com/cowbot92/Yogstatio…
cowbot92 Jul 9, 2024
56819e3
Update complexus.dm
Moltijoe Jul 9, 2024
969c0b6
Merge branch 'PortsPsionics' of https://github.com/cowbot92/Yogstatio…
Moltijoe Jul 9, 2024
8add0d1
this might work
Moltijoe Jul 9, 2024
a7459da
it works
Moltijoe Jul 9, 2024
224635a
removes genetics
Moltijoe Jul 9, 2024
aa4e0dd
Update ui_toggle.dm
Moltijoe Jul 9, 2024
914747e
more armour + wound
Moltijoe Jul 9, 2024
159a4dd
adds to other maps
cowbot92 Jul 10, 2024
030ce93
Merge branch 'PortsPsionics' of https://github.com/cowbot92/Yogstatio…
cowbot92 Jul 10, 2024
997a740
update maps + access
cowbot92 Jul 10, 2024
de4cc39
molti wants to fix this
cowbot92 Jul 10, 2024
d1a331c
Update mob.dm
Moltijoe Jul 10, 2024
033ac31
Update complexus.dm
Moltijoe Jul 10, 2024
5ccfd02
quirks
cowbot92 Jul 10, 2024
af0cc34
quirk icon update
cowbot92 Jul 10, 2024
a85c2b4
Merge branch 'PortsPsionics' of https://github.com/cowbot92/Yogstatio…
cowbot92 Jul 10, 2024
467e84f
double macro
cowbot92 Jul 10, 2024
3da95f8
batong fix
Moltijoe Jul 10, 2024
5594cbb
Merge branch 'PortsPsionics' of https://github.com/cowbot92/Yogstatio…
Moltijoe Jul 10, 2024
b2214ff
gives three-eye a recipie
cowbot92 Jul 10, 2024
2647eb9
Merge branch 'PortsPsionics' of https://github.com/cowbot92/Yogstatio…
cowbot92 Jul 10, 2024
813dd6a
coercion
Moltijoe Jul 10, 2024
cab623f
Update coercion.dm
Moltijoe Jul 10, 2024
2de5a8a
Merge branch 'PortsPsionics' of https://github.com/cowbot92/Yogstatio…
Moltijoe Jul 10, 2024
47dfe50
detect darkspawns
Moltijoe Jul 10, 2024
1da353f
Update shadowpeople.dm
Moltijoe Jul 10, 2024
b394a43
oops
cowbot92 Jul 10, 2024
8306e8b
Merge branch 'PortsPsionics' of https://github.com/cowbot92/Yogstatio…
cowbot92 Jul 10, 2024
9f839e5
tweaks
Moltijoe Jul 10, 2024
f59090a
Update mini_spasms.dm
Moltijoe Jul 10, 2024
a894fd8
Update mini_spasms.dm
Moltijoe Jul 10, 2024
e2d2d6e
oops
cowbot92 Jul 10, 2024
2de96b3
oops nerf this
cowbot92 Jul 10, 2024
a594eed
Update IPC.dm
Moltijoe Jul 10, 2024
dfd2369
Merge branch 'PortsPsionics' of https://github.com/cowbot92/Yogstatio…
Moltijoe Jul 10, 2024
2021d8c
aura images are hard
Moltijoe Jul 10, 2024
a51981b
Update _basemap.dm
Moltijoe Jul 10, 2024
9132ab6
stop punching yourself
Moltijoe Jul 10, 2024
5b977da
Update coercion.dm
Moltijoe Jul 10, 2024
dde2fc3
Update coercion.dm
Moltijoe Jul 10, 2024
661f35f
tweaks
Moltijoe Jul 10, 2024
1115389
delete when outta juice
Moltijoe Jul 10, 2024
7d0de33
checks
Moltijoe Jul 10, 2024
e17f9d0
Update negative.dm
Moltijoe Jul 10, 2024
2986fc4
Update negative.dm
Moltijoe Jul 10, 2024
27f2000
Update quirks.dm
Moltijoe Jul 11, 2024
c530e93
Update quirks.dm
Moltijoe Jul 11, 2024
dff6e15
Update glass.dm
Moltijoe Jul 11, 2024
06b6ba6
armour and autoredaction
Moltijoe Jul 11, 2024
62c33df
Update complexus_process.dm
Moltijoe Jul 11, 2024
c107fac
ok
cowbot92 Jul 12, 2024
bcccdd0
q
cowbot92 Jul 12, 2024
02784dc
traits and tweaks
Moltijoe Jul 12, 2024
251e058
Merge branch 'PortsPsionics' of https://github.com/cowbot92/Yogstatio…
Moltijoe Jul 12, 2024
4c83e4b
sorry man, lore accuracy
Moltijoe Jul 12, 2024
df7af84
Update redaction.dm
Moltijoe Jul 12, 2024
2c6d26c
Update negative.dm
Moltijoe Jul 12, 2024
a3d5e05
Update geneticist.dm
Moltijoe Jul 12, 2024
91f731c
admin controls
Moltijoe Jul 13, 2024
610f776
awakener
Moltijoe Jul 13, 2024
6264582
bugfixes and consistency
Moltijoe Jul 13, 2024
5d5092f
more bugfixes
Moltijoe Jul 13, 2024
9da4780
Update ui_hub.dm
Moltijoe Jul 13, 2024
20cc658
Update mob.dm
Moltijoe Jul 13, 2024
08e4f42
Update mob.dm
Moltijoe Jul 13, 2024
40e88d7
Update mini_spasms.dm
Moltijoe Jul 13, 2024
493f5da
Update coercion.dm
Moltijoe Jul 13, 2024
5e6119a
tweaks
Moltijoe Jul 13, 2024
352bc1f
Update complexus_latency.dm
Moltijoe Jul 13, 2024
498120e
done
Moltijoe Jul 13, 2024
ac54ea6
Update complexus_latency.dm
Moltijoe Jul 13, 2024
9fdcb5a
Update complexus_latency.dm
Moltijoe Jul 13, 2024
237ac6c
fixes
Moltijoe Jul 14, 2024
241875d
fixes quirk not working
cowbot92 Jul 14, 2024
7fb9ac8
Update mob.dm
Moltijoe Jul 14, 2024
a5d36a3
gives psi blade cleaving at higher levels
cowbot92 Jul 14, 2024
c044053
remove tuned
cowbot92 Jul 14, 2024
9ba54c4
Update quirks.dm
Moltijoe Jul 14, 2024
1916357
revenant immunity
Moltijoe Jul 14, 2024
0b2a3cf
Update coercion.dm
Moltijoe Jul 14, 2024
3f44f82
Update psipower_tk.dm
Moltijoe Jul 14, 2024
4df7562
fix telekinesis
Moltijoe Jul 14, 2024
c51695a
Update mini_spasms.dm
Moltijoe Jul 15, 2024
fbb6eda
Merge remote-tracking branch 'upstream/master' into PortsPsionics
cowbot92 Jul 15, 2024
63b704d
Update darkspawn_progenitor.dm
Moltijoe Jul 15, 2024
50ecbe0
fix three eye colour
Moltijoe Jul 15, 2024
fe4c952
Merge remote-tracking branch 'upstream/master' into PortsPsionics
cowbot92 Jul 26, 2024
f218afc
readds
cowbot92 Jul 26, 2024
6d8c4c5
Merge remote-tracking branch 'upstream/master' into PortsPsionics
cowbot92 Aug 8, 2024
ffa8bcf
ok bye
cowbot92 Aug 8, 2024
64b6504
Merge remote-tracking branch 'upstream/master' into PortsPsionics
cowbot92 Aug 16, 2024
61ccef6
biome request
cowbot92 Aug 16, 2024
64a2559
bye chap shit
cowbot92 Aug 16, 2024
fde8a17
eeee
cowbot92 Sep 10, 2024
69a462e
Merge remote-tracking branch 'upstream/master' into PortsPsionics
cowbot92 Sep 10, 2024
8a569b9
ok this should work
cowbot92 Sep 15, 2024
b791b14
Merge remote-tracking branch 'upstream/master' into PortsPsionics
cowbot92 Sep 15, 2024
1c08cbb
fix
cowbot92 Sep 15, 2024
c02376b
fart
cowbot92 Sep 15, 2024
c67c528
fixed
Moltijoe Sep 16, 2024
52e7b18
fix tk
Moltijoe Sep 16, 2024
ec43c99
this will be used later
cowbot92 Sep 16, 2024
08c9869
updates
cowbot92 Sep 16, 2024
baa62b4
Merge remote-tracking branch 'upstream/master' into PortsPsionics
cowbot92 Sep 16, 2024
45d9fd3
ffsdfewv
ToasterBiome Sep 16, 2024
ff34f9c
Merge pull request #4 from ToasterBiome/PortsPsionics
cowbot92 Sep 16, 2024
f88444e
I forgot this
cowbot92 Sep 17, 2024
0779be7
piss
cowbot92 Sep 19, 2024
6c8032b
ea
cowbot92 Sep 19, 2024
0eaf3e6
slightly improves tgui for complexus
ToasterBiome Sep 19, 2024
f0be099
disables dis-arm for now
cowbot92 Sep 19, 2024
93888cb
Merge branch 'PortsPsionics' of https://github.com/cowbot92/Yogstatio…
cowbot92 Sep 19, 2024
f590cf2
actually nevermind this is better
cowbot92 Sep 19, 2024
e252711
f
cowbot92 Sep 19, 2024
e4288cc
removes the events for now
cowbot92 Sep 20, 2024
b1a939b
Merge remote-tracking branch 'upstream/master' into PortsPsionics
cowbot92 Sep 20, 2024
c20aada
e
cowbot92 Sep 21, 2024
c6d1621
comment out
cowbot92 Sep 22, 2024
4903725
aeae
cowbot92 Sep 22, 2024
69fbeeb
fck events
cowbot92 Sep 22, 2024
0cacfd0
e
cowbot92 Sep 22, 2024
401a319
update
cowbot92 Sep 22, 2024
88f91db
changes
Moltijoe Sep 23, 2024
c36d08d
better selection button
Moltijoe Oct 1, 2024
53679d0
Merge remote-tracking branch 'upstream/master' into PortsPsionics
cowbot92 Oct 8, 2024
6160f0b
Merge branch 'PortsPsionics' of https://github.com/cowbot92/Yogstatio…
cowbot92 Oct 8, 2024
4f74212
Merge remote-tracking branch 'upstream/master' into PortsPsionics
cowbot92 Oct 14, 2024
c94fb2c
Merge remote-tracking branch 'upstream/master' into PortsPsionics
cowbot92 Oct 20, 2024
20cfd9d
Merge branch 'master' into pr/22301
cowbot92 Dec 21, 2024
4f8c5f6
Merge branch 'master' into pr/22301
cowbot92 Dec 22, 2024
ad4f9fb
Merge branch 'master' into pr/22301
cowbot92 Dec 30, 2024
2b1ae46
Merge branch 'master' into pr/22301
cowbot92 Dec 30, 2024
5aa0872
Merge branch 'master' into pr/22301
cowbot92 Dec 30, 2024
909903b
Merge branch 'master' into pr/22301
cowbot92 Dec 30, 2024
f52fabd
cooldown
cowbot92 Dec 31, 2024
65b03ad
oops
cowbot92 Dec 31, 2024
9e898f7
Merge remote-tracking branch 'upstream/master' into PortsPsionics
cowbot92 Jan 3, 2025
f41753a
Merge remote-tracking branch 'upstream/master' into PortsPsionics
cowbot92 Jan 3, 2025
b5b9912
fix psi armour
Moltijoe Jan 5, 2025
bd1ffde
Merge branch 'PortsPsionics' of https://github.com/cowbot92/Yogstatio…
Moltijoe Jan 5, 2025
4e67d32
Revert "Merge branch 'PortsPsionics' of https://github.com/cowbot92/Y…
Moltijoe Jan 5, 2025
d16c439
Reapply "Merge branch 'PortsPsionics' of https://github.com/cowbot92/…
Moltijoe Jan 5, 2025
bc10757
Update complexus_helpers.dm
Moltijoe Jan 5, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions code/__DEFINES/magic.dm
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
#define SCHOOL_FORBIDDEN "forbidden"
/// Blood magic, involves vampirism, draining blood, etc.
#define SCHOOL_SANGUINE "sanguine"
/// psionic powers, not *technically* magic
#define SCHOOL_PSIONIC "psionic"

// Invocation types - what does the wizard need to do to invoke (cast) the spell?
/// Allows being able to cast the spell without saying or doing anything.
Expand Down
5 changes: 3 additions & 2 deletions code/__DEFINES/psi.dm
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@
#define PSI_IMPLANT_DISABLED "Disabled"

#define INVOKE_PSI_POWERS(holder, powers, target, return_on_invocation) \
if(holder?.psi?.can_use()) { \
for(var/datum/psionic_power/power as anything in powers) { \
if(holder && holder.psi && holder.psi.can_use()) { \
for(var/thing in powers) { \
var/datum/psionic_power/power = thing; \
var/obj/item/result = power.invoke(holder, target); \
if(result) { \
power.handle_post_power(holder, target); \
Expand Down
8 changes: 1 addition & 7 deletions code/_onclick/other_mobs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
Otherwise pretty standard.
*/
/mob/living/carbon/human/UnarmedAttack(atom/A, proximity, modifiers)
if(psi)
INVOKE_PSI_POWERS(src, psi.get_melee_powers(), A, FALSE)
if(HAS_TRAIT(src, TRAIT_HANDS_BLOCKED))
if(src == A)
check_self_for_injuries()
Expand Down Expand Up @@ -52,11 +50,7 @@
/mob/living/carbon/human/attack_empty_hand()
if(psi)
INVOKE_PSI_POWERS(src, psi.get_manifestations(), src, FALSE)

/mob/living/carbon/human/RangedAttack(atom/A, params)
if(psi)
INVOKE_PSI_POWERS(src, psi.get_ranged_powers(), A, TRUE)


//Return TRUE to cancel other attack hand effects that respect it.
/atom/proc/attack_hand(mob/user, modifiers)
. = FALSE
Expand Down
2 changes: 0 additions & 2 deletions code/controllers/subsystem/processing/psi.dm
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ PROCESSING_SUBSYSTEM_DEF(psi)
var/list/psi_dampeners = list()
var/list/psi_monitors = list()
var/list/armour_faculty_by_type = list()
var/list/faculties_by_intent = list()

/datum/controller/subsystem/processing/psi/New()
NEW_SS_GLOBAL(SSpsi)
Expand All @@ -28,7 +27,6 @@ PROCESSING_SUBSYSTEM_DEF(psi)
var/datum/psionic_faculty/faculty = new ftype
faculties_by_id[faculty.id] = faculty
faculties_by_name[faculty.name] = faculty
faculties_by_intent[faculty.associated_intent] = faculty.id

var/list/powers = subtypesof(/datum/psionic_power)
for(var/ptype in powers)
Expand Down
1 change: 0 additions & 1 deletion code/modules/psionics/complexus/complexus_latency.dm
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/datum/psi_complexus/proc/check_latency_trigger(trigger_strength = 0, source, redactive = FALSE)

if(!LAZYLEN(latencies) || world.time < next_latency_trigger)
return FALSE

Expand Down
62 changes: 62 additions & 0 deletions code/modules/psionics/complexus/complexus_process.dm
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,64 @@
aura_color = "#33cc33"
if(PSI_ENERGISTICS)
aura_color = "#cccc33"

// for(var/datum/psionic_power/power in subtypesof(/datum/psionic_power))

//operant level psionics
if(get_rank(PSI_COERCION) == 2)
var/datum/action/cooldown/spell/pointed/disarm/disarm = new(owner)
disarm.Grant(owner)
if(get_rank(PSI_PSYCHOKINESIS) == 2)
var/datum/action/cooldown/spell/pointed/projectile/fireball/ranged_touch = new(owner)
ranged_touch.Grant(owner)
if(get_rank(PSI_REDACTION) == 2)
var/datum/action/cooldown/spell/pointed/projectile/fireball/ranged_touch = new(owner)
ranged_touch.Grant(owner)
if(get_rank(PSI_ENERGISTICS) == 2)
var/datum/action/cooldown/spell/pointed/projectile/fireball/ranged_touch = new(owner)
ranged_touch.Grant(owner)

//master level psionics
if(get_rank(PSI_COERCION) == 3)
var/datum/action/cooldown/spell/pointed/projectile/fireball/ranged_touch = new(owner)
ranged_touch.Grant(owner)
if(get_rank(PSI_PSYCHOKINESIS) == 3)
var/datum/action/cooldown/spell/pointed/projectile/fireball/ranged_touch = new(owner)
ranged_touch.Grant(owner)
if(get_rank(PSI_REDACTION) == 3)
var/datum/action/cooldown/spell/pointed/projectile/fireball/ranged_touch = new(owner)
ranged_touch.Grant(owner)
if(get_rank(PSI_ENERGISTICS) == 3)
var/datum/action/cooldown/spell/pointed/projectile/fireball/ranged_touch = new(owner)
ranged_touch.Grant(owner)

//grandmaster level psionics
if(get_rank(PSI_COERCION) == 4)
var/datum/action/cooldown/spell/pointed/projectile/fireball/ranged_touch = new(owner)
ranged_touch.Grant(owner)
if(get_rank(PSI_PSYCHOKINESIS) == 4)
var/datum/action/cooldown/spell/pointed/projectile/fireball/ranged_touch = new(owner)
ranged_touch.Grant(owner)
if(get_rank(PSI_REDACTION) == 4)
var/datum/action/cooldown/spell/pointed/projectile/fireball/ranged_touch = new(owner)
ranged_touch.Grant(owner)
if(get_rank(PSI_ENERGISTICS) == 4)
var/datum/action/cooldown/spell/pointed/projectile/fireball/ranged_touch = new(owner)
ranged_touch.Grant(owner)

//paramount psionics
if(get_rank(PSI_COERCION) == 5)
var/datum/action/cooldown/spell/pointed/projectile/fireball/ranged_touch = new(owner)
ranged_touch.Grant(owner)
if(get_rank(PSI_PSYCHOKINESIS) == 5)
var/datum/action/cooldown/spell/pointed/projectile/fireball/ranged_touch = new(owner)
ranged_touch.Grant(owner)
if(get_rank(PSI_REDACTION) == 5)
var/datum/action/cooldown/spell/pointed/projectile/fireball/ranged_touch = new(owner)
ranged_touch.Grant(owner)
if(get_rank(PSI_ENERGISTICS) == 5)
var/datum/action/cooldown/spell/pointed/projectile/fireball/ranged_touch = new(owner)
ranged_touch.Grant(owner)
cowbot92 marked this conversation as resolved.
Show resolved Hide resolved

if(!announced && owner?.client && !QDELETED(src))
announced = TRUE
Expand All @@ -59,6 +117,10 @@
to_chat(owner, span_notice("<b>Shift-left-click your Psi icon</b> on the bottom right to <b>view a summary of how to use them</b>, or <b>left click</b> it to <b>suppress or unsuppress</b> your psionics. Beware: overusing your gifts can have <b>deadly consequences</b>."))
to_chat(owner, "<hr>")





/datum/psi_complexus/process()

var/update_hud
Expand Down
1 change: 0 additions & 1 deletion code/modules/psionics/faculties/_faculty.dm
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/datum/psionic_faculty
var/id
var/name
var/associated_intent
var/list/armour_types = list()
var/list/powers = list()

Expand Down
Loading
Loading