Skip to content

Commit 1e3bda9

Browse files
authored
Crucifix, a Null Rod variant (#37315)
* Crucifix, a Null Rod variant Adds in a standard gold cross as a null rod variant, for Chaplains not wanting to roleplay as a conventional priest. * Update null_rod.dm * Update null_rod.dm * Update null_rod.dm * Update null_rod.dm
1 parent 144bd5d commit 1e3bda9

File tree

4 files changed

+23
-0
lines changed

4 files changed

+23
-0
lines changed

code/game/objects/items/weapons/null_rod.dm

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,29 @@
173173
item_state = "katana"
174174
fluff_pickup = "bisect"
175175

176+
/obj/item/weapon/nullrod/crucifix
177+
name = "crucifix"
178+
desc = "A shiny gold crucifix."
179+
icon_state = "crucifix"
180+
item_state = "crucifix"
181+
fluff_pickup = "turn"
182+
183+
/obj/item/weapon/nullrod/crucifix/examine(mob/user)
184+
if(user.mind?.assigned_role == "Chaplain")
185+
desc = "What you are about to do has not been approved by the Space Vatican."
186+
else
187+
desc = initial(desc)
188+
..()
189+
190+
/obj/item/weapon/nullrod/crucifix/attack_self(mob/user) //For larping during an exorcism
191+
if(user.mind?.assigned_role == "Chaplain")
192+
if(user.attack_delayer.blocked())
193+
return
194+
user.visible_message("[user] raises the cross in a show of faith.",\
195+
"You raise your cross in a show of true faith!")
196+
user.delayNextAttack(1 SECONDS)
197+
else //What happens if non-Chaplain uses the cross
198+
..()
176199

177200
/obj/item/weapon/nullrod/toolbox //Syndicate/Robust religion
178201
name = "nullbox"
86 Bytes
Binary file not shown.
163 Bytes
Binary file not shown.

icons/obj/weapons.dmi

246 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)