[MIRROR] picked up bees and mice can now fit in boxes. (#7325)

* picked up bees and mice can now fit in boxes. (#60161)

* picked up bees and mice can now fit in boxes.

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-08-03 20:01:10 +01:00
committed by GitHub
co-authored by Ghom
parent f90d8adaf2
commit f5d599fafa
4 changed files with 9 additions and 2 deletions
+1
View File
@@ -20,6 +20,7 @@
righthand_file = rh_icon
if(worn_slot_flags)
slot_flags = worn_slot_flags
w_class = M.held_w_class
deposit(M)
. = ..()
+6 -2
View File
@@ -138,8 +138,12 @@
var/list/obj/effect/proc_holder/abilities = list()
var/can_be_held = FALSE //whether this can be picked up and held.
var/worn_slot_flags = NONE //if it can be held, can it be equipped to any slots? (think pAI's on head)
///whether this can be picked up and held.
var/can_be_held = FALSE
/// The w_class of the holder when held.
var/held_w_class = WEIGHT_CLASS_NORMAL
///if it can be held, can it be equipped to any slots? (think pAI's on head)
var/worn_slot_flags = NONE
var/radiation = 0 ///If the mob is irradiated.
var/ventcrawl_layer = PIPING_LAYER_DEFAULT
@@ -28,6 +28,7 @@
gold_core_spawnable = FRIENDLY_SPAWN
var/chew_probability = 1
can_be_held = TRUE
held_w_class = WEIGHT_CLASS_TINY
held_state = "mouse_gray"
faction = list("rat")
@@ -44,6 +44,7 @@
gold_core_spawnable = FRIENDLY_SPAWN
search_objects = 1 //have to find those plant trays!
can_be_held = TRUE
held_w_class = WEIGHT_CLASS_TINY
//Spaceborn beings don't get hurt by space
atmos_requirements = list("min_oxy" = 0, "max_oxy" = 0, "min_tox" = 0, "max_tox" = 0, "min_co2" = 0, "max_co2" = 0, "min_n2" = 0, "max_n2" = 0)