mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 00:29:02 +01:00
* Added the transforming machine to the Malf Modules.
* You have to be within camera vision to place the machine. * The machine has been given a minute cooldown per each use, and will look unpowered when cooling down. * Added a delete option for /Robotize() and used it in the machine, to stop items piling up and eventually crashing clients. * The machine will make a sound when placed. * Added auto conveyor belts which are always on unless unpowered or broken. * Cyborgs built from the machine will only get 5k power cells. * Added a changelog entry for this change.
This commit is contained in:
@@ -261,11 +261,14 @@
|
||||
|
||||
|
||||
//human -> robot
|
||||
/mob/living/carbon/human/proc/Robotize()
|
||||
/mob/living/carbon/human/proc/Robotize(var/delete_items = 0)
|
||||
if (monkeyizing)
|
||||
return
|
||||
for(var/obj/item/W in src)
|
||||
drop_from_inventory(W)
|
||||
if(delete_items)
|
||||
del(W)
|
||||
else
|
||||
drop_from_inventory(W)
|
||||
regenerate_icons()
|
||||
monkeyizing = 1
|
||||
canmove = 0
|
||||
|
||||
Reference in New Issue
Block a user