mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 02:57:48 +01:00
- Also adds ABSTRACT and NODROP flags in preparation for removal of canremove and abstract vars. - Sorts some of the setup.dm flags so they're in order. - Replaces 'flags & 2' in policetape.dm with pass_flags & PASSTABLE, should have the same effect.
29 lines
805 B
Plaintext
29 lines
805 B
Plaintext
/obj/item/weapon/ninja_manuscript
|
|
name = "Manuscript"
|
|
desc = "A mysterious manuscript..."
|
|
icon = 'icons/obj/library.dmi'
|
|
icon_state = "book1"
|
|
throw_speed = 1
|
|
throw_range = 5
|
|
w_class = 3
|
|
attack_verb = list("bashed", "whacked", "educated")
|
|
|
|
var/charges = 1
|
|
|
|
/obj/item/weapon/ninja_manuscript/attack_self(var/mob/user as mob)
|
|
|
|
if(charges <= 0)
|
|
user << "\red The manuscript's power appears spent..."
|
|
return
|
|
|
|
else
|
|
user << "\blue You intently read the manuscript and come to the realization that true balance is achieved through self-will."
|
|
user << "\blue You relax and concentrate deeply; something in your mind alights ablaze and you realize the only way to true balance is the way of the Ninja."
|
|
|
|
charges--
|
|
|
|
|
|
user.mind.assigned_role = "MODE"
|
|
user.mind.special_role = "Ninja"
|
|
|
|
return |