Fixed some issues

Removed all item stings legacy
Removed game balance changes
Moved stings handling to AltClickOn, added the dead check i forgot to
add
Reverted monkeyizing keeping items from previous form
Fixed the grammar in the comments
This commit is contained in:
Razharas
2013-12-03 00:45:05 +04:00
parent a58b0169ae
commit eb8b23b873
7 changed files with 8 additions and 128 deletions
-24
View File
@@ -2,10 +2,6 @@
if (monkeyizing)
return
//Handle items on mob
var/obj/item/rHand = r_hand
var/obj/item/lHand = l_hand
var/obj/item/Mask = wear_mask
var/obj/item/Back = back
//first implants
var/list/implants = list()
@@ -17,17 +13,6 @@
for(var/obj/item/W in (src.contents-implants))
drop_from_inventory(W)
if(tr_flags & TR_KEEPITEMS)
if(rHand)
rHand.loc = src
if(lHand)
lHand.loc = src
if(Back)
Back.loc = src
if(Mask)
Mask.loc = src
//Make mob invisible and spawn animation
regenerate_icons()
monkeyizing = 1
@@ -43,15 +28,6 @@
sleep(22)
//animation = null
var/mob/living/carbon/monkey/O = new /mob/living/carbon/monkey( loc )
if(tr_flags & TR_KEEPITEMS)
if(rHand)
O.equip_to_slot(rHand, slot_r_hand)
if(lHand)
O.equip_to_slot(lHand, slot_l_hand)
if(Mask)
O.equip_to_slot(Mask, slot_wear_mask)
if(Back)
O.equip_to_slot(Back, slot_back)
del(animation)