diff --git a/code/datums/action.dm b/code/datums/action.dm index be7f82494f9..8a23b87e6e0 100644 --- a/code/datums/action.dm +++ b/code/datums/action.dm @@ -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" diff --git a/code/datums/uplink_item.dm b/code/datums/uplink_item.dm index 4e59d8ad6dd..ae0a0d4198c 100644 --- a/code/datums/uplink_item.dm +++ b/code/datums/uplink_item.dm @@ -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 diff --git a/code/modules/clothing/shoes/miscellaneous.dm b/code/modules/clothing/shoes/miscellaneous.dm index 329bea01f9d..0ece784db82 100644 --- a/code/modules/clothing/shoes/miscellaneous.dm +++ b/code/modules/clothing/shoes/miscellaneous.dm @@ -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, "The boot's internal propulsion needs to recharge still!") + 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("[usr] slides forward!") + var/sliding_this_way = user.dir + for(var/i=0, i