diff --git a/Content/BPs/GI.uasset b/Content/BPs/GI.uasset index b8707a6..c5af79d 100644 Binary files a/Content/BPs/GI.uasset and b/Content/BPs/GI.uasset differ diff --git a/Content/BPs/Save.uasset b/Content/BPs/Save.uasset index 196790b..4c297d1 100644 Binary files a/Content/BPs/Save.uasset and b/Content/BPs/Save.uasset differ diff --git a/Content/Scenes/CentralLondon.umap b/Content/Scenes/CentralLondon.umap index c1d7cf7..79ff8e5 100644 Binary files a/Content/Scenes/CentralLondon.umap and b/Content/Scenes/CentralLondon.umap differ diff --git a/Content/Structs/StringsString.uasset b/Content/Structs/StringsString.uasset new file mode 100644 index 0000000..4ab0b45 Binary files /dev/null and b/Content/Structs/StringsString.uasset differ diff --git a/Content/UI/Contact.uasset b/Content/UI/Contact.uasset index d05475e..82d7ba4 100644 Binary files a/Content/UI/Contact.uasset and b/Content/UI/Contact.uasset differ diff --git a/Content/UI/ContactMenu.uasset b/Content/UI/ContactMenu.uasset index 3200fc3..ae603fe 100644 Binary files a/Content/UI/ContactMenu.uasset and b/Content/UI/ContactMenu.uasset differ diff --git a/Docs/Modding/Command_Functions/addNpcRelationship.txt b/Docs/Modding/Command_Functions/addNpcRelationship.txt new file mode 100644 index 0000000..d3d294c --- /dev/null +++ b/Docs/Modding/Command_Functions/addNpcRelationship.txt @@ -0,0 +1,30 @@ +addNpcRelationship(Type, Actor1, Actor2, ..., ActorN) + + +USE: +Add (or change if a relationship already exists) a relationship between 2 or more NPCs. The list for 'Type' is: +- Dating (2 actors only) +- Spouses (2 actors only) +- Siblings +- ParentChild (2 actors only, parent is Actor1, child is Actor2) +- Cousins +- BossEmployee (2 actors only, Boss is Actor1, employee is Actor2) +- Colleagues + +TYPE: Command, non-Ref +RETURNS: / +THEME: NPC-NPC +COMPARE: removeNPCRelationship, hasRelationship + +EXAMPLE: + addNpcRelationship(Dating, John, Maria) + "John and Maria have started dating. What a matchmaker I was!" + "A few months later ..." + addNPCRelationship(Spouses, John, Maria) // The 'dating' relationship will be upgraded to spouses + + Jack:: "Have you met my brother, Jason?" + addNpcRelationship(Siblings, Jack, Jason) + "A few days later ... in a seperate scene perhaps" + Jack:: "Here's my sister, Natalie." + addNPCRelationship(Siblings, Jack, Natalie) + "The game will now also recognize Jason and Natalie as siblings." \ No newline at end of file diff --git a/Docs/Modding/Command_Functions/getRelatedPeople.txt b/Docs/Modding/Command_Functions/getRelatedPeople.txt new file mode 100644 index 0000000..14f07c1 --- /dev/null +++ b/Docs/Modding/Command_Functions/getRelatedPeople.txt @@ -0,0 +1,25 @@ +getRelatedPeople(Type1, Type2, ..., TypeN) + + +USE: +Get a group of NPCs with special relationship of specific type or another with each other. The actor variable you give will receive a number suffix starting from 0 when the actors are returned. The list for 'Type' is: +- Dating +- Spouses +- Siblings +- ParentChild +- Cousins +- BossEmployee +- Colleagues +This is mostly useful for the 'WHO' conditions of a scene. + +TYPE: Command, non-Ref +RETURNS: Actor +THEME: NPC-NPC +COMPARE: getRelatedPerson + +EXAMPLE: + WHO: Actor = getRelatedPeople(Dating, Spouses); If Actor0:attractiveness > 70 && Actor1:attractiveness > 70 + // Find a couple who are both hot + + WHO: Actor = getRelatedPeople(Siblings); If Actor2.isValid() + // Find a family with at least 3 siblings \ No newline at end of file diff --git a/Docs/Modding/Command_Functions/getRelatedPerson.txt b/Docs/Modding/Command_Functions/getRelatedPerson.txt new file mode 100644 index 0000000..2439acd --- /dev/null +++ b/Docs/Modding/Command_Functions/getRelatedPerson.txt @@ -0,0 +1,30 @@ +Actor.getRelatedPerson(Type1, Type2, ..., TypeN) + + +USE: +Get a single NPC with a relationship of the specified type or another with the specified NPC. The list for 'Type' is: +- Dating +- Spouses +- Siblings +- ParentChild +- Cousins +- BossEmployee +- Colleagues + +TYPE: Command, non-Ref +RETURNS: Actor +THEME: NPC-NPC +COMPARE: getRelatedPeople + +EXAMPLE: + WHO: Dating = getSpecific(Dating); InLaw = Dating.getRelatedPerson(ParentChild) + // For a scene related to the in laws perhaps + + JohnsSO = John.getRelatedPerson(Spouses, Dating) + If JohnsSO.isValid() + JohnsSO.show(3) + JohnsSO.dress() + "John's sweetheart arrives. We can swing now!" + Else + "John is single." + Endif \ No newline at end of file diff --git a/Docs/Modding/Command_Functions/matchLastName.txt b/Docs/Modding/Command_Functions/matchLastName.txt new file mode 100644 index 0000000..6d5bb1a --- /dev/null +++ b/Docs/Modding/Command_Functions/matchLastName.txt @@ -0,0 +1,13 @@ +Actor.matchLastName(Actor2) + +USE: +Change Actor's last name to match that of Actor2 + +TYPE: Command, Non-Ref +RETURNS: / +THEME: NPC-NPC +COMPARE: + +EXAMPLE: + Eli.matchLastName(Jack) + "Eli just got married. She took her husband Jack's last name" diff --git a/Docs/Modding/Command_Functions/removeNpcRelationship.txt b/Docs/Modding/Command_Functions/removeNpcRelationship.txt new file mode 100644 index 0000000..062a60f --- /dev/null +++ b/Docs/Modding/Command_Functions/removeNpcRelationship.txt @@ -0,0 +1,18 @@ +removeNpcRelationship(Actor1, Actor2, ..., ActorN) + + +USE: +Remove any relationships between 2 or more NPCs. + +TYPE: Command, non-Ref +RETURNS: / +THEME: NPC-NPC +COMPARE: addNPCRelationship, hasRelationship + +EXAMPLE: + addNpcRelationship(Dating, John, Maria) + "John and Maria have started dating. What a matchmaker I was!" + + "A few months later ..." + removeNpcRelationship(John, Maria) + "Oh no, they broke up ..." \ No newline at end of file diff --git a/Docs/Modding/Condition_Functions/hasRelationship.txt b/Docs/Modding/Condition_Functions/hasRelationship.txt new file mode 100644 index 0000000..12ac2eb --- /dev/null +++ b/Docs/Modding/Condition_Functions/hasRelationship.txt @@ -0,0 +1,23 @@ +Actor.hasRelationship(Type1, Type2, ..., TypeN) + +USE: +Checks to see if this NPC is already in a special relationship of a specific type or another with any another NPC. The list for 'Type': +- Dating +- Spouses +- Siblings +- ParentChild +- Cousins +- BossEmployee +- Colleagues + +TYPE: Condition, non-Ref +RETURNS: bool +THEME: NPC-NPC +COMPARE: addNPCRelationship, removeNPCRelationship + +EXAMPLE: + If John.hasRelationship(Dating, Spouses) || John.isDating() + "John is taken, ladies ..." + Else + "John is available, ladies!" + Endif \ No newline at end of file