* 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:
Giacomand
2013-08-13 23:23:37 +01:00
parent 92286e56b6
commit 784ac98de4
5 changed files with 95 additions and 19 deletions
+5 -2
View File
@@ -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