Skip to content

Commit

Permalink
TGS Test Merge (#6040)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevinz authored and Kevinz committed Oct 9, 2023
2 parents ae00885 + 4011c6a commit 457c432
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
4 changes: 4 additions & 0 deletions code/game/objects/items/storage/backpack.dm
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,10 @@
desc = "A grotesque satchel made of sinew and bone."
icon_state = "satchel-bone"

/obj/item/storage/backpack/satchel/invisible
name = "integrated satchel"
desc = "A minimalist satchel designed to fit inside of clothing, directly against the skin."
item_state = "none"

//ERT backpacks.
/obj/item/storage/backpack/ert
Expand Down
12 changes: 12 additions & 0 deletions code/modules/holidays/halloween_loadout_masquarade.dm
Original file line number Diff line number Diff line change
Expand Up @@ -648,4 +648,16 @@
/obj/item/toy/ninja_katana
*/

/**
* Non-costume seasonally restricted items.
*/

/datum/loadout_entry/seasonal/masquarade/aesthetic
antag_name = "Aesthetic"
abstract_type = /datum/loadout_entry/seasonal/masquarade/aesthetic

/datum/loadout_entry/seasonal/masquarade/aesthetic/invisible_satchel
display_name = "Invisible Satchel"
path = /obj/item/storage/backpack/satchel/invisible

#undef STD_DEF
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,7 @@
else
pref.all_underwear -= underwear_category_name

// TODO - Looks like this is duplicating the work of sanitize_character() if so, remove
if(pref.backbag > 7 || pref.backbag < 1)
pref.backbag = 1 //Same as above
character.backbag = pref.backbag

if(pref.pdachoice > 7 || pref.pdachoice < 1)
pref.pdachoice = 1
character.pdachoice = pref.pdachoice
return TRUE

Expand Down

0 comments on commit 457c432

Please sign in to comment.