Skip to content

Commit

Permalink
adds a gamemaster outfit (#814)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kapu1178 authored Feb 20, 2024
1 parent e04378a commit 0fac724
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 0 deletions.
42 changes: 42 additions & 0 deletions code/modules/admin/admin_clothing/gamemaster.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
/obj/item/clothing/head/hooded/gamemaster
name = "old wizard hood"
icon_state = "culthood"
worn_icon_state = "adminhood"
desc = "A torn, dust-caked hood. Strange letters line the inside."

flags_inv = HIDEFACE|HIDEHAIR|HIDEEARS
flags_cover = HEADCOVERSEYES
armor = list(BLUNT = 100, PUNCTURE = 100, SLASH = 100, LASER = 100, ENERGY = 100, BOMB = 100, BIO = 100, FIRE = 100, ACID = 100)

clothing_traits = list(TRAIT_NODROP)

cold_protection = HEAD
min_cold_protection_temperature = HELMET_MIN_TEMP_PROTECT
heat_protection = HEAD
max_heat_protection_temperature = HELMET_MAX_TEMP_PROTECT
resistance_flags = ALL

/obj/item/clothing/suit/hooded/gamemaster
name = "old wizard robes"
desc = "A ragged, dusty set of robes. Strange letters line the inside."

icon_state = "cultrobes"
worn_icon_state = "adminrobes"
body_parts_covered = CHEST|GROIN|LEGS|ARMS
armor = list(BLUNT = 100, PUNCTURE = 100, SLASH = 100, LASER = 100, ENERGY = 100, BOMB = 100, BIO = 100, FIRE = 100, ACID = 100)
flags_inv = HIDEJUMPSUIT
resistance_flags = ALL

clothing_traits = list(TRAIT_NODROP)

cold_protection = CHEST|GROIN|LEGS|ARMS
min_cold_protection_temperature = ARMOR_MIN_TEMP_PROTECT
heat_protection = CHEST|GROIN|LEGS|ARMS
max_heat_protection_temperature = ARMOR_MAX_TEMP_PROTECT
hoodtype = /obj/item/clothing/head/hooded/gamemaster

/obj/item/clothing/shoes/sandal/gamemaster
resistance_flags = ALL
armor = list(BLUNT = 100, PUNCTURE = 100, SLASH = 100, LASER = 100, ENERGY = 100, BOMB = 100, BIO = 100, FIRE = 100, ACID = 100)

clothing_traits = list(TRAIT_NODROP)
12 changes: 12 additions & 0 deletions code/modules/clothing/outfits/standard.dm
Original file line number Diff line number Diff line change
Expand Up @@ -481,3 +481,15 @@
W.registered_name = H.real_name
W.update_label()
W.update_icon()

/datum/outfit/gamemaster
name = "Admin outfit (Gamemaster)"

suit = /obj/item/clothing/suit/hooded/gamemaster
shoes = /obj/item/clothing/shoes/sandal/gamemaster

/datum/outfit/gamemaster/post_equip(mob/living/carbon/human/H, visualsOnly = FALSE)
var/obj/item/clothing/suit/hooded/gamemaster/robe = H.wear_suit
robe.ToggleHood()

H.set_real_name("Gamemaster", TRUE)
1 change: 1 addition & 0 deletions daedalus.dme
Original file line number Diff line number Diff line change
Expand Up @@ -1962,6 +1962,7 @@
#include "code\modules\admin\team_panel.dm"
#include "code\modules\admin\topic.dm"
#include "code\modules\admin\whitelist.dm"
#include "code\modules\admin\admin_clothing\gamemaster.dm"
#include "code\modules\admin\callproc\callproc.dm"
#include "code\modules\admin\smites\bad_luck.dm"
#include "code\modules\admin\smites\berforate.dm"
Expand Down
Binary file modified icons/mob/clothing/head.dmi
Binary file not shown.
Binary file modified icons/mob/clothing/suit.dmi
Binary file not shown.

0 comments on commit 0fac724

Please sign in to comment.