Compatibility fixes

This commit is contained in:
Heroman
2023-07-07 17:17:49 +10:00
parent 3261af68c7
commit 63e9a069be
7 changed files with 6 additions and 5 deletions
@@ -41,8 +41,8 @@
stacktype = material.stack_type
/obj/item/stack/tile/attackby(obj/item/W as obj, mob/user as mob)
if (istype(W, /obj/item/weldingtool))
var/obj/item/weldingtool/WT = W
if (istype(W, /obj/item/weapon/weldingtool))
var/obj/item/weapon/weldingtool/WT = W
if(can_weld == FALSE)
to_chat("You can't reform these into their original components.")
@@ -74,7 +74,7 @@
board_type = new /datum/frame/frame_types/geiger
matter = list(MAT_STEEL = 50, MAT_GLASS = 50)
/obj/item/circuitboard/electrochromic
/obj/item/weapon/circuitboard/electrochromic
name = T_BOARD("electrochromic button")
build_path = /obj/machinery/button/windowtint
board_type = new /datum/frame/frame_types/electrochromic_button
+1 -1
View File
@@ -637,7 +637,7 @@
icon_state = "light0"
desc = "A remote control switch for polarized windows."
var/range = 7
circuit = /obj/item/circuitboard/electrochromic
circuit = /obj/item/weapon/circuitboard/electrochromic
/obj/machinery/button/windowtint/attack_hand(mob/user as mob)
if(..())