mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-30 16:38:22 +01:00
makes w_class use defines (#9848)
This commit is contained in:
@@ -10,7 +10,7 @@ var/global/list/obj/item/device/pda/PDAs = list()
|
||||
icon = 'icons/obj/pda.dmi'
|
||||
icon_state = "pda"
|
||||
item_state = "electronic"
|
||||
w_class = 2.0
|
||||
w_class = ITEMSIZE_SMALL
|
||||
slot_flags = SLOT_ID | SLOT_BELT
|
||||
uv_intensity = 15
|
||||
drop_sound = 'sound/items/drop/disk.ogg'
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
icon = 'icons/obj/cartridge.dmi'
|
||||
icon_state = "cart"
|
||||
item_state = "electronic"
|
||||
w_class = 1
|
||||
w_class = ITEMSIZE_TINY
|
||||
drop_sound = 'sound/items/drop/component.ogg'
|
||||
pickup_sound = 'sound/items/pickup/component.ogg'
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
icon = 'icons/obj/pai.dmi'
|
||||
icon_state = "aicard" // aicard-full
|
||||
item_state = "electronic"
|
||||
w_class = 2.0
|
||||
w_class = ITEMSIZE_SMALL
|
||||
slot_flags = SLOT_BELT
|
||||
var/flush = null
|
||||
origin_tech = list(TECH_DATA = 4, TECH_MATERIAL = 4)
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
flags = CONDUCT
|
||||
force = 5.0
|
||||
w_class = 2.0
|
||||
w_class = ITEMSIZE_SMALL
|
||||
throwforce = 5.0
|
||||
throw_range = 15
|
||||
throw_speed = 3
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/obj/item/device/dociler
|
||||
name = "dociler"
|
||||
desc = "A complex single use recharging injector that spreads a complex neurological serum that makes animals docile and friendly. Somewhat."
|
||||
w_class = 3
|
||||
w_class = ITEMSIZE_NORMAL
|
||||
origin_tech = list(TECH_BIO = 5, TECH_MATERIAL = 2)
|
||||
// To-do track down where the hell this sprite went?
|
||||
icon = 'icons/obj/guns/decloner.dmi'
|
||||
@@ -65,4 +65,4 @@
|
||||
/obj/item/device/dociler/proc/do_recharge()
|
||||
loaded = 1
|
||||
icon_state = "animal_tagger1"
|
||||
src.visible_message("\The [src] beeps, refilling itself.")
|
||||
src.visible_message("\The [src] beeps, refilling itself.")
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
icon_state = "flash"
|
||||
item_state = "flash"
|
||||
throwforce = 5
|
||||
w_class = 2
|
||||
w_class = ITEMSIZE_SMALL
|
||||
throw_speed = 4
|
||||
throw_range = 10
|
||||
flags = CONDUCT
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
desc = "The practical paperwork replacement for the officer on the go."
|
||||
icon_state = "holowarrant"
|
||||
throwforce = 5
|
||||
w_class = 2
|
||||
w_class = ITEMSIZE_SMALL
|
||||
throw_speed = 4
|
||||
throw_range = 10
|
||||
flags = CONDUCT
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
item_state = "pen"
|
||||
var/pointer_icon_state
|
||||
slot_flags = SLOT_BELT
|
||||
w_class = 1
|
||||
w_class = ITEMSIZE_TINY
|
||||
var/turf/pointer_loc
|
||||
var/obj/item/stock_parts/micro_laser/diode //cant use the laser without it
|
||||
|
||||
@@ -101,7 +101,7 @@
|
||||
C.eye_blind = 3
|
||||
else
|
||||
outmsg = "<span class='notice'>You fail to blind [C] with [src]</span>"
|
||||
|
||||
|
||||
//laser pointer image
|
||||
icon_state = "pointer_[pointer_icon_state]"
|
||||
var/list/showto = list()
|
||||
@@ -125,4 +125,4 @@
|
||||
if (diode)
|
||||
QDEL_NULL(diode)
|
||||
|
||||
. = ..()
|
||||
. = ..()
|
||||
|
||||
@@ -134,7 +134,7 @@
|
||||
flags = CONDUCT
|
||||
slot_flags = SLOT_EARS
|
||||
brightness_on = 2
|
||||
w_class = 1
|
||||
w_class = ITEMSIZE_TINY
|
||||
light_wedge = LIGHT_OMNI
|
||||
|
||||
/obj/item/device/flashlight/drone
|
||||
@@ -144,7 +144,7 @@
|
||||
item_state = ""
|
||||
flags = CONDUCT
|
||||
brightness_on = 2
|
||||
w_class = 1
|
||||
w_class = ITEMSIZE_TINY
|
||||
|
||||
/obj/item/device/flashlight/heavy
|
||||
name = "heavy duty flashlight"
|
||||
@@ -152,7 +152,7 @@
|
||||
icon_state = "heavyflashlight"
|
||||
item_state = "heavyflashlight"
|
||||
brightness_on = 4
|
||||
w_class = 3
|
||||
w_class = ITEMSIZE_NORMAL
|
||||
uv_intensity = 60
|
||||
matter = list(DEFAULT_WALL_MATERIAL = 100, MATERIAL_GLASS = 70)
|
||||
light_wedge = LIGHT_SEMI
|
||||
@@ -164,7 +164,7 @@
|
||||
item_state = "maglight"
|
||||
force = 10
|
||||
brightness_on = 5
|
||||
w_class = 3
|
||||
w_class = ITEMSIZE_NORMAL
|
||||
uv_intensity = 70
|
||||
attack_verb = list("slammed", "whacked", "bashed", "thunked", "battered", "bludgeoned", "thrashed")
|
||||
matter = list(DEFAULT_WALL_MATERIAL = 200, MATERIAL_GLASS = 100)
|
||||
@@ -178,7 +178,7 @@
|
||||
icon = 'icons/obj/lighting.dmi'
|
||||
icon_state = "floor1" //not a slime extract sprite but... something close enough!
|
||||
item_state = "slime"
|
||||
w_class = 1
|
||||
w_class = ITEMSIZE_TINY
|
||||
brightness_on = 6
|
||||
uv_intensity = 200
|
||||
on = 1 //Bio-luminesence has one setting, on.
|
||||
@@ -199,6 +199,6 @@
|
||||
flags = CONDUCT
|
||||
slot_flags = SLOT_HEAD | SLOT_EARS
|
||||
brightness_on = 2
|
||||
w_class = 1
|
||||
w_class = ITEMSIZE_TINY
|
||||
light_wedge = LIGHT_WIDE
|
||||
body_parts_covered = 0
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
// Copied from debugger.dm
|
||||
flags = CONDUCT
|
||||
force = 5.0
|
||||
w_class = 2.0
|
||||
w_class = ITEMSIZE_SMALL
|
||||
throwforce = 5.0
|
||||
throw_range = 15
|
||||
throw_speed = 3
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
icon = 'icons/obj/magnetic_locks.dmi'
|
||||
icon_state = "inactive_CENTCOM"
|
||||
//icon_state = "inactive"
|
||||
w_class = 3
|
||||
w_class = ITEMSIZE_NORMAL
|
||||
req_access = list(access_cent_specops)
|
||||
health = 150
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
/obj/item/device/magnetic_lock/security/legion
|
||||
name = "legion magnetic door lock"
|
||||
req_access = (access_legion)
|
||||
w_class = 2
|
||||
w_class = ITEMSIZE_SMALL
|
||||
|
||||
/obj/item/device/magnetic_lock/security/legion/Initialize()
|
||||
..()
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
desc = "A miniature machine that tracks suit sensors across the station."
|
||||
icon = 'icons/obj/device.dmi'
|
||||
icon_state = "scanner"
|
||||
w_class = 2
|
||||
w_class = ITEMSIZE_SMALL
|
||||
slot_flags = SLOT_BELT
|
||||
var/datum/nano_module/crew_monitor/crew_monitor
|
||||
|
||||
@@ -17,4 +17,4 @@
|
||||
return ..()
|
||||
|
||||
/obj/item/device/handheld_medical/attack_self(mob/user)
|
||||
crew_monitor.ui_interact(user)
|
||||
crew_monitor.ui_interact(user)
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
desc = "A device used to project your voice. Loudly."
|
||||
icon_state = "megaphone"
|
||||
item_state = "megaphone"
|
||||
w_class = 2.0
|
||||
w_class = ITEMSIZE_SMALL
|
||||
flags = CONDUCT
|
||||
|
||||
var/spamcheck = 0
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
)
|
||||
flags = CONDUCT
|
||||
force = 5.0
|
||||
w_class = 2.0
|
||||
w_class = ITEMSIZE_SMALL
|
||||
throwforce = 5.0
|
||||
throw_range = 15
|
||||
throw_speed = 3
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
icon = 'icons/obj/device.dmi'
|
||||
icon_state = "pin_extractor"
|
||||
item_state = "pin_extractor"
|
||||
w_class = 2
|
||||
w_class = ITEMSIZE_SMALL
|
||||
flags = CONDUCT
|
||||
action_button_name = "Toggle extractor"
|
||||
var/on = 0
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
desc = "A nulling power sink which drains energy from electrical systems."
|
||||
icon_state = "powersink0"
|
||||
item_state = "powersink0"
|
||||
w_class = 4.0
|
||||
w_class = ITEMSIZE_LARGE
|
||||
flags = CONDUCT
|
||||
throwforce = 5
|
||||
throw_speed = 1
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
frequency = 1449
|
||||
flags = CONDUCT
|
||||
slot_flags = SLOT_BACK
|
||||
w_class = 5.0
|
||||
w_class = ITEMSIZE_HUGE
|
||||
|
||||
matter = list(DEFAULT_WALL_MATERIAL = 10000, MATERIAL_GLASS = 2500)
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
desc = "Talk through this."
|
||||
icon_state = "intercom"
|
||||
anchored = 1
|
||||
w_class = 4.0
|
||||
w_class = ITEMSIZE_LARGE
|
||||
canhear_range = 2
|
||||
flags = CONDUCT | NOBLOODY
|
||||
var/number = 0
|
||||
|
||||
@@ -45,7 +45,7 @@ var/global/list/default_medbay_channels = list(
|
||||
slot_flags = SLOT_BELT
|
||||
throw_speed = 2
|
||||
throw_range = 9
|
||||
w_class = 2
|
||||
w_class = ITEMSIZE_SMALL
|
||||
matter = list(DEFAULT_WALL_MATERIAL = 75, MATERIAL_GLASS = 25)
|
||||
var/const/FREQ_LISTENING = TRUE
|
||||
var/list/internal_channels
|
||||
|
||||
@@ -14,7 +14,7 @@ proc/within_jamming_range(var/atom/test) // tests if an object is near a radio j
|
||||
desc = "A small, inconspicious looking item with an 'ON/OFF' toggle."
|
||||
icon = 'icons/obj/device.dmi'
|
||||
icon_state = "shield0"
|
||||
w_class = 2
|
||||
w_class = ITEMSIZE_SMALL
|
||||
|
||||
var/active = 0
|
||||
var/radius = 7
|
||||
|
||||
@@ -15,7 +15,7 @@ BREATH ANALYZER
|
||||
flags = CONDUCT
|
||||
slot_flags = SLOT_BELT
|
||||
throwforce = 3
|
||||
w_class = 2.0
|
||||
w_class = ITEMSIZE_SMALL
|
||||
throw_speed = 5
|
||||
throw_range = 10
|
||||
matter = list(DEFAULT_WALL_MATERIAL = 200)
|
||||
@@ -302,7 +302,7 @@ BREATH ANALYZER
|
||||
desc = "A hand-held environmental scanner which reports current gas levels."
|
||||
icon_state = "atmos"
|
||||
item_state = "analyzer"
|
||||
w_class = 2.0
|
||||
w_class = ITEMSIZE_SMALL
|
||||
flags = CONDUCT
|
||||
slot_flags = SLOT_BELT
|
||||
throwforce = 5
|
||||
@@ -336,7 +336,7 @@ BREATH ANALYZER
|
||||
desc = "A hand-held mass spectrometer which identifies trace chemicals in a blood sample."
|
||||
icon_state = "spectrometer"
|
||||
item_state = "analyzer"
|
||||
w_class = 2.0
|
||||
w_class = ITEMSIZE_SMALL
|
||||
flags = CONDUCT | OPENCONTAINER
|
||||
slot_flags = SLOT_BELT
|
||||
throwforce = 5
|
||||
@@ -398,7 +398,7 @@ BREATH ANALYZER
|
||||
desc = "A hand-held reagent scanner which identifies chemical agents."
|
||||
icon_state = "spectrometer"
|
||||
item_state = "analyzer"
|
||||
w_class = 2.0
|
||||
w_class = ITEMSIZE_SMALL
|
||||
flags = CONDUCT
|
||||
slot_flags = SLOT_BELT
|
||||
throwforce = 5
|
||||
@@ -447,7 +447,7 @@ BREATH ANALYZER
|
||||
icon_state = "adv_spectrometer"
|
||||
item_state = "analyzer"
|
||||
origin_tech = list(TECH_BIO = 1)
|
||||
w_class = 2.0
|
||||
w_class = ITEMSIZE_SMALL
|
||||
flags = CONDUCT
|
||||
throwforce = 0
|
||||
throw_speed = 3
|
||||
@@ -490,7 +490,7 @@ BREATH ANALYZER
|
||||
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"
|
||||
slot_flags = SLOT_BELT
|
||||
w_class = 2
|
||||
w_class = ITEMSIZE_SMALL
|
||||
throwforce = 0
|
||||
throw_speed = 3
|
||||
throw_range = 3
|
||||
@@ -509,7 +509,7 @@ BREATH ANALYZER
|
||||
desc = "A hand-held breath analyzer that provides a robust amount of information about the subject's repository system."
|
||||
icon_state = "breath_analyzer"
|
||||
item_state = "analyzer"
|
||||
w_class = 2.0
|
||||
w_class = ITEMSIZE_SMALL
|
||||
flags = CONDUCT
|
||||
slot_flags = SLOT_BELT
|
||||
throwforce = 0
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
flags = CONDUCT
|
||||
force = 5.0
|
||||
w_class = 1.0
|
||||
w_class = ITEMSIZE_TINY
|
||||
slot_flags = SLOT_EARS
|
||||
throwforce = 5.0
|
||||
throw_range = 15
|
||||
@@ -56,7 +56,7 @@
|
||||
icon_state = "pda"
|
||||
item_state = "electronic"
|
||||
|
||||
w_class = 2.0
|
||||
w_class = ITEMSIZE_SMALL
|
||||
|
||||
origin_tech = list(TECH_DATA = 1, TECH_ENGINEERING = 1, TECH_ILLEGAL = 3)
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/obj/item/device/suit_cooling_unit
|
||||
name = "portable suit cooling unit"
|
||||
desc = "A portable heat sink and liquid cooled radiator that can be hooked up to a space suit's existing temperature controls to provide industrial levels of cooling."
|
||||
w_class = 4
|
||||
w_class = ITEMSIZE_LARGE
|
||||
icon = 'icons/obj/suitcooler.dmi'
|
||||
icon_state = "suitcooler0"
|
||||
item_state = "coolingpack"
|
||||
@@ -223,4 +223,4 @@
|
||||
to_chat(user, SPAN_NOTICE("It doesn't have a power cell installed."))
|
||||
|
||||
/obj/item/device/suit_cooling_unit/no_cell
|
||||
celltype = null
|
||||
celltype = null
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
desc = "A terahertz-ray emitter and scanner used to detect underfloor objects such as cables and pipes."
|
||||
icon_state = "t-ray0"
|
||||
slot_flags = SLOT_BELT
|
||||
w_class = 2
|
||||
w_class = ITEMSIZE_SMALL
|
||||
item_state = "electronic"
|
||||
matter = list(DEFAULT_WALL_MATERIAL = 150)
|
||||
origin_tech = list(TECH_MAGNET = 1, TECH_ENGINEERING = 1)
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
desc = "Used for tagging animals to be identified by a ear tag."
|
||||
icon_state = "animal_tagger0"
|
||||
force = 5.0
|
||||
w_class = 2.0
|
||||
w_class = ITEMSIZE_SMALL
|
||||
throwforce = 5.0
|
||||
throw_range = 15
|
||||
throw_speed = 3
|
||||
|
||||
@@ -19,7 +19,7 @@ effective or pretty fucking useless.
|
||||
desc = "A strange device with twin antennas."
|
||||
icon_state = "batterer"
|
||||
throwforce = 5
|
||||
w_class = 1.0
|
||||
w_class = ITEMSIZE_TINY
|
||||
throw_speed = 4
|
||||
throw_range = 10
|
||||
flags = CONDUCT
|
||||
|
||||
@@ -350,7 +350,7 @@ A list of items and costs is stored under the datum of every game mode, alongsid
|
||||
icon = 'icons/obj/radio.dmi'
|
||||
icon_state = "radio"
|
||||
flags = CONDUCT
|
||||
w_class = 2
|
||||
w_class = ITEMSIZE_SMALL
|
||||
|
||||
/obj/item/device/contract_uplink/New(var/loc, var/mind)
|
||||
..()
|
||||
@@ -369,7 +369,7 @@ A list of items and costs is stored under the datum of every game mode, alongsid
|
||||
icon = 'icons/obj/device.dmi'
|
||||
icon_state = "locator"
|
||||
desc_antag = "This device allows you to create a single central command report. It has only one use."
|
||||
w_class = 2
|
||||
w_class = ITEMSIZE_SMALL
|
||||
|
||||
/obj/item/device/announcer/attack_self(mob/user as mob)
|
||||
if(!player_is_antag(user.mind))
|
||||
@@ -421,4 +421,4 @@ A list of items and costs is stored under the datum of every game mode, alongsid
|
||||
name = "station bounced radio"
|
||||
desc = null // SBRs have no desc
|
||||
icon_state = "walkietalkie" // more incognito
|
||||
starting_telecrystals = DEFAULT_TELECRYSTAL_AMOUNT * 2
|
||||
starting_telecrystals = DEFAULT_TELECRYSTAL_AMOUNT * 2
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
desc = "Used by obese officers to save their breath for running."
|
||||
icon_state = "voice0"
|
||||
item_state = "flashbang" //looks exactly like a flash (and nothing like a flashbang)
|
||||
w_class = 1.0
|
||||
w_class = ITEMSIZE_TINY
|
||||
flags = CONDUCT
|
||||
|
||||
var/use_message = "Halt! Security!"
|
||||
|
||||
Reference in New Issue
Block a user