diff --git a/code/controllers/subsystems/traumas.dm b/code/controllers/subsystems/traumas.dm index c437960495f..171969bdd5f 100644 --- a/code/controllers/subsystems/traumas.dm +++ b/code/controllers/subsystems/traumas.dm @@ -59,7 +59,7 @@ var/datum/controller/subsystem/traumas/SStraumas /obj/item/clothing/head/soft/sec, /obj/item/clothing/suit/armor/vest/security, /obj/item/clothing/suit/bio_suit/security, /obj/item/clothing/suit/bomb_suit/security, /obj/item/clothing/suit/security/navyofficer, /obj/item/clothing/suit/space/void/security, /obj/item/clothing/suit/storage/hooded/wintercoat/security, /obj/item/device/magnetic_lock/security,/obj/item/toy/figure/secofficer, - /obj/item/weapon/gun/bang/sec, /obj/item/weapon/gun/projectile/sec, /obj/item/weapon/book/manual/security_space_law)), + /obj/item/weapon/gun/bang/sec, /obj/item/weapon/gun/projectile/sec, /obj/item/weapon/book/manual/wiki/security_space_law)), "clowns" = typecacheof(list(/obj/item/clothing/under/rank/clown, /obj/item/clothing/shoes/clown_shoes, /obj/item/clothing/mask/gas/clown_hat, /obj/item/weapon/bananapeel, diff --git a/code/game/machinery/vending_types.dm b/code/game/machinery/vending_types.dm index 067349b2372..bccf04a65c4 100644 --- a/code/game/machinery/vending_types.dm +++ b/code/game/machinery/vending_types.dm @@ -877,7 +877,7 @@ icon_state = "battlemonsters" vend_id = "battlemonsters" products = list( - /obj/item/weapon/book/manual/battlemonsters = 10, + /obj/item/weapon/book/manual/wiki/battlemonsters = 10, /obj/item/battle_monsters/wrapped = 10, /obj/item/battle_monsters/wrapped/pro = 10, /obj/item/battle_monsters/wrapped/species = 4, //Human monsters @@ -887,7 +887,7 @@ /obj/item/battle_monsters/wrapped/rare = 4 ) prices = list( - /obj/item/weapon/book/manual/battlemonsters = 12, + /obj/item/weapon/book/manual/wiki/battlemonsters = 12, /obj/item/battle_monsters/wrapped = 100, /obj/item/battle_monsters/wrapped/pro = 75, /obj/item/battle_monsters/wrapped/species = 100, diff --git a/code/game/objects/items/weapons/manuals.dm b/code/game/objects/items/weapons/manuals.dm index c911b96eb52..70c1e1aa73b 100644 --- a/code/game/objects/items/weapons/manuals.dm +++ b/code/game/objects/items/weapons/manuals.dm @@ -5,27 +5,29 @@ due_date = 0 // Game time in 1/10th seconds unique = 1 // 0 - Normal book, 1 - Should not be treated as normal book, unable to be copied, unable to be modified +/obj/item/weapon/book/manual/wiki + var/sub_page = "" -/obj/item/weapon/book/manual/engineering_construction +/obj/item/weapon/book/manual/wiki/Initialize() + . = ..() + + dat = {" + +
+ + + + + + + "} + +/obj/item/weapon/book/manual/wiki/engineering_construction name = "Station Repairs and Construction" icon_state ="bookEngineering" author = "Engineering Encyclopedia" // Who wrote the thing, can be changed by pen or PC. It is not automatically assigned title = "Station Repairs and Construction" - -/obj/item/weapon/book/manual/engineering_construction/New() - ..() - dat = {" - - - - - - - - - - - "} + sub_page = "Guide_to_construction" /obj/item/weapon/book/manual/engineering_particle_accelerator name = "Particle Accelerator User's Guide" @@ -33,8 +35,8 @@ author = "Engineering Encyclopedia" // Who wrote the thing, can be changed by pen or PC. It is not automatically assigned title = "Particle Accelerator User's Guide" -/obj/item/weapon/book/manual/engineering_particle_accelerator/New() - ..() +/obj/item/weapon/book/manual/engineering_particle_accelerator/Initialize() + . = ..() dat = {"