Page 1 of 1

[Command] stripOne

Posted: Sat Nov 06, 2021 10:20 pm
by Raddeck
Actor.stripOne(except1, except2, ...)


USE:
Strip this actor of a single currently equipped piece of clothes (but still follows logical order, so no stripping underwear before outerwear etc).
Used for strip poker.


Except can be:
  • Bottom
  • Bottom_Under
  • Eyewear
  • Foot
  • Headwear
  • Outerwear
  • Top
  • Top_Under

TYPE: Command, Reference
RETURNS: /
THEME: Clothes
COMPARE: dress, isSlotOccupied()


EXAMPLE:

Code: Select all

    Player.stripOne(Eyewear)
    "That's the shirt off"

Bug not going in logical order fixed with 3.19!

Re: [Command] stripOne

Posted: Sat Dec 04, 2021 7:13 am
by Raddeck
If you look at this example:

Code: Select all

count = 0                                      // Set counter to 0
Stripper.show()                                      // Show the stripper
"<Stripper.name> is givin a good show."  // Text
While !Stripper.isNaked() && count < 5   // While stripper is not naked and less than 5 turn/round
    "Give a tip"
    1:: "Yes"
    0:: "No"
            
    If 1
        money -= 5
        "Off that goes ..."
        Stripper.stripOne()                         // Stripper take off a random clothe
        Stripper:perversion += 1
        Stripper:arousal += Random(5, 25)
        arousal += 5
    Endif
    count += 1                                       // One turn/round have been made
Endwhile
Example taken from: Ravenger: Stripper.lpscene
So after 5 turns, the scene will end.
If the stripper have more than 5 piece of clothes, he will not be entirely naked after 5 turns.
If stripOne() have no value, it will takes off a random clothe,