Changes some 1s and 0s to TRUE and FALSE (#1967)

This commit is contained in:
CitadelStationBot
2017-07-10 18:13:16 -05:00
committed by kevinz000
parent 1b70c06474
commit ff6bbbedf5
522 changed files with 1924 additions and 1917 deletions
@@ -28,8 +28,8 @@
desc = "Dr Miles Manners is just your average wasp-themed super hero by day, but by night he becomes DR BEES!"
icon = 'icons/obj/hydroponics/equipment.dmi'
icon_state = "beebox"
anchored = 1
density = 1
anchored = TRUE
density = TRUE
var/mob/living/simple_animal/hostile/poison/bees/queen/queen_bee = null
var/list/bees = list() //bees owned by the box, not those inside it
var/list/honeycombs = list()
+7 -7
View File
@@ -3,11 +3,11 @@
desc = "Converts plants into biomass, which can be used to construct useful items."
icon = 'icons/obj/biogenerator.dmi'
icon_state = "biogen-empty"
density = 1
anchored = 1
density = TRUE
anchored = TRUE
use_power = IDLE_POWER_USE
idle_power_usage = 40
var/processing = 0
var/processing = FALSE
var/obj/item/weapon/reagent_containers/glass/beaker = null
var/points = 0
var/menustat = "menu"
@@ -154,13 +154,13 @@
user.visible_message("[user] begins to load \the [O] in \the [src]...",
"You begin to load a design from \the [O]...",
"You hear the chatter of a floppy drive.")
processing = 1
processing = TRUE
var/obj/item/weapon/disk/design_disk/D = O
if(do_after(user, 10, target = src))
for(var/B in D.blueprints)
if(B)
files.AddDesign2Known(B)
processing = 0
processing = FALSE
return 1
else
to_chat(user, "<span class='warning'>You cannot put this in [src.name]!</span>")
@@ -237,13 +237,13 @@
else points += I.reagents.get_reagent_amount("nutriment")*10*productivity
qdel(I)
if(S)
processing = 1
processing = TRUE
update_icon()
updateUsrDialog()
playsound(src.loc, 'sound/machines/blender.ogg', 50, 1)
use_power(S*30)
sleep(S+15/productivity)
processing = 0
processing = FALSE
update_icon()
else
menustat = "void"
+2 -2
View File
@@ -3,8 +3,8 @@
desc = "An advanced device designed to manipulate plant genetic makeup."
icon = 'icons/obj/hydroponics/equipment.dmi'
icon_state = "dnamod"
density = 1
anchored = 1
density = TRUE
anchored = TRUE
var/obj/item/seeds/seed
var/obj/item/weapon/disk/plantgene/disk
+5 -5
View File
@@ -2,8 +2,8 @@
name = "hydroponics tray"
icon = 'icons/obj/hydroponics/equipment.dmi'
icon_state = "hydrotray"
density = 1
anchored = 1
density = TRUE
anchored = TRUE
pixel_y = 8
unique_rename = 1
var/waterlevel = 100 //The amount of water in the tray (max 100)
@@ -815,7 +815,7 @@
if (do_after(user, 20*O.toolspeed, target = src))
if(anchored)
return
anchored = 1
anchored = TRUE
user.visible_message("[user] wrenches [src] into place.", \
"<span class='notice'>You wrench [src] in place.</span>")
else if(anchored)
@@ -825,7 +825,7 @@
if (do_after(user, 20*O.toolspeed, target = src))
if(!anchored)
return
anchored = 0
anchored = FALSE
user.visible_message("[user] unwrenches [src].", \
"<span class='notice'>You unwrench [src].</span>")
@@ -928,7 +928,7 @@
name = "soil"
icon = 'icons/obj/hydroponics/equipment.dmi'
icon_state = "soil"
density = 0
density = FALSE
use_power = NO_POWER_USE
unwrenchable = 0
+2 -2
View File
@@ -42,8 +42,8 @@
desc = "Extracts and bags seeds from produce."
icon = 'icons/obj/hydroponics/equipment.dmi'
icon_state = "sextractor"
density = 1
anchored = 1
density = TRUE
anchored = TRUE
var/piles = list()
var/max_seeds = 1000
var/seed_multiplier = 1