|
| 1 | + |
| 2 | + |
1 | 3 | /datum/role/cultist |
2 | 4 | id = CULTIST |
3 | 5 | name = "Cultist" |
|
134 | 136 | assign_rituals() |
135 | 137 | var/mob/M = antag.current |
136 | 138 | if (M) |
137 | | - to_chat(M, "<span class='sinister'>Although you can generate devotion by performing most cult activities, a couple rituals for you to perform are now available. Check the cult panel.</span>") |
| 139 | + to_chat(M, "<span class='sinister'>Although you can generate devotion by performing most cult activities, a couple rituals for you to perform are now available. Check the cult panel to the left.</span>") |
138 | 140 | if (!antag.current) |
139 | 141 | return |
140 | 142 | switch(cult.stage) |
|
272 | 274 |
|
273 | 275 | /datum/role/cultist/ExtraScoreboard() |
274 | 276 | switch(devotion) |
275 | | - if (2000 to INFINITY) |
| 277 | + if (DEVOTION_REQ_4 to INFINITY) |
276 | 278 | return " <font color='#FF0000'>[devotion]</font>" |
277 | | - if (1000 to 2000) |
| 279 | + if (DEVOTION_REQ_3 to DEVOTION_REQ_4) |
278 | 280 | return " <font color='#FF8800'>[devotion]</font>" |
279 | | - if (500 to 1000) |
| 281 | + if (DEVOTION_REQ_2 to DEVOTION_REQ_3) |
280 | 282 | return " <font color='#FFFF00'>[devotion]</font>" |
281 | | - if (100 to 500) |
| 283 | + if (DEVOTION_REQ_1 to DEVOTION_REQ_2) |
282 | 284 | return " <font color='#88FF00'>[devotion]</font>" |
283 | 285 | else |
284 | 286 | return " <font color='#00FF00'>[devotion]</font>" |
|
374 | 376 |
|
375 | 377 | /datum/role/cultist/proc/get_devotion_rank() |
376 | 378 | switch(devotion) |
377 | | - if (2000 to INFINITY) |
| 379 | + if (DEVOTION_REQ_4 to INFINITY) |
378 | 380 | return DEVOTION_TIER_4 |
379 | | - if (1000 to 2000) |
| 381 | + if (DEVOTION_REQ_3 to DEVOTION_REQ_4) |
380 | 382 | return DEVOTION_TIER_3 |
381 | | - if (500 to 1000) |
| 383 | + if (DEVOTION_REQ_2 to DEVOTION_REQ_3) |
382 | 384 | return DEVOTION_TIER_2 |
383 | | - if (100 to 500) |
| 385 | + if (DEVOTION_REQ_1 to DEVOTION_REQ_2) |
384 | 386 | return DEVOTION_TIER_1 |
385 | | - if (0 to 100) |
| 387 | + if (0 to DEVOTION_REQ_1) |
386 | 388 | return DEVOTION_TIER_0 |
387 | 389 |
|
388 | 390 | /datum/role/cultist/proc/gain_devotion(var/acquired_devotion = 0, var/tier = DEVOTION_TIER_0, var/key, var/extra) |
|
536 | 538 | if (DEVOTION_TIER_0) |
537 | 539 | return 0.10 |
538 | 540 | if (DEVOTION_TIER_1) |
539 | | - return 0.10 + (devotion-100)*0.000375 |
| 541 | + return 0.10 + (devotion - DEVOTION_REQ_1) * 0.000375 |
540 | 542 | if (DEVOTION_TIER_2) |
541 | | - return 0.25 + (devotion-500)*0.0003 |
| 543 | + return 0.25 + (devotion - DEVOTION_REQ_2) * 0.0003 |
542 | 544 | if (DEVOTION_TIER_3) |
543 | | - return 0.40 + (devotion-1000)*0.0001 |
| 545 | + return 0.40 + (devotion - DEVOTION_REQ_3) * 0.0001 |
544 | 546 | if (DEVOTION_TIER_4) |
545 | | - return 0.50 + (devotion-2000)*0.00005 |
| 547 | + return 0.50 + (devotion - DEVOTION_REQ_4) * 0.00005 |
546 | 548 |
|
547 | 549 | /datum/role/cultist/handle_reagent(var/reagent_id) |
548 | 550 | var/mob/living/carbon/human/H = antag.current |
|
569 | 571 | to_chat(H, "<span class='danger'>The burning touch of sacred water sears your skin.</span>") |
570 | 572 |
|
571 | 573 | switch(reagent_id) |
572 | | - if (HOLYWATER,INCENSE_HAREBELLS,SACREDWATER) |
| 574 | + if (HOLYWATER, INCENSE_HAREBELLS, SACREDWATER) |
573 | 575 | H.eye_blurry = max(H.eye_blurry, 12) |
574 | 576 | H.Dizzy(12) |
575 | 577 | H.stuttering = max(H.stuttering, 12) |
|
0 commit comments