Skip to content

Commit

Permalink
density = 1/0 -> density = TRUE/FALSE
Browse files Browse the repository at this point in the history
  • Loading branch information
Rerik007 committed Apr 12, 2024
1 parent be7e008 commit 15e79c3
Show file tree
Hide file tree
Showing 177 changed files with 224 additions and 224 deletions.
4 changes: 2 additions & 2 deletions code/__HELPERS/unsorted.dm
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
.+=360

//Returns location. Returns null if no location was found.
/proc/get_teleport_loc(turf/location,mob/target,distance = 1, density = 0, errorx = 0, errory = 0, eoffsetx = 0, eoffsety = 0)
/proc/get_teleport_loc(turf/location,mob/target,distance = 1, density = FALSE, errorx = 0, errory = 0, eoffsetx = 0, eoffsety = 0)
/*
Location where the teleport begins, target that will teleport, distance to go, density checking 0/1(yes/no).
Random error in tile placement x, error in tile placement y, and block offset.
Expand Down Expand Up @@ -1280,7 +1280,7 @@ GLOBAL_DATUM_INIT(dview_mob, /mob/dview, new)

/mob/dview
invisibility = INVISIBILITY_ABSTRACT
density = 0
density = FALSE
move_force = 0
pull_force = 0
move_resist = INFINITY
Expand Down
2 changes: 1 addition & 1 deletion code/game/dna/genes/goon_powers.dm
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@


/obj/effect/self_deleting
density = 0
density = FALSE
opacity = 0
anchored = TRUE
icon = null
Expand Down
6 changes: 3 additions & 3 deletions code/game/gamemodes/clockwork/clockwork_structures.dm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/obj/structure/clockwork
density = 1
density = TRUE
anchored = TRUE
layer = BELOW_OBJ_LAYER
icon = 'icons/obj/clockwork.dmi'
Expand All @@ -13,7 +13,7 @@
name = "credence"
desc = "A strange brass platform with spinning cogs inside. It demands somethinge in exchange for goods... once upon a time. Now it's just a dull piece of brass."
icon_state = "altar"
density = 0
density = FALSE

/obj/structure/clockwork/functional
max_integrity = 100
Expand Down Expand Up @@ -224,7 +224,7 @@
name = "credence"
desc = "A strange brass platform with spinning cogs inside. It demands something in exchange for goods..."
icon_state = "altar"
density = 0
density = FALSE
death_message = "<span class='danger'>The credence breaks in pieces as it dusts into nothing!</span>"
canbehidden = TRUE
choosable_items = list(
Expand Down
2 changes: 1 addition & 1 deletion code/game/gamemodes/clockwork/cogscarab.dm
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
icon_state = "drone"
health = 35
maxHealth = 35
density = 0
density = FALSE
ventcrawler = 2
mob_size = MOB_SIZE_SMALL
pass_flags = PASSTABLE
Expand Down
2 changes: 1 addition & 1 deletion code/game/gamemodes/malfunction/Malf_Modules.dm
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@
icon_state = "nuclearbomb_base"
desc = "A weapon which disintegrates all organic life in a large area."
anchored = TRUE
density = 1
density = TRUE
atom_say_verb = "blares"
speed_process = TRUE // Disgusting fix. Please remove once #12952 is merged
var/timing = 0
Expand Down
2 changes: 1 addition & 1 deletion code/game/gamemodes/meteor/meteors.dm
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ GLOBAL_LIST_INIT(meteors_ops, list(/obj/effect/meteor/goreops)) //Meaty Ops
desc = "You should probably run instead of gawking at this."
icon = 'icons/obj/meteor.dmi'
icon_state = "small"
density = 1
density = TRUE
anchored = TRUE
var/hits = 4
var/hitpwr = 2 //Level of ex_act to be called on hit.
Expand Down
2 changes: 1 addition & 1 deletion code/game/gamemodes/miniantags/borer/borer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
friendly = "prods"
wander = 0
mob_size = MOB_SIZE_TINY
density = 0
density = FALSE
pass_flags = PASSTABLE | PASSMOB
mob_size = MOB_SIZE_SMALL
faction = list("creature")
Expand Down
2 changes: 1 addition & 1 deletion code/game/gamemodes/miniantags/revenant/revenant.dm
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
friendly = "touches"
status_flags = 0
wander = 0
density = 0
density = FALSE
move_resist = INFINITY
mob_size = MOB_SIZE_TINY
pass_flags = PASSTABLE | PASSGRILLE | PASSMOB
Expand Down
2 changes: 1 addition & 1 deletion code/game/gamemodes/nuclear/nuclearbomb.dm
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ GLOBAL_VAR(bomb_set)
desc = "Uh oh. RUN!!!!"
icon = 'icons/obj/stationobjs.dmi'
icon_state = "nuclearbomb0"
density = 1
density = TRUE
resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF | NO_MALF_EFFECT
var/extended = FALSE
var/lighthack = FALSE
Expand Down
2 changes: 1 addition & 1 deletion code/game/gamemodes/wizard/artefact.dm
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
desc = "You should run now."
icon = 'icons/obj/biomass.dmi'
icon_state = "rift"
density = 1
density = TRUE
anchored = TRUE
var/spawn_path = /mob/living/simple_animal/cow //defaulty cows to prevent unintentional narsies
var/spawn_amt_left = 20
Expand Down
4 changes: 2 additions & 2 deletions code/game/machinery/Freezer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "охладитель"
icon = 'icons/obj/machines/cryogenic2.dmi'
icon_state = "freezer"
density = 1
density = TRUE
var/min_temperature = 0
anchored = TRUE
use_power = IDLE_POWER_USE
Expand Down Expand Up @@ -172,7 +172,7 @@
name = "нагреватель"
icon = 'icons/obj/machines/cryogenic2.dmi'
icon_state = "heater"
density = 1
density = TRUE
var/max_temperature = 0
anchored = TRUE
layer = 3
Expand Down
2 changes: 1 addition & 1 deletion code/game/machinery/OpTable.dm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
desc = "Used for advanced medical procedures."
icon = 'icons/obj/surgery.dmi'
icon_state = "table2-idle"
density = 1
density = TRUE
anchored = TRUE
use_power = IDLE_POWER_USE
idle_power_usage = 1
Expand Down
2 changes: 1 addition & 1 deletion code/game/machinery/PDApainter.dm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
icon = 'icons/obj/pda.dmi'
icon_state = "pdapainter"
base_icon_state = "pdapainter"
density = 1
density = TRUE
anchored = TRUE
max_integrity = 200
var/obj/item/pda/storedpda = null
Expand Down
2 changes: 1 addition & 1 deletion code/game/machinery/Sleeper.dm
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
icon = 'icons/obj/machines/cryogenic2.dmi'
icon_state = "sleeper-open"
var/base_icon = "sleeper"
density = 1
density = TRUE
anchored = TRUE
dir = WEST
var/mob/living/carbon/human/occupant = null
Expand Down
2 changes: 1 addition & 1 deletion code/game/machinery/autolathe.dm
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
name = "autolathe"
desc = "It produces items using metal and glass."
icon_state = "autolathe"
density = 1
density = TRUE

var/operating = 0.0
var/list/queue = list()
Expand Down
4 changes: 2 additions & 2 deletions code/game/machinery/computer/HolodeckControl.dm
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@
icon = 'icons/obj/structures.dmi'
icon_state = "rwindow"
desc = "A window."
density = 1
density = TRUE
layer = 3.2//Just above doors
pressure_resistance = 4*ONE_ATMOSPHERE
anchored = TRUE
Expand Down Expand Up @@ -509,7 +509,7 @@
icon = 'icons/obj/basketball.dmi'
icon_state = "hoop"
anchored = TRUE
density = 1
density = TRUE
pass_flags = LETPASSTHROW

/obj/structure/holohoop/attackby(obj/item/W as obj, mob/user as mob, params)
Expand Down
2 changes: 1 addition & 1 deletion code/game/machinery/computer/Operating.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/obj/machinery/computer/operating
name = "operating computer"
density = 1
density = TRUE
anchored = TRUE
icon_keyboard = "med_key"
icon_screen = "crew"
Expand Down
2 changes: 1 addition & 1 deletion code/game/machinery/computer/ai_core.dm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/obj/structure/AIcore
density = 1
density = TRUE
anchored = FALSE
name = "AI core"
icon = 'icons/mob/ai.dmi'
Expand Down
2 changes: 1 addition & 1 deletion code/game/machinery/computer/medical.dm
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@
icon_state = "laptop"
icon_keyboard = "laptop_key"
icon_screen = "medlaptop"
density = 0
density = FALSE

#undef MED_DATA_R_LIST
#undef MED_DATA_MAINT
Expand Down
2 changes: 1 addition & 1 deletion code/game/machinery/cryo.dm
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
desc = "Понижает температуру тела, позволяя применять определённые лекарства."
icon = 'icons/obj/machines/cryogenics.dmi'
icon_state = "pod0"
density = 1
density = TRUE
anchored = TRUE
layer = ABOVE_WINDOW_LAYER
plane = GAME_PLANE
Expand Down
2 changes: 1 addition & 1 deletion code/game/machinery/cryopod.dm
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
icon = 'icons/obj/machines/cryogenic2.dmi'
icon_state = "cellconsole"
circuit = /obj/item/circuitboard/cryopodcontrol
density = 0
density = FALSE
interact_offline = 1
req_access = list(ACCESS_HEADS, ACCESS_ARMORY) //Heads of staff or the warden can go here to claim recover items from their department that people went were cryodormed with.
resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF
Expand Down
2 changes: 1 addition & 1 deletion code/game/machinery/doors/brigdoors.dm
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
desc = "A remote control for a door."
req_access = list(ACCESS_BRIG)
anchored = TRUE // can't pick it up
density = 0 // can walk through it.
density = FALSE // can walk through it.
var/id = null // id of door it controls.
var/releasetime = 0 // when world.timeofday reaches it - release the prisoner
var/timing = 0 // boolean, true/1 timer is on, false/0 means it's not timing
Expand Down
2 changes: 1 addition & 1 deletion code/game/machinery/doors/spacepod.dm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
desc = "Why it no open!!!"
icon = 'icons/effects/beam.dmi'
icon_state = "n_beam"
density = 0
density = FALSE
anchored = TRUE
var/id = 1.0

Expand Down
2 changes: 1 addition & 1 deletion code/game/machinery/doppler_array.dm
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ GLOBAL_LIST_EMPTY(doppler_arrays)
icon = 'icons/obj/machines/research.dmi'
icon_state = "tdoppler"
base_icon_state = "tdoppler"
density = 1
density = TRUE
anchored = TRUE
atom_say_verb = "states coldly"
var/list/logged_explosions = list()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
icon = 'icons/obj/machines/airlock_machines.dmi'
icon_state = "airlock_control_standby"
power_channel = ENVIRON
density = 0
density = FALSE

var/id_tag
//var/radio_power_use = 50 //power used to xmit signals
Expand Down
2 changes: 1 addition & 1 deletion code/game/machinery/gameboard.dm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
icon = 'icons/obj/stationobjs.dmi'
icon_state = "gboard_on"
desc = "A holographic table allowing the crew to have fun(TM) on boring shifts! One player per board."
density = 1
density = TRUE
anchored = TRUE
use_power = IDLE_POWER_USE
var/cooling_down = 0
Expand Down
2 changes: 1 addition & 1 deletion code/game/machinery/guestpass.dm
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
icon_state = "guest"
icon_screen = "pass"
icon_keyboard = null
density = 0
density = FALSE


var/obj/item/card/id/giver
Expand Down
4 changes: 2 additions & 2 deletions code/game/machinery/mass_driver.dm
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
/obj/machinery/mass_driver/bumper
name = "mass bumper"
desc = "Now you're here, now you're over there."
density = 1
density = TRUE

/obj/machinery/mass_driver/bumper/Bumped(atom/movable/moving_atom)
..()
Expand All @@ -88,7 +88,7 @@
name = "mass driver frame"
icon = 'icons/obj/objects.dmi'
icon_state = "mass_driver_frame"
density = 0
density = FALSE
anchored = FALSE
var/build = 0

Expand Down
2 changes: 1 addition & 1 deletion code/game/machinery/portable_turret.dm
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ GLOBAL_LIST_EMPTY(turret_icons)
name = "turret frame"
icon = 'icons/obj/machines/turrets.dmi'
icon_state = "turret_frame"
density=1
density = TRUE
var/target_type = /obj/machinery/porta_turret // The type we intend to build
var/build_step = 0 //the current step in the building process
var/finish_name="turret" //the name applied to the product turret
Expand Down
2 changes: 1 addition & 1 deletion code/game/machinery/rechargestation.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "cyborg recharging station"
icon = 'icons/obj/objects.dmi'
icon_state = "borgcharger0"
density = 1
density = TRUE
anchored = TRUE
use_power = IDLE_POWER_USE
idle_power_usage = 5
Expand Down
2 changes: 1 addition & 1 deletion code/game/machinery/recycler.dm
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
icon_state = "grinder-o0"
layer = MOB_LAYER+1 // Overhead
anchored = TRUE
density = 1
density = TRUE
damage_deflection = 15
var/emergency_mode = FALSE // Temporarily stops machine if it detects a mob
var/icon_name = "grinder-o"
Expand Down
4 changes: 2 additions & 2 deletions code/game/machinery/shieldgen.dm
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
desc = "Used to seal minor hull breaches."
icon = 'icons/obj/objects.dmi'
icon_state = "shieldoff"
density = 1
density = TRUE
opacity = FALSE
anchored = FALSE
pressure_resistance = 2*ONE_ATMOSPHERE
Expand Down Expand Up @@ -534,7 +534,7 @@
icon = 'icons/effects/effects.dmi'
icon_state = "shieldwall"
anchored = TRUE
density = 1
density = TRUE
resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF
light_range = 3
var/needs_power = 0
Expand Down
2 changes: 1 addition & 1 deletion code/game/machinery/slotmachine.dm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
icon = 'icons/obj/economy.dmi'
icon_state = "slots-off"
anchored = TRUE
density = 1
density = TRUE
var/plays = 0
var/working = 0
var/datum/money_account/account = null
Expand Down
2 changes: 1 addition & 1 deletion code/game/machinery/spaceheater.dm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/obj/machinery/space_heater
anchored = FALSE
density = 1
density = TRUE
icon = 'icons/obj/pipes_and_stuff/atmospherics/atmos.dmi'
icon_state = "sheater0"
name = "space heater"
Expand Down
4 changes: 2 additions & 2 deletions code/game/machinery/syndicatebeacon.dm
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
icon_state = "syndbeacon"

anchored = TRUE
density = 1
density = TRUE

var/temptext = ""
var/selfdestructing = 0
Expand Down Expand Up @@ -109,7 +109,7 @@
icon_state = "beacon"

anchored = FALSE
density = 1
density = TRUE
layer = MOB_LAYER - 0.2 //so people can't hide it and it's REALLY OBVIOUS
stat = 0

Expand Down
2 changes: 1 addition & 1 deletion code/game/machinery/syndicatebomb.dm
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
desc = "A large and menacing device. Can be bolted down with a wrench."

anchored = FALSE
density = 0
density = FALSE
layer = BELOW_MOB_LAYER //so people can't hide it and it's REALLY OBVIOUS
resistance_flags = FIRE_PROOF | ACID_PROOF

Expand Down
2 changes: 1 addition & 1 deletion code/game/machinery/transformer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
icon_state = "separator-AO1"
layer = MOB_LAYER+1 // Overhead
anchored = TRUE
density = 1
density = TRUE
/// TRUE if the factory can transform dead mobs.
var/transform_dead = TRUE
/// TRUE if the mob can be standing and still be transformed.
Expand Down
Loading

0 comments on commit 15e79c3

Please sign in to comment.