mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 04:51:32 +01:00
makes w_class use defines (#9848)
This commit is contained in:
@@ -238,7 +238,7 @@ research holder datum.
|
||||
icon = 'icons/obj/cloning.dmi'
|
||||
icon_state = "datadisk2"
|
||||
item_state = "card-id"
|
||||
w_class = 2.0
|
||||
w_class = ITEMSIZE_SMALL
|
||||
matter = list(DEFAULT_WALL_MATERIAL = 30, MATERIAL_GLASS = 10)
|
||||
var/datum/tech/stored
|
||||
|
||||
@@ -262,7 +262,7 @@ research holder datum.
|
||||
icon = 'icons/obj/cloning.dmi'
|
||||
icon_state = "datadisk2"
|
||||
item_state = "card-id"
|
||||
w_class = 2.0
|
||||
w_class = ITEMSIZE_SMALL
|
||||
matter = list(DEFAULT_WALL_MATERIAL = 30, MATERIAL_GLASS = 10)
|
||||
var/datum/design/blueprint
|
||||
|
||||
@@ -278,4 +278,4 @@ research holder datum.
|
||||
to_chat(user, FONT_SMALL("It is storing the following design:"))
|
||||
to_chat(user, FONT_SMALL(" - [blueprint.name]"))
|
||||
else
|
||||
to_chat(user, FONT_SMALL("It doesn't have any blueprint stored."))
|
||||
to_chat(user, FONT_SMALL("It doesn't have any blueprint stored."))
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
icon = 'icons/obj/device.dmi'
|
||||
icon_state = "solution_tray"
|
||||
matter = list(MATERIAL_GLASS = 5)
|
||||
w_class = 2.0
|
||||
w_class = ITEMSIZE_SMALL
|
||||
amount_per_transfer_from_this = 1
|
||||
possible_transfer_amounts = list(1, 2)
|
||||
volume = 2
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
icon = 'icons/obj/xenoarchaeology.dmi'
|
||||
icon_state = "sliver1" //0-4
|
||||
randpixel = 8
|
||||
w_class = 1
|
||||
w_class = ITEMSIZE_TINY
|
||||
sharp = 1
|
||||
//item_state = "electronic"
|
||||
var/source_rock = "/turf/simulated/mineral/"
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
icon = 'icons/obj/device.dmi'
|
||||
icon_state = "locator"
|
||||
item_state = "locator"
|
||||
w_class = 2
|
||||
w_class = ITEMSIZE_SMALL
|
||||
|
||||
/obj/item/device/gps/attack_self(var/mob/user as mob)
|
||||
var/turf/T = get_turf(src)
|
||||
@@ -19,7 +19,7 @@
|
||||
desc = "A coiled metallic tape used to check dimensions and lengths."
|
||||
icon = 'icons/obj/xenoarchaeology.dmi'
|
||||
icon_state = "measuring"
|
||||
w_class = 2
|
||||
w_class = ITEMSIZE_SMALL
|
||||
|
||||
//todo: dig site tape
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
icon = 'icons/obj/mining.dmi'
|
||||
icon_state = "satchel"
|
||||
slot_flags = SLOT_BELT | SLOT_POCKET
|
||||
w_class = 3
|
||||
w_class = ITEMSIZE_NORMAL
|
||||
max_storage_space = 100
|
||||
max_w_class = 3
|
||||
max_w_class = ITEMSIZE_NORMAL
|
||||
can_hold = list(/obj/item/fossil)
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
icon = 'icons/obj/xenoarchaeology.dmi'
|
||||
icon_state = "flashgun"
|
||||
item_state = "lampgreen"
|
||||
w_class = 2.0
|
||||
w_class = ITEMSIZE_SMALL
|
||||
slot_flags = SLOT_BELT
|
||||
var/nearest_artifact_id = "unknown"
|
||||
var/nearest_artifact_distance = -1
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
icon = 'icons/obj/device.dmi'
|
||||
icon_state = "sampler0"
|
||||
item_state = "screwdriver_brown"
|
||||
w_class = 1.0
|
||||
w_class = ITEMSIZE_TINY
|
||||
//slot_flags = SLOT_BELT
|
||||
var/sampled_turf = ""
|
||||
var/num_stored_bags = 10
|
||||
@@ -74,7 +74,7 @@
|
||||
var/image/I = image("icon"=R, "layer"=FLOAT_LAYER)
|
||||
filled_bag.add_overlay(I)
|
||||
filled_bag.add_overlay("evidence")
|
||||
filled_bag.w_class = 1
|
||||
filled_bag.w_class = ITEMSIZE_TINY
|
||||
|
||||
to_chat(user, "<span class='notice'>You take a core sample of the [item_to_sample].</span>")
|
||||
else
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
desc = "Used to check spatial depth and density of rock outcroppings."
|
||||
icon_state = "depthscanner"
|
||||
item_state = "analyzer"
|
||||
w_class = 2.0
|
||||
w_class = ITEMSIZE_SMALL
|
||||
slot_flags = SLOT_BELT
|
||||
var/list/positive_locations = list()
|
||||
var/datum/depth_scan/current
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
excavation_amount = 0.5
|
||||
drill_sound = 'sound/weapons/thudswoosh.ogg'
|
||||
drill_verb = "brushing"
|
||||
w_class = 2
|
||||
w_class = ITEMSIZE_SMALL
|
||||
can_wield = 0
|
||||
|
||||
action_button_name = null
|
||||
@@ -33,7 +33,7 @@
|
||||
excavation_amount = 1
|
||||
drill_sound = 'sound/items/screwdriver.ogg'
|
||||
drill_verb = "delicately picking"
|
||||
w_class = 2
|
||||
w_class = ITEMSIZE_SMALL
|
||||
can_wield = 0
|
||||
|
||||
action_button_name = null
|
||||
@@ -51,7 +51,7 @@
|
||||
excavation_amount = 2
|
||||
drill_sound = 'sound/items/screwdriver.ogg'
|
||||
drill_verb = "delicately picking"
|
||||
w_class = 2
|
||||
w_class = ITEMSIZE_SMALL
|
||||
can_wield = 0
|
||||
|
||||
action_button_name = null
|
||||
@@ -69,7 +69,7 @@
|
||||
excavation_amount = 3
|
||||
drill_sound = 'sound/items/screwdriver.ogg'
|
||||
drill_verb = "delicately picking"
|
||||
w_class = 2
|
||||
w_class = ITEMSIZE_SMALL
|
||||
can_wield = 0
|
||||
|
||||
action_button_name = null
|
||||
@@ -87,7 +87,7 @@
|
||||
excavation_amount = 4
|
||||
drill_sound = 'sound/items/screwdriver.ogg'
|
||||
drill_verb = "delicately picking"
|
||||
w_class = 2
|
||||
w_class = ITEMSIZE_SMALL
|
||||
can_wield = 0
|
||||
|
||||
action_button_name = null
|
||||
@@ -105,7 +105,7 @@
|
||||
excavation_amount = 5
|
||||
drill_sound = 'sound/items/screwdriver.ogg'
|
||||
drill_verb = "delicately picking"
|
||||
w_class = 2
|
||||
w_class = ITEMSIZE_SMALL
|
||||
can_wield = 0
|
||||
|
||||
action_button_name = null
|
||||
@@ -123,7 +123,7 @@
|
||||
excavation_amount = 6
|
||||
drill_sound = 'sound/items/screwdriver.ogg'
|
||||
drill_verb = "delicately picking"
|
||||
w_class = 2
|
||||
w_class = ITEMSIZE_SMALL
|
||||
can_wield = 0
|
||||
|
||||
action_button_name = null
|
||||
@@ -141,7 +141,7 @@
|
||||
excavation_amount = 15
|
||||
drill_sound = /decl/sound_category/pickaxe_sound
|
||||
drill_verb = "clearing"
|
||||
w_class = 3
|
||||
w_class = ITEMSIZE_NORMAL
|
||||
can_wield = 0
|
||||
|
||||
action_button_name = null
|
||||
@@ -157,7 +157,7 @@
|
||||
item_state = "box"
|
||||
foldable = /obj/item/stack/material/cardboard //BubbleWrap
|
||||
storage_slots = 7
|
||||
w_class = 2
|
||||
w_class = ITEMSIZE_SMALL
|
||||
can_hold = list(/obj/item/pickaxe/brush,\
|
||||
/obj/item/pickaxe/one_pick,\
|
||||
/obj/item/pickaxe/two_pick,\
|
||||
@@ -166,7 +166,7 @@
|
||||
/obj/item/pickaxe/five_pick,\
|
||||
/obj/item/pickaxe/six_pick)
|
||||
max_storage_space = 18
|
||||
max_w_class = 3
|
||||
max_w_class = ITEMSIZE_NORMAL
|
||||
use_to_pickup = 1 // for picking up broken bulbs, not that most people will try
|
||||
|
||||
/obj/item/storage/box/excavation/fill()
|
||||
|
||||
Reference in New Issue
Block a user