35 lines
1.2 KiB
Plaintext
35 lines
1.2 KiB
Plaintext
/obj/item/bluespace_belt
|
|
name = "bluespace belt"
|
|
desc = "A belt made using bluespace technology. The power of space and time, used to hide the fact you are fat."
|
|
icon = 'GainStation13/icons/obj/clothing/bluespace_belt.dmi'
|
|
icon_state = "bluespace_belt"
|
|
item_state = "bluespace_belt"
|
|
slot_flags = ITEM_SLOT_BELT
|
|
equip_sound = 'GainStation13/sound/items/equip/toolbelt_equip.ogg'
|
|
drop_sound = 'GainStation13/sound/items/handling/toolbelt_drop.ogg'
|
|
pickup_sound = 'GainStation13/sound/items/handling/toolbelt_pickup.ogg'
|
|
|
|
/obj/item/bluespace_belt/equipped(mob/user, slot)
|
|
..()
|
|
if(!iscarbon(user))
|
|
return
|
|
var/mob/living/carbon/U = user
|
|
if(slot ==ITEM_SLOT_BELT)
|
|
to_chat(U, "<span class='notice'>You put the belt around your waist and your mass begins to shrink...</span>")
|
|
U.hider_add(src)
|
|
else
|
|
to_chat(user, "<span class='notice'>The belt is opened, letting your mass flow out!</span>")
|
|
U.hider_remove(src)
|
|
|
|
/obj/item/bluespace_belt/dropped(mob/user)
|
|
..()
|
|
if(!iscarbon(user))
|
|
return
|
|
var/mob/living/carbon/U = user
|
|
to_chat(U, "<span class='warning'>The belt is opened, letting your mass flow out!</span>")
|
|
U.hider_remove(src)
|
|
|
|
/obj/item/bluespace_belt/proc/fat_hide(var/mob/living/carbon/user)
|
|
return -(user.fatness_real - 1)
|
|
|