32 lines
1.1 KiB
Plaintext
32 lines
1.1 KiB
Plaintext
/**
|
|
* # Ninja Shoes
|
|
*
|
|
* Space ninja's shoes. Gives him armor on his feet.
|
|
*
|
|
* Space ninja's ninja shoes. How mousey. Gives him slip protection and protection against attacks.
|
|
* Also are temperature resistant.
|
|
*
|
|
*/
|
|
/obj/item/clothing/shoes/space_ninja
|
|
name = "ninja shoes"
|
|
desc = "A pair of running shoes. Excellent for running and even better for smashing skulls."
|
|
icon_state = "s-ninja"
|
|
item_state = "s-ninja"
|
|
permeability_coefficient = 0.01
|
|
clothing_flags = NOSLIP
|
|
resistance_flags = LAVA_PROOF | FIRE_PROOF | ACID_PROOF
|
|
armor = list(MELEE = 40, BULLET = 30, LASER = 20,ENERGY = 30, BOMB = 30, BIO = 30, RAD = 30, FIRE = 100, ACID = 100)
|
|
cold_protection = FEET
|
|
min_cold_protection_temperature = SHOES_MIN_TEMP_PROTECT
|
|
heat_protection = FEET
|
|
max_heat_protection_temperature = SHOES_MAX_TEMP_PROTECT
|
|
|
|
/obj/item/clothing/shoes/space_ninja/equipped(mob/user, slot)
|
|
. = ..()
|
|
if(slot == ITEM_SLOT_FEET)
|
|
ADD_TRAIT(user, TRAIT_SILENT_STEP, SHOES_TRAIT)
|
|
|
|
/obj/item/clothing/shoes/space_ninja/dropped(mob/user)
|
|
. = ..()
|
|
REMOVE_TRAIT(user, TRAIT_SILENT_STEP, SHOES_TRAIT)
|