Quick Question about Pixie's ClothingLib
Niekitty
08 Oct 2016, 04:06I'm just wanting to build something in (as simple as possible) to check so the player can't walk out the door without a shirt or something.
On a related note, what would be the easiest way to prevent removal in public areas? Add a script to each garment that checks the current room for a "room.Public=True" before removing, or something?

onimike
08 Oct 2016, 12:55For doors or exits yes, you can set a bool(true or false) and under the exit there is a tab run script before entering. So if bool = true move player to room else print message"You need cloths on before you enter."
The Pixie
08 Oct 2016, 13:25I have updated both the library and the tutorial (it is right at the bottom) to explain just how to do this. Make sure you download the most recent version.
https://github.com/ThePix/quest/wiki/Clothing-Library
Niekitty
08 Oct 2016, 21:09Woo!
Thanks, both!
Also, again, Pixie, this library is a lifesaver. A red one!