Coding Hooded Apparel
Posted: Tue Jun 11, 2019 3:42 pm
I'm having some trouble fixing an item that I added to the game not too long ago, and I was wondering if anyone had any suggestions. (See #43928)
My understanding of datums is quite poor, but I feel that the issue is with the hood's directory. I'd sincerely appreciate any advice before I open another PR.
Here's the code for the Chaplain's Hoodie.
Code: Select all
/obj/item/clothing/suit/hooded/chaplainsuit/monkfrock
name = "monk's frock"
desc = "A few steps above rended sackcloth."
icon_state = "monkfrock"
item_state = "monkfrock"
body_parts_covered = CHEST|GROIN|LEGS|ARMS
hoodtype = /obj/item/clothing/head/hooded/monkfrock
Code: Select all
/obj/item/clothing/head/hooded/monkfrock
name = "monk's hood"
desc = "For when a man wants to cover up his tonsure."
icon_state = "monkhood"
item_state = "monkhood"
body_parts_covered = HEAD
flags_inv = HIDEHAIR|HIDEEARS
Spoiler: