mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-24 09:02:27 +00:00
Gripper overhaul + New borg sprites (#1518)
Fixes #1489 Fixes #1499 Grippers basically torn up and remade, i went down to the root and incorporated them into cyborg click and inventory code. This should make them resistant against future bugs. Fixes all current known gripper bugs. Grippers work properly with all the stuff they should. Minor tweaks to borg modules. In addition, i went and raided VG, TG, paradise and bay repositories, and ported all their best sprites that were suitable for us. VG station was the most lucrative by far, about 70% of the new ones came from there.
This commit is contained in:
@@ -173,7 +173,7 @@
|
||||
user << span("warning", "You can't open that while it's under the table")
|
||||
return 0
|
||||
else
|
||||
..()
|
||||
return ..()
|
||||
|
||||
/obj/structure/closet/crate/proc/set_tablestatus(var/target)
|
||||
if (tablestatus != target)
|
||||
@@ -303,6 +303,7 @@
|
||||
return
|
||||
if(src.allowed(user))
|
||||
set_locked(!locked, user)
|
||||
return 1
|
||||
else
|
||||
user << "<span class='notice'>Access Denied</span>"
|
||||
|
||||
@@ -333,9 +334,9 @@
|
||||
/obj/structure/closet/crate/secure/attack_hand(mob/user as mob)
|
||||
src.add_fingerprint(user)
|
||||
if(locked)
|
||||
src.togglelock(user)
|
||||
return src.togglelock(user)
|
||||
else
|
||||
src.toggle(user)
|
||||
return src.toggle(user)
|
||||
|
||||
/obj/structure/closet/crate/secure/attackby(obj/item/weapon/W as obj, mob/user as mob)
|
||||
if(is_type_in_list(W, list(/obj/item/weapon/packageWrap, /obj/item/stack/cable_coil, /obj/item/device/radio/electropack, /obj/item/weapon/wirecutters)))
|
||||
|
||||
Reference in New Issue
Block a user