diff --git a/code/game/objects/items/weapons/weaponry.dm b/code/game/objects/items/weapons/weaponry.dm index 6c6131e95e1..e0c822e5517 100644 --- a/code/game/objects/items/weapons/weaponry.dm +++ b/code/game/objects/items/weapons/weaponry.dm @@ -61,7 +61,7 @@ var/list/highlander_claymores = list() block_chance = 0 //RNG WON'T HELP YOU NOW, PANSY attack_verb = list("brutalized", "eviscerated", "disemboweled", "hacked", "carved", "cleaved", "gored") //ONLY THE MOST VISCERAL ATTACK VERBS var/notches = 0 //HOW MANY PEOPLE HAVE BEEN SLAIN WITH THIS BLADE - var/announced = FALSE //If we've announced our winner + var/announced = FALSE //IF WE ARE THE ONLY ONE LEFT STANDING /obj/item/weapon/claymore/highlander/New() ..() @@ -79,16 +79,10 @@ var/list/highlander_claymores = list() /obj/item/weapon/claymore/highlander/process() if(isliving(loc)) var/mob/living/L = loc - L.SetStunned(0) - L.SetWeakened(0) - L.SetParalysis(0) if(L.stat == DEAD) L << "You are unworthy." L.visible_message("[L] explodes in a shower of gore!") - var/obj/item/organ/brain/B = L.getorgan(/obj/item/organ/brain) - L.gib() - if(B) - qdel(B) //NO SECOND CHANCES + L.gib(TRUE) else if(announced) return @@ -99,7 +93,15 @@ var/list/highlander_claymores = list() world << "[L.real_name] IS THE ONLY ONE LEFT STANDING!" world << sound('sound/misc/highlander_only_one.ogg') L << "YOU ARE THE ONLY ONE LEFT STANDING! You feel your bonds vanish - you can freely drop or sheathe your [name]! (The kilt stays, though.)" - flags = CONDUCT + flags &= ~NODROP + +/obj/item/weapon/claymore/highlander/pickup(mob/living/user) + user << "The power of Scotland protects you! You are shielded from all stuns and knockdowns." + user.add_stun_absorption("highlander", INFINITY, 1, "is protected by the power of Scotland!", "The power of Scotland absorbs the stun!", " is protected by the power of Scotland!") + +/obj/item/weapon/claymore/highlander/dropped(mob/living/user) + user << "The power of Scotland fades away! You are no longer shielded from stuns." + user.add_stun_absorption("highlander", 0.1, 1, "is protected by the power of Scotland!", "The power of Scotland absorbs the stun!", " is protected by the power of Scotland!") /obj/item/weapon/claymore/highlander/examine(mob/user) ..() @@ -121,7 +123,7 @@ var/list/highlander_claymores = list() /obj/item/weapon/claymore/highlander/IsReflect() return 1 //YOU THINK YOUR PUNY LASERS CAN STOP ME? -/obj/item/weapon/claymore/highlander/proc/add_notch(mob/living/user) +/obj/item/weapon/claymore/highlander/proc/add_notch(mob/living/user) //DYNAMIC CLAYMORE PROGRESSION SYSTEMS - THIS IS THE FUTURE notches++ force++ var/new_name = name diff --git a/code/modules/admin/verbs/onlyone.dm b/code/modules/admin/verbs/onlyone.dm index 1f4c249e8ee..bddc973b359 100644 --- a/code/modules/admin/verbs/onlyone.dm +++ b/code/modules/admin/verbs/onlyone.dm @@ -34,7 +34,6 @@ H.equip_to_slot_or_del(new /obj/item/clothing/under/kilt/highlander(H), slot_w_uniform) H.equip_to_slot_or_del(new /obj/item/device/radio/headset/heads/captain(H), slot_ears) H.equip_to_slot_or_del(new /obj/item/clothing/head/beret/highlander(H), slot_head) - H.equip_to_slot_or_del(new /obj/item/weapon/claymore/highlander(H), slot_l_hand) H.equip_to_slot_or_del(new /obj/item/clothing/shoes/combat(H), slot_shoes) H.equip_to_slot_or_del(new /obj/item/weapon/pinpointer(H.loc), slot_l_store) @@ -48,6 +47,10 @@ W.update_label(H.real_name) H.equip_to_slot_or_del(W, slot_wear_id) + var/obj/item/weapon/claymore/highlander/H1 = new(H) + H.put_in_hands(H1) + H1.pickup(H) + message_admins("[key_name_admin(usr)] used THERE CAN BE ONLY ONE!") log_admin("[key_name(usr)] used THERE CAN BE ONLY ONE.") addtimer(SSshuttle.emergency, "request", 50, FALSE, null, 1)