mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-25 22:12:58 +01:00
Shuttle update: Part Two: The Legion Protects (#7457)
This commit is contained in:
@@ -461,6 +461,7 @@ var/const/NO_EMAG_ACT = -50
|
||||
/obj/item/card/id/distress/legion
|
||||
name = "\improper Tau Ceti Foreign Legion ID"
|
||||
assignment = "Tau Ceti Foreign Legion Volunteer"
|
||||
icon_state = "legion"
|
||||
|
||||
/obj/item/card/id/distress/legion/New()
|
||||
access = list(access_legion, access_maint_tunnels, access_external_airlocks, access_security, access_engine, access_engine_equip, access_medical, access_research, access_atmospherics, access_medical_equip)
|
||||
|
||||
@@ -243,8 +243,8 @@
|
||||
name = "tactical shield"
|
||||
desc = "A highly advanced ballistic shield crafted from durable materials and plated ablative panels. Can be collapsed for mobility."
|
||||
icon = 'icons/obj/tactshield.dmi'
|
||||
icon_state = "tactshield0"
|
||||
item_state = "tactshield0"
|
||||
icon_state = "tactshield"
|
||||
item_state = "tactshield"
|
||||
contained_sprite = 1
|
||||
force = 3.0
|
||||
throwforce = 3.0
|
||||
@@ -254,6 +254,12 @@
|
||||
attack_verb = list("shoved", "bashed")
|
||||
var/active = 0
|
||||
|
||||
/obj/item/shield/riot/tact/legion
|
||||
name = "legion ballistic shield"
|
||||
desc = "A highly advanced ballistic shield crafted from durable materials and plated ablative panels. Can be collapsed for mobility. This one has been painted in the colors of the Tau Ceti Foreign Legion."
|
||||
icon_state = "legion_tactshield"
|
||||
item_state = "legion_tactshield"
|
||||
|
||||
/obj/item/shield/riot/tact/handle_shield(mob/user)
|
||||
if(!active)
|
||||
return 0 //turn it on first!
|
||||
@@ -264,24 +270,26 @@
|
||||
|
||||
/obj/item/shield/riot/tact/attack_self(mob/living/user)
|
||||
active = !active
|
||||
icon_state = "tactshield[active]"
|
||||
item_state = "tactshield[active]"
|
||||
playsound(src.loc, 'sound/weapons/empty.ogg', 50, 1)
|
||||
|
||||
if(active)
|
||||
icon_state = "[initial(icon_state)]_[active]"
|
||||
item_state = "[initial(item_state)]_[active]"
|
||||
force = 5
|
||||
throwforce = 5
|
||||
throw_speed = 2
|
||||
w_class = 4
|
||||
slot_flags = SLOT_BACK
|
||||
to_chat(user, "<span class='notice'>You extend \the [src] downward with a sharp snap of your wrist.</span>")
|
||||
to_chat(user, span("notice","You extend \the [src] downward with a sharp snap of your wrist."))
|
||||
else
|
||||
icon_state = "[initial(icon_state)]"
|
||||
item_state = "[initial(item_state)]"
|
||||
force = 3
|
||||
throwforce = 3
|
||||
throw_speed = 3
|
||||
w_class = 3
|
||||
slot_flags = 0
|
||||
to_chat(user, "<span class='notice'>\The [src] folds inwards neatly as you snap your wrist upwards and push it back into the frame.</span>")
|
||||
to_chat(user, span("notice","\The [src] folds inwards neatly as you snap your wrist upwards and push it back into the frame."))
|
||||
|
||||
if(istype(user,/mob/living/carbon/human))
|
||||
var/mob/living/carbon/human/H = user
|
||||
@@ -290,4 +298,3 @@
|
||||
|
||||
add_fingerprint(user)
|
||||
return
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
"<span class='warning'>You extend the baton.</span>",\
|
||||
"You hear an ominous click.")
|
||||
icon_state = "telebaton_1"
|
||||
item_state = "nullrod"
|
||||
item_state = "telebaton_1"
|
||||
w_class = 3
|
||||
force = 15//quite robust
|
||||
attack_verb = list("smacked", "struck", "slapped")
|
||||
|
||||
Reference in New Issue
Block a user