mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-27 06:00:23 +01:00
Compatibility fixes
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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(..())
|
||||
|
||||
Reference in New Issue
Block a user