This commit is contained in:
zerothebigboy
2022-08-08 15:02:02 -04:00
parent d7154099db
commit 8fc9acabb2
14 changed files with 5 additions and 0 deletions

View File

@@ -11,6 +11,7 @@
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

View File

@@ -182,6 +182,8 @@
n_shoes = ninja.shoes
ADD_TRAIT(n_shoes, TRAIT_NODROP, NINJA_SUIT_TRAIT)
n_shoes.slowdown--
n_shoes.icon_state = "s-ninjan"
n_shoes.item_state = "s-ninjan"
n_gloves = ninja.gloves
ADD_TRAIT(n_gloves, TRAIT_NODROP, NINJA_SUIT_TRAIT)
n_gloves.icon_state = "s-ninjan"
@@ -212,6 +214,8 @@
if(n_shoes)
REMOVE_TRAIT(n_shoes, TRAIT_NODROP, NINJA_SUIT_TRAIT)
n_shoes.slowdown++
n_shoes.icon_state = "s-ninja"
n_shoes.item_state = "s-ninja"
if(n_gloves)
n_gloves.icon_state = "s-ninja"
n_gloves.item_state = "s-ninja"