mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 07:27:57 +01:00
Tabtest-tabtab-testtab
This commit is contained in:
@@ -125,10 +125,10 @@
|
||||
return C && C.installed == 1 && C.toggled && C.is_powered() && !C.component_disabled
|
||||
|
||||
/mob/living/silicon/robot/proc/disable_component(module_name, duration)
|
||||
var/datum/robot_component/D = get_component(module_name)
|
||||
D.component_disabled = 1
|
||||
spawn(duration)
|
||||
D.component_disabled = 0
|
||||
var/datum/robot_component/D = get_component(module_name)
|
||||
D.component_disabled = 1
|
||||
spawn(duration)
|
||||
D.component_disabled = 0
|
||||
|
||||
// Returns component by it's string name
|
||||
/mob/living/silicon/robot/proc/get_component(var/component_name)
|
||||
|
||||
Reference in New Issue
Block a user