Convert some bools to TRUE/FALSE instead of 1/0. (#11100)

Co-authored-by: Aronai Sieyes <arokha@arokha.com>
This commit is contained in:
MarinaGryphon
2021-07-16 12:43:25 -05:00
committed by GitHub
parent 9ce7af6ca1
commit 577b986ba6
523 changed files with 1301 additions and 1301 deletions
+3 -3
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)
+8 -8
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"
@@ -119,8 +119,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"
@@ -492,8 +492,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)
@@ -544,8 +544,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))