Page 1 of 1

Race Specific Clothing

Posted: Sun Apr 02, 2017 7:53 pm
by cedarbridge
Is there currently a var or similar flag for clothing/wearable items that is used to designate that it can be only worn by a certain type of mob?

Example: Plasmaman suits only fit plasmamen.

I haven't looked yet but I presume that the special lizard feet use an exclusion instead of an allowance for shoes.

Re: Race Specific Clothing

Posted: Sun Apr 02, 2017 8:46 pm
by PKPenguin321
slope

Re: Race Specific Clothing

Posted: Sun Apr 02, 2017 9:01 pm
by MrEousTranger
cedarbridge wrote: Example: Plasmaman suits only fit plasmamen.
NOT OKAY

I once killed a plasma man target as traitor, stole his suit
And equipped a voice changer and impersonated him the entire round... untill I accidently blew up chemistry and died, but none the less. This idea would ruin great situations like this.

EDIT: shit sorry realized this wasn't the ideas forum, move along

Re: Race Specific Clothing

Posted: Sun Apr 02, 2017 9:50 pm
by Scott
PKPenguin321 wrote:slope
poor traction

Re: Race Specific Clothing

Posted: Sun Apr 02, 2017 11:41 pm
by oranges
nothing currently exists afaik

Re: Race Specific Clothing

Posted: Mon Apr 03, 2017 2:24 am
by Incoming
There is a system I highly discourage using for making sprites look different on specific races (look at boxing shorts) but nothing that locks clothing to a race.

I really discourage that kind of mechanic though.

Re: Race Specific Clothing

Posted: Mon Apr 03, 2017 5:35 am
by cedarbridge
PKPenguin321 wrote:slope
I asked a coding question and gave an example of how it would work. I didn't say the example is what I'm doing. Cripes.

Re: Race Specific Clothing

Posted: Mon Apr 03, 2017 6:43 am
by oranges
this man fucks birds

Re: Race Specific Clothing

Posted: Mon Apr 03, 2017 8:46 am
by MisterPerson
oranges wrote:this man fucks birds
Fake news

Re: Race Specific Clothing

Posted: Mon Apr 03, 2017 10:12 am
by Steelpoint
Alternative is that if you wear a piece of clothing not intended for your characters species that you get a message in your text screen telling you how uncomfortable the suit/whatever is, and you suffer a minor movement slow down.

Otherwise, I disagree with restricting clothing options to race.

Re: Race Specific Clothing

Posted: Wed Apr 05, 2017 9:37 am
by Ricotez
Image

it's hard enough to imitate certain races as it is

Re: Race Specific Clothing

Posted: Wed Apr 05, 2017 11:50 am
by Thunder11
cedarbridge wrote:
PKPenguin321 wrote:slope
I asked a coding question and gave an example of how it would work. I didn't say the example is what I'm doing. Cripes.
Pay attention, this is the coding forum, not ideas. This thread is not about an idea it's a question about how to do a code thing.

Re: Race Specific Clothing

Posted: Wed Apr 05, 2017 1:44 pm
by Qbopper
Thunder11 wrote:
cedarbridge wrote:
PKPenguin321 wrote:slope
I asked a coding question and gave an example of how it would work. I didn't say the example is what I'm doing. Cripes.
Pay attention, this is the coding forum, not ideas. This thread is not about an idea it's a question about how to do a code thing.
It's getting annoying how no one is reading these posts, this isn't "should we add race specific clothing?"

It's "is there a method in the code for race specific clothing?"

Re: Race Specific Clothing

Posted: Wed Apr 05, 2017 4:27 pm
by Gun Hog
Possibly a flag or list var in each species datum with clothing they can wear. Such as FIT_LIZARD flag that would be given to both Ashwalkers and station lizards. FIT_PLASMAMAN for plasmamen, etc. Clothing would have this same var. So, if someone wants to wear a certain suit, you check that the mob's fitting flag matches at least one flag on the item. Example: For a miner suit: fittings = FIT_HUMAN|FIT_LIZARD would let lizards and humans wear it, but NOT any species lacking a FIT_HUMAN or FIT_LIZARD flag. You can also do a list, such as fittings = list("human", "lizard").

Re: Race Specific Clothing

Posted: Wed Apr 05, 2017 6:47 pm
by cedarbridge
Gun Hog wrote:Possibly a flag or list var in each species datum with clothing they can wear. Such as FIT_LIZARD flag that would be given to both Ashwalkers and station lizards. FIT_PLASMAMAN for plasmamen, etc. Clothing would have this same var. So, if someone wants to wear a certain suit, you check that the mob's fitting flag matches at least one flag on the item. Example: For a miner suit: fittings = FIT_HUMAN|FIT_LIZARD would let lizards and humans wear it, but NOT any species lacking a FIT_HUMAN or FIT_LIZARD flag. You can also do a list, such as fittings = list("human", "lizard").
/vg/ uses a VOX_SHAPED and GREY_SHAPED in roughly the same way as that.

Alternatively to excluding equips by those lacking the flag, I'd think it might be interesting to make a two part notice. "The strange suit doesn't fit you very well!" and "<name>'s suit doesn't seem to fit poorly." It still lets you wear the disguise, but (like real disguises made up on the spot) its imperfect. I presume something like that could also be done with the same flags?