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
@@ -39,7 +39,7 @@
slot_r_hand_str = "wiz_hardsuit"
)
slowdown = 1
w_class = 3
w_class = ITEMSIZE_NORMAL
unacidable = 1
armor = list(melee = 40, bullet = 20, laser = 20,energy = 20, bomb = 35, bio = 100, rad = 60)
siemens_coefficient = 0.35
@@ -62,4 +62,4 @@
RH.droplimb(0,DROPLIMB_BURN)
return
else
..()
..()
@@ -4,7 +4,7 @@
icon = 'icons/obj/wizard.dmi'
icon_state = "cursedheart-off"
origin_tech = list(TECH_BLUESPACE = 8, TECH_MATERIAL = 8, TECH_BIO = 8)
w_class = 5
w_class = ITEMSIZE_HUGE
light_color = "#6633CC"
light_power = 3
light_range = 4
@@ -43,4 +43,4 @@
if(!user.is_wizard() && src.lich)
to_chat(user, "<span class='warning'>As you pick up \the [src], you feel a wave of dread wash over you.</span>")
for(var/obj/machinery/light/P in view(7, user))
P.flicker(1)
P.flicker(1)
@@ -5,7 +5,7 @@
icon_state = "bookHacking"
throw_speed = 1
throw_range = 5
w_class = 2
w_class = ITEMSIZE_SMALL
var/uses = 1
var/temp = null
var/list/monster = list(/mob/living/simple_animal/familiar/pet/cat,
@@ -81,4 +81,4 @@
if(Adjacent(usr))
src.interact(usr)
else
usr << browse(null,"window=monstermanual")
usr << browse(null,"window=monstermanual")
@@ -4,7 +4,7 @@
desc = "A rustic doll with a vague humanoid shape."
icon = 'icons/obj/wizard.dmi'
icon_state = "poppet"
w_class = 2
w_class = ITEMSIZE_SMALL
var/datum/weakref/target = null
var/countenance = null //what species does it looks like?
var/cooldown_time = 120
@@ -153,4 +153,4 @@
to_chat(H, "<span class='danger'>You feel an outworldly force crushing you!</span>")
H.adjustBruteLoss(35)
H.apply_effect(6, WEAKEN)
qdel(src)
qdel(src)
@@ -7,12 +7,12 @@
contained_sprite = TRUE
active_force = 40
active_throwforce = 40
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
slot_flags = SLOT_BELT
origin_tech = list(TECH_COMBAT = 8, TECH_MATERIAL = 8)
attack_verb = list("attacked", "slashed", "stabbed", "sliced", "torn", "ripped", "diced", "cut")
@@ -7,7 +7,7 @@ Basically: I can use it to target things where I click. I can then pass these ta
icon = 'icons/mob/screen/generic.dmi'
flags = 0
abstract = 1
w_class = 5.0
w_class = ITEMSIZE_HUGE
icon_state = "grabbed1"
var/next_spell_time = 0
var/spell/hand/hand_spell