diff --git a/Docs/Modding/Condition_Functions/isEquipped.txt b/Docs/Modding/Condition_Functions/isEquipped.txt new file mode 100644 index 0000000..3ada655 --- /dev/null +++ b/Docs/Modding/Condition_Functions/isEquipped.txt @@ -0,0 +1,23 @@ +Actor.isEquipped(Slot) + +USE: +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 + +TYPE: Condition, Reference +RETURNS: bool +THEME: Clothes +COMPARE: dress, strip + +EXAMPLE: + If John.isEquipped(Bottom_Under) + "John is wearing a pair of boxers or something." + Endif \ No newline at end of file diff --git a/Docs/Modding/Lists/Functions_By_Theme.txt b/Docs/Modding/Lists/Functions_By_Theme.txt index 4093f5d..fc93d6d 100644 --- a/Docs/Modding/Lists/Functions_By_Theme.txt +++ b/Docs/Modding/Lists/Functions_By_Theme.txt @@ -20,6 +20,7 @@ Overview of command and condition functions, by theme - Clothes dress, strip, dressWedding + isEquipped - Companions endDate, getCompanion, startDate diff --git a/Docs/Modding/SyntaxHighlighter/Instructions.txt b/Docs/Modding/SyntaxHighlighter/Instructions.txt index 253c960..31683ef 100644 --- a/Docs/Modding/SyntaxHighlighter/Instructions.txt +++ b/Docs/Modding/SyntaxHighlighter/Instructions.txt @@ -20,4 +20,14 @@ If the highlighter gets updated with new function keywords and you wish to keep - export your current version of the highlighter first. This'll create an .xml file like the one offered here. - remove your current version in the Define your language window - copy-paste anything from your previous version that's between the and tags to the new one's xml - - import the new .xml \ No newline at end of file + - import the new .xml + +Currently the keywords lists are + 1. block types + 2. command functions + 3. condition functions + 4. special variables + 5. stats + 6. locations + 7. moods + 8. tags \ No newline at end of file diff --git a/Docs/Modding/SyntaxHighlighter/LifePlaySyntaxNP.xml b/Docs/Modding/SyntaxHighlighter/LifePlaySyntaxNP.xml index 23b136a..b2ec7ad 100644 --- a/Docs/Modding/SyntaxHighlighter/LifePlaySyntaxNP.xml +++ b/Docs/Modding/SyntaxHighlighter/LifePlaySyntaxNP.xml @@ -26,7 +26,7 @@ snipend } sceneStart sceneEnd If Else Elseif Endif While EndWhile Random EndRandom addColleague addDatingFriend addNeighbour blendPreset blockContact clearGlobal closeEyes convertToLocalCurrency delete dress endDate exchangeContact Filter forgiveAffairs generatePerson generatePersonTemporary getCompanion getGlobal getID getPerson getRelative getRelativeExcept getRent getSalary getSpecific hide loseDating loseHome loseJob losePT makePermanent moveHome moveJobs moveTo passTime Random( randomizeFace randomizeHairs removeColleague removeDatingFriend removeNeighbour setBackground setBoss setDating setGlobal setHomeCity setLandlord setLivingWithPlayer setPT setRent setSalary Sex SexNoAffair show startDate strip TalkNonConsensual timeout timeoutprecise - ForcedTrigger isAffair isAsexual isAtHome isBoss isColleague isContactExchanged isDating isDatingFriend isDominantSex isInterestedIn isLandlord isMale isMarried isModEnabled isNeighbour isPlayer isRelative isSameAs isSameGender isValid isWithCompanion livesWithPlayer Tag + ForcedTrigger isAffair isAsexual isAtHome isBoss isColleague isContactExchanged isDating isDatingFriend isDominantSex isEquipped isInterestedIn isLandlord isMale isMarried isModEnabled isNeighbour isPlayer isRelative isSameAs isSameGender isValid isWithCompanion livesWithPlayer Tag Player CurrentCompanion actionDuration Difficulty age arousal attractiontoplayer attractiveness car_value children cooking dance energy fertility fitness incest intelligence interpersonal intoxication jobexperience jobperformance martial masochist money mood muscle music perversion pet_health pornfame rapportwithplayer sneak stock_alcohol stock_book stock_coffee stock_condom stock_flower stock_gift stock_haircare stock_ingredient stock_juice stock_makeup stock_meal stock_movie stock_musicalinstrument stock_petfood stock_photo stock_pill stock_skincare stock_snack stock_soda stock_supplement stock_tea stock_tobacco stock_video art bag bakery bank bar beauty beverages bicycle biergarten books butcher cafe car chemist cinema clothes coffee community_centre computer confectionery convenience copyshop cosmetics deli dentist department_store doctor doityourself electronics fast_food florist furniture garden_centre gift greengrocer hairdresser hospital hotel ice_cream jewellery laundry library marketplace mobile_phone motorcycle musical_instrument newsagent nightclub office optician outdoor pet pharmacy photo place_of_worship police post_office prison pub residential restaurant seafood shoes sports sports_centre stationery supermarket tea theatre tobacco toilets toys travel_agency variety_store veterinary