mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
Fixes generic wardrobe contents
This fixes the wardrobe base type creating items, which was fine when wardrobes didn't call their parent's New proc, but was causing literally every wardrobe to contain some junk now that they do. The base wardrobe type's items have been moved to a new "generic" wardrobe, which is now used in the derelicts and an unused away mission, replacing mapped instances of the base type.
This commit is contained in:
@@ -4,7 +4,10 @@
|
||||
icon_state = "blue"
|
||||
icon_closed = "blue"
|
||||
|
||||
/obj/structure/closet/wardrobe/New()
|
||||
/obj/structure/closet/wardrobe/generic
|
||||
// Identical to the base wardrobe, aside from containing some stuff.
|
||||
|
||||
/obj/structure/closet/wardrobe/generic/New()
|
||||
..()
|
||||
sleep(2)
|
||||
new /obj/item/clothing/under/color/blue(src)
|
||||
|
||||
Reference in New Issue
Block a user