Refactors posters to use decls (#8128)

* poster

* Moves decls_repo init forward

* Moves decl_repository init even further forwards
This commit is contained in:
Atermonera
2021-06-18 19:14:49 -07:00
committed by GitHub
parent a1327676d8
commit beaf109060
19 changed files with 356 additions and 410 deletions

View File

@@ -14,7 +14,7 @@
// III. Thou shalt not write a decl that relies on arguments supplied to New().
// IV. Thou shalt not call Initialize() on a /decl.
var/repository/decls/decls_repository = new()
var/repository/decls/decls_repository // Initialiozed in /datum/global_init/New()
/repository/decls
var/list/fetched_decls

View File

@@ -51,7 +51,7 @@
/obj/item/weapon/reagent_containers/glass/paint/purple,
/obj/item/weapon/reagent_containers/glass/paint/black,
/obj/item/weapon/reagent_containers/glass/paint/white,
/obj/item/weapon/contraband/poster/custom,
/obj/item/poster/custom,
/obj/item/weapon/wrapping_paper = 3
)
cost = 10

View File

@@ -664,9 +664,9 @@
/datum/supply_pack/security/posters
name = "Gear - Morale Posters"
contains = list(
/obj/item/weapon/contraband/poster/nanotrasen = 6
/obj/item/poster/nanotrasen = 6
)
cost = 20
cost = 10
containertype = /obj/structure/closet/crate/secure/nanotrasen
containername = "Morale Posters"
access = access_maint_tunnels