removed cloaker

This commit is contained in:
Tastyfish
2011-12-07 12:29:04 -05:00
parent e51459600f
commit 1fa97843f8
12 changed files with 24 additions and 23 deletions
+1 -1
View File
@@ -152,7 +152,7 @@ var/global/list/space_surprises = list(/obj/item/clothing/mask/facehugger,
/obj/item/weapon/rcd,
/obj/item/weapon/rcd_ammo,
/obj/item/weapon/spacecash,
/obj/item/weapon/cloaking_device,
///obj/item/weapon/cloaking_device,
// /obj/item/weapon/gun/energy/teleport_gun,
/obj/item/weapon/rubber_chicken,
/obj/item/weapon/melee/energy/sword/pirate
+2 -2
View File
@@ -139,8 +139,8 @@ datum/hSB
continue
if(istype(O, /obj/item/weapon/camera))
continue
if(istype(O, /obj/item/weapon/cloaking_device))
continue
/*if(istype(O, /obj/item/weapon/cloaking_device))
continue*/
if(istype(O, /obj/item/weapon/dummy))
continue
if(istype(O, /obj/item/weapon/melee/energy/sword))
+3 -3
View File
@@ -52,7 +52,7 @@
menu_message += "<A href='byond://?src=\ref[src];buy_item=space'>Syndicate-made Space Suit (inludes a helmet)</A> (3)<BR>"
menu_message += "<BR>"
menu_message += "<A href='byond://?src=\ref[src];buy_item=projector'>Chameleon-projector</A> (4)<BR>"
menu_message += "<A href='byond://?src=\ref[src];buy_item=cloak'>Cloaking Device</A> (4)<BR>"
//menu_message += "<A href='byond://?src=\ref[src];buy_item=cloak'>Cloaking Device</A> (4)<BR>"
menu_message += "<A href='byond://?src=\ref[src];buy_item=emag'>Electromagnet Card</A> (3)<BR>"
menu_message += "<A href='byond://?src=\ref[src];buy_item=empbox'>5 EMP Grenades</A> (4)<BR>"
menu_message += "<BR>"
@@ -153,10 +153,10 @@
if (uses >= 4)
uses -= 4
new /obj/item/device/chameleon(get_turf(hostpda))
if("cloak")
/*if("cloak")
if (uses >= 4)
uses -= 4
new /obj/item/weapon/cloaking_device(get_turf(hostpda))
new /obj/item/weapon/cloaking_device(get_turf(hostpda))*/
if("sword")
if (uses >= 4)
uses -= 4
+2 -2
View File
@@ -128,11 +128,11 @@
del(animation)
for(var/mob/living/carbon/M in oviewers(3, null))
if(prob(50))
/*if(prob(50))
if (locate(/obj/item/weapon/cloaking_device, M))
for(var/obj/item/weapon/cloaking_device/S in M)
S.active = 0
S.icon_state = "shield0"
S.icon_state = "shield0"*/
var/safety = M:eyecheck()
if(!safety)
flick("flash", M.flash)
+3 -2
View File
@@ -23,7 +23,7 @@
return
*/
/*
/obj/item/weapon/cloaking_device
name = "cloaking device"
desc = "Use this to become invisible to the human eyesocket."
@@ -53,4 +53,5 @@
/obj/item/weapon/cloaking_device/emp_act(severity)
active = 0
icon_state = "shield0"
..()
..()
*/
+2 -2
View File
@@ -151,10 +151,10 @@ FLASHBANG
T.hotspot_expose(700,125)
for(var/mob/living/carbon/M in viewers(T, null))
if (locate(/obj/item/weapon/cloaking_device, M))
/*if (locate(/obj/item/weapon/cloaking_device, M))
for(var/obj/item/weapon/cloaking_device/S in M)
S.active = 0
S.icon_state = "shield0"
S.icon_state = "shield0"*/
M << "\red <B>BANG</B>"
+2 -2
View File
@@ -146,14 +146,14 @@ SYNDICATE UPLINK
if (src.uses >= 7)
src.uses -= 7
new /obj/item/weapon/aiModule/syndicate(get_turf(src))
if("cloak")
/*if("cloak")
if (src.uses >= 4)
if (ticker.mode.config_tag!="nuclear" || \
(input(currentUser,"Spawning a cloak in nuke is generally regarded as entirely dumb, are you sure?") in list("Confirm", "Abort")) == "Confirm" \
)
if (src.uses >= 4)
src.uses -= 4
new /obj/item/weapon/cloaking_device(get_turf(src))
new /obj/item/weapon/cloaking_device(get_turf(src))*/
if("sword")
if (src.uses >= 4)
src.uses -= 4
+1 -1
View File
@@ -286,7 +286,7 @@
if ("murder")
new /obj/item/weapon/melee/energy/sword(src)
new /obj/item/weapon/cloaking_device(src)
//new /obj/item/weapon/cloaking_device(src)
new /obj/item/weapon/card/emag(src)
return
+2 -2
View File
@@ -431,7 +431,7 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
M.equip_if_possible(new /obj/item/clothing/glasses/thermal/monocle(M), M.slot_glasses)
M.equip_if_possible(new /obj/item/clothing/head/det_hat(M), M.slot_head)
M.equip_if_possible(new /obj/item/weapon/cloaking_device(M), M.slot_r_store)
//M.equip_if_possible(new /obj/item/weapon/cloaking_device(M), M.slot_r_store)
M.equip_if_possible(new /obj/item/weapon/gun/projectile(M), M.slot_r_hand)
M.equip_if_possible(new /obj/item/ammo_magazine/a357(M), M.slot_l_store)
@@ -544,7 +544,7 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
M.equip_if_possible(new /obj/item/clothing/glasses/sunglasses(M), M.slot_glasses)
M.equip_if_possible(new /obj/item/clothing/suit/wcoat(M), M.slot_wear_suit)
M.equip_if_possible(new /obj/item/weapon/melee/energy/sword(M), M.slot_l_store)
M.equip_if_possible(new /obj/item/weapon/cloaking_device(M), M.slot_r_store)
//M.equip_if_possible(new /obj/item/weapon/cloaking_device(M), M.slot_r_store)
var/obj/item/weapon/secstorage/sbriefcase/sec_briefcase = new(M)
for(var/obj/item/briefcase_item in sec_briefcase)
@@ -431,10 +431,10 @@
var/shielded = 0
for (var/obj/item/weapon/cloaking_device/S in src)
/*for (var/obj/item/weapon/cloaking_device/S in src)
if (S.active)
shielded = 2
break
break*/
if (shielded == 2 || alien_invis)
invisibility = 2
@@ -1055,10 +1055,10 @@
l_hand.screen_loc = ui_lhand
var/shielded = 0
for (var/obj/item/weapon/cloaking_device/S in src)
/*for (var/obj/item/weapon/cloaking_device/S in src)
if (S.active)
shielded = 2
break
break*/
if(istype(wear_suit, /obj/item/clothing/suit/space/space_ninja)&&wear_suit:s_active)
shielded = 3
+2 -2
View File
@@ -37,11 +37,11 @@
/mob/living/bullet_act(var/obj/item/projectile/P, var/def_zone)
var/obj/item/weapon/cloaking_device/C = locate((/obj/item/weapon/cloaking_device) in src)
/*var/obj/item/weapon/cloaking_device/C = locate((/obj/item/weapon/cloaking_device) in src)
if(C && C.active)
C.attack_self(src)//Should shut it off
src << "\blue Your [C.name] was disrupted!"
stunned = max(stunned, 2)
stunned = max(stunned, 2)*/
flash_weak_pain()