Skip to content

Commit

Permalink
sci duffelbag fix
Browse files Browse the repository at this point in the history
  • Loading branch information
maksxpl committed Jan 19, 2024
1 parent ddcabad commit 19b0081
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions modular_nostra/code/__HELPERS/cmp.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/proc/cmp_typepaths_dsc(A, B)
return sorttext("[A]","[B]")
5 changes: 3 additions & 2 deletions modular_nostra/code/modules/vending/wardrobes.dm
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/obj/machinery/vending/wardrobe/science_wardrobe/Initialize()
. = ..()
products += list(/obj/item/storage/backpack/duffelbag/sci = 3)
products[/obj/item/storage/backpack/duffelbag/sci] = 3
products = sort_list(products, /proc/cmp_typepaths_dsc)
. = ..()
1 change: 1 addition & 0 deletions tgstation.dme
Original file line number Diff line number Diff line change
Expand Up @@ -4015,6 +4015,7 @@
#include "modular_nostra\code\__DEFINES\DNA.dm"
#include "modular_nostra\code\__DEFINES\melee.dm"
#include "modular_nostra\code\__DEFINES\dcs\signals.dm"
#include "modular_nostra\code\__HELPERS\cmp.dm"
#include "modular_nostra\code\__HELPERS\string_lists.dm"
#include "modular_nostra\code\__HELPERS\unsorted.dm"
#include "modular_nostra\code\controllers\subsystem\bluespace_locker.dm"
Expand Down

0 comments on commit 19b0081

Please sign in to comment.