This commit is contained in:
vinfamy 2020-05-22 22:44:10 +07:00
parent f6c4ba44d6
commit 13f27d1bf2
89 changed files with 131 additions and 0 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,2 @@
FilterDesc(FilenameofLpdescfile)
Filter erotic descruotuibs, name the lpdesc file with the suffix _restricted if you only want that file to be used specifically when FilterDesc calls for it

View file

@ -0,0 +1,2 @@
FilterTalk(FilenameofLptalkfile)
Filter Dirty talks, name the lptalk file with the suffix _restricted if you only want that file to be used specifically when FilterTalk calls for it

View file

@ -0,0 +1,2 @@
BuildingAlias.addObjective(Lpactionfilename)
Add objective to a building alias, objective is simply a lpaction file with SCENE_ALWAYS

View file

@ -0,0 +1,2 @@
assignResidents()
Only used for the check_on_my_family scene

View file

@ -0,0 +1 @@
Only used for the check_on_my_family scene

View file

@ -0,0 +1 @@
Only used for the check_on_my_family scene

View file

@ -0,0 +1,2 @@
Actor.changeSex()
Change to the opposite sex, used for TF start

View file

@ -0,0 +1,2 @@
clearGetList()
So that GetSpecific() GetPerson() etc can return the same actor again if they're already called by a previous get functions in the same scene

View file

@ -0,0 +1 @@
Actor.countPregnancyDays() return Float

View file

@ -0,0 +1,2 @@
Actor.dressBondage(BondageGearID)
Put a bdsm piece on an actor. List is in LifePlay\Content\Heavy\New2\BDSM\Clothes (the ones with the prefix Bdg_ )

View file

@ -0,0 +1,2 @@
StringVariable = enterString()
Allow the player text input to make a new string variable which you can then use

View file

@ -0,0 +1,2 @@
BuildingVariable.findNearbyBuilding(Type) returns Building
Find a building near to another building that is of a certain type. Used with setCurrentLocation()

View file

@ -0,0 +1,2 @@
AliasName.generateBuildingAlias(buildingtype)
Used for quest, building alias is a location that a quest obective can be at, used with addObjective()

View file

@ -0,0 +1,2 @@
AliasName.getActorAlias() returns Actor
For quests. Return an actor from a previously set actor alias.

View file

@ -0,0 +1 @@
Only used for the check_on_my_family scene

View file

@ -0,0 +1,2 @@
Actor.getBuilding(Type) returns Building
Get a building related to this NPC AI-wise. Parameters are Home, Work and Current.

View file

@ -0,0 +1,2 @@
BuildingVariable.getBuildingType() returns string
Used with getBuilding() and isString("") for lpai files

View file

@ -0,0 +1,2 @@
GlobalVariable.getGlobalString() returns String
Same as getGlobal(), just string instead of float

View file

@ -0,0 +1,2 @@
Actor.getMorphValue(MorphName) returns float
Morph list can be found in any lpcharacter file

View file

@ -0,0 +1,2 @@
Actor.getRelatedPersonQuick(RelationshipTypes)
Same as getRelatedPerson() but only load the necessary data for the actor needed for AI stuffs. Only meant for lpai files, actors gotten this way aren't meant to be shown to the player on screen.

View file

@ -0,0 +1,2 @@
getTarget() returns Actor
Used for WHO: conditions for interactions, get the current interaction target (i.e. the actor the player just clicked on)

View file

@ -0,0 +1,3 @@
Actor.getUntil() returns float
Returns the time this person will stop being at their current location and AI would look for a new location again. The value returned isn't the time of the day, but total hours elapsed since the start of the current game, i.e. HoursElapsed + HoursStayed
HoursElapsed being a special variable

View file

@ -0,0 +1,2 @@
Actor1.makeInterested(Actor2)
Change Actor1's sexual orientation so that they become interested in Actor2

View file

@ -0,0 +1,2 @@
Actor1.movetoPerson(Actor2)
Actor1 moves towards Actor2 and headtracks Actor2

View file

@ -0,0 +1 @@
Open a menu: CharGen, Stat, Inventory, ModManager

View file

@ -0,0 +1,9 @@
passOn(Actor)
Used to pass an actor from one scene to the next scene, used with followUp() and getSpecific(PassedOn)
Scene 1:
passOn(Actor)
followUp(scene2)
Scene2:
WHO: Acto = getSpecific(PassedOn)

View file

@ -0,0 +1,2 @@
questEnd()
Ends the current quest

View file

@ -0,0 +1,2 @@
Actor.randomizeRace()
Randomize skin colour and nose / eyes racial features

View file

@ -0,0 +1,2 @@
BuildingAlias.removeObjective(Lpactionfilename)
Remove objective from a building alias, objective is simply a lpaction file with SCENE_ALWAYS

View file

@ -0,0 +1 @@
Used only for the TF New Game

View file

