1.7.4.
This commit is contained in:
parent
343ee4bb8e
commit
930119c513
78 changed files with 0 additions and 688 deletions
|
|
@ -1,3 +0,0 @@
|
|||
ForcedTrigger() returns bool
|
||||
|
||||
Whether a scene was force triggered. Currently only used for the house party event. Probably not useful for anything else.
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
Tag(tag1, tag2, ..., tagN) returns bool
|
||||
|
||||
(Used for lpdesc and lptalk files) Check if the current animation contains ALL of the tags specified.
|
||||
|
||||
EXAMPLE:
|
||||
Tag(Hugging, NonSexual, Couple)
|
||||
// To check if the current animation contains ANY of the tags specified, use this instead:
|
||||
Tag(Hugging) || Tag(NonSexual) || Tag(Couple)
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
Actor.isAffair() returns bool
|
||||
|
||||
Check if you have commited affair with this actor while with your current boyfriend / girlfriend.
|
||||
|
||||
EXAMPLE:
|
||||
If John.isAffair()
|
||||
John(Flirty):: "Oh baby, your stupid boyfriend has no idea what we've done."
|
||||
Endif
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
isAtHome() returns bool
|
||||
|
||||
Check if the player is at their own home. Frequently used to separate 'WHERE: home' cases of the player being at home and being at their significant other's home.
|
||||
|
||||
EXAMPLE:
|
||||
WHERE: home
|
||||
....
|
||||
|
||||
If isAtHome()
|
||||
"Home sweet home"
|
||||
Else
|
||||
"I must be at my boyfriend's house."
|
||||
Endif
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
Actor.isBoss() returns bool
|
||||
|
||||
Check if the actor is the player's boss.
|
||||
|
||||
EXAMPLE:
|
||||
If John.isBoss()
|
||||
John(Angry):: "You're fired!"
|
||||
Endif
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
Actor.isColleague() returns bool
|
||||
|
||||
Check if the actor is one of the player's colleagues.
|
||||
|
||||
EXAMPLE:
|
||||
If John.isColleague()
|
||||
John(Happy):: "Hey, wanna go for lunch?"
|
||||
Endif
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
Actor.isContactExchanged() returns bool
|
||||
|
||||
Check if the actor has exchanged numbers with the player.
|
||||
|
||||
EXAMPLE:
|
||||
If John.isContactExchanged()
|
||||
John(Happy):: "Well, you have my number. Just call me if you need anything else."
|
||||
Else
|
||||
John(Happy):: "Actually, why don't we exchange numbers. So that you'll know how to reach me if you need anything else."
|
||||
exchangeContact(John)
|
||||
Endif
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
Actor.isDating() returns bool
|
||||
|
||||
Check if the actor is in a relationship with the player.
|
||||
Alternatively, if the Actor is Player then it checks whether the player is currently in a relationship at all.
|
||||
|
||||
EXAMPLE:
|
||||
If Player.isDating()
|
||||
"I'm dating someone ..."
|
||||
If John.isDating()
|
||||
"And <John.name> is my <John.boyfriend_or_girlfriend>."
|
||||
Else
|
||||
"But my significant other isn't <John.name>."
|
||||
Endif
|
||||
Endif
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
Actor.isDatingFriend() returns bool
|
||||
|
||||
Check if the actor is a friend of your significant other
|
||||
|
||||
EXAMPLE:
|
||||
If John.isDatingFriend()
|
||||
John(Happy):: "Nice to meet you at last, <Player.name>. <Dating.name> can't stop talking about you."
|
||||
Endif
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
Actor1.isDominantSex(Actor2) returns bool
|
||||
|
||||
Check if the one actor would take a dominant role in a sexual relationship with another actor. This doesn't take into account sexual orientation. The rule is male is dominant to female, female with penis dominant to female with vagina. When it's male-male or female-female, it compares the masochist / submissive stat, the actor with lower masochist is dominant.
|
||||
|
||||
EXAMPLE:
|
||||
If John.isDominantSex(Player)
|
||||
"A <John.guy_or_girl> approached me and introduced <John.himself_or_herself> as <John.name>."
|
||||
Endif
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
Actor.isEquipped(Slot) returns bool
|
||||
|
||||
Check if an actor is wearing any clothes in a certain 'slot'. Will return true even if it's an underwear hidden under other clothes. The slots are:
|
||||
Outerwear
|
||||
Headwear
|
||||
Eyewear
|
||||
Top
|
||||
Top_Under
|
||||
Bottom
|
||||
Bottom_Under
|
||||
Foot
|
||||
Foot_Under
|
||||
|
||||
EXAMPLE:
|
||||
If John.isEquipped(Bottom_Under)
|
||||
"John is wearing a pair of boxers or something."
|
||||
Endif
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
Actor1.isInterestedIn(Actor2) returns bool
|
||||
|
||||
Check if the one actor is interested sexually in another actor's gender. Does not take into account attractiontoplayer stat, just look at Actor1's sexual orientation and Actor2's gender.
|
||||
|
||||
EXAMPLE:
|
||||
If John.isInterestedIn(Player)
|
||||
"A <John.guy_or_girl> approached me and introduced <John.himself_or_herself> as <John.name>."
|
||||
Endif
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
Actor.isLandlord() returns bool
|
||||
|
||||
Check if the actor is your landlord.
|
||||
|
||||
EXAMPLE:
|
||||
If John.isLandlord()
|
||||
John(Angry):: "Hey, there has been a noise complaint about you."
|
||||
Endif
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
Actor.isMale() returns bool
|
||||
|
||||
Check if the actor is male. Will still return male if gay or into transgender only - only thing that matters is which base mesh the actor is using.
|
||||
|
||||
EXAMPLE:
|
||||
If John.isMale()
|
||||
"<John.name> is a dude!"
|
||||
Endif
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
isModEnabled(ModID) returns bool
|
||||
|
||||
Check if a mod, identified by its ID, is enabled.
|
||||
|
||||
EXAMPLE:
|
||||
If isModEnabled(vin_VanillaPorn)
|
||||
"Some really silly porn plot is going to happen!"
|
||||
Endif
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
Actor.isNeighbour() returns bool
|
||||
|
||||
Check if the actor is one of your neighbours.
|
||||
|
||||
EXAMPLE:
|
||||
If John.isNeighbour()
|
||||
John(Happy):: "Hey, I'm your neighbour. Nice to meet you!"
|
||||
Endif
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
Actor.isPlayer() returns bool
|
||||
|
||||
Check if the actor is the player.
|
||||
|
||||
EXAMPLE:
|
||||
If John.isPlayer()
|
||||
"Should have just use the variable Player!"
|
||||
Endif
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
Actor1.isSameAs(Actor2) returns bool
|
||||
|
||||
Check if the two actors are the same person
|
||||
|
||||
EXAMPLE:
|
||||
If John.isSameAs(Jack)
|
||||
"They're the same dude!"
|
||||
Endif
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
Actor1.isSameGender(Actor2) returns bool
|
||||
|
||||
Check if the two actors are the same gender
|
||||
|
||||
EXAMPLE:
|
||||
If John.isSameGender(Jack)
|
||||
"They're both <John.male_or_female>."
|
||||
Endif
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
Actor1.isValid() returns bool
|
||||
|
||||
Check if an actor variable is valid. Most commonly used after GetPerson(), GetCompanion() or GetSpecific()
|
||||
|
||||
EXAMPLE:
|
||||
John = getSpecific(Colleague)
|
||||
If John.isValid()
|
||||
"I have at least one colleague"
|
||||
Else
|
||||
John = generatePerson()
|
||||
John.addColleague()
|
||||
"I met a new colleague, <John.name>"
|
||||
Endif
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
Actor.isVisible(Slot) returns bool
|
||||
|
||||
Check if an actor is wearing any clothes in a certain 'slot'. Will return false if it's an underwear hidden under other clothes. The slots are:
|
||||
Outerwear
|
||||
Headwear
|
||||
Eyewear
|
||||
Top
|
||||
Top_Under
|
||||
Bottom
|
||||
Bottom_Under
|
||||
Foot
|
||||
Foot_Under
|
||||
|
||||
EXAMPLE:
|
||||
If John.isVisible(Bottom_Under)
|
||||
"John is wearing a pair of boxers and there's no other piece of clothing occupying the Bottom slot so these boxers are visible."
|
||||
Endif
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
isWithCompanion() returns bool
|
||||
|
||||
Check if the player is currently hanging out with a companion.
|
||||
|
||||
EXAMPLE:
|
||||
If isWithCompanion()
|
||||
"I'm currently with <CurrentCompanion.name>."
|
||||
Endif
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
losePT()
|
||||
|
||||
The player fires their current personal trainer.
|
||||
|
||||
EXAMPLE:
|
||||
Player(Angry):: "I've made no progress under your instructions. You're fired!"
|
||||
losePT()
|
||||
"I need to find a new personal trainer now."
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
Sex(Actor1, Actor2, ..., ActorN)
|
||||
|
||||
Start a sex scene involving these actors. If the player is involved, it will also check whether the player is cheating or not and add to the affair list accordingly.
|
||||
|
||||
EXAMPLE:
|
||||
Boss(Happy):: "Baby, let's get closer!"
|
||||
Sex(Boss, Player)
|
||||
|
||||
If Boss.isAffair() // if you are in a relationship with someone else, this will return true after sex
|
||||
"I cheated on my boyfriend with my boss."
|
||||
Endif
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
SexNoAffair(Actor1, Actor2, ..., ActorN)
|
||||
|
||||
Start a sex scene involving these actors. Even if the player is involved, it will not check whether the player is cheating or not.
|
||||
|
||||
EXAMPLE:
|
||||
Boss(Happy):: "Baby, let's get closer!"
|
||||
SexNoAffair(Boss, Player)
|
||||
|
||||
If Boss.isAffair() // this will return false no matter what
|
||||
"I cheated on my boyfriend with my boss."
|
||||
Endif
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
Actor.addColleague()
|
||||
|
||||
Add this actor to the list of colleagues.
|
||||
|
||||
EXAMPLE:
|
||||
John(Happy):: "Hi there, I'm new here."
|
||||
John.addColleage()
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
Actor.addDatingFriend()
|
||||
|
||||
Add this actor to the list of your significant other's friends.
|
||||
|
||||
EXAMPLE:
|
||||
John(Happy):: "Hi there, I'm your boyfriend's friend."
|
||||
John.addDatingFriend()
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
Actor.addNeighbour()
|
||||
|
||||
Add this actor to the list of neighbours.
|
||||
|
||||
EXAMPLE:
|
||||
John(Happy):: "Hi there, I'm new here. Just moved in."
|
||||
John.addNeighbour()
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
Actor.blendPreset(PresetID)
|
||||
|
||||
Blend this actor with a preset, usually called after generatePerson().
|
||||
|
||||
EXAMPLE:
|
||||
// We want a male bodybuilder
|
||||
Bodybuilder = generatePerson() // just so that we get the random stats etc, but this might generate a female
|
||||
Bodybuilder.blendPreset(bodybuilder) // if the above is female, then this will reset face and hair to the default male face and hair
|
||||
Actor.randomizeFace()
|
||||
Actor.randomizeHairs()
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
blockContact(Actor)
|
||||
|
||||
Remove this person from your contact list.
|
||||
|
||||
EXAMPLE:
|
||||
"This guy is a stalker. This is enough."
|
||||
blockContact(John)
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
GlobalVariable.clearGlobal()
|
||||
|
||||
Delete this global variable completely.
|
||||
|
||||
EXAMPLE:
|
||||
SugarDaddy.clearGlobal()
|
||||
FloatVariable = SugarDaddy.getGlobal() // will now return 0
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
Float.convertToLocalCurrency() returns String
|
||||
|
||||
Convert this dollar value to the local currency in string format.
|
||||
|
||||
EXAMPLE:
|
||||
Salary = 3000
|
||||
SalaryConverted = Salary.convertToLocalCurrency()
|
||||
"My salary is <SalaryConverted>." // will show up as 'My salary is £ 2000.'
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
Actor.Delete()
|
||||
|
||||
Force remove this actor from current memory. Used in rare cases where SceneEnd() (which does this automatically to all actors used in the scene) isn't called.
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
Actor.dress(optional_item)
|
||||
|
||||
If there's nothing in the bracket, it will dress the actor fully appropriate to the current building. If a clothing piece is specified, will put that on only. Check LifePlay\Content\Heavy\Clothes for the names of the items
|
||||
|
||||
EXAMPLE:
|
||||
setBackground(work)
|
||||
Player.dress() // will put on a full suit with oxford shoes etc and underwear underneath
|
||||
|
||||
OR
|
||||
|
||||
Player.dress(Casual-Clothes_1_F) // will put on casual clothes only, no shoe or underwear
|
||||
|
||||
|
||||
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
endDate()
|
||||
|
||||
End the current 'date', i.e. get rid of the current companion.
|
||||
|
||||
EXAMPLE:
|
||||
"We already hung out for the whole afternoon. It's time to separate."
|
||||
endDate()
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
exchangeContact(Actor)
|
||||
|
||||
Exchange numbers with this actor.
|
||||
|
||||
EXAMPLE:
|
||||
"We exchanged numbers and parted ways."
|
||||
exchangeContact(John)
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
forgiveAffairs()
|
||||
|
||||
Clear all affairs commited while in this current relationship. This is done automatically when SetDating().
|
||||
|
||||
EXAMPLE:
|
||||
Dating(Crying):: "Alright, after everything we've been through, I guess I can forgive you this time ..."
|
||||
forgiveAffairs()
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
generatePerson() returns Actor
|
||||
generatePerson(preset1, preset2, ..., presetN) returns Actor
|
||||
|
||||
Generate a new actor. If nothing inside the bracket: completely random actor. Or you can specify the presets to blend into this new actor. The actor generated using this method will be permanent right away, meaning they will remain (as a lpcharacter ready to be 'get' for a future scene) after the current scene ends.
|
||||
|
||||
EXAMPLE:
|
||||
Actor = generatePerson() // OR Actor = generatePerson(easterneuropean, twenties, fitness_model)
|
||||
Actor.dress()
|
||||
Actor.show(2)
|
||||
|
||||
exchangeContact(Actor) // this will succeed because this is a permanent actor
|
||||
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
generatePersonTemporary() returns Actor
|
||||
generatePersonTemporary(preset1, preset2, ..., presetN) returns Actor
|
||||
|
||||
Generate a new actor. If nothing inside the bracket: completely random actor. Or you can specify the presets to blend into this new actor. The actor generated using this method will be temporary at first (unless you call MakePermanent() on them later on), meaning they will be deleted with no traces left (not even in a lpcharacter) after the current scene ends. Useful for loops and for one-off actors like thiefs and prostitutes. Also, your adultery with a temporary actor will never be caught!
|
||||
|
||||
EXAMPLE:
|
||||
Actor = generatePersonTemporary() // OR Actor = generatePersonTemporary(easterneuropean, twenties, fitness_model)
|
||||
Actor.dress()
|
||||
Actor.show(2)
|
||||
|
||||
exchangeContact(Actor) // this will fail because this is a temporary actor that will be lost forever after the current scene ends. You need to call MakePermanent first.
|
||||
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
getCompanion() returns Actor
|
||||
|
||||
Get the current companion. Not entirely necessary as the current companion has a special variable CurrentCompanion that is always available.
|
||||
|
||||
EXAMPLE:
|
||||
Actor = getCompanion()
|
||||
Actor.dress()
|
||||
|
||||
// is the same as
|
||||
|
||||
CurrentCompanion.dress()
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
GlobalVariable.getGlobal() returns float
|
||||
|
||||
Get the value of a global variable into a float variable. If there's no global variable under such name, returns 0.
|
||||
|
||||
EXAMPLE:
|
||||
SugarDaddyID = SugarDaddyGV.getGlobal()
|
||||
If SugarDaddy != 0
|
||||
SugarDaddyActor = getSpecific(SugarDaddyID)
|
||||
Endif
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
Actor.getID() returns Float
|
||||
|
||||
Get the ID of this actor, which can then be saved as a global variable and then called on using getSpecific.
|
||||
|
||||
EXAMPLE:
|
||||
ID = Actor.getID()
|
||||
SugarDaddy.setGlobal(ID)
|
||||
|
||||
// another scene
|
||||
|
||||
ID = SugarDaddy.getID()
|
||||
If ID != 0
|
||||
Actor = getSpecific(ID)
|
||||
Endif
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
getPerson(optional bool) returns Actor
|
||||
|
||||
Get a random person in your current game (i.e. could be anyone that has been created with GeneratePerson() or GeneratePersonTemporary() then MakePermanent() ). Optional bool parameters to filter for whether their contact has been exchanged to you or not.
|
||||
|
||||
EXAMPLE:
|
||||
Actor = getPerson() // get anyone
|
||||
Actor = getPerson(true) // get someone who has exchanged numbers with me
|
||||
Actor = getPerson(false) // get someone whose number I don't have
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
getRent() returns Float
|
||||
|
||||
Get the current rent into a float variable.
|
||||
|
||||
EXAMPLE
|
||||
Rent = getRent()
|
||||
Rent *= 1.2
|
||||
Rent.setRent()
|
||||
"Damn, the rent was increased by 20%."
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
getSalary() returns Float
|
||||
|
||||
Get the current salary into a float variable.
|
||||
|
||||
EXAMPLE
|
||||
Salary = getSalary()
|
||||
Salary *= 1.2
|
||||
Salary.setRent()
|
||||
"Yay, my salary was increased by 20%."
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
getSpecific(keyword) returns Actor
|
||||
getSpecific(float) returns Actor
|
||||
getSpecific(float variable) returns Actor
|
||||
|
||||
Get a specific person in your current game.
|
||||
Keywords are Dating, Dating_Friend, Boss, Colleague, Neighbour, PT, ExDating
|
||||
Alternatively, you can input a number or a float variable to get specifically the actor with that ID
|
||||
|
||||
EXAMPLE:
|
||||
SO = getSpecific(Dating) // get my boyfriend / girlfriend
|
||||
Actor5 = getSpecific(5) // get the fifth generated actor in this current game
|
||||
|
||||
ID = SugarDaddy.getGlobal()
|
||||
If ID != 0
|
||||
SugarDaddyActor = getSpecific(ID) // get the sugar daddy via the float variable
|
||||
Endif
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
Actor.hide()
|
||||
|
||||
Hide the actor from the player's view. Opposite to show().
|
||||
|
||||
EXAMPLE:
|
||||
Actor.show(2)
|
||||
"<Actor.name> said hi then quickly left."
|
||||
Actor.hide()
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
loseDating()
|
||||
|
||||
Break up with current boyfriend / girlfriend. All affairs and SO's friends are cleared and become acquaintances.
|
||||
|
||||
EXAMPLE:
|
||||
"It's over. He broke up with me!"
|
||||
loseDating()
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
loseHome()
|
||||
|
||||
The player moves out of their current home. Set rent to 0. Landlord and neighbours become acquantainces.
|
||||
|
||||
EXAMPLE:
|
||||
Landlord(Angry):: "That's enough. You're evicted!"
|
||||
loseHome()
|
||||
"I need to find a new place to live now."
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
loseJob()
|
||||
|
||||
The player stops working at their current company. Set salary to 0. Boss and colleagues become acquantainces.
|
||||
|
||||
EXAMPLE:
|
||||
Boss(Angry):: "That's enough. You're fired!"
|
||||
loseJob()
|
||||
"I need to find a new place to work now."
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
Actor.makePermanent()
|
||||
|
||||
Normally following generatePersonTemporary(), this turns a temporary actor into a permanent actor that persists after the current scene ends. Does nothing if called on an already permanent actor.
|
||||
|
||||
EXAMPLE:
|
||||
// Generate someone who is into the player's gender
|
||||
InterestedPerson = generatePersonTemporary()
|
||||
While !InterestedPerson.isInterestedIn(Player)
|
||||
InterestedPerson = generatePersonTemporary() // use this instead of GeneratePerson() because otherwise there would be too many (depending how many loops it takes to generate oen that's into the player) permanent actors who appear out of nowhere.
|
||||
Endwhile
|
||||
InterestedPerson.makePermanent() // now that an interested person is generated, we can make them permanent now.
|
||||
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
moveHome()
|
||||
|
||||
Move into the current building and make it our new home. Remember to use SetLandlord() and SetRent() separately.
|
||||
|
||||
EXAMPLE:
|
||||
"I signed the contract."
|
||||
moveHome()
|
||||
Rent = 1000
|
||||
Landlord.setLandlord()
|
||||
Rent.setRent()
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
moveJobs()
|
||||
|
||||
Get hired at this current building and make it our new workplace. Remember to use setBoss() and SetSalary() separately.
|
||||
|
||||
EXAMPLE:
|
||||
"I signed the contract."
|
||||
moveJobs()
|
||||
Salary = 2000
|
||||
Interviewer.setBoss()
|
||||
Salary.setRent()
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
moveTo(place)
|
||||
|
||||
Instantly move the player to this place. Currently there are only three places: Home, Home_Dating, Work
|
||||
|
||||
EXAMPLE:
|
||||
"Where should I go?"
|
||||
0:: "Home"
|
||||
1:: "My boyfriend's place"
|
||||
2:: "The office"
|
||||
|
||||
If 0
|
||||
moveTo(home)
|
||||
Elseif 1
|
||||
moveTo(home_dating)
|
||||
Else
|
||||
moveTo(work)
|
||||
Endif
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
passTime(hours_min, hours_max)
|
||||
|
||||
I initially intended this as a way to pass time during a scene, but it turned out too complicated due to stat depreciations. All it does now is add to the variable TimePassed, which can be useful for while loop I guess.
|
||||
|
||||
EXAMPLE:
|
||||
While TimePassed < 3
|
||||
"The party continues ..."
|
||||
passTime(0.25, 1)
|
||||
Endwhile
|
||||
"The party ends."
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
Actor.randomizeFace()
|
||||
|
||||
Randomize the actor's face and skin. Commonly called after blendpreset (which might change the gender which resets the actor to the default face and hair for that gender)
|
||||
|
||||
EXAMPLE:
|
||||
// We want a male bodybuilder
|
||||
Bodybuilder = generatePerson() // just so that we get the random stats etc, but this might generate a female
|
||||
Bodybuilder.blendPreset(bodybuilder) // if the above is female, then this will reset face and hair to the default male face and hair
|
||||
Actor.randomizeFace()
|
||||
Actor.randomizeHairs()
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
Actor.randomizeHairs()
|
||||
|
||||
Randomize the actor's hair and pubic hair. Commonly called after blendpreset (which might change the gender which resets the actor to the default face and hair for that gender)
|
||||
|
||||
EXAMPLE:
|
||||
// We want a male bodybuilder
|
||||
Bodybuilder = generatePerson() // just so that we get the random stats etc, but this might generate a female
|
||||
Bodybuilder.blendPreset(bodybuilder) // if the above is female, then this will reset face and hair to the default male face and hair
|
||||
Actor.randomizeFace()
|
||||
Actor.randomizeHairs()
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
Actor.removeColleague()
|
||||
|
||||
Remove this actor from the list of colleague. Will remain acquaintance at least though.
|
||||
|
||||
EXAMPLE:
|
||||
John(Sad):: "I'm leaving the company."
|
||||
John.removeColleage()
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
Actor.removeDatingFriend()
|
||||
|
||||
Remove this actor from the list of your significant other's friends. Will remain acquaintance at least though.
|
||||
|
||||
EXAMPLE:
|
||||
John(Sad):: "Your boyfriend is an asshole. I'm no longer his friend."
|
||||
John.removeDatingFriend()
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
Actor.removeNeighbour()
|
||||
|
||||
Remove this actor from the list of your neighbours. Will remain acquaintance at least though.
|
||||
|
||||
EXAMPLE:
|
||||
John(Sad):: "Goodbye, we're moving to another apartment."
|
||||
John.removeNeighbour()
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
sceneEnd()
|
||||
|
||||
End the scene and return to map view. This will also clear all actors (except player and current companion from memory) after saving them back into their lpcharacters.
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
sceneStart()
|
||||
|
||||
Start the scene and open the scene UI
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
setBackground(where)
|
||||
|
||||
Set the background image. Check all_where.txt for full list. This is also important for dress() which decides how to dress the actor appropriately based on the background (suits for work, sport clothes for sports_centre etc)
|
||||
|
||||
EXAMPLE:
|
||||
setBackground(work)
|
||||
Player.dress() // player will put on professional clothes
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
Actor.setBoss()
|
||||
|
||||
Make this person your boss. Current boss is no longer boss and becomes acquaintance.
|
||||
|
||||
EXAMPLE:
|
||||
"I signed the contract."
|
||||
moveJobs()
|
||||
Salary = 2000
|
||||
Interviewer.setBoss()
|
||||
Salary.setRent()
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
Actor.setDating()
|
||||
|
||||
Make this person your significant other. Current SO is no longer dating you and becomes acquaintance. Also clears out all dating friends and affairs, who all become acquaintances.
|
||||
|
||||
EXAMPLE:
|
||||
"I agreed to be his girlfriend"
|
||||
John.setDating()
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
GlobalVariable.setGlobal(float or floatvariable)
|
||||
|
||||
Set (add if it doesn't already exist) a global variable to a certain number.
|
||||
|
||||
EXAMPLE:
|
||||
NumberOfChildren.setGlobal(3)
|
||||
|
||||
OR
|
||||
|
||||
SugarDaddyID = Actor2.getID()
|
||||
SugarDaddy.setGlobal(SugarDaddyID)
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
Actor.setLandlord()
|
||||
|
||||
Make this person your landlord. Current landlord is no longer landlord and becomes acquaintance.
|
||||
|
||||
EXAMPLE:
|
||||
"I signed the contract."
|
||||
moveHome()
|
||||
Rent = 1000
|
||||
Landlord.setLandlord()
|
||||
Rent.setRent()
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
Actor.setPT()
|
||||
|
||||
Make this person your personal trainer. Current personal trainer is no longer PT and becomes acquaintance.
|
||||
|
||||
EXAMPLE:
|
||||
"<John.name> agreed to train me."
|
||||
John.setPT()
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
Float.setRent()
|
||||
|
||||
Set this as your current rent.
|
||||
|
||||
EXAMPLE:
|
||||
"I signed the contract."
|
||||
moveHome()
|
||||
Rent = 1000
|
||||
Landlord.setLandlord()
|
||||
Rent.setRent()
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
Float.setSalary()
|
||||
|
||||
Set this as your current salary.
|
||||
|
||||
EXAMPLE:
|
||||
"I signed the contract."
|
||||
moveJobs()
|
||||
Salary = 2000
|
||||
Interviewer.setBoss()
|
||||
Salary.setRent())
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
Actor.show(position_index)
|
||||
|
||||
Show this actor on screen. The player's default position is 0. 1 - 6 is counted from right to left of the screen.
|
||||
|
||||
EXAMPLE:
|
||||
NewGuy = generatePerson()
|
||||
NewGuy.dress()
|
||||
NewGuy.show(2)
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
Actor.startDate()
|
||||
|
||||
Start hanging out with this person (make them your current companion)
|
||||
|
||||
EXAMPLE:
|
||||
"I decided to hang out with <John.name> today."
|
||||
John.startDate()
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
Actor.strip()
|
||||
|
||||
Strip this actor of all clothes
|
||||
|
||||
EXAMPLE:
|
||||
Player.strip()
|
||||
"I'm nude now ..."
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
timeout(hours, sceneid1, sceneid2, ..., sceneidN)
|
||||
|
||||
Timeout these scenes for x hours so that they won't trigger again. The number of hours is adjusted by the scene frequency setting however.
|
||||
|
||||
Example:
|
||||
"I just met someone. I don't want to meet another person for a while."
|
||||
timeout(20, meet_new_person) // could be more or less than 20 hours depending on the scene frequency setting
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
timeoutActor(hours, actor1, actor2, ..., actorN)
|
||||
|
||||
Timeout these actors for x hours so that they won't trigger in any scene again. The number of hours is adjusted by the scene frequency setting however.
|
||||
|
||||
Example:
|
||||
"John just interacted with me in a scene. I don't want him to appear until tomorrow"
|
||||
timeout(24, John) // could be more or less than 24 hours depending on the scene frequency setting
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
timeoutActorPrecise(hours, actor1, actor2, ..., actorN)
|
||||
|
||||
Timeout these actors for x hours so that they won't trigger in any scene again. The number of hours is fixed and not affected by the scene frequency setting.
|
||||
|
||||
Example:
|
||||
"John just interacted with me in a scene. I don't want him to appear until tomorrow."
|
||||
timeoutPrecise(24, John) // will be exactly 24 hours regardless of the scene frequency setting
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
timeoutPrecise(hours, sceneid1, sceneid2, ..., sceneidN)
|
||||
|
||||
Timeout these scenes for x hours so that they won't trigger again. The number of hours is fixed and not affected by the scene frequency setting.
|
||||
|
||||
Example:
|
||||
"I just celebrated my birthday."
|
||||
timeoutPrecise(8760, birthday) // it will be my birthday again exactly this time next year
|
||||
Loading…
Reference in a new issue