magic numbers

This commit is contained in:
Certhic
2018-11-16 15:32:49 +01:00
parent c62a83011e
commit e3f852dff6
22 changed files with 62 additions and 87 deletions
+2 -2
View File
@@ -82,9 +82,9 @@
req_one_access = list(access_atmospherics, access_engine_equip)
armor = list(melee = 0, bullet = 0, laser = 0, energy = 100, bomb = 0, bio = 100, rad = 100)
var/alarm_id = null
var/frequency = 1439
var/frequency = ATMOS_VENTSCRUB
//var/skipprocess = 0 //Experimenting
var/alarm_frequency = 1437
var/alarm_frequency = ATMOS_FIRE_FREQ
var/remote_control = 0
var/rcon_setting = 2
var/rcon_time = 0
+2 -2
View File
@@ -9,7 +9,7 @@
var/bolts = 1
var/id_tag
var/frequency = 1439
var/frequency = ATMOS_VENTSCRUB
Mtoollink = 1
settagwhitelist = list("id_tag")
@@ -147,7 +147,7 @@
name = "Computer"
var/frequency = 1439
var/frequency = ATMOS_VENTSCRUB
var/show_sensors=1
var/list/sensors = list()
Mtoollink = 1
@@ -27,7 +27,6 @@
var/centcomm_message_cooldown = 0
var/tmp_alertlevel = 0
var/status_display_freq = "1435"
var/stat_msg1
var/stat_msg2
var/display_type="blank"
@@ -510,7 +509,7 @@
/proc/post_status(command, data1, data2, mob/user = null)
var/datum/radio_frequency/frequency = radio_controller.return_frequency(1435)
var/datum/radio_frequency/frequency = radio_controller.return_frequency(DISPLAY_FREQ)
if(!frequency) return
+1 -1
View File
@@ -236,7 +236,7 @@
power_channel = ENVIRON
var/master_tag
var/frequency = 1449
var/frequency = AIRLOCK_FREQ
var/command = "cycle"
var/datum/radio_frequency/radio_connection
+1 -1
View File
@@ -6,7 +6,7 @@
glass = 1
autoclose = 0
var/datum/radio_frequency/air_connection
var/air_frequency = 1437
var/air_frequency = ATMOS_FIRE_FREQ
/obj/machinery/door/airlock/alarmlock/New()
..()
+2 -2
View File
@@ -16,7 +16,7 @@
use_power = IDLE_POWER_USE
idle_power_usage = 50
var/freq = 1449 // radio frequency
var/freq = AIRLOCK_FREQ // radio frequency
var/electricity_level = 1 // intensity of the magnetic pull
var/magnetic_field = 1 // the range of magnetic attraction
var/code = 0 // frequency code, they should be different unless you have a group of magnets working together or something
@@ -181,7 +181,7 @@
anchored = 1.0
use_power = IDLE_POWER_USE
idle_power_usage = 45
var/frequency = 1449
var/frequency = AIRLOCK_FREQ
var/code = 0
var/list/magnets = list()
var/title = "Magnetic Control Console"
+1 -1
View File
@@ -30,7 +30,7 @@
var/index1 // display index for scrolling messages or 0 if non-scrolling
var/index2
var/frequency = 1435 // radio frequency
var/frequency = DISPLAY_FREQ // radio frequency
var/friendc = 0 // track if Friend Computer mode
var/ignore_friendc = 0
@@ -3,7 +3,7 @@
desc = "Dance my monkeys! DANCE!!!"
icon_state = "electropack0"
item_state = "electropack"
frequency = 1449
frequency = AIRLOCK_FREQ
flags = CONDUCT
slot_flags = SLOT_BACK
w_class = WEIGHT_CLASS_HUGE
@@ -18,7 +18,7 @@
/obj/item/radio/intercom/interrogation
name = "station intercom (Interrogation)"
frequency = 1449
frequency = AIRLOCK_FREQ
/obj/item/radio/intercom/private
name = "station intercom (Private)"