Skip to content

Commit

Permalink
Crucifix, a Null Rod variant (#37315)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
SnakeEater14 authored Nov 12, 2024
1 parent 144bd5d commit 1e3bda9
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions code/game/objects/items/weapons/null_rod.dm
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,29 @@
item_state = "katana"
fluff_pickup = "bisect"

/obj/item/weapon/nullrod/crucifix
name = "crucifix"
desc = "A shiny gold crucifix."
icon_state = "crucifix"
item_state = "crucifix"
fluff_pickup = "turn"

/obj/item/weapon/nullrod/crucifix/examine(mob/user)
if(user.mind?.assigned_role == "Chaplain")
desc = "What you are about to do has not been approved by the Space Vatican."
else
desc = initial(desc)
..()

/obj/item/weapon/nullrod/crucifix/attack_self(mob/user) //For larping during an exorcism
if(user.mind?.assigned_role == "Chaplain")
if(user.attack_delayer.blocked())
return
user.visible_message("[user] raises the cross in a show of faith.",\
"You raise your cross in a show of true faith!")
user.delayNextAttack(1 SECONDS)
else //What happens if non-Chaplain uses the cross
..()

/obj/item/weapon/nullrod/toolbox //Syndicate/Robust religion
name = "nullbox"
Expand Down
Binary file modified icons/mob/in-hand/left/items_lefthand.dmi
Binary file not shown.
Binary file modified icons/mob/in-hand/right/items_righthand.dmi
Binary file not shown.
Binary file modified icons/obj/weapons.dmi
Binary file not shown.

0 comments on commit 1e3bda9

Please sign in to comment.