@ -0,0 +1,5 @@
secondScreen(Actor)
Lock an actor onto a miniscreen, for telephone call and thought sequence. While being locked, every Show() called on the Actor will not move them into the environment but stuck at the miniscreen instead
secondScreen()
Close the second screen and unlock the actor for normal Show() behaviour

View file

@ -0,0 +1,2 @@
secondScreenIfHidden(Actor)
Same as SecondScreen(), but does nothing if the actor is already currently seen in the environment (So that they don't disappear from the player's current location and get on the phone remotely instead).

View file

@ -0,0 +1,2 @@
AliasName.setActorAlias(Actor)
For quests. Set an actor as quest actors so you can reference them whenever you want throughout the quest with getActorAlias()

View file

@ -0,0 +1,2 @@
setBackgroundCustom()
Same as setBackground(), but some extra parameters like livingroom, kitchen

View file

@ -0,0 +1,2 @@
Actor.setCurrentLocation(BuildingVariable)
Change an actor's current location. Used with findNearbyBuilding or getBuilding(Home) or getBuilding(Work), mostly in lpai files.

View file

@ -0,0 +1,2 @@
GlobalVariable.setGlobalString(String)
Same as setGlobal(), just string instead of float

View file

@ -0,0 +1,2 @@
Actor.setMorphValue(MorphName, Value)
Morph list can be found in any lpcharacter file.

View file

@ -0,0 +1,3 @@
Actor.setUntil(floatvariable)
Set until what time this person will stay at their current location before AI searches for a new location for them again. The float variable isn't the time of the day, but total hours elapsed since the start of the current game, i.e. HoursElapsed + HoursToStay
HoursElapsed being a special variable and HoursToStay is up to you

View file

@ -0,0 +1,6 @@
SneakGame()
If Random(0, 100) < sneak
"Perfect. Nobody saw a thing."
Endif
Show sneak game, if successful, the next sneak check will return 100

View file

@ -0,0 +1,2 @@
TfGame()
Check if the current game was started with the TF New Game

View file

@ -0,0 +1,2 @@
Actor.hadSex()
Check if this actor has had sex with the player at any point in this playthrough

View file

@ -0,0 +1,2 @@
Actor1.hasSameInterestAs(Actor2)
If two actors have identical sexual orientations

View file

@ -0,0 +1,2 @@
Actor.isBisexual()
If interested in both same gender and opposite gender

View file

@ -0,0 +1 @@
Same as isBisexual but stricter, returns false no matter own gender if interested in Trans

View file

@ -0,0 +1,2 @@
BuildingVariable.isBuildingValid()
Check if a building variable is valid at all (i.e. referring to an actual building on the map), used to check if things like FindNearbyBuilding were successful or not

View file

@ -0,0 +1,2 @@
Actor.isCreatureType(Type)
Parameters: Dog or Horse

View file

@ -0,0 +1,2 @@
Actor.isFemale()
Check if an actor is ciswoman. False if trans.

View file

@ -0,0 +1,2 @@
Actor.isGay()
Check if an actor is only interested in the same sex, i.e. false if bi

View file

@ -0,0 +1 @@
Same as isGay but stricter, returns false no matter own gender if interested in Trans

View file

@ -0,0 +1,2 @@
isIncest()
Only used for lptalk and lpdesc, check if the current sex scene is an incest one

View file

@ -0,0 +1,2 @@
Actor.isInterestedInMen()
Check if an actor is interested in men

View file

@ -0,0 +1,2 @@
Actor.isInterestedInTrans()
Check if an actor is interested in trans women

View file

@ -0,0 +1,2 @@
Actor.isInterestedInWomen()
Check if an actor is interested in women

View file

@ -0,0 +1,2 @@
isOpen(BuildingType)
Check if a building type is open at the current hour

View file

@ -0,0 +1,2 @@
Actor1.isRelationshipWith(Actor2, RelationshipTypes)
If Actor1 is this specific NPC-NPC relationshop with Actor2 (Siblings, Dating, Spouses, ParentChild etc)

View file

@ -0,0 +1,2 @@
Actor.isRelativeType(Type)
Check if this actor is this specific relative relationship with the player

View file

@ -0,0 +1,2 @@
BuildingVariable1.isSameBuilding(BuildingVariable2)
Check if two building variables refer to the same building

View file

@ -0,0 +1,2 @@
StringVariable1.isSameString(StringVariable2)
Check if two string variables are the same, case insensitive

View file

@ -0,0 +1,2 @@
Actor.isStraight()
Check if an actor is only interested in the opposite sex, i.e. false if bi

View file

@ -0,0 +1 @@
Same as isStraight but stricter, returns false no matter own gender if interested in Trans

View file

@ -0,0 +1,2 @@
StringVariable.isString("DirectText")
Check the value of a string, case insensitive

View file

@ -0,0 +1,2 @@
Actor.isTemporary()
Check if this actor is temporary and to be removed as soon as this scene finishes / the player moves from this location. Used with makePermanent()