makes w_class use defines (#9848)

This commit is contained in:
Wowzewow (Wezzy)
2020-09-07 04:37:56 +08:00
committed by GitHub
parent d90e7f199b
commit 307c214541
304 changed files with 807 additions and 765 deletions
+1
View File
@@ -341,6 +341,7 @@
#define ITEMSIZE_NORMAL 3
#define ITEMSIZE_LARGE 4
#define ITEMSIZE_HUGE 5
#define ITEMSIZE_IMMENSE 6
// getFlatIcon function altering defines
#define GFI_ROTATION_DEFAULT 0 //Don't do anything special
+1 -1
View File
@@ -71,7 +71,7 @@
item_state = "beachball"
density = 0
anchored = 0
w_class = 4
w_class = ITEMSIZE_LARGE
force = 0.0
throwforce = 0.0
throw_speed = 1
+13 -13
View File
@@ -8,7 +8,7 @@
throwforce = 2.0
throw_speed = 1
throw_range = 4
w_class = 2
w_class = ITEMSIZE_SMALL
attack_verb = list("called", "rang")
hitsound = 'sound/weapons/ring.ogg'
@@ -22,7 +22,7 @@
anchored = 0.0
var/stored_matter = 0
var/mode = 1
w_class = 3.0
w_class = ITEMSIZE_NORMAL
/obj/item/bikehorn
name = "bike horn"
@@ -31,7 +31,7 @@
icon_state = "bike_horn"
item_state = "bike_horn"
throwforce = 3
w_class = 2
w_class = ITEMSIZE_SMALL
throw_speed = 3
throw_range = 15
attack_verb = list("HONKED")
@@ -53,7 +53,7 @@
flags = CONDUCT
force = 10
throwforce = 7.0
w_class = 4
w_class = ITEMSIZE_LARGE
matter = list(DEFAULT_WALL_MATERIAL = 50)
attack_verb = list("bludgeoned", "whacked", "disciplined", "thrashed")
@@ -299,7 +299,7 @@
var/size = 3.0
var/obj/item/gift = null
item_state = "gift"
w_class = 4.0
w_class = ITEMSIZE_LARGE
/obj/item/gift/random_pixel/Initialize()
pixel_x = rand(-16,16)
@@ -313,7 +313,7 @@
icon_state = "handcuff"
flags = CONDUCT
throwforce = 0
w_class = 3.0
w_class = ITEMSIZE_NORMAL
origin_tech = list(TECH_MATERIAL = 1)
var/breakouttime = 300 //Deciseconds = 30s = 0.5 minute
@@ -331,7 +331,7 @@
slot_flags = SLOT_BELT
item_state = "radio"
throwforce = 5
w_class = 2.0
w_class = ITEMSIZE_SMALL
throw_speed = 4
throw_range = 20
matter = list(DEFAULT_WALL_MATERIAL = 100)
@@ -346,7 +346,7 @@
throwforce = 5.0
throw_speed = 1
throw_range = 5
w_class = 2.0
w_class = ITEMSIZE_SMALL
attack_verb = list("bludgeoned", "whacked", "disciplined")
/obj/item/staff/broom
@@ -372,12 +372,12 @@
throwforce = 5.0
throw_speed = 1
throw_range = 5
w_class = 2.0
w_class = ITEMSIZE_SMALL
/obj/item/module
icon = 'icons/obj/module.dmi'
icon_state = "std_mod"
w_class = 2.0
w_class = ITEMSIZE_SMALL
item_state = "electronic"
flags = CONDUCT
var/mtype = 1 // 1=electronic 2=hardware
@@ -419,7 +419,7 @@
name = "camera bug"
icon = 'icons/obj/device.dmi'
icon_state = "flash"
w_class = 1.0
w_class = ITEMSIZE_TINY
item_state = "electronic"
throw_speed = 4
throw_range = 20
@@ -480,7 +480,7 @@
slot_l_hand_str = 'icons/mob/items/lefthand_device.dmi',
slot_r_hand_str = 'icons/mob/items/righthand_device.dmi'
)
w_class = 5
w_class = ITEMSIZE_HUGE
can_hold = list(/obj/item/stock_parts,/obj/item/reagent_containers/glass/beaker)
storage_slots = 50
use_to_pickup = 1
@@ -488,7 +488,7 @@
allow_quick_empty = 1
collection_mode = 1
display_contents_with_number = 1
max_w_class = 3
max_w_class = ITEMSIZE_NORMAL
max_storage_space = 100
/obj/item/ectoplasm
+2 -2
View File
@@ -9,7 +9,7 @@
/obj/item/antag_spawner
throw_speed = 1
throw_range = 5
w_class = 1.0
w_class = ITEMSIZE_TINY
var/uses = 1
/obj/item/antag_spawner/proc/equip_antag(mob/target as mob)
@@ -39,4 +39,4 @@
SSghostroles.add_spawn_atom("syndiborg", F)
var/area/A = get_area(src)
if(A)
say_dead_direct("A syndicate cyborg has started its boot process in [A.name]! Spawn in as it by using the ghost spawner menu in the ghost tab, and try to be good!")
say_dead_direct("A syndicate cyborg has started its boot process in [A.name]! Spawn in as it by using the ghost spawner menu in the ghost tab, and try to be good!")
@@ -5,7 +5,7 @@
icon_state = "arm_blade"
item_state = "arm_blade"
contained_sprite = TRUE
w_class = 4
w_class = ITEMSIZE_LARGE
force = 30
sharp = TRUE
edge = TRUE
@@ -103,7 +103,7 @@
host.embedded -= src
host.drop_from_inventory(src)
QDEL_IN(src, 1)
/obj/item/shield/riot/changeling/get_block_chance(mob/user, var/damage, atom/damage_source = null, mob/attacker = null)
if(istype(damage_source, /obj/item/projectile))
var/obj/item/projectile/P = damage_source
@@ -120,4 +120,4 @@
sharp = TRUE
edge = FALSE
throwforce = 5
w_class = 2
w_class = ITEMSIZE_SMALL
+1 -1
View File
@@ -6,8 +6,8 @@
icon_state = "cultblade"
item_state = "cultblade"
contained_sprite = TRUE
w_class = 4
force = 25
w_class = ITEMSIZE_LARGE
throwforce = 10
slot_flags = SLOT_BELT
edge = TRUE
+3 -3
View File
@@ -5,7 +5,7 @@
item_state = "tome"
throw_speed = 1
throw_range = 5
w_class = 2.0
w_class = ITEMSIZE_SMALL
unique = TRUE
slot_flags = SLOT_BELT
@@ -98,7 +98,7 @@
var/area/A = get_area(scribe)
if(use_check_and_message(scribe))
return
//prevents using multiple dialogs to layer runes.
if(locate(/obj/effect/rune) in get_turf(scribe)) //This is check is done twice. once when choosing to scribe a rune, once here
to_chat(scribe, SPAN_WARNING("There is already a rune in this location."))
@@ -123,4 +123,4 @@
to_chat(user, "The scriptures of Nar-Sie, The One Who Sees, The Geometer of Blood. Contains the details of every ritual his followers could think of. Most of these are useless, though.")
/obj/item/book/tome/cultify()
return
return
+1 -1
View File
@@ -4,7 +4,7 @@
icon_state = "pinoff"
flags = CONDUCT
slot_flags = SLOT_BELT
w_class = 2.0
w_class = ITEMSIZE_SMALL
item_state = "electronic"
throw_speed = 4
throw_range = 20
+1 -1
View File
@@ -839,7 +839,7 @@ Just a object used in constructing air alarms
icon = 'icons/obj/doors/door_assembly.dmi'
icon_state = "door_electronics"
desc = "Looks like a circuit. Probably is."
w_class = 2.0
w_class = ITEMSIZE_SMALL
matter = list(DEFAULT_WALL_MATERIAL = 50, MATERIAL_GLASS = 50)
// Fire Alarms moved to firealarm.dm
+1 -1
View File
@@ -11,7 +11,7 @@
density = 1
var/health = 100.0
flags = CONDUCT
w_class = 5
w_class = ITEMSIZE_HUGE
var/valve_open = 0
var/release_pressure = ONE_ATMOSPHERE
+1 -1
View File
@@ -8,7 +8,7 @@
icon = 'icons/obj/atmos.dmi'
icon_state = "psiphon:0"
density = 1
w_class = 3
w_class = ITEMSIZE_NORMAL
var/on = 0
var/direction_out = 0 //0 = siphoning, 1 = releasing
+1 -1
View File
@@ -8,7 +8,7 @@
icon = 'icons/obj/atmos.dmi'
icon_state = "pscrubber:0"
density = 1
w_class = 3
w_class = ITEMSIZE_NORMAL
var/on = 0
var/volume_rate = 800
@@ -3,7 +3,7 @@
desc = "A pre-fabricated security camera kit, ready to be assembled and mounted to a surface."
icon = 'icons/obj/monitors.dmi'
icon_state = "cameracase"
w_class = 2
w_class = ITEMSIZE_SMALL
anchored = 0
matter = list(DEFAULT_WALL_MATERIAL = 700, MATERIAL_GLASS = 300)
+1 -1
View File
@@ -400,7 +400,7 @@
icon = 'icons/obj/cloning.dmi'
icon_state = "datadisk0" //Gosh I hope syndies don't mistake them for the nuke disk.
item_state = "card-id"
w_class = 2.0
w_class = ITEMSIZE_SMALL
var/datum/dna2/record/buf = null
var/read_only = 0 //Well,it's still a floppy disk
+2 -2
View File
@@ -487,7 +487,7 @@
desc = "A model spaceship, it looks like those used back in the day when travelling to Orion! It even has a miniature FX-293 reactor, which was renowned for its instability and tendency to explode..."
icon = 'icons/obj/toy.dmi'
icon_state = "ship"
w_class = 2
w_class = ITEMSIZE_SMALL
var/active = 0 //if the ship is on
/obj/item/orion_ship/examine(mob/user)
..()
@@ -534,4 +534,4 @@
#undef ORION_VIEW_MAIN
#undef ORION_VIEW_SUPPLIES
#undef ORION_VIEW_CREW
#undef ORION_VIEW_CREW
+4 -4
View File
@@ -291,7 +291,7 @@ for reference:
name = "legion barrier kit"
desc = "A quick assembly kit for deploying id-lockable barriers in the field. Most commonly seen used for crowd control by corporate security."
icon_state = "barrier_kit"
w_class = 2
w_class = ITEMSIZE_SMALL
kit_product = /obj/machinery/deployable/barrier/legion
/obj/item/deployable_kit/surgery_table
@@ -300,7 +300,7 @@ for reference:
icon = 'icons/obj/surgery.dmi'
icon_state = "table_deployable"
item_state = "table_parts"
w_class = 4
w_class = ITEMSIZE_LARGE
kit_product = /obj/machinery/optable
assembly_time = 20 SECONDS
@@ -325,7 +325,7 @@ for reference:
item_state = "table_parts"
drop_sound = 'sound/items/drop/axe.ogg'
pickup_sound = 'sound/items/pickup/axe.ogg'
w_class = 4
w_class = ITEMSIZE_LARGE
kit_product = /obj/machinery/porta_turret/legion
assembly_time = 15 SECONDS
@@ -335,7 +335,7 @@ for reference:
icon = 'icons/obj/storage.dmi'
icon_state = "inf_box"
item_state = "syringe_kit"
w_class = 3
w_class = ITEMSIZE_NORMAL
kit_product = /obj/machinery/iv_drip
assembly_time = 4 SECONDS
+1 -1
View File
@@ -285,7 +285,7 @@ Just a object used in constructing fire alarms
icon = 'icons/obj/doors/door_assembly.dmi'
icon_state = "door_electronics"
desc = "A circuit. It has a label on it, it says \"Can handle heat levels up to 40 degrees celsius!\""
w_class = 2.0
w_class = ITEMSIZE_SMALL
matter = list(DEFAULT_WALL_MATERIAL = 50, MATERIAL_GLASS = 50)
+1 -1
View File
@@ -96,7 +96,7 @@ Class Procs:
/obj/machinery
name = "machinery"
icon = 'icons/obj/stationobjs.dmi'
w_class = 10
w_class = ITEMSIZE_IMMENSE
layer = OBJ_LAYER - 0.01
var/stat = 0
+2 -2
View File
@@ -811,7 +811,7 @@ var/list/obj/machinery/newscaster/allCasters = list() //Global list that will co
desc = "An issue of The Griffon, the newspaper circulating aboard most stations."
icon = 'icons/obj/bureaucracy.dmi'
icon_state = "newspaper"
w_class = 2 //Let's make it fit in trashbags!
w_class = ITEMSIZE_SMALL //Let's make it fit in trashbags!
attack_verb = list("bapped")
var/screen = 0
var/pages = 0
@@ -988,7 +988,7 @@ obj/item/newspaper/attackby(obj/item/W as obj, mob/user as mob)
if(news_call)
for(var/mob/O in hearers(world.view-1, T))
O.show_message("<span class='newscaster'><EM>[src.name]</EM> beeps, \"[news_call]\"</span>",2)
if (!alert)
alert = 1
update_icon()
+1 -1
View File
@@ -396,7 +396,7 @@ var/bomb_set
desc = "Better keep this safe."
icon_state = "nucleardisk"
item_state = "card-id"
w_class = 1.0
w_class = ITEMSIZE_TINY
/obj/item/disk/nuclear/Initialize()
. = ..()
+2 -2
View File
@@ -63,7 +63,7 @@ Buildable meters
icon_state = "simple"
item_state = "buildpipe"
randpixel = 5
w_class = 3
w_class = ITEMSIZE_NORMAL
level = 2
obj_flags = OBJ_FLAG_ROTATABLE
@@ -1194,7 +1194,7 @@ Buildable meters
icon = 'icons/obj/pipe-item.dmi'
icon_state = "meter"
item_state = "buildpipe"
w_class = 4
w_class = ITEMSIZE_LARGE
/obj/item/pipe_meter/attackby(var/obj/item/W as obj, var/mob/user as mob)
..()
+1 -1
View File
@@ -14,7 +14,7 @@
throwforce = 10
throw_speed = 1
throw_range = 7
w_class = 3
w_class = ITEMSIZE_NORMAL
var/charges = 0
/obj/item/vending_refill/examine(mob/user)
+1 -1
View File
@@ -1,7 +1,7 @@
/obj/item
name = "item"
icon = 'icons/obj/items.dmi'
w_class = 3.0
w_class = ITEMSIZE_NORMAL
var/image/blood_overlay //this saves our blood splatter overlay, which will be processed not to go over the edges of the sprite
var/randpixel = 6
+2 -2
View File
@@ -4,7 +4,7 @@
desc = "Place her into an apiary so she can get busy."
icon = 'icons/obj/seeds.dmi'
icon_state = "vine2"
w_class = 1
w_class = ITEMSIZE_TINY
@@ -13,7 +13,7 @@
icon = 'icons/obj/apiary_bees_etc.dmi'
icon_state = "apiary_item"
item_state = "giftbag"
w_class = 5
w_class = ITEMSIZE_HUGE
/obj/item/beezeez
name = "bottle of BeezEez"
+1 -1
View File
@@ -5,7 +5,7 @@
desc = "A folded bag designed for the storage and transportation of cadavers."
icon = 'icons/obj/bodybag.dmi'
icon_state = "bodybag_folded"
w_class = 2.0
w_class = ITEMSIZE_SMALL
drop_sound = 'sound/items/drop/cloth.ogg'
pickup_sound = 'sound/items/pickup/cloth.ogg'
+1 -1
View File
@@ -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'
+1 -1
View File
@@ -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'
+1 -1
View File
@@ -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
+2 -2
View File
@@ -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.")
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+7 -7
View File
@@ -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
+2 -2
View File
@@ -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
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -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
+3 -3
View File
@@ -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
+1 -1
View File
@@ -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!"
+2 -2
View File
@@ -5,7 +5,7 @@
icon = 'icons/obj/toy.dmi'
icon_state = "eightball"
w_class = 1
w_class = ITEMSIZE_TINY
var/shaking = FALSE
var/on_cooldown = FALSE
@@ -133,4 +133,4 @@
fixed_answer = pick(possible_answers)
/obj/item/eightball/broken/get_answer()
return fixed_answer
return fixed_answer
+1 -1
View File
@@ -3,7 +3,7 @@
desc = "A glass jar. You can remove the lid and use it as a reagent container."
icon = 'icons/obj/drinks.dmi'
icon_state = "jar_lid"
w_class = 2
w_class = ITEMSIZE_SMALL
matter = list(MATERIAL_GLASS = 200)
flags = NOBLUDGEON
var/list/accept_mobs = list(/mob/living/simple_animal/lizard, /mob/living/simple_animal/rat)
+1 -1
View File
@@ -5,7 +5,7 @@
item_state = "lgloves"
force = 0
throwforce = 0
w_class = 2.0
w_class = ITEMSIZE_SMALL
throw_speed = 1
throw_range = 15
var/state
+2 -2
View File
@@ -3,7 +3,7 @@
desc = "An antique and delicate looking instrument used to study the stars."
icon = 'icons/obj/skrell_items.dmi'
icon_state = "starscope"
w_class = 1
w_class = ITEMSIZE_TINY
matter = list(MATERIAL_GLASS = 200)
drop_sound = 'sound/items/drop/glass.ogg'
pickup_sound = 'sound/items/pickup/glass.ogg'
@@ -83,7 +83,7 @@
desc = "A projector meant to help Federation Skrell feel like theyre carrying home with them wherever they go. It looks very complex."
icon = 'icons/obj/skrell_items.dmi'
icon_state = "projector"
w_class = 1
w_class = ITEMSIZE_TINY
matter = list(MATERIAL_GLASS = 200)
drop_sound = 'sound/items/drop/glass.ogg'
pickup_sound = 'sound/items/pickup/glass.ogg'
+1 -1
View File
@@ -19,7 +19,7 @@ Contains:
pickup_sound = 'sound/items/pickup/cardboardbox.ogg'
amount = 5
max_amount = 5
w_class = 2
w_class = ITEMSIZE_SMALL
throw_speed = 4
throw_range = 20
var/heal_brute = 0
@@ -5,7 +5,7 @@
singular_name = "telecrystal"
icon = 'icons/obj/telescience.dmi'
icon_state = "telecrystal"
w_class = 1
w_class = ITEMSIZE_TINY
max_amount = 50
flags = NOBLUDGEON
origin_tech = list(TECH_MATERIAL = 6, TECH_BLUESPACE = 4)
@@ -10,7 +10,7 @@
name = "tile"
singular_name = "tile"
desc = "A non-descript floor tile"
w_class = 3
w_class = ITEMSIZE_NORMAL
max_amount = 60
icon = 'icons/obj/stacks/tiles.dmi'
item_icons = list(
+3 -3
View File
@@ -17,7 +17,7 @@
if (!isturf(loc))
to_chat(user, SPAN_WARNING("The paper must be set down for you to wrap a gift!"))
return
if (W.w_class < 4)
if (W.w_class < ITEMSIZE_LARGE)
var/a_used = 2 * (src.w_class - 1)
if (src.amount < a_used)
to_chat(user, SPAN_WARNING("You need more paper!"))
@@ -81,7 +81,7 @@
icon = 'icons/obj/stacks/wrap.dmi'
icon_state = "deliveryPaper"
desc = "A roll of paper used to enclose an object for delivery."
w_class = 3.0
w_class = ITEMSIZE_NORMAL
amount = 25.0
var/wrapping_tag = "Sorting Office"
drop_sound = 'sound/items/drop/wrapper.ogg'
@@ -187,6 +187,6 @@
icon = 'icons/obj/stacks/wrap.dmi'
icon_state = "c_tube"
throwforce = 1
w_class = 2.0
w_class = ITEMSIZE_SMALL
throw_speed = 4
throw_range = 5
+2 -2
View File
@@ -4,7 +4,7 @@
//Added by Jack Rost
/obj/item/trash
icon = 'icons/obj/trash.dmi'
w_class = 1.0
w_class = ITEMSIZE_TINY
item_icons = list(
slot_l_hand_str = 'icons/mob/items/lefthand_food.dmi',
slot_r_hand_str = 'icons/mob/items/righthand_food.dmi'
@@ -207,4 +207,4 @@
/obj/item/trash/diona_bites
name = "dionae bites"
icon_state = "dionaebitesempty"
icon_state = "dionaebitesempty"
@@ -14,7 +14,7 @@ AI MODULES
desc = "An AI Module for transmitting encrypted instructions to the AI."
flags = CONDUCT
force = 5.0
w_class = 2.0
w_class = ITEMSIZE_SMALL
throwforce = 5.0
throw_speed = 3
throw_range = 15
+2 -2
View File
@@ -22,7 +22,7 @@
throwforce = 10.0
throw_speed = 1
throw_range = 5
w_class = 3.0
w_class = ITEMSIZE_NORMAL
origin_tech = list(TECH_ENGINEERING = 4, TECH_MATERIAL = 2)
matter = list(DEFAULT_WALL_MATERIAL = 50000)
drop_sound = 'sound/items/drop/gun.ogg'
@@ -127,7 +127,7 @@
icon = 'icons/obj/ammo.dmi'
icon_state = "rfd"
item_state = "rfdammo"
w_class = 2
w_class = ITEMSIZE_SMALL
origin_tech = list(TECH_MATERIAL = 2)
matter = list(DEFAULT_WALL_MATERIAL = 30000, MATERIAL_GLASS = 15000)
+1 -1
View File
@@ -8,7 +8,7 @@
icon = 'icons/obj/device.dmi'
icon_state = "autopsy"
flags = CONDUCT
w_class = 2.0
w_class = ITEMSIZE_SMALL
origin_tech = list(TECH_MATERIAL = 1, TECH_BIO = 1)
var/list/datum/autopsy_data_scanner/wdata = list()
var/list/datum/autopsy_data_scanner/chemtraces = list()
+1 -1
View File
@@ -6,7 +6,7 @@
item_state = "candle1"
drop_sound = 'sound/items/drop/gloves.ogg'
pickup_sound = 'sound/items/pickup/gloves.ogg'
w_class = 1
w_class = ITEMSIZE_TINY
light_color = "#E09D37"
var/wax = 2000
+1 -1
View File
@@ -20,7 +20,7 @@
slot_l_hand_str = 'icons/mob/items/lefthand_card.dmi',
slot_r_hand_str = 'icons/mob/items/righthand_card.dmi',
)
w_class = 1.0
w_class = ITEMSIZE_TINY
var/associated_account_number = 0
var/list/files = list( )
@@ -11,7 +11,7 @@
throw_speed = 1
throw_range = 4
throwforce = 10
w_class = 2
w_class = ITEMSIZE_SMALL
var/cooldown = 0 // floor tap cooldown
var/static/list/nullchoices = list("Null Rod" = /obj/item/nullrod/, "Null Staff" = /obj/item/nullrod/staff, "Null Orb" = /obj/item/nullrod/orb, "Null Athame" = /obj/item/nullrod/athame)
@@ -21,7 +21,7 @@
icon_state = "nullstaff"
item_state = "nullstaff"
slot_flags = SLOT_BELT | SLOT_BACK
w_class = 4
w_class = ITEMSIZE_LARGE
/obj/item/nullrod/orb
name = "null sphere"
+3 -3
View File
@@ -73,7 +73,7 @@ obj/item/clothing/mask/chewable/Destroy()
throw_speed = 0.5
icon_state = "chew"
type_butt = /obj/item/trash/spitwad
w_class = 1
w_class = ITEMSIZE_TINY
slot_flags = SLOT_EARS | SLOT_MASK
chem_volume = 50
chewtime = 300
@@ -139,7 +139,7 @@ obj/item/clothing/mask/chewable/Destroy()
throw_speed = 0.5
icon_state = "chew"
type_butt = /obj/item/trash/spitgum
w_class = 1
w_class = ITEMSIZE_TINY
slot_flags = SLOT_EARS | SLOT_MASK
chem_volume = 50
chewtime = 300
@@ -176,7 +176,7 @@ obj/item/clothing/mask/chewable/Destroy()
icon_type = "gum stick"
storage_type = "packaging"
slot_flags = SLOT_EARS
w_class = 1
w_class = ITEMSIZE_TINY
starts_with = list(/obj/item/clothing/mask/chewable/candy/gum = 5)
can_hold = list(/obj/item/clothing/mask/chewable/candy/gum, /obj/item/trash/spitgum)
max_storage_space = 5
@@ -14,7 +14,7 @@
throwforce = 10.0
throw_speed = 2
throw_range = 10
w_class = 2.0
w_class = ITEMSIZE_SMALL
origin_tech = list(TECH_MAGNET = 3, TECH_ILLEGAL = 4)
var/power_usage = 35000//A high powered cell allows 5 minutes of continuous usage
+3 -3
View File
@@ -4,7 +4,7 @@
desc = "A generic brand of lipstick."
icon = 'icons/obj/cosmetics.dmi'
icon_state = "lipstick"
w_class = 1.0
w_class = ITEMSIZE_TINY
slot_flags = SLOT_EARS
var/colour = "red"
var/open = 0
@@ -75,7 +75,7 @@
/obj/item/haircomb //sparklysheep's comb
name = "plastic comb"
desc = "A pristine comb made from flexible plastic."
w_class = 1.0
w_class = ITEMSIZE_TINY
slot_flags = SLOT_EARS
icon = 'icons/obj/cosmetics.dmi'
icon_state = "comb"
@@ -93,7 +93,7 @@
desc = "The latest and greatest power razor born from the science of shaving."
icon = 'icons/obj/weapons.dmi'
icon_state = "razor"
w_class = 2
w_class = ITEMSIZE_SMALL
/obj/item/razor/proc/shave(mob/living/carbon/human/H, location)
if(location == BP_HEAD)
+2 -2
View File
@@ -3,7 +3,7 @@
desc = "A dice with six sides."
icon = 'icons/obj/dice.dmi'
icon_state = "d66"
w_class = 1
w_class = ITEMSIZE_TINY
var/base_icon = "d6"
var/side_mult = 1 // Used for d100s.
var/sides = 6
@@ -77,4 +77,4 @@
icon_state = "d10010"
sides = 10
side_mult = 10
base_icon = "d100"
base_icon = "d100"
@@ -13,7 +13,7 @@
var/s_time = 10.0
throw_speed = 1
throw_range = 5
w_class = 1.0
w_class = ITEMSIZE_TINY
slot_flags = SLOT_EARS
var/uses = 1
var/nofail
@@ -6,7 +6,7 @@
icon_state = "plastic-explosive0"
item_state = "plasticx"
flags = NOBLUDGEON
w_class = 2.0
w_class = ITEMSIZE_SMALL
origin_tech = list(TECH_ILLEGAL = 2)
var/datum/wires/explosive/c4/wires = null
var/timer = 10
@@ -138,4 +138,4 @@
if(R?.cell)
R.cell.use(1000)
can_deploy = TRUE
maptext = "<span style=\"font-family: 'Small Fonts'; -dm-text-outline: 1 black; font-size: 7px;\">Ready</span>"
maptext = "<span style=\"font-family: 'Small Fonts'; -dm-text-outline: 1 black; font-size: 7px;\">Ready</span>"
@@ -7,7 +7,7 @@
hitsound = 'sound/weapons/smash.ogg'
flags = CONDUCT | OPENCONTAINER
throwforce = 8
w_class = 4.0 // Don't want to give people free bluespace beakers.
w_class = ITEMSIZE_LARGE // Don't want to give people free bluespace beakers.
throw_speed = 2
throw_range = 10
force = 8
@@ -89,7 +89,7 @@
hitsound = 'sound/weapons/smash.ogg'
flags = CONDUCT
throwforce = 10
w_class = 3.0
w_class = ITEMSIZE_NORMAL
throw_speed = 2
throw_range = 10
force = 10.0
@@ -114,7 +114,7 @@
hitsound = null //it is much lighter, after all.
flags = OPENCONTAINER
throwforce = 2
w_class = 2.0
w_class = ITEMSIZE_SMALL
force = 2.0
max_water = 60
spray_amount = 10
@@ -10,7 +10,7 @@
throwforce = 10.0
throw_speed = 1
throw_range = 5
w_class = 3.0
w_class = ITEMSIZE_NORMAL
origin_tech = list(TECH_COMBAT = 1, TECH_PHORON = 1)
matter = list(DEFAULT_WALL_MATERIAL = 500)
var/status = 0
@@ -20,7 +20,7 @@
..()
pixel_x = rand(-10,10)
pixel_y = rand(-10,10)
if(w_class > 0 && w_class < 4)
if(w_class > 0 && w_class < ITEMSIZE_LARGE)
icon_state = "gift[w_class]"
else
icon_state = "gift[pick(1, 2, 3)]"
@@ -130,7 +130,7 @@
icon = 'icons/obj/items.dmi'
icon_state = "gift1"
item_state = "gift1"
w_class = 1
w_class = ITEMSIZE_TINY
/obj/item/xmasgift/Initialize()
..()
@@ -231,7 +231,7 @@
/obj/item/xmasgift/medium
icon_state = "gift2"
item_state = "gift2"
w_class = 2
w_class = ITEMSIZE_SMALL
/obj/item/xmasgift/medium/attack_self(mob/user)
var/gift_type = pick(
@@ -301,7 +301,7 @@
/obj/item/xmasgift/large
icon_state = "gift3"
item_state = "gift3"
w_class = 3
w_class = ITEMSIZE_NORMAL
/obj/item/xmasgift/large/attack_self(mob/user)
var/gift_type = pick(
@@ -3,7 +3,7 @@
icon_state = "chemg"
item_state = "chemg"
desc = "A hand made chemical grenade."
w_class = 2.0
w_class = ITEMSIZE_SMALL
force = 2.0
det_time = null
unacidable = 1
@@ -367,4 +367,4 @@
beakers += B1
beakers += B2
icon_state = initial(icon_state) +"_locked"
icon_state = initial(icon_state) +"_locked"
@@ -1,7 +1,7 @@
/obj/item/grenade
name = "grenade"
desc = "A hand held grenade, with an adjustable timer."
w_class = 2.0
w_class = ITEMSIZE_SMALL
icon = 'icons/obj/grenade.dmi'
item_icons = list(
slot_l_hand_str = 'icons/mob/items/weapons/lefthand_grenade.dmi',
+1 -1
View File
@@ -7,7 +7,7 @@
flags = CONDUCT
slot_flags = SLOT_BELT
throwforce = 5
w_class = 2.0
w_class = ITEMSIZE_SMALL
throw_speed = 2
throw_range = 5
origin_tech = list(TECH_MATERIAL = 1)
@@ -11,7 +11,7 @@
var/mode = 1; //0 = pick one at a time, 1 = pick all on tile
var/capacity = 500; //the number of seeds it can carry.
slot_flags = SLOT_BELT
w_class = 1
w_class = ITEMSIZE_TINY
var/list/item_quants = list()
/obj/item/seedbag/attack_self(mob/user as mob)
@@ -6,7 +6,7 @@
name = "implant"
icon = 'icons/obj/device.dmi'
icon_state = "implant"
w_class = 1
w_class = ITEMSIZE_TINY
var/implanted = null
var/mob/imp_in = null
var/obj/item/organ/external/part = null
@@ -8,7 +8,7 @@
item_state = "implantcase"
throw_speed = 1
throw_range = 5
w_class = 1.0
w_class = ITEMSIZE_TINY
var/obj/item/implant/imp = null
/obj/item/implantcase/proc/update()
@@ -9,7 +9,7 @@
item_state = "syringe_0"
throw_speed = 1
throw_range = 5
w_class = 2.0
w_class = ITEMSIZE_SMALL
matter = list(DEFAULT_WALL_MATERIAL = 320, MATERIAL_GLASS = 800)
var/obj/item/implant/imp = null
@@ -232,4 +232,4 @@
user.drop_from_inventory(I, src)
update()
return
..()
..()
@@ -8,7 +8,7 @@
item_state = "electronic"
throw_speed = 1
throw_range = 5
w_class = 2.0
w_class = ITEMSIZE_SMALL
var/obj/item/implantcase/case = null
var/broadcasting = null
var/listening = TRUE
@@ -47,7 +47,7 @@
flags = CONDUCT
force = 8
throwforce = 10
w_class = 3
w_class = ITEMSIZE_NORMAL
attack_verb = list("hit", "bludgeoned", "whacked", "bonked")
force_divisor = 0.1
thrown_force_divisor = 0.1
@@ -79,7 +79,7 @@
item_state = "rods"
force = 5
throwforce = 3
w_class = 4
w_class = ITEMSIZE_LARGE
attack_verb = list("hit", "bludgeoned", "whacked", "bonked")
force_divisor = 0.1
thrown_force_divisor = 0.1
@@ -108,7 +108,7 @@
icon_state = "spearhead"
force = 5
throwforce = 5
w_class = 2
w_class = ITEMSIZE_SMALL
attack_verb = list("attacked", "poked")
force_divisor = 0.1
thrown_force_divisor = 0.1
@@ -174,4 +174,4 @@
qdel(W)
qdel(src)
user.put_in_hands(complete)
return
return
+3 -3
View File
@@ -1459,7 +1459,7 @@
item_state = "book4"
title = "hadiist manifesto"
author = "Al'Mari Hadii"
w_class = 2.0
w_class = ITEMSIZE_SMALL
dat = {"<html>
<head>
<style>
@@ -1499,7 +1499,7 @@
item_state = "book1"
title = "dominian honor codex"
author = "Zalze Han'San"
w_class = 2.0
w_class = ITEMSIZE_SMALL
dat = {"<html>
<head>
<style>
@@ -1600,7 +1600,7 @@
item_state = "book13"
title = "Tau Ceti foreign legion pamphlet"
author = "Tau Ceti foreign legion recruitment center"
w_class = 2.0
w_class = ITEMSIZE_SMALL
dat = {"<html>
<head>
<style>
@@ -12,7 +12,7 @@
drop_sound = 'sound/items/drop/knife.ogg'
pickup_sound = 'sound/items/pickup/knife.ogg'
hitsound = 'sound/weapons/bladeslice.ogg'
w_class = 1
w_class = ITEMSIZE_TINY
thrown_force_divisor = 1
origin_tech = list(TECH_MATERIAL = 1)
attack_verb = list("attacked", "stabbed", "poked")
@@ -72,7 +72,7 @@
applies_material_colour = 0
force_divisor = 0.35
can_embed = 0
w_class = 3
w_class = ITEMSIZE_NORMAL
/obj/item/material/knife/tacknife
name = "tactical knife"
@@ -91,7 +91,7 @@
icon = 'icons/obj/weapons.dmi'
icon_state = "trench"
item_state = "knife"
w_class = 3
w_class = ITEMSIZE_NORMAL
applies_material_colour = 0
slot_flags = SLOT_BELT
@@ -109,7 +109,7 @@
)
hitsound = null
active = 0
w_class = 2
w_class = ITEMSIZE_SMALL
attack_verb = list("patted", "tapped")
force_divisor = 0.25 // 15 when wielded with hardness 60 (steel)
thrown_force_divisor = 0.25 // 5 when thrown with weight 20 (steel)
@@ -123,7 +123,7 @@
icon_state += "_open"
item_state = icon_state
hitsound = 'sound/weapons/bladeslice.ogg'
w_class = 3
w_class = ITEMSIZE_NORMAL
attack_verb = list("attacked", "slashed", "stabbed", "sliced", "torn", "ripped", "diced", "cut")
else
force = 3
@@ -6,7 +6,7 @@
gender = NEUTER
throw_speed = 3
throw_range = 7
w_class = 3
w_class = ITEMSIZE_NORMAL
sharp = 0
edge = 0
icon = 'icons/obj/weapons.dmi'
@@ -36,7 +36,7 @@
item_state = "hatchet"
force_divisor = 0.2 // 12 with hardness 60 (steel)
thrown_force_divisor = 0.75 // 15 with weight 20 (steel)
w_class = 2
w_class = ITEMSIZE_SMALL
sharp = 1
edge = 1
origin_tech = list(TECH_MATERIAL = 2, TECH_COMBAT = 1)
@@ -95,7 +95,7 @@
item_state = "hoe"
force_divisor = 0.25 // 5 with weight 20 (steel)
thrown_force_divisor = 0.25 // as above
w_class = 2
w_class = ITEMSIZE_SMALL
attack_verb = list("slashed", "sliced", "cut", "clawed")
/obj/item/material/scythe
@@ -112,7 +112,7 @@
edge = 1
throw_speed = 1
throw_range = 3
w_class = 4
w_class = ITEMSIZE_LARGE
slot_flags = SLOT_BACK
origin_tech = list(TECH_MATERIAL = 2, TECH_COMBAT = 2)
attack_verb = list("chopped", "sliced", "cut", "reaped")
@@ -125,4 +125,4 @@
thrown_force_divisor = 0.04 // 5 with weight 20 (steel)
throw_speed = 2
throw_range = 3
w_class = 2
w_class = ITEMSIZE_SMALL
@@ -8,7 +8,7 @@
randpixel = 8
sharp = 1
edge = 1
w_class = 2
w_class = ITEMSIZE_SMALL
force_divisor = 0.2 // 6 with hardness 30 (glass)
thrown_force_divisor = 0.4 // 4 with weight 15 (glass)
item_state = "shard-glass"
@@ -7,7 +7,7 @@
item_state = "claymore"
contained_sprite = TRUE
slot_flags = SLOT_BELT|SLOT_BACK
w_class = 4
w_class = ITEMSIZE_LARGE
force_divisor = 0.7 // 42 when wielded with hardnes 60 (steel)
thrown_force_divisor = 0.5 // 10 when thrown with weight 20 (steel)
sharp = 1
@@ -17,7 +17,7 @@
* Twohanded
*/
/obj/item/material/twohanded
w_class = 4
w_class = ITEMSIZE_LARGE
var/wielded = 0
var/force_wielded = 0
var/force_unwielded
@@ -157,7 +157,7 @@
///////////OFFHAND///////////////
/obj/item/material/twohanded/offhand
w_class = 5
w_class = ITEMSIZE_HUGE
icon_state = "offhand"
name = "offhand"
default_material = "placeholder"
@@ -195,7 +195,7 @@
force_divisor = 0.7 // 10/42 with hardness 60 (steel) and 0.25 unwielded divisor
sharp = 1
edge = 1
w_class = 4.0
w_class = ITEMSIZE_LARGE
slot_flags = SLOT_BACK
force_wielded = 30
attack_verb = list("attacked", "chopped", "cleaved", "torn", "cut")
@@ -231,7 +231,7 @@
name = "spear"
desc = "A haphazardly-constructed yet still deadly weapon of ancient design."
force = 10
w_class = 4.0
w_class = ITEMSIZE_LARGE
slot_flags = SLOT_BACK
force_divisor = 0.35 // 21 damage for steel (hardness 60)
unwielded_force_divisor = 0.2 // 12 damage for steel (hardness 60)
@@ -541,7 +541,7 @@
unwielded_force_divisor = 0.2
force_divisor = 0.3
edge = 1
w_class = 4.0
w_class = ITEMSIZE_LARGE
slot_flags = SLOT_BACK
attack_verb = list("attacked", "poked", "jabbed", "gored", "stabbed")
default_material = "steel"
@@ -618,7 +618,7 @@
name = "zweihander"
desc = "A german upgrade to the einhander models of ancient times."
force = 20
w_class = 4.0
w_class = ITEMSIZE_LARGE
slot_flags = SLOT_BACK
force_wielded = 30
unwielded_force_divisor = 1
@@ -128,12 +128,12 @@
icon_state = "eglaive0"
active_force = 40
active_throwforce = 60
active_w_class = 5
active_w_class = ITEMSIZE_HUGE
force = 20
throwforce = 30
throw_speed = 5
throw_range = 10
w_class = 5
w_class = ITEMSIZE_HUGE
flags = CONDUCT | NOBLOODY
origin_tech = list(TECH_COMBAT = 6, TECH_PHORON = 4, TECH_MATERIAL = 7, TECH_ILLEGAL = 4)
attack_verb = list("stabbed", "chopped", "sliced", "cleaved", "slashed", "cut")
@@ -175,14 +175,14 @@
//active_force = 150 //holy...
active_force = 60
active_throwforce = 35
active_w_class = 5
active_w_class = ITEMSIZE_HUGE
//force = 40
//throwforce = 25
force = 20
throwforce = 10
throw_speed = 1
throw_range = 5
w_class = 3
w_class = ITEMSIZE_NORMAL
flags = CONDUCT | NOBLOODY
origin_tech = list(TECH_MAGNET = 3, TECH_COMBAT = 4)
attack_verb = list("attacked", "chopped", "cleaved", "torn", "cut")
@@ -217,12 +217,12 @@
icon_state = "sword0"
active_force = 30
active_throwforce = 20
active_w_class = 4
active_w_class = ITEMSIZE_LARGE
force = 3
throwforce = 5
throw_speed = 1
throw_range = 5
w_class = 2
w_class = ITEMSIZE_SMALL
flags = NOBLOODY
origin_tech = list(TECH_MAGNET = 3, TECH_ILLEGAL = 4)
sharp = 1
@@ -321,8 +321,8 @@
base_reflectchance = 65
active_force = 40
base_block_chance = 65
active_w_class = 3
w_class = 3
active_w_class = ITEMSIZE_NORMAL
w_class = ITEMSIZE_NORMAL
drop_sound = 'sound/items/drop/sword.ogg'
pickup_sound = /decl/sound_category/sword_pickup_sound
equip_sound = /decl/sound_category/sword_equip_sound
@@ -359,7 +359,7 @@
throwforce = 1 //Throwing or dropping the item deletes it.
throw_speed = 1
throw_range = 1
w_class = 4.0//So you can't hide it in your pocket or some such.
w_class = ITEMSIZE_LARGE//So you can't hide it in your pocket or some such.
flags = NOBLOODY
attack_verb = list("attacked", "slashed", "stabbed", "sliced", "torn", "ripped", "diced", "cut")
var/mob/living/creator
@@ -14,7 +14,7 @@
slot_flags = SLOT_BELT
force = 10
throwforce = 7
w_class = 3
w_class = ITEMSIZE_NORMAL
origin_tech = list(TECH_COMBAT = 4)
attack_verb = list("flogged", "whipped", "lashed", "disciplined")
hitsound = 'sound/weapons/chainhit.ogg'
@@ -28,7 +28,7 @@
slot_flags = SLOT_BELT
force = 15
throwforce = 7
w_class = 4
w_class = ITEMSIZE_LARGE
sharp = 1
edge = 1
origin_tech = list(TECH_COMBAT = 5)
@@ -73,7 +73,7 @@
throw_speed = 5
throw_range = 7
attack_verb = list("smashed", "beaten", "slammed", "smacked", "struck", "battered", "bonked")
w_class = 3
w_class = ITEMSIZE_NORMAL
origin_tech = list(TECH_MATERIAL = 3, TECH_ILLEGAL = 2)
/obj/item/melee/hammer/powered
@@ -144,7 +144,7 @@
item_state = "chain"
slot_flags = SLOT_BELT
force = 10
w_class = 3
w_class = ITEMSIZE_NORMAL
reach = 2
attack_verb = list("flogged", "whipped", "lashed", "disciplined")
hitsound = 'sound/weapons/whip.ogg'
@@ -173,7 +173,7 @@
slot_flags = SLOT_BELT
force = 15
throwforce = 5
w_class = 4
w_class = ITEMSIZE_LARGE
sharp = 1
edge = 1
can_embed = 0
+1 -1
View File
@@ -12,7 +12,7 @@
throwforce = 10.0
throw_speed = 3
throw_range = 7
w_class = 3.0
w_class = ITEMSIZE_NORMAL
attack_verb = list("mopped", "bashed", "bludgeoned", "whacked")
drop_sound = 'sound/items/drop/woodweapon.ogg'
pickup_sound = 'sound/items/pickup/woodweapon.ogg'
+1 -1
View File
@@ -8,7 +8,7 @@
icon_state = "paint_empty"
item_state = "paintcan"
matter = list(DEFAULT_WALL_MATERIAL = 200)
w_class = 3.0
w_class = ITEMSIZE_NORMAL
amount_per_transfer_from_this = 10
possible_transfer_amounts = list(10,20,30,60)
volume = 60
@@ -3,7 +3,7 @@
name = "tape roll"
icon = 'icons/policetape.dmi'
icon_state = "tape"
w_class = 2.0
w_class = ITEMSIZE_SMALL
var/turf/start
var/turf/end
var/tape_type = /obj/item/tape
@@ -9,7 +9,7 @@
throwforce = 5.0
throw_speed = 3
throw_range = 5
w_class = 3.0
w_class = ITEMSIZE_NORMAL
var/charge = 0 // note %age conveted to actual charge in New
var/maxcharge = 1000
var/rigged = 0 // true if rigged to explode
@@ -21,7 +21,7 @@
name = "device power cell"
desc = "A small power cell designed to power handheld devices."
icon_state = "cell" //placeholder
w_class = 2
w_class = ITEMSIZE_SMALL
force = 0
throw_speed = 5
throw_range = 7

Some files were not shown because too many files have changed in this diff Show More