Converts /modules/ to using WEIGHT_CLASS_x

This commit is contained in:
Sam
2017-05-28 01:25:09 +01:00
parent 3bc135b825
commit 2d13e2f7bf
137 changed files with 350 additions and 358 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
implant_overlay = "eye_implant_overlay"
slot = "eye_sight"
parent_organ = "eyes"
w_class = 1
w_class = WEIGHT_CLASS_TINY
var/vision_flags = 0
var/dark_view = 0
+1 -1
View File
@@ -3,7 +3,7 @@
desc = "A device that automatically injects a cyber-implant into the user without the hassle of extensive surgery. It has a slot to insert implants and a screwdriver slot for removing accidentally added implants."
icon_state = "autoimplanter"
item_state = "walkietalkie"//left as this so as to intentionally not have inhands
w_class = 2
w_class = WEIGHT_CLASS_SMALL
usesound = 'sound/weapons/circsawhit.ogg'
var/obj/item/organ/internal/cyberimp/storedorgan
@@ -3,7 +3,7 @@
/obj/item/organ/internal
origin_tech = "biotech=2"
force = 1
w_class = 2
w_class = WEIGHT_CLASS_SMALL
throwforce = 0
var/zone = "chest"
var/slot
@@ -500,7 +500,7 @@
desc = "A tiny black mass with red tendrils trailing from it. It seems to shrivel in the light."
icon_state = "blacktumor"
origin_tech = "biotech=4"
w_class = 1
w_class = WEIGHT_CLASS_TINY
parent_organ = "head"
slot = "brain_tumor"
health = 3
@@ -532,7 +532,7 @@
desc = "A tiny yellow mass shaped like..a banana?"
icon_state = "honktumor"
origin_tech = "biotech=1"
w_class = 1
w_class = WEIGHT_CLASS_TINY
parent_organ = "head"
slot = "brain_tumor"
health = 3
@@ -619,7 +619,7 @@
desc = "Let they who is worthy wear the beard of Thorbjorndottir."
icon_state = "liver"
origin_tech = "biotech=1"
w_class = 1
w_class = WEIGHT_CLASS_TINY
parent_organ = "head"
slot = "hair_organ"
@@ -21,7 +21,7 @@
// Allow adjacency calculation to work properly
loc = owner
// Fit only pocket sized items
pocket.max_w_class = 2
pocket.max_w_class = WEIGHT_CLASS_SMALL
pocket.max_combined_w_class = 2
/obj/item/organ/internal/headpocket/on_life()
@@ -8,7 +8,7 @@
icon_name = "torso"
max_damage = 100
min_broken_damage = 35
w_class = 5
w_class = WEIGHT_CLASS_HUGE
body_part = UPPER_TORSO
vital = 1
amputation_point = "spine"
@@ -42,7 +42,7 @@
icon_name = "groin"
max_damage = 100
min_broken_damage = 35
w_class = 4
w_class = WEIGHT_CLASS_BULKY // if you know what I mean ;)
body_part = LOWER_TORSO
vital = 1
parent_organ = "chest"
@@ -55,7 +55,7 @@
icon_name = "l_arm"
max_damage = 50
min_broken_damage = 30
w_class = 3
w_class = WEIGHT_CLASS_NORMAL
body_part = ARM_LEFT
parent_organ = "chest"
amputation_point = "left shoulder"
@@ -74,7 +74,7 @@
icon_name = "l_leg"
max_damage = 50
min_broken_damage = 30
w_class = 3
w_class = WEIGHT_CLASS_NORMAL
body_part = LEG_LEFT
icon_position = LEFT
parent_organ = "groin"
@@ -95,7 +95,7 @@
icon_name = "l_foot"
max_damage = 30
min_broken_damage = 15
w_class = 2
w_class = WEIGHT_CLASS_SMALL
body_part = FOOT_LEFT
icon_position = LEFT
parent_organ = "l_leg"
@@ -121,7 +121,7 @@
icon_name = "l_hand"
max_damage = 30
min_broken_damage = 15
w_class = 2
w_class = WEIGHT_CLASS_SMALL
body_part = HAND_LEFT
parent_organ = "l_arm"
amputation_point = "left wrist"
@@ -152,7 +152,7 @@
name = "head"
max_damage = 75
min_broken_damage = 35
w_class = 3
w_class = WEIGHT_CLASS_NORMAL
body_part = HEAD
vital = 1
parent_organ = "chest"
@@ -37,7 +37,7 @@
name = "xeno plasma vessel"
icon_state = "plasma"
origin_tech = "biotech=5;plasmatech=2"
w_class = 3
w_class = WEIGHT_CLASS_NORMAL
parent_organ = "chest"
slot = "plasmavessel"
alien_powers = list(/mob/living/carbon/alien/humanoid/verb/plant, /mob/living/carbon/alien/humanoid/verb/transfer_plasma)
@@ -127,7 +127,7 @@
parent_organ = "head"
slot = "hivenode"
origin_tech = "biotech=5;magnets=4;bluespace=3"
w_class = 1
w_class = WEIGHT_CLASS_TINY
alien_powers = list(/mob/living/carbon/alien/humanoid/verb/whisp)
/obj/item/organ/internal/xenos/hivenode/insert(mob/living/carbon/M, special = 0)
@@ -163,6 +163,6 @@
icon_state = "eggsac"
parent_organ = "groin"
slot = "eggsac"
w_class = 4
w_class = WEIGHT_CLASS_BULKY
origin_tech = "biotech=8"
alien_powers = list(/mob/living/carbon/alien/humanoid/queen/verb/lay_egg)
+10 -10
View File
@@ -5,7 +5,7 @@
icon_state = "retractor"
materials = list(MAT_METAL=6000, MAT_GLASS=3000)
flags = CONDUCT
w_class = 2
w_class = WEIGHT_CLASS_SMALL
origin_tech = "materials=1;biotech=1"
@@ -16,7 +16,7 @@
icon_state = "hemostat"
materials = list(MAT_METAL=5000, MAT_GLASS=2500)
flags = CONDUCT
w_class = 1
w_class = WEIGHT_CLASS_TINY
origin_tech = "materials=1;biotech=1"
attack_verb = list("attacked", "pinched")
@@ -28,7 +28,7 @@
icon_state = "cautery"
materials = list(MAT_METAL=2500, MAT_GLASS=750)
flags = CONDUCT
w_class = 1
w_class = WEIGHT_CLASS_TINY
origin_tech = "materials=1;biotech=1"
attack_verb = list("burnt")
@@ -44,7 +44,7 @@
force = 15.0
sharp = 1
edge = 1
w_class = 3
w_class = WEIGHT_CLASS_NORMAL
origin_tech = "materials=1;biotech=1"
attack_verb = list("drilled")
@@ -64,7 +64,7 @@
force = 10.0
sharp = 1
edge = 1
w_class = 1
w_class = WEIGHT_CLASS_TINY
throwforce = 5.0
throw_speed = 3
throw_range = 5
@@ -124,7 +124,7 @@
force = 15.0
sharp = 1
edge = 1
w_class = 3
w_class = WEIGHT_CLASS_NORMAL
throwforce = 9.0
throw_speed = 3
throw_range = 5
@@ -138,7 +138,7 @@
icon = 'icons/obj/surgery.dmi'
icon_state = "bone-gel"
force = 0
w_class = 2
w_class = WEIGHT_CLASS_SMALL
throwforce = 1.0
origin_tech = "materials=1;biotech=1"
@@ -149,7 +149,7 @@
force = 0
throwforce = 1.0
origin_tech = "materials=1;biotech=1"
w_class = 2
w_class = WEIGHT_CLASS_SMALL
/obj/item/weapon/bonesetter
name = "bone setter"
@@ -159,7 +159,7 @@
throwforce = 9.0
throw_speed = 3
throw_range = 5
w_class = 2
w_class = WEIGHT_CLASS_SMALL
attack_verb = list("attacked", "hit", "bludgeoned")
origin_tech = "materials=1;biotech=1"
@@ -168,6 +168,6 @@
desc = "Nanotrasen brand surgical drapes provide optimal safety and infection control."
icon = 'icons/obj/surgery.dmi'
icon_state = "surgical_drapes"
w_class = 1
w_class = WEIGHT_CLASS_SMALL
origin_tech = "biotech=1"
attack_verb = list("slapped")