Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Donator Item #748

Merged
merged 1 commit into from
Nov 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Binary file not shown.
16 changes: 16 additions & 0 deletions tff_modular/modules/~donator/clothes/donator_clothing.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/obj/item/clothing/neck/cloak/officer
name = "officer's coat"
desc = "Officer's coat in RedSec colors with a big N on the back. The inside of the collar has a label with 'Cyrus' written on it."
var/alternate_desc = "Officer's coat in Syndicate colors with a big S on the back. The inside of the collar has a label with 'Nova' written on it."
icon = 'tff_modular/master_files/icons/donator/obj/clothing/cloaks.dmi'
icon_state = "mercreaper_cloak_nt"
worn_icon = 'tff_modular/master_files/icons/donator/mob/clothing/neck.dmi'
unique_reskin = list(
"Nanotrasen" = "mercreaper_cloak_nt",
"Syndicate" = "mercreaper_cloak_syndie"
)

/obj/item/clothing/neck/cloak/officer/reskin_obj(mob/M)
. = ..()
if(icon_state == "mercreaper_cloak_syndie")
desc = alternate_desc
4 changes: 4 additions & 0 deletions tff_modular/modules/~donator/loadout.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/datum/loadout_item/neck/officer_coat
name = "Officer's coat"
item_path = /obj/item/clothing/neck/cloak/officer
ckeywhitelist = list("mercreaper")
2 changes: 2 additions & 0 deletions tgstation.dme
Original file line number Diff line number Diff line change
Expand Up @@ -8000,4 +8000,6 @@
#include "tff_modular\modules\toys\code\loadout_datum_toys.dm"
#include "tff_modular\modules\toys\code\plushes.dm"
#include "tff_modular\modules\uplink_item\code\categories\stealthy_weapons.dm"
#include "tff_modular\modules\~donator\loadout.dm"
#include "tff_modular\modules\~donator\clothes\donator_clothing.dm"
// END_INCLUDE
Loading