mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-22 05:34:49 +01:00
[MIRROR] Various QoL (#12720)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
committed by
GitHub
parent
72d0a4f8ff
commit
e763f2dff1
@@ -381,6 +381,9 @@
|
||||
return ..()
|
||||
|
||||
/mob/living/silicon/robot/drop_from_inventory(var/obj/item/W, var/atom/target = null)
|
||||
if(module_active && istype(module_active,/obj/item/gripper))
|
||||
var/obj/item/gripper/robot_gripper = module_active
|
||||
robot_gripper.drop_item_nm(target)
|
||||
return FALSE //Dropping things from robots break everything.
|
||||
|
||||
// CONTINUE CODING HERE
|
||||
|
||||
@@ -352,7 +352,7 @@
|
||||
generate_icons()
|
||||
|
||||
//FORCES the item onto the ground and resets.
|
||||
/obj/item/gripper/proc/drop_item_nm(atom/taget)
|
||||
/obj/item/gripper/proc/drop_item_nm(atom/target)
|
||||
var/obj/item/wrapped = get_wrapped_item()
|
||||
if(!wrapped)
|
||||
return
|
||||
@@ -362,7 +362,7 @@
|
||||
generate_icons()
|
||||
return
|
||||
|
||||
wrapped.forceMove(taget ? taget : get_turf(src))
|
||||
wrapped.forceMove(target ? target : get_turf(src))
|
||||
clear_and_select_pocket()
|
||||
generate_icons()
|
||||
|
||||
|
||||
@@ -85,6 +85,7 @@
|
||||
pixel_x = -16
|
||||
icon_x = 64
|
||||
icon_y = 32
|
||||
dogborg_sprites = TRUE
|
||||
|
||||
whitelist_ckey = "jademanique"
|
||||
whitelist_charname = "B.A.U-Kingside"
|
||||
|
||||
Reference in New Issue
Block a user