Changes some 1s and 0s to TRUE and FALSE (#1967)
This commit is contained in:
committed by
kevinz000
parent
1b70c06474
commit
ff6bbbedf5
@@ -11,8 +11,8 @@ insert ascii eagle on american flag background here
|
||||
desc = "Deep fried <i>everything</i>."
|
||||
icon = 'icons/obj/kitchen.dmi'
|
||||
icon_state = "fryer_off"
|
||||
density = 1
|
||||
anchored = 1
|
||||
density = TRUE
|
||||
anchored = TRUE
|
||||
use_power = IDLE_POWER_USE
|
||||
idle_power_usage = 5
|
||||
container_type = OPENCONTAINER
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
desc = "New generation hot dog stand."
|
||||
icon = 'icons/obj/kitchen.dmi'
|
||||
icon_state = "foodcart"
|
||||
density = 1
|
||||
anchored = 0
|
||||
density = TRUE
|
||||
anchored = FALSE
|
||||
use_power = NO_POWER_USE
|
||||
var/food_stored = 0
|
||||
var/glasses = 0
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
desc = "The name isn't descriptive enough?"
|
||||
icon = 'icons/obj/kitchen.dmi'
|
||||
icon_state = "grinder"
|
||||
density = 1
|
||||
anchored = 1
|
||||
var/operating = 0 //Is it on?
|
||||
density = TRUE
|
||||
anchored = TRUE
|
||||
var/operating = FALSE //Is it on?
|
||||
var/dirty = 0 // Does it need cleaning?
|
||||
var/gibtime = 40 // Time from starting until meat appears
|
||||
var/meat_produced = 0
|
||||
@@ -162,7 +162,7 @@
|
||||
use_power(1000)
|
||||
visible_message("<span class='italics'>You hear a loud squelchy grinding sound.</span>")
|
||||
playsound(src.loc, 'sound/machines/juicer.ogg', 50, 1)
|
||||
src.operating = 1
|
||||
operating = TRUE
|
||||
update_icon()
|
||||
|
||||
var/offset = prob(50) ? -2 : 2
|
||||
@@ -215,7 +215,7 @@
|
||||
qdel(src.occupant)
|
||||
spawn(src.gibtime)
|
||||
playsound(src.loc, 'sound/effects/splat.ogg', 50, 1)
|
||||
operating = 0
|
||||
operating = FALSE
|
||||
var/turf/T = get_turf(src)
|
||||
var/list/turf/nearby_turfs = RANGE_TURFS(3,T) - T
|
||||
var/obj/item/skin = allskin
|
||||
@@ -231,5 +231,5 @@
|
||||
new gibtype(gibturf,i)
|
||||
|
||||
pixel_x = initial(pixel_x) //return to its spot after shaking
|
||||
src.operating = 0
|
||||
operating = FALSE
|
||||
update_icon()
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
desc = "Ding-aling ding dong. Get your Nanotrasen-approved ice cream!"
|
||||
icon = 'icons/obj/kitchen.dmi'
|
||||
icon_state = "icecream_vat"
|
||||
density = 1
|
||||
anchored = 0
|
||||
density = TRUE
|
||||
anchored = FALSE
|
||||
use_power = NO_POWER_USE
|
||||
layer = BELOW_OBJ_LAYER
|
||||
var/list/product_types = list()
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
icon = 'icons/obj/kitchen.dmi'
|
||||
icon_state = "juicer1"
|
||||
layer = BELOW_OBJ_LAYER
|
||||
density = 1
|
||||
anchored = 0
|
||||
density = TRUE
|
||||
anchored = FALSE
|
||||
use_power = IDLE_POWER_USE
|
||||
idle_power_usage = 5
|
||||
active_power_usage = 100
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
icon = 'icons/obj/kitchen.dmi'
|
||||
icon_state = "mw"
|
||||
layer = BELOW_OBJ_LAYER
|
||||
density = 1
|
||||
anchored = 1
|
||||
density = TRUE
|
||||
anchored = TRUE
|
||||
use_power = IDLE_POWER_USE
|
||||
idle_power_usage = 5
|
||||
active_power_usage = 100
|
||||
var/operating = 0 // Is it on?
|
||||
var/operating = FALSE // Is it on?
|
||||
var/dirty = 0 // = {0..100} Does it need cleaning?
|
||||
var/broken = 0 // ={0,1,2} How broken is it???
|
||||
var/max_n_of_items = 10 // whatever fat fuck made this a global var needs to look at themselves in the mirror sometime
|
||||
@@ -279,12 +279,12 @@
|
||||
|
||||
/obj/machinery/microwave/proc/start()
|
||||
visible_message("The microwave turns on.", "<span class='italics'>You hear a microwave humming.</span>")
|
||||
operating = 1
|
||||
operating = TRUE
|
||||
icon_state = "mw1"
|
||||
updateUsrDialog()
|
||||
|
||||
/obj/machinery/microwave/proc/abort()
|
||||
operating = 0 // Turn it off again aferwards
|
||||
operating = FALSE // Turn it off again aferwards
|
||||
icon_state = "mw"
|
||||
updateUsrDialog()
|
||||
|
||||
@@ -307,7 +307,7 @@
|
||||
visible_message("<span class='warning'>The microwave gets covered in muck!</span>")
|
||||
dirty = 100 // Make it dirty so it can't be used util cleaned
|
||||
icon_state = "mwbloody" // Make it look dirty too
|
||||
operating = 0 // Turn it off again aferwards
|
||||
operating = FALSE // Turn it off again aferwards
|
||||
updateUsrDialog()
|
||||
for(var/obj/item/weapon/reagent_containers/food/snacks/S in src)
|
||||
if(prob(50))
|
||||
@@ -322,7 +322,7 @@
|
||||
visible_message("<span class='warning'>The microwave breaks!</span>") //Let them know they're stupid
|
||||
broken = 2 // Make it broken so it can't be used util fixed
|
||||
flags = null //So you can't add condiments
|
||||
operating = 0 // Turn it off again aferwards
|
||||
operating = FALSE // Turn it off again aferwards
|
||||
updateUsrDialog()
|
||||
|
||||
/obj/machinery/microwave/Topic(href, href_list)
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
icon = 'icons/obj/kitchen.dmi'
|
||||
icon_state = "grinder"
|
||||
layer = BELOW_OBJ_LAYER
|
||||
density = 1
|
||||
anchored = 1
|
||||
density = TRUE
|
||||
anchored = TRUE
|
||||
use_power = IDLE_POWER_USE
|
||||
idle_power_usage = 5
|
||||
active_power_usage = 50
|
||||
|
||||
@@ -5,10 +5,10 @@
|
||||
icon = 'icons/obj/kitchen.dmi'
|
||||
icon_state = "processor1"
|
||||
layer = BELOW_OBJ_LAYER
|
||||
density = 1
|
||||
anchored = 1
|
||||
density = TRUE
|
||||
anchored = TRUE
|
||||
var/broken = 0
|
||||
var/processing = 0
|
||||
var/processing = FALSE
|
||||
use_power = IDLE_POWER_USE
|
||||
idle_power_usage = 5
|
||||
active_power_usage = 50
|
||||
@@ -251,7 +251,7 @@
|
||||
if(src.contents.len == 0)
|
||||
to_chat(user, "<span class='warning'>The processor is empty!</span>")
|
||||
return 1
|
||||
src.processing = 1
|
||||
processing = TRUE
|
||||
user.visible_message("[user] turns on [src].", \
|
||||
"<span class='notice'>You turn on [src].</span>", \
|
||||
"<span class='italics'>You hear a food processor.</span>")
|
||||
@@ -274,7 +274,7 @@
|
||||
continue
|
||||
P.process_food(src.loc, O, src)
|
||||
pixel_x = initial(pixel_x) //return to its spot after shaking
|
||||
src.processing = 0
|
||||
processing = FALSE
|
||||
src.visible_message("\The [src] finishes processing.")
|
||||
|
||||
/obj/machinery/processor/verb/eject()
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
icon = 'icons/obj/vending.dmi'
|
||||
icon_state = "smartfridge"
|
||||
layer = BELOW_OBJ_LAYER
|
||||
density = 1
|
||||
anchored = 1
|
||||
density = TRUE
|
||||
anchored = TRUE
|
||||
use_power = IDLE_POWER_USE
|
||||
idle_power_usage = 5
|
||||
active_power_usage = 100
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
icon_state = "pizzabox1"
|
||||
item_state = "pizzabox"
|
||||
|
||||
var/open = 0
|
||||
var/open = FALSE
|
||||
var/boxtag = ""
|
||||
var/list/boxes = list()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user