From 8a909e4da5a5a443dd45af4ec9f64592e4537108 Mon Sep 17 00:00:00 2001 From: datlo Date: Thu, 28 Jun 2018 12:10:22 +0200 Subject: [PATCH] Clown Magboots V2 changed syndi description and fixed my accidental reverts sorry for the commit spam I still stuck at github --- code/datums/uplink_item.dm | 8 ++++++++ code/modules/clothing/shoes/magboots.dm | 23 ++++++++++++++++++++++- 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/code/datums/uplink_item.dm b/code/datums/uplink_item.dm index bc49aa3550a..50f24eac58f 100644 --- a/code/datums/uplink_item.dm +++ b/code/datums/uplink_item.dm @@ -129,6 +129,14 @@ var/list/uplink_items = list() 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 + cost = 3 + job = list("Clown") + //mime /datum/uplink_item/jobspecific/caneshotgun name = "Cane Shotgun + Assassination Darts" diff --git a/code/modules/clothing/shoes/magboots.dm b/code/modules/clothing/shoes/magboots.dm index 88796165114..a415607ac13 100644 --- a/code/modules/clothing/shoes/magboots.dm +++ b/code/modules/clothing/shoes/magboots.dm @@ -53,4 +53,25 @@ obj/item/clothing/shoes/magboots/syndie/advance //For the Syndicate Strike Team desc = "Reverse-engineered magboots that appear to be based on an advanced model, as they have a lighter magnetic pull. Property of Gorlex Marauders." name = "advanced blood-red magboots" - slowdown_active = SHOES_SLOWDOWN \ No newline at end of file + slowdown_active = SHOES_SLOWDOWN + +/obj/item/clothing/shoes/magboots/clown + desc = "The prankster's standard-issue clowning shoes. Damn they're huge! There's a red light on the side." + name = "clown shoes" + icon_state = "clown" + item_state = "clown_shoes" + slowdown = SHOES_SLOWDOWN+1 + item_color = "clown" + var/footstep = 1 //used for squeeks whilst walking + silence_steps = 1 + shoe_sound = "clownstep" + origin_tech = "magnets=4;syndicate=2" + +/obj/item/clothing/shoes/magboots/clown/attack_self(mob/user) //redefine toggle to remove slowdown and icon updating + if(magpulse) + flags &= ~NOSLIP + else + flags |= NOSLIP + magpulse = !magpulse + to_chat(user, "You [magpulse ? "enable" : "disable"] the mag-pulse traction system.") + user.update_gravity(user.mob_has_gravity()) \ No newline at end of file