Convert some bools to TRUE/FALSE instead of 1/0.

This commit is contained in:
Chompstation Bot
2021-07-16 17:44:40 +00:00
parent 1be5570337
commit 481c0e314e
523 changed files with 6976 additions and 1284 deletions

View File

@@ -16,8 +16,8 @@
desc = "A set of wooden shelves, perfect for placing books on."
icon = 'icons/obj/library.dmi'
icon_state = "book-0"
anchored = 1
density = 1
anchored = TRUE
density = TRUE
opacity = 1
/obj/structure/bookcase/Initialize()
@@ -104,7 +104,7 @@ Book Cart
name = "book cart"
icon = 'icons/obj/library.dmi'
icon_state = "bookcart-0"
anchored = 0
anchored = FALSE
opacity = 0
/obj/structure/bookcase/bookcart/attackby(obj/item/O as obj, mob/user as mob)

View File

@@ -24,8 +24,8 @@
name = "visitor computer"
icon = 'icons/obj/library.dmi'
icon_state = "computer"
anchored = 1
density = 1
anchored = TRUE
density = TRUE
var/screenstate = 0
var/title
var/category = "Any"
@@ -127,8 +127,8 @@
desc = "Print books from the archives! (You aren't quite sure how they're printed by it, though.)"
icon = 'icons/obj/library.dmi'
icon_state = "computer"
anchored = 1
density = 1
anchored = TRUE
density = TRUE
var/arcanecheckout = 0
var/screenstate = 0 // 0 - Main Menu, 1 - Inventory, 2 - Checked Out, 3 - Check Out a Book
var/sortby = "author"
@@ -488,8 +488,8 @@
desc = "A scanner for scanning in books and papers."
icon = 'icons/obj/library.dmi'
icon_state = "bigscanner"
anchored = 1
density = 1
anchored = TRUE
density = TRUE
var/obj/item/weapon/book/cache // Last scanned book
/obj/machinery/libraryscanner/attackby(var/obj/O as obj, var/mob/user as mob)
@@ -540,8 +540,8 @@
desc = "Bundles up a stack of inserted paper into a convenient book format."
icon = 'icons/obj/library.dmi'
icon_state = "binder"
anchored = 1
density = 1
anchored = TRUE
density = TRUE
/obj/machinery/bookbinder/attackby(var/obj/O as obj, var/mob/user as mob)
if(istype(O, /obj/item/weapon/paper) || istype(O, /obj/item/weapon/paper_bundle))