Adds tactical slip shoes

This commit is contained in:
Cocacolagua
2021-10-05 17:07:38 -03:00
parent 957edb4420
commit 92aea96dd1
3 changed files with 38 additions and 6 deletions
+7
View File
@@ -423,6 +423,13 @@
/datum/action/item_action/remove_badge
name = "Remove Holobadge"
// Clown Acrobat Shoes
/datum/action/item_action/rolling
name = "Tactical Roll"
desc = "Activates the clown shoes' ankle-stimulating module, allowing the user to do a short slide forward going through anyone."
button_icon_state = "clown"
// Jump boots
/datum/action/item_action/bhop
name = "Activate Jump Boots"
+7 -6
View File
@@ -167,18 +167,19 @@ GLOBAL_LIST_INIT(uplink_items, subtypesof(/datum/uplink_item))
//Clown
/datum/uplink_item/jobspecific/clowngrenade
name = "Banana Grenade"
desc = "A grenade that explodes into HONK! brand banana peels that are genetically modified to be extra slippery and extrude caustic acid when stepped on"
desc = "A grenade that explodes into HONK! brand banana peels that are genetically modified to be extra slippery and extrude caustic acid when stepped on."
reference = "BG"
item = /obj/item/grenade/clown_grenade
cost = 5
job = list("Clown")
/datum/uplink_item/jobspecific/clownmagboots
name = "Clown Magboots"
desc = "A pair of modified clown shoes fitted with an advanced magnetic traction system. Look and sound exactly like regular clown shoes unless closely inspected."
reference = "CM"
item = /obj/item/clothing/shoes/magboots/clown
/datum/uplink_item/jobspecific/clownslippers
name = "Clown Acrobatic Shoes"
desc = "A pair of modified clown shoes fitted with a built-in propultion system that allows the user to perform a short slip below anyone."
reference = "CAS"
item = /obj/item/clothing/shoes/clown_shoes/tactical
cost = 3
surplus = 75
job = list("Clown")
/datum/uplink_item/jobspecific/trick_revolver
@@ -111,6 +111,30 @@
desc = "Standard-issue shoes of the wizarding class clown. Damn they're huge! And powerful! Somehow."
magical = TRUE
/obj/item/clothing/shoes/clown_shoes/tactical
actions_types = list(/datum/action/item_action/rolling)
var/slide_distance = 6
var/recharging_rate = 100
var/recharging_time = 0
/obj/item/clothing/shoes/clown_shoes/tactical/ui_action_click(mob/user, action)
if(!isliving(user))
return
if(recharging_time > world.time)
to_chat(user, "<span class='warning'>The boot's internal propulsion needs to recharge still!</span>")
return
user.pass_flags += PASSMOB
user.Weaken(2)
playsound(src, 'sound/effects/stealthoff.ogg', 50, 1, 1)
recharging_time = world.time + recharging_rate
user.visible_message("<span class='warning'>[usr] slides forward!</span>")
var/sliding_this_way = user.dir
for(var/i=0, i<slide_distance, i++)
step(user, sliding_this_way)
sleep(1)
user.SetWeakened(0)
user.pass_flags -= PASSMOB
/obj/item/clothing/shoes/jackboots
name = "jackboots"
desc = "Nanotrasen-issue Security combat boots for combat scenarios or combat situations. All combat, all the time."