Merge pull request #8233 from Cerebulon/slidebar

Ports sliding things along tables
This commit is contained in:
MistakeNot4892
2021-08-26 11:46:52 +10:00
committed by GitHub
4 changed files with 45 additions and 22 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ var/list/slot_equipment_priority = list( \
/mob/proc/equip_voidsuit_to_slot_or_del_with_refit(obj/item/clothing/suit/space/void/W as obj, slot, species = SPECIES_HUMAN)
W.refit_for_species(species)
return equip_to_slot_if_possible(W, slot, 1, 1, 0)
/mob/proc/equip_voidhelm_to_slot_or_del_with_refit(obj/item/clothing/head/helmet/space/void/W as obj, slot, species = SPECIES_HUMAN)
W.refit_for_species(species)
return equip_to_slot_if_possible(W, slot, 1, 1, 0)
+2 -2
View File
@@ -301,7 +301,7 @@
if(istype(H.w_uniform, /obj/item/clothing/under))
suit = H.w_uniform
var/list/slots = list()
for(var/entry in H.species.hud.gear)
var/list/slot_ref = H.species.hud.gear[entry]
@@ -316,7 +316,7 @@
)))
data["slots"] = slots
var/list/specialSlots = list()
if(H.species.hud.has_hands)
specialSlots.Add(list(list(