mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-24 21:40:55 +01:00
Split up and rename var/flags (#17794)
* Split up and rename `var/flags` * Various fixes * CL * Don't rename Phoron Guard phoron preset --------- Co-authored-by: Cody Brittain <cbrittain10@live.com>
This commit is contained in:
co-authored by
Cody Brittain
parent
4b9303a1e9
commit
06601c9ec3
@@ -4,7 +4,7 @@
|
||||
desc = "A pair of binoculars."
|
||||
icon_state = "binoculars"
|
||||
|
||||
flags = CONDUCT
|
||||
obj_flags = OBJ_FLAG_CONDUCTABLE
|
||||
force = 5.0
|
||||
w_class = ITEMSIZE_SMALL
|
||||
throwforce = 5.0
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
desc = "A strange device."
|
||||
desc_antag = "This device can let you disguise as common objects. Click on an object with this in your active hand to scan it, then activate it to use it in your hand."
|
||||
icon_state = "shield0"
|
||||
flags = CONDUCT
|
||||
obj_flags = OBJ_FLAG_CONDUCTABLE
|
||||
slot_flags = SLOT_BELT
|
||||
item_state = "electronic"
|
||||
throwforce = 5
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
desc = "Used to debug electronic equipment."
|
||||
icon = 'icons/obj/hacktool.dmi'
|
||||
icon_state = "hacktool-g"
|
||||
flags = CONDUCT
|
||||
obj_flags = OBJ_FLAG_CONDUCTABLE
|
||||
force = 5
|
||||
w_class = ITEMSIZE_SMALL
|
||||
throwforce = 5
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
w_class = ITEMSIZE_SMALL
|
||||
throw_speed = 4
|
||||
throw_range = 10
|
||||
flags = CONDUCT
|
||||
obj_flags = OBJ_FLAG_CONDUCTABLE
|
||||
origin_tech = list(TECH_MAGNET = 2, TECH_COMBAT = 1)
|
||||
|
||||
var/times_used = 0 //Number of times it's been used.
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
w_class = ITEMSIZE_SMALL
|
||||
throw_speed = 4
|
||||
throw_range = 10
|
||||
flags = CONDUCT
|
||||
obj_flags = OBJ_FLAG_CONDUCTABLE
|
||||
var/list/storedwarrant = list() //All the warrants currently stored
|
||||
var/activename = null
|
||||
var/activecharges = null
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
icon_state = "flashlight"
|
||||
item_state = "flashlight"
|
||||
w_class = ITEMSIZE_SMALL
|
||||
flags = CONDUCT
|
||||
obj_flags = OBJ_FLAG_CONDUCTABLE
|
||||
slot_flags = SLOT_BELT
|
||||
light_color = LIGHT_COLOR_HALOGEN
|
||||
uv_intensity = 50
|
||||
@@ -304,7 +304,7 @@
|
||||
item_state = "pen"
|
||||
drop_sound = 'sound/items/drop/accessory.ogg'
|
||||
pickup_sound = 'sound/items/pickup/accessory.ogg'
|
||||
flags = CONDUCT
|
||||
obj_flags = OBJ_FLAG_CONDUCTABLE
|
||||
slot_flags = SLOT_EARS
|
||||
brightness_on = 2
|
||||
w_class = ITEMSIZE_TINY
|
||||
@@ -315,7 +315,7 @@
|
||||
desc = "A miniature lamp, that might be used by small robots."
|
||||
icon_state = "penlight"
|
||||
item_state = ""
|
||||
flags = CONDUCT
|
||||
obj_flags = OBJ_FLAG_CONDUCTABLE
|
||||
brightness_on = 2
|
||||
efficiency_modifier = 2
|
||||
w_class = ITEMSIZE_TINY
|
||||
@@ -375,7 +375,7 @@
|
||||
desc = "Some nifty lamps drawing from internal battery sources to produce a light, though a dim one."
|
||||
icon_state = "headlights"
|
||||
item_state = "headlights"
|
||||
flags = CONDUCT
|
||||
obj_flags = OBJ_FLAG_CONDUCTABLE
|
||||
slot_flags = SLOT_HEAD | SLOT_EARS
|
||||
brightness_on = 2
|
||||
w_class = ITEMSIZE_TINY
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
brightness_on = 4
|
||||
flashlight_power = 1.0
|
||||
w_class = ITEMSIZE_HUGE
|
||||
flags = CONDUCT
|
||||
obj_flags = OBJ_FLAG_CONDUCTABLE
|
||||
uv_intensity = 100
|
||||
power_use = FALSE
|
||||
on = TRUE
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
icon_state = "locator"
|
||||
|
||||
// Copied from debugger.dm
|
||||
flags = CONDUCT
|
||||
obj_flags = OBJ_FLAG_CONDUCTABLE
|
||||
force = 5.0
|
||||
w_class = ITEMSIZE_SMALL
|
||||
throwforce = 5.0
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
icon_state = "lightreplacer"
|
||||
item_state = "lightreplacer"
|
||||
|
||||
flags = CONDUCT
|
||||
obj_flags = OBJ_FLAG_CONDUCTABLE
|
||||
slot_flags = SLOT_BELT
|
||||
origin_tech = list(TECH_MAGNET = 3, TECH_MATERIAL = 2)
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
item_state = "megaphone"
|
||||
contained_sprite = TRUE
|
||||
w_class = ITEMSIZE_SMALL
|
||||
flags = CONDUCT
|
||||
obj_flags = OBJ_FLAG_CONDUCTABLE
|
||||
|
||||
var/spamcheck = 0
|
||||
var/emagged = 0
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
item_state = "multitool"
|
||||
item_icons = null
|
||||
contained_sprite = TRUE
|
||||
flags = CONDUCT
|
||||
obj_flags = OBJ_FLAG_CONDUCTABLE
|
||||
force = 5.0
|
||||
w_class = ITEMSIZE_SMALL
|
||||
throwforce = 5.0
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
icon_state = "pin_extractor"
|
||||
item_state = "pin_extractor"
|
||||
w_class = ITEMSIZE_SMALL
|
||||
flags = CONDUCT
|
||||
obj_flags = OBJ_FLAG_CONDUCTABLE
|
||||
action_button_name = "Toggle extractor"
|
||||
var/on = 0
|
||||
var/activation_sound = 'sound/effects/lighton.ogg'
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
icon_state = "powersink0"
|
||||
item_state = "powersink0"
|
||||
w_class = ITEMSIZE_LARGE
|
||||
flags = CONDUCT
|
||||
obj_flags = OBJ_FLAG_CONDUCTABLE
|
||||
throwforce = 5
|
||||
throw_speed = 1
|
||||
throw_range = 2
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
desc = "Dance my monkeys! DANCE!!!"
|
||||
icon_state = "electropack0"
|
||||
item_state = "electropack"
|
||||
flags = CONDUCT
|
||||
obj_flags = OBJ_FLAG_CONDUCTABLE
|
||||
slot_flags = SLOT_BACK
|
||||
w_class = ITEMSIZE_HUGE
|
||||
|
||||
|
||||
@@ -202,7 +202,7 @@
|
||||
desc_info = "This radio doubles as a pair of earmuffs by providing sound protection."
|
||||
icon_state = "earset"
|
||||
item_state = "earset"
|
||||
item_flags = SOUNDPROTECTION
|
||||
item_flags = ITEM_FLAG_SOUND_PROTECTION
|
||||
slot_flags = SLOT_EARS | SLOT_TWOEARS
|
||||
|
||||
/obj/item/device/radio/headset/wrist
|
||||
@@ -652,7 +652,7 @@
|
||||
icon = 'icons/obj/clothing/ears/earmuffs.dmi'
|
||||
icon_state = "earmuffs"
|
||||
item_state = "earmuffs"
|
||||
item_flags = SOUNDPROTECTION
|
||||
item_flags = ITEM_FLAG_SOUND_PROTECTION
|
||||
slot_flags = SLOT_EARS | SLOT_TWOEARS
|
||||
|
||||
/obj/item/device/radio/headset/syndicate
|
||||
|
||||
@@ -27,8 +27,8 @@ pixel_x = 8;
|
||||
appearance_flags = TILE_BOUND // prevents people from viewing the overlay through a wall
|
||||
w_class = ITEMSIZE_LARGE
|
||||
canhear_range = 2
|
||||
flags = CONDUCT | NOBLOODY
|
||||
obj_flags = OBJ_FLAG_MOVES_UNSUPPORTED
|
||||
atom_flags = ATOM_FLAG_NO_BLOOD
|
||||
obj_flags = OBJ_FLAG_MOVES_UNSUPPORTED | OBJ_FLAG_CONDUCTABLE
|
||||
var/number = 0
|
||||
var/obj/machinery/abstract/intercom_listener/power_interface
|
||||
var/global/list/screen_overlays
|
||||
|
||||
@@ -42,7 +42,7 @@ var/global/list/default_interrogation_channels = list(
|
||||
icon = 'icons/obj/radio.dmi'
|
||||
icon_state = "walkietalkie"
|
||||
item_state = "radio"
|
||||
flags = CONDUCT
|
||||
obj_flags = OBJ_FLAG_CONDUCTABLE
|
||||
slot_flags = SLOT_BELT
|
||||
throw_speed = 2
|
||||
throw_range = 9
|
||||
|
||||
@@ -12,7 +12,7 @@ BREATH ANALYZER
|
||||
desc = "A hand-held body scanner able to distinguish vital signs of the subject."
|
||||
icon_state = "health"
|
||||
item_state = "healthanalyzer"
|
||||
flags = CONDUCT
|
||||
obj_flags = OBJ_FLAG_CONDUCTABLE
|
||||
slot_flags = SLOT_BELT
|
||||
throwforce = 3
|
||||
w_class = ITEMSIZE_SMALL
|
||||
@@ -373,7 +373,7 @@ BREATH ANALYZER
|
||||
item_state = "analyzer"
|
||||
contained_sprite = TRUE
|
||||
w_class = ITEMSIZE_SMALL
|
||||
flags = CONDUCT
|
||||
obj_flags = OBJ_FLAG_CONDUCTABLE
|
||||
slot_flags = SLOT_BELT
|
||||
throwforce = 5
|
||||
throw_speed = 4
|
||||
@@ -407,7 +407,8 @@ BREATH ANALYZER
|
||||
icon_state = "spectrometer"
|
||||
item_state = "analyzer"
|
||||
w_class = ITEMSIZE_SMALL
|
||||
flags = CONDUCT | OPENCONTAINER
|
||||
atom_flags = ATOM_FLAG_OPEN_CONTAINER
|
||||
obj_flags = OBJ_FLAG_CONDUCTABLE
|
||||
slot_flags = SLOT_BELT
|
||||
throwforce = 5
|
||||
throw_speed = 4
|
||||
@@ -480,7 +481,7 @@ BREATH ANALYZER
|
||||
icon_state = "reagent_scanner"
|
||||
item_state = "analyzer"
|
||||
w_class = ITEMSIZE_SMALL
|
||||
flags = CONDUCT
|
||||
obj_flags = OBJ_FLAG_CONDUCTABLE
|
||||
slot_flags = SLOT_BELT
|
||||
throwforce = 5
|
||||
throw_speed = 4
|
||||
@@ -521,7 +522,7 @@ BREATH ANALYZER
|
||||
item_state = "analyzer"
|
||||
origin_tech = list(TECH_BIO = 1)
|
||||
w_class = ITEMSIZE_SMALL
|
||||
flags = CONDUCT
|
||||
obj_flags = OBJ_FLAG_CONDUCTABLE
|
||||
throwforce = 0
|
||||
throw_speed = 3
|
||||
throw_range = 7
|
||||
@@ -562,7 +563,7 @@ BREATH ANALYZER
|
||||
name = "price scanner"
|
||||
desc = "Using an up-to-date database of various costs and prices, this device estimates the market price of an item up to 0.001% accuracy."
|
||||
icon_state = "price_scanner"
|
||||
flags = NOBLUDGEON
|
||||
item_flags = ITEM_FLAG_NO_BLUDGEON
|
||||
slot_flags = SLOT_BELT
|
||||
w_class = ITEMSIZE_SMALL
|
||||
throwforce = 0
|
||||
@@ -584,7 +585,7 @@ BREATH ANALYZER
|
||||
icon_state = "breath_analyzer"
|
||||
item_state = "analyzer"
|
||||
w_class = ITEMSIZE_SMALL
|
||||
flags = CONDUCT
|
||||
obj_flags = OBJ_FLAG_CONDUCTABLE
|
||||
slot_flags = SLOT_BELT
|
||||
throwforce = 0
|
||||
throw_speed = 3
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
item_state = "nothing"
|
||||
layer = TURF_LAYER+0.2
|
||||
|
||||
flags = CONDUCT
|
||||
obj_flags = OBJ_FLAG_CONDUCTABLE
|
||||
force = 5.0
|
||||
w_class = ITEMSIZE_TINY
|
||||
slot_flags = SLOT_EARS
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
slot_flags = SLOT_BACK //you can carry it on your back if you want, but it won't do anything unless attached to suit storage
|
||||
|
||||
//copied from tank.dm
|
||||
flags = CONDUCT
|
||||
obj_flags = OBJ_FLAG_CONDUCTABLE
|
||||
force = 5.0
|
||||
throwforce = 10.0
|
||||
throw_speed = 1
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
var/list/timestamp = list()
|
||||
var/can_print = TRUE
|
||||
var/obj/item/computer_hardware/hard_drive/portable/portable_drive
|
||||
flags = CONDUCT
|
||||
obj_flags = OBJ_FLAG_CONDUCTABLE
|
||||
throwforce = 2
|
||||
throw_speed = 4
|
||||
throw_range = 20
|
||||
|
||||
@@ -22,7 +22,7 @@ effective or pretty fucking useless.
|
||||
w_class = ITEMSIZE_TINY
|
||||
throw_speed = 4
|
||||
throw_range = 10
|
||||
flags = CONDUCT
|
||||
obj_flags = OBJ_FLAG_CONDUCTABLE
|
||||
item_state = "electronic"
|
||||
origin_tech = list(TECH_MAGNET = 3, TECH_COMBAT = 3, TECH_ILLEGAL = 3)
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
var/mob/attacher = null
|
||||
var/valve_open = 0
|
||||
var/toggle = 1
|
||||
flags = PROXMOVE
|
||||
movable_flags = MOVABLE_FLAG_PROXMOVE
|
||||
|
||||
/obj/item/device/transfer_valve/proc/process_activation(var/obj/item/device/D)
|
||||
|
||||
|
||||
@@ -358,7 +358,7 @@ Then check if it's true, if true return. This will stop the normal menu appearin
|
||||
desc = "A small device used for access restricted sites in the remote corners of the Extranet."
|
||||
icon = 'icons/obj/radio.dmi'
|
||||
icon_state = "radio"
|
||||
flags = CONDUCT
|
||||
obj_flags = OBJ_FLAG_CONDUCTABLE
|
||||
w_class = ITEMSIZE_SMALL
|
||||
|
||||
/obj/item/device/contract_uplink/Initialize(var/mapload, var/mind)
|
||||
@@ -403,7 +403,7 @@ Then check if it's true, if true return. This will stop the normal menu appearin
|
||||
desc_antag = "This is hidden uplink! Use it in-hand to access the uplink interface and spend telecrystals to beam in items. Make sure to do it in private, it could look suspicious!"
|
||||
icon = 'icons/obj/radio.dmi'
|
||||
icon_state = "radio"
|
||||
flags = CONDUCT
|
||||
obj_flags = OBJ_FLAG_CONDUCTABLE
|
||||
w_class = ITEMSIZE_SMALL
|
||||
|
||||
///Amount of starting telecrystals. Defaults to default amount if not set.
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
icon_state = "voice0"
|
||||
item_state = "flashbang" //looks exactly like a flash (and nothing like a flashbang)
|
||||
w_class = ITEMSIZE_TINY
|
||||
flags = CONDUCT
|
||||
obj_flags = OBJ_FLAG_CONDUCTABLE
|
||||
|
||||
var/use_message = "Halt! Security!"
|
||||
var/spamcheck = 0
|
||||
|
||||
Reference in New Issue
Block a user