Hitby refactor (#19624)

Refactored hitby to be in line with TG's version.
Refactored item weight defines to a more clear naming scheme, also in
line with TG's version.
Refactored how the movement bumps are handled, ported signals to handle
them, in preparation for the movement update.
Fixed disposal hit bouncing the hitting atom on the wall.
Items do not push other items anymore if they are tiny.
This commit is contained in:
Fluffy
2024-07-28 22:52:08 +02:00
committed by GitHub
parent b84acb8e03
commit a3a4d46fa7
510 changed files with 2282 additions and 1584 deletions
@@ -12,7 +12,7 @@
can_reset = TRUE
hardware_flag = PROGRAM_TABLET
max_hardware_size = 1
w_class = ITEMSIZE_SMALL
w_class = WEIGHT_CLASS_SMALL
looping_sound = FALSE
/obj/item/modular_computer/handheld/Initialize()
@@ -10,7 +10,7 @@
base_active_power_usage = 25
max_hardware_size = 3
max_damage = 50
w_class = ITEMSIZE_NORMAL
w_class = WEIGHT_CLASS_NORMAL
enrolled = DEVICE_PRIVATE
/// Thing that contains this computer. Used for silicon computers
var/mob/living/silicon/computer_host
@@ -15,7 +15,7 @@
max_hardware_size = 2
steel_sheet_cost = 10
light_range = 4
w_class = ITEMSIZE_HUGE
w_class = WEIGHT_CLASS_HUGE
is_holographic = TRUE
/obj/item/modular_computer/telescreen/attackby(obj/item/attacking_item, mob/user)