mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 13:39:16 +01:00
* Fixes RIG gear to not drop your equipped items
Fixes the rig gear to not drop your equipped gear after undeployment
* better fix
* Fixes suits and RIGS
- Makes rigsuits no longer eat your gloves
- Allows you to properly wear a ring under a rigsuit
- Gets rid of a LOT of duplicate var = XYZ in places
- Makes it so clothing actually properly provide protection to the areas they're covering. (This doesn't change anything unless their actual min_cold_protection or max_heat_protection is adjusted!)
- Adds a define for CHEST which is just UPPER_TORSO|LOWER_TORSO to make it clear it's protecting your WHOLE chest at a glance.
- Gives some things like knee-high and thigh-high boots proper leg protection
* Clothing unit test
* fixes
* oops
* hoods are snowflakes
* hood fix
* path fix
* no nullspace turf
* nullcheck
* don't test devwarning cloths
* ignore this too
* more exclusions
* more exclusions, disabled species test
* Changes So Far
* holding/wearing icons for clothing
* fixed
* more fixes
* lets try this again
* go
* tesh cloak
* some more
* devwarning
* the cursed one
* oops
* fixed species scan
* Update clothing.dm
* restrict this down a bit more, we don't want unit-test to choke
* no more CI killer
* suit defined name twice
* suit
* some more exclusions
* etc
* gwah
* gwah
* clarifying exclusions
* yet more exclusions
* another set of exclusions
* ranger
* compile
* more bitflag
* yet more exclusions
* more
* more missing
* Update sifguard.dm
comment (also to wake up travis)
* more exclusions
* sifguard
* more exclusions
* more
* send help, yes more exclusions
* lost to time
* skrell stuff
* offear is special
* fixes more and unbreaks protean rigs
* The big one
* wrong ifdef
* more
* boots
* Update accessory.dm
* small object fix
* lets be more careful
* Does this fix the signal
* is it the signal?
* FIXES THE REST OF THEM
* wah
* disable test
* the last one
* fix signal check
* fixes
* ignore storage
* teshari blacklist
* tesh
* God speed
* fixed progression removed lizard
* fixes some i guess but what's the point
* disable indepth check
* START ROBOT SPRITE VALIDITY
* Revert "START ROBOT SPRITE VALIDITY"
This reverts commit c9bfb7e9ce.
* consistency with another test
* yuh uh
---------
Co-authored-by: Willburd <7099514+Willburd@users.noreply.github.com>
40 lines
1.2 KiB
Plaintext
40 lines
1.2 KiB
Plaintext
/*
|
|
* WORKS FOR RIGS, NOT AS A STANDALONE RIGHT NOW
|
|
*
|
|
* TODO: FIX QUICK_EQUIP SO IT DOESN'T EQUIP THESE TO YOUR BACK WHEN YOU HAVE NO GLOVES
|
|
* CHECK SLOWDOWN ON EQUIP/UNEQUIP
|
|
* ADD SPRITES FOR ANY ACTUAL GAUNTLET ITEMS, THE BASE GLOVE ITEM HAS NO SPRITE, FOR GOOD REASON
|
|
*/
|
|
|
|
/obj/item/clothing/gloves/gauntlets //Used to cover gloves, otherwise act as gloves.
|
|
name = DEVELOPER_WARNING_NAME // "gauntlets"
|
|
desc = "These gloves go over regular gloves."
|
|
glove_level = 3
|
|
overgloves = 1
|
|
punch_force = 5
|
|
|
|
/obj/item/clothing/gloves/gauntlets/mob_can_equip(mob/user, slot, disable_warning = FALSE)
|
|
var/mob/living/carbon/human/H = user
|
|
if(H.gloves)
|
|
gloves = H.gloves
|
|
if(!istype(gloves))
|
|
to_chat(user, "You are unable to wear \the [src] as \the [H.gloves] are in the way.")
|
|
gloves = null
|
|
return 0
|
|
if(gloves.overgloves)
|
|
to_chat(user, "You are unable to wear \the [src] as \the [H.gloves] are in the way.")
|
|
gloves = null
|
|
return 0
|
|
H.drop_from_inventory(gloves)
|
|
gloves.forceMove(src)
|
|
|
|
if(!..())
|
|
if(gloves)
|
|
if(H.equip_to_slot_if_possible(gloves, slot_gloves))
|
|
gloves = null
|
|
return 0
|
|
if(gloves)
|
|
to_chat(user, "You slip \the [src] on over \the [gloves].")
|
|
wearer = WEAKREF(H)
|
|
return 1
|