mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-15 09:03:23 +01:00
Implemented robot components(organs)
Features: - You now have to open up a cyborg after constructing it and insert all the components - Cyborgs have per-component damage rather than total damage. - Too much damage can fry a component, making it non-functional - Components consume power - You can disable a component to save power - Actuator component allows you to move - Camera component allows you to see - Comms component allows you to use :b - Radio component allows you to use radio - The same placeholder icon for all components
This commit is contained in:
@@ -162,7 +162,7 @@
|
||||
else
|
||||
user << "\blue You need to attach a flash to it first!"
|
||||
|
||||
if(istype(W, /obj/item/device/mmi) || istype(W, /obj/item/device/mmi/posibrain))
|
||||
if(istype(W, /obj/item/device/mmi))
|
||||
var/obj/item/device/mmi/M = W
|
||||
if(check_completion())
|
||||
if(!istype(loc,/turf))
|
||||
@@ -194,7 +194,7 @@
|
||||
user << "\red This [W] does not seem to fit."
|
||||
return
|
||||
|
||||
var/mob/living/silicon/robot/O = new /mob/living/silicon/robot(get_turf(loc))
|
||||
var/mob/living/silicon/robot/O = new /mob/living/silicon/robot(get_turf(loc), unfinished = 1)
|
||||
if(!O) return
|
||||
|
||||
user.drop_item()
|
||||
|
||||
Reference in New Issue
Block a user