File tree Expand file tree Collapse file tree 3 files changed +17
-2
lines changed
modules/spells/changeling Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 264
264
helptext = " It does not purge the diseases nor provides antigens, but instead causes the symptoms to never appear."
265
265
cost = 2
266
266
spellpath = / spell/ changeling/ disease_immunity
267
+
268
+ / datum / power/ changeling/ faster_suck
269
+ name = " Faster Absorb DNA"
270
+ desc = " We optimize the development process and pressure differential of our proboscis, permitting faster development and consumption."
271
+ helptext = " Reduces DNA absorption time from 45 seconds to 24 seconds."
272
+ cost = 4
273
+
274
+ / datum / power/ changeling/ faster_suck/ add_power(var /datum /role/R )
275
+ . = .. ()
276
+ if (!. )
277
+ return
278
+ var /datum /role/changeling/changeling = R
279
+ to_chat (changeling. antag. current, span_notice(" We improved our proboscis, and can now absorb targets in 24 seconds." ))
280
+ changeling. faster_suck = TRUE
Original file line number Diff line number Diff line change 27
27
spell_exclude = / spell/ changeling/ evolve
28
28
29
29
var /mimicing = " "
30
- var /disease_immunity = 0 // If on, the changeling doesn't suffer any symptoms from diseases
30
+ var /disease_immunity = FALSE // If on, the changeling doesn't suffer any symptoms from diseases
31
+ var /faster_suck = FALSE // If on, reduces the delay between the changeling's absorb DNA stages from 15 seconds to 8 seconds.
31
32
32
33
/ datum / role/ changeling/ OnPostSetup(var /laterole = FALSE )
33
34
. = .. ()
Original file line number Diff line number Diff line change 43
43
var /obj /item/weapon/grab/G = user. get_active_hand() // You need to be grabbing the target
44
44
var /mob /living/carbon/human/T = G. affecting
45
45
var /datum /role/changeling/changeling = user. mind. GetRole(CHANGELING )
46
- var /absorbtime = 15 SECONDS
46
+ var /absorbtime = changeling . faster_suck ? 8 SECONDS : 15 SECONDS
47
47
inuse = TRUE
48
48
for (var /stage in 1 to 3 )
49
49
switch (stage)
You can’t perform that action at this time.
0 commit comments