Skip to content
This repository has been archived by the owner on Nov 5, 2023. It is now read-only.

var/flags_inv is not working as intended #296

Open
Pebblesthe2nd opened this issue Dec 8, 2022 · 3 comments
Open

var/flags_inv is not working as intended #296

Pebblesthe2nd opened this issue Dec 8, 2022 · 3 comments
Labels
Bug Something isn't working

Comments

@Pebblesthe2nd
Copy link
Contributor

Used heavily in root items for helmets
Supposed to make stuff invisible (such as ear items, so the ear piece does not clip

What it does instead: Makes it impossible to remove or place a item in the ear slot (or eyeslot, depending what you flagged) giving the error message "the mask is in the way"

It does not make anything invisible, still clips.

@RonBag RonBag added the Bug Something isn't working label Dec 8, 2022
@xTrainx
Copy link

xTrainx commented Jan 2, 2023

Cannot reproduce, though trying to remove an ear piece with a helmet on doesn't let you take it but I assume that's intendes

@Pebblesthe2nd
Copy link
Contributor Author

This is easiest to reproduce by
A: doing a test edit of a hat that doesnt have the flag. I recommend using /obj/item/clothing/head/helmet/fashion/cowboy/blondie
and just add
flags_inv = HIDEEARS
at the end.

B: spawn a bald naked man
C: spawn the following
/obj/item/radio/headset/headset_town/lawman_sheriff
/obj/item/clothing/head/helmet/fashion/cowboy/blondie
/obj/item/clothing/head/helmet/fashion/cowboy
D: Notice how if you wear the flagged testhat (blondie) you can suddenly not unequip the radio, and furthermore, the radio sprite is simply not invisible. The flag does not do what its supposed to.

So, it is reproducable, and the bug is that it does not make the earpiece invisible as its intended, instead it makes it impossible to access the slot.

@xTrainx
Copy link

xTrainx commented Jan 7, 2023

ok, i was thinking the problem was it was clipping through helmets, i get it now, but not being able to access the headpiece is intentional, it just a lot of items that shouldn't be classified as helmet are a subtype of such, so their flags_inv should be changed to reflect those that can and cannot hide the ears

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants