diff --git a/Changelog.md b/Changelog.md
index ced3f18..488c25d 100644
--- a/Changelog.md
+++ b/Changelog.md
@@ -1,3 +1,17 @@
+# 0.39.1
+*February 4, 2024*
+
+Improvements
+- Display a roadmap information box about household selection area colors
+
+Fixes
+- Fixed the MonoGame About link in the credits
+- Fixed mods not being able to register actions correctly
+
+API
+- Reverted static constructor game content loading change from 0.39.0
+- Added code documentation for changes since 0.38.0
+
# 0.39.0
*February 2, 2024*
diff --git a/docs/api/.manifest b/docs/api/.manifest
index 6bf4967..6f02edc 100644
--- a/docs/api/.manifest
+++ b/docs/api/.manifest
@@ -782,10 +782,6 @@
"TinyLife.Actions.PutAwayAction.AndThenIsCompleted": "TinyLife.Actions.PutAwayAction.yml",
"TinyLife.Actions.PutAwayAction.CreateFirstActions": "TinyLife.Actions.PutAwayAction.yml",
"TinyLife.Actions.PutAwayAction.Items": "TinyLife.Actions.PutAwayAction.yml",
- "TinyLife.Actions.ResearchUpgradesAction": "TinyLife.Actions.ResearchUpgradesAction.yml",
- "TinyLife.Actions.ResearchUpgradesAction.#ctor(TinyLife.Actions.ActionType,TinyLife.Actions.ActionInfo)": "TinyLife.Actions.ResearchUpgradesAction.yml",
- "TinyLife.Actions.ResearchUpgradesAction.AndThenIsCompleted": "TinyLife.Actions.ResearchUpgradesAction.yml",
- "TinyLife.Actions.ResearchUpgradesAction.AndThenOnCompleted(TinyLife.Actions.CompletionType)": "TinyLife.Actions.ResearchUpgradesAction.yml",
"TinyLife.Actions.SellAction": "TinyLife.Actions.SellAction.yml",
"TinyLife.Actions.SellAction.AndThenInitialize": "TinyLife.Actions.SellAction.yml",
"TinyLife.Actions.SellAction.AndThenIsCompleted": "TinyLife.Actions.SellAction.yml",
@@ -901,15 +897,6 @@
"TinyLife.Actions.TryGoHereAction.PositionsToTry": "TinyLife.Actions.TryGoHereAction.yml",
"TinyLife.Actions.TryGoHereAction.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)": "TinyLife.Actions.TryGoHereAction.yml",
"TinyLife.Actions.TryGoHereAction.Validate(TinyLife.Objects.Person)": "TinyLife.Actions.TryGoHereAction.yml",
- "TinyLife.Actions.UpgradeFurnitureAction": "TinyLife.Actions.UpgradeFurnitureAction.yml",
- "TinyLife.Actions.UpgradeFurnitureAction.#ctor(TinyLife.Actions.ActionType,TinyLife.Actions.ActionInfo,TinyLife.Objects.Upgrade)": "TinyLife.Actions.UpgradeFurnitureAction.yml",
- "TinyLife.Actions.UpgradeFurnitureAction.AndThenInitialize": "TinyLife.Actions.UpgradeFurnitureAction.yml",
- "TinyLife.Actions.UpgradeFurnitureAction.AndThenIsCompleted": "TinyLife.Actions.UpgradeFurnitureAction.yml",
- "TinyLife.Actions.UpgradeFurnitureAction.AndThenOnCompleted(TinyLife.Actions.CompletionType)": "TinyLife.Actions.UpgradeFurnitureAction.yml",
- "TinyLife.Actions.UpgradeFurnitureAction.AndThenUpdate(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)": "TinyLife.Actions.UpgradeFurnitureAction.yml",
- "TinyLife.Actions.UpgradeFurnitureAction.CreateFirstActions": "TinyLife.Actions.UpgradeFurnitureAction.yml",
- "TinyLife.Actions.UpgradeFurnitureAction.GetArguments(TinyLife.Actions.ActionInfo,System.Boolean)": "TinyLife.Actions.UpgradeFurnitureAction.yml",
- "TinyLife.Actions.UpgradeFurnitureAction.GetProgress": "TinyLife.Actions.UpgradeFurnitureAction.yml",
"TinyLife.Actions.WalkAction": "TinyLife.Actions.WalkAction.yml",
"TinyLife.Actions.WalkAction.#ctor(TinyLife.Actions.ActionInfo)": "TinyLife.Actions.WalkAction.yml",
"TinyLife.Actions.WalkAction.DrainEnergy": "TinyLife.Actions.WalkAction.yml",
@@ -2303,7 +2290,7 @@
"TinyLife.Objects.Newspaper.GetDescription(System.Collections.Generic.List{System.String},System.Boolean)": "TinyLife.Objects.Newspaper.yml",
"TinyLife.Objects.Newspaper.IsExpired": "TinyLife.Objects.Newspaper.yml",
"TinyLife.Objects.ObjectCategory": "TinyLife.Objects.ObjectCategory.yml",
- "TinyLife.Objects.ObjectCategory.#ctor(System.String,System.Numerics.BigInteger)": "TinyLife.Objects.ObjectCategory.yml",
+ "TinyLife.Objects.ObjectCategory.#ctor(System.String,System.Numerics.BigInteger,System.Boolean)": "TinyLife.Objects.ObjectCategory.yml",
"TinyLife.Objects.ObjectCategory.AllowedOnWater": "TinyLife.Objects.ObjectCategory.yml",
"TinyLife.Objects.ObjectCategory.BabyBathtub": "TinyLife.Objects.ObjectCategory.yml",
"TinyLife.Objects.ObjectCategory.BabySittable": "TinyLife.Objects.ObjectCategory.yml",
diff --git a/docs/api/TinyLife.Actions.Action.yml b/docs/api/TinyLife.Actions.Action.yml
index a586c0d..f8eb294 100644
--- a/docs/api/TinyLife.Actions.Action.yml
+++ b/docs/api/TinyLife.Actions.Action.yml
@@ -1290,7 +1290,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OpenPlayerPrompt
path: ../TinyLife/Actions/Action.cs
- startLine: 329
+ startLine: 330
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -1324,6 +1324,7 @@ items:
description: The portrait to display. If this is null, the 's portrait is used.
- id: panelWidth
type: System.Single
+ description: The width of the displayed panel. Defaults to 100.
return:
type: TinyLife.Uis.CoveringGroup
content.vb: Public Function OpenPlayerPrompt(title As String, canFinish As Predicate(Of Panel), onFinished As Action(Of Panel), canExit As Boolean, addChildren As Action(Of CoveringGroup, Panel), portrait As TextureRegion = Nothing, panelWidth As Single = 100) As CoveringGroup
@@ -1353,7 +1354,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OpenYesNoPrompt
path: ../TinyLife/Actions/Action.cs
- startLine: 364
+ startLine: 365
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -1404,7 +1405,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OpenTextPrompt
path: ../TinyLife/Actions/Action.cs
- startLine: 392
+ startLine: 393
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -1459,7 +1460,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OpenChoicePrompt
path: ../TinyLife/Actions/Action.cs
- startLine: 405
+ startLine: 406
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -1494,7 +1495,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SpeakAlone
path: ../TinyLife/Actions/Action.cs
- startLine: 426
+ startLine: 427
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -1559,7 +1560,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ThinkAlone
path: ../TinyLife/Actions/Action.cs
- startLine: 443
+ startLine: 444
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -1621,7 +1622,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SpeakInConversation
path: ../TinyLife/Actions/Action.cs
- startLine: 464
+ startLine: 465
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -1695,7 +1696,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ResetSpeech
path: ../TinyLife/Actions/Action.cs
- startLine: 473
+ startLine: 474
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -1723,7 +1724,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FacePartner
path: ../TinyLife/Actions/Action.cs
- startLine: 485
+ startLine: 486
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -1760,7 +1761,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CompleteIfNeedFull
path: ../TinyLife/Actions/Action.cs
- startLine: 500
+ startLine: 501
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -1798,7 +1799,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CompleteIfTimeUp
path: ../TinyLife/Actions/Action.cs
- startLine: 514
+ startLine: 515
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -1851,7 +1852,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CancelIfEmotional
path: ../TinyLife/Actions/Action.cs
- startLine: 528
+ startLine: 529
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -1893,7 +1894,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Sit
path: ../TinyLife/Actions/Action.cs
- startLine: 544
+ startLine: 545
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -1944,7 +1945,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetChildren
path: ../TinyLife/Actions/Action.cs
- startLine: 560
+ startLine: 561
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -1985,7 +1986,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetChild
path: ../TinyLife/Actions/Action.cs
- startLine: 577
+ startLine: 578
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -2032,7 +2033,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: PickUpAndGoTo
path: ../TinyLife/Actions/Action.cs
- startLine: 619
+ startLine: 620
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -2082,7 +2083,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: PickUpAndGoTo
path: ../TinyLife/Actions/Action.cs
- startLine: 632
+ startLine: 633
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -2132,7 +2133,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetFreeChair
path: ../TinyLife/Actions/Action.cs
- startLine: 669
+ startLine: 670
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -2175,7 +2176,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetFreeChairs
path: ../TinyLife/Actions/Action.cs
- startLine: 686
+ startLine: 687
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -2224,7 +2225,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetSeatCategory
path: ../TinyLife/Actions/Action.cs
- startLine: 706
+ startLine: 707
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -2262,7 +2263,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FindAllFreePeople
path: ../TinyLife/Actions/Action.cs
- startLine: 723
+ startLine: 724
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -2324,7 +2325,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FindAllFreeFurniture
path: ../TinyLife/Actions/Action.cs
- startLine: 750
+ startLine: 751
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -2389,7 +2390,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FindAllFreeWalls
path: ../TinyLife/Actions/Action.cs
- startLine: 770
+ startLine: 771
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -2444,7 +2445,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FindAllFreeGround
path: ../TinyLife/Actions/Action.cs
- startLine: 789
+ startLine: 790
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -2497,7 +2498,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FindFreeFurniture
path: ../TinyLife/Actions/Action.cs
- startLine: 811
+ startLine: 812
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -2556,7 +2557,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FindAllActionObjects
path: ../TinyLife/Actions/Action.cs
- startLine: 825
+ startLine: 826
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -2603,7 +2604,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FindValidActionObjects
path: ../TinyLife/Actions/Action.cs
- startLine: 864
+ startLine: 865
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -2662,7 +2663,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetRandomValidArguments
path: ../TinyLife/Actions/Action.cs
- startLine: 881
+ startLine: 882
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -2706,7 +2707,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetTableSpot
path: ../TinyLife/Actions/Action.cs
- startLine: 909
+ startLine: 910
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -2747,7 +2748,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: InvokeForBoth
path: ../TinyLife/Actions/Action.cs
- startLine: 922
+ startLine: 923
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -2788,7 +2789,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CanMultitask
path: ../TinyLife/Actions/Action.cs
- startLine: 934
+ startLine: 935
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -2829,7 +2830,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: IsInappropriate
path: ../TinyLife/Actions/Action.cs
- startLine: 945
+ startLine: 946
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -2870,7 +2871,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: IsLotContentVisible
path: ../TinyLife/Actions/Action.cs
- startLine: 966
+ startLine: 967
assemblies:
- Tiny Life
namespace: TinyLife.Actions
diff --git a/docs/api/TinyLife.Actions.ActionType.AiSettings.yml b/docs/api/TinyLife.Actions.ActionType.AiSettings.yml
index 31c53da..c4244f4 100644
--- a/docs/api/TinyLife.Actions.ActionType.AiSettings.yml
+++ b/docs/api/TinyLife.Actions.ActionType.AiSettings.yml
@@ -27,7 +27,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AiSettings
path: ../TinyLife/Actions/ActionType.cs
- startLine: 345
+ startLine: 349
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -63,7 +63,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SolvedNeeds
path: ../TinyLife/Actions/ActionType.cs
- startLine: 353
+ startLine: 357
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -99,7 +99,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: PassivePriority
path: ../TinyLife/Actions/ActionType.cs
- startLine: 361
+ startLine: 365
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -137,7 +137,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CanDoRandomly
path: ../TinyLife/Actions/ActionType.cs
- startLine: 368
+ startLine: 372
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -173,7 +173,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CanDoAtAnyPoint
path: ../TinyLife/Actions/ActionType.cs
- startLine: 375
+ startLine: 379
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -209,7 +209,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: NeedsFreeActionSpot
path: ../TinyLife/Actions/ActionType.cs
- startLine: 381
+ startLine: 385
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -243,7 +243,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: IgnoreAiDisabled
path: ../TinyLife/Actions/ActionType.cs
- startLine: 385
+ startLine: 389
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -272,7 +272,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: EnqueuePriority
path: ../TinyLife/Actions/ActionType.cs
- startLine: 389
+ startLine: 393
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -301,7 +301,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Actions/ActionType.cs
- startLine: 394
+ startLine: 398
assemblies:
- Tiny Life
namespace: TinyLife.Actions
diff --git a/docs/api/TinyLife.Actions.ActionType.TypeSettings.yml b/docs/api/TinyLife.Actions.ActionType.TypeSettings.yml
index f971c44..d30153d 100644
--- a/docs/api/TinyLife.Actions.ActionType.TypeSettings.yml
+++ b/docs/api/TinyLife.Actions.ActionType.TypeSettings.yml
@@ -844,10 +844,15 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: RequiredUpgrade
path: ../TinyLife/Actions/ActionType.cs
- startLine: 289
+ startLine: 293
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: >-
+ The that is required on the action object for this action to be available.
+
+ If the is not set, the required upgrade's icon will automatically be used.
+ example: []
syntax:
content: public Upgrade RequiredUpgrade
return:
@@ -871,7 +876,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Actions/ActionType.cs
- startLine: 300
+ startLine: 304
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -912,7 +917,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Actions/ActionType.cs
- startLine: 309
+ startLine: 313
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -943,7 +948,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SetData
path: ../TinyLife/Actions/ActionType.cs
- startLine: 320
+ startLine: 324
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -983,7 +988,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SetData
path: ../TinyLife/Actions/ActionType.cs
- startLine: 325
+ startLine: 329
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -1025,7 +1030,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetData
path: ../TinyLife/Actions/ActionType.cs
- startLine: 331
+ startLine: 335
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -1068,7 +1073,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetDataKeys
path: ../TinyLife/Actions/ActionType.cs
- startLine: 336
+ startLine: 340
assemblies:
- Tiny Life
namespace: TinyLife.Actions
diff --git a/docs/api/TinyLife.Actions.BehaviorAction-1.yml b/docs/api/TinyLife.Actions.BehaviorAction-1.yml
index 9aa9be0..8069d7b 100644
--- a/docs/api/TinyLife.Actions.BehaviorAction-1.yml
+++ b/docs/api/TinyLife.Actions.BehaviorAction-1.yml
@@ -43,8 +43,6 @@ items:
- TinyLife.Actions.Action
- TinyLife.Actions.MultiAction
- TinyLife.Actions.BehaviorAction
- derivedClasses:
- - TinyLife.Actions.ResearchUpgradesAction
implements:
- MLEM.Misc.IGenericDataHolder
inheritedMembers:
diff --git a/docs/api/TinyLife.Actions.Behaviors.PickUpOrSpawnBehavior.yml b/docs/api/TinyLife.Actions.Behaviors.PickUpOrSpawnBehavior.yml
index 0f82da7..4709d47 100644
--- a/docs/api/TinyLife.Actions.Behaviors.PickUpOrSpawnBehavior.yml
+++ b/docs/api/TinyLife.Actions.Behaviors.PickUpOrSpawnBehavior.yml
@@ -29,7 +29,7 @@ items:
summary: >-
An action behavior that causes an object to be spawned in a 's hand, or picked up from a location that it is occupying.
- Note that a previous item is always discarded using the ActionType.DiscardHeldItem action.
+ Note that a previous item is always discarded using the action.
example: []
syntax:
content: 'public class PickUpOrSpawnBehavior : ActionBehavior'
@@ -188,6 +188,12 @@ references:
name: Person
nameWithType: Person
fullName: TinyLife.Objects.Person
+- uid: TinyLife.Actions.DiscardHeldItemAction
+ commentId: T:TinyLife.Actions.DiscardHeldItemAction
+ href: TinyLife.Actions.DiscardHeldItemAction.html
+ name: DiscardHeldItemAction
+ nameWithType: DiscardHeldItemAction
+ fullName: TinyLife.Actions.DiscardHeldItemAction
- uid: TinyLife.Actions.Behaviors
commentId: N:TinyLife.Actions.Behaviors
href: TinyLife.html
diff --git a/docs/api/TinyLife.Actions.DiscardHeldItemAction.yml b/docs/api/TinyLife.Actions.DiscardHeldItemAction.yml
index 5b13987..a9c91e0 100644
--- a/docs/api/TinyLife.Actions.DiscardHeldItemAction.yml
+++ b/docs/api/TinyLife.Actions.DiscardHeldItemAction.yml
@@ -23,10 +23,15 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DiscardHeldItemAction
path: ../TinyLife/Actions/DiscardHeldItemAction.cs
- startLine: 7
+ startLine: 11
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: >-
+ A typeless action that can be used to make tinies get rid of the item that they're currently holding before starting their action, using .
+
+ To add custom default ways of discarding an item, they can be added to the collection.
+ example: []
syntax:
content: 'public class DiscardHeldItemAction : MultiAction, IGenericDataHolder'
content.vb: Public Class DiscardHeldItemAction Inherits MultiAction Implements IGenericDataHolder
@@ -139,10 +144,15 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DiscardActions
path: ../TinyLife/Actions/DiscardHeldItemAction.cs
- startLine: 9
+ startLine: 17
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: >-
+ The collection of default ways that a tiny will try to discard the item they're currently holding.
+
+ The collection is ordered by "priority", so items closer to the start will be attempted first. By default, the last item in the collection is the action, which will be tried as a sort of "last resort".
+ example: []
syntax:
content: public static readonly List<(Func Predicate, Func DiscardAction)> DiscardActions
return:
@@ -166,7 +176,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Actions/DiscardHeldItemAction.cs
- startLine: 17
+ startLine: 25
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -199,7 +209,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CreateFirstActions
path: ../TinyLife/Actions/DiscardHeldItemAction.cs
- startLine: 20
+ startLine: 28
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -238,7 +248,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AndThenIsCompleted
path: ../TinyLife/Actions/DiscardHeldItemAction.cs
- startLine: 42
+ startLine: 50
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -256,6 +266,19 @@ items:
overridden: TinyLife.Actions.MultiAction.AndThenIsCompleted
overload: TinyLife.Actions.DiscardHeldItemAction.AndThenIsCompleted*
references:
+- uid: TinyLife.Actions.MultiAction
+ commentId: T:TinyLife.Actions.MultiAction
+ parent: TinyLife.Actions
+ href: TinyLife.Actions.MultiAction.html
+ name: MultiAction
+ nameWithType: MultiAction
+ fullName: TinyLife.Actions.MultiAction
+- uid: TinyLife.Actions.DiscardHeldItemAction.DiscardActions
+ commentId: F:TinyLife.Actions.DiscardHeldItemAction.DiscardActions
+ href: TinyLife.Actions.DiscardHeldItemAction.html#TinyLife_Actions_DiscardHeldItemAction_DiscardActions
+ name: DiscardActions
+ nameWithType: DiscardHeldItemAction.DiscardActions
+ fullName: TinyLife.Actions.DiscardHeldItemAction.DiscardActions
- uid: TinyLife.Actions
commentId: N:TinyLife.Actions
href: TinyLife.html
@@ -303,13 +326,6 @@ references:
name: Action
nameWithType: Action
fullName: TinyLife.Actions.Action
-- uid: TinyLife.Actions.MultiAction
- commentId: T:TinyLife.Actions.MultiAction
- parent: TinyLife.Actions
- href: TinyLife.Actions.MultiAction.html
- name: MultiAction
- nameWithType: MultiAction
- fullName: TinyLife.Actions.MultiAction
- uid: MLEM.Misc.IGenericDataHolder
commentId: T:MLEM.Misc.IGenericDataHolder
parent: MLEM.Misc
@@ -3955,6 +3971,12 @@ references:
- uid: TinyLife.Utilities
name: Utilities
href: TinyLife.Utilities.html
+- uid: TinyLife.Actions.ActionType.PutDown
+ commentId: F:TinyLife.Actions.ActionType.PutDown
+ href: TinyLife.Actions.ActionType.html#TinyLife_Actions_ActionType_PutDown
+ name: PutDown
+ nameWithType: ActionType.PutDown
+ fullName: TinyLife.Actions.ActionType.PutDown
- uid: System.Collections.Generic.List{System.ValueTuple{System.Func{TinyLife.Objects.Person,TinyLife.Objects.MapObject,System.Boolean},System.Func{TinyLife.Objects.Person,TinyLife.Objects.MapObject,TinyLife.Actions.ActionType}}}
commentId: T:System.Collections.Generic.List{System.ValueTuple{System.Func{TinyLife.Objects.Person,TinyLife.Objects.MapObject,System.Boolean},System.Func{TinyLife.Objects.Person,TinyLife.Objects.MapObject,TinyLife.Actions.ActionType}}}
parent: System.Collections.Generic
diff --git a/docs/api/TinyLife.Actions.MultiAction.yml b/docs/api/TinyLife.Actions.MultiAction.yml
index 180ccc2..b5d2f56 100644
--- a/docs/api/TinyLife.Actions.MultiAction.yml
+++ b/docs/api/TinyLife.Actions.MultiAction.yml
@@ -66,7 +66,6 @@ items:
- TinyLife.Actions.SitAction
- TinyLife.Actions.SocialAction
- TinyLife.Actions.StoreAction
- - TinyLife.Actions.UpgradeFurnitureAction
- TinyLife.Actions.WatchTvAction
implements:
- MLEM.Misc.IGenericDataHolder
diff --git a/docs/api/TinyLife.Actions.yml b/docs/api/TinyLife.Actions.yml
index 5eefdab..81fca3d 100644
--- a/docs/api/TinyLife.Actions.yml
+++ b/docs/api/TinyLife.Actions.yml
@@ -36,7 +36,6 @@ items:
- TinyLife.Actions.PathfindAction
- TinyLife.Actions.PathfindToPersonAction
- TinyLife.Actions.PutAwayAction
- - TinyLife.Actions.ResearchUpgradesAction
- TinyLife.Actions.SellAction
- TinyLife.Actions.SitAction
- TinyLife.Actions.SocialAction
@@ -47,7 +46,6 @@ items:
- TinyLife.Actions.TalkAction.TalkSettings.EvaluationResult
- TinyLife.Actions.TellPeopleToLeaveRoomAction
- TinyLife.Actions.TryGoHereAction
- - TinyLife.Actions.UpgradeFurnitureAction
- TinyLife.Actions.WalkAction
- TinyLife.Actions.WatchTvAction
- TinyLife.Actions.WatchTvAction.Channel
@@ -386,12 +384,6 @@ references:
name: PutAwayAction
nameWithType: PutAwayAction
fullName: TinyLife.Actions.PutAwayAction
-- uid: TinyLife.Actions.ResearchUpgradesAction
- commentId: T:TinyLife.Actions.ResearchUpgradesAction
- href: TinyLife.Actions.ResearchUpgradesAction.html
- name: ResearchUpgradesAction
- nameWithType: ResearchUpgradesAction
- fullName: TinyLife.Actions.ResearchUpgradesAction
- uid: TinyLife.Actions.SellAction
commentId: T:TinyLife.Actions.SellAction
href: TinyLife.Actions.SellAction.html
@@ -511,12 +503,6 @@ references:
name: TryGoHereAction
nameWithType: TryGoHereAction
fullName: TinyLife.Actions.TryGoHereAction
-- uid: TinyLife.Actions.UpgradeFurnitureAction
- commentId: T:TinyLife.Actions.UpgradeFurnitureAction
- href: TinyLife.Actions.UpgradeFurnitureAction.html
- name: UpgradeFurnitureAction
- nameWithType: UpgradeFurnitureAction
- fullName: TinyLife.Actions.UpgradeFurnitureAction
- uid: TinyLife.Actions.WalkAction
commentId: T:TinyLife.Actions.WalkAction
href: TinyLife.Actions.WalkAction.html
diff --git a/docs/api/TinyLife.GameImpl.GameMode.yml b/docs/api/TinyLife.GameImpl.GameMode.yml
index 043d678..56edcb3 100644
--- a/docs/api/TinyLife.GameImpl.GameMode.yml
+++ b/docs/api/TinyLife.GameImpl.GameMode.yml
@@ -26,7 +26,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GameMode
path: ../TinyLife/GameImpl.cs
- startLine: 1242
+ startLine: 1194
assemblies:
- Tiny Life
namespace: TinyLife
@@ -55,7 +55,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: InitialLoad
path: ../TinyLife/GameImpl.cs
- startLine: 1245
+ startLine: 1197
assemblies:
- Tiny Life
namespace: TinyLife
@@ -83,7 +83,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Splash
path: ../TinyLife/GameImpl.cs
- startLine: 1247
+ startLine: 1199
assemblies:
- Tiny Life
namespace: TinyLife
@@ -111,7 +111,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: MainMenu
path: ../TinyLife/GameImpl.cs
- startLine: 1249
+ startLine: 1201
assemblies:
- Tiny Life
namespace: TinyLife
@@ -139,7 +139,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SelectHousehold
path: ../TinyLife/GameImpl.cs
- startLine: 1251
+ startLine: 1203
assemblies:
- Tiny Life
namespace: TinyLife
@@ -167,7 +167,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: InGameHousehold
path: ../TinyLife/GameImpl.cs
- startLine: 1253
+ startLine: 1205
assemblies:
- Tiny Life
namespace: TinyLife
@@ -195,7 +195,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: BuildOnly
path: ../TinyLife/GameImpl.cs
- startLine: 1255
+ startLine: 1207
assemblies:
- Tiny Life
namespace: TinyLife
@@ -223,7 +223,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CharacterCreation
path: ../TinyLife/GameImpl.cs
- startLine: 1257
+ startLine: 1209
assemblies:
- Tiny Life
namespace: TinyLife
diff --git a/docs/api/TinyLife.GameSpeed.yml b/docs/api/TinyLife.GameSpeed.yml
index 90d45dc..a5829b0 100644
--- a/docs/api/TinyLife.GameSpeed.yml
+++ b/docs/api/TinyLife.GameSpeed.yml
@@ -24,7 +24,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GameSpeed
path: ../TinyLife/Options.cs
- startLine: 613
+ startLine: 616
assemblies:
- Tiny Life
namespace: TinyLife
@@ -56,7 +56,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Paused
path: ../TinyLife/Options.cs
- startLine: 618
+ startLine: 621
assemblies:
- Tiny Life
namespace: TinyLife
@@ -84,7 +84,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Regular
path: ../TinyLife/Options.cs
- startLine: 622
+ startLine: 625
assemblies:
- Tiny Life
namespace: TinyLife
@@ -112,7 +112,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Fast
path: ../TinyLife/Options.cs
- startLine: 626
+ startLine: 629
assemblies:
- Tiny Life
namespace: TinyLife
@@ -140,7 +140,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: VeryFast
path: ../TinyLife/Options.cs
- startLine: 630
+ startLine: 633
assemblies:
- Tiny Life
namespace: TinyLife
@@ -168,7 +168,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ExtremelyFast
path: ../TinyLife/Options.cs
- startLine: 635
+ startLine: 638
assemblies:
- Tiny Life
namespace: TinyLife
diff --git a/docs/api/TinyLife.Objects.AgeGroup.yml b/docs/api/TinyLife.Objects.AgeGroup.yml
index cf8b6a2..74a2fa3 100644
--- a/docs/api/TinyLife.Objects.AgeGroup.yml
+++ b/docs/api/TinyLife.Objects.AgeGroup.yml
@@ -22,7 +22,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AgeGroup
path: ../TinyLife/Objects/Person.cs
- startLine: 3626
+ startLine: 3640
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -66,7 +66,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Baby
path: ../TinyLife/Objects/Person.cs
- startLine: 3633
+ startLine: 3647
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -94,7 +94,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Child
path: ../TinyLife/Objects/Person.cs
- startLine: 3639
+ startLine: 3653
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -122,7 +122,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Adult
path: ../TinyLife/Objects/Person.cs
- startLine: 3645
+ startLine: 3659
assemblies:
- Tiny Life
namespace: TinyLife.Objects
diff --git a/docs/api/TinyLife.Objects.AppliedUpgrade.yml b/docs/api/TinyLife.Objects.AppliedUpgrade.yml
index bdeb82d..e7714ef 100644
--- a/docs/api/TinyLife.Objects.AppliedUpgrade.yml
+++ b/docs/api/TinyLife.Objects.AppliedUpgrade.yml
@@ -23,10 +23,15 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AppliedUpgrade
path: ../TinyLife/Objects/Upgrade.cs
- startLine: 74
+ startLine: 137
assemblies:
- Tiny Life
namespace: TinyLife.Objects
+ summary: >-
+ A class that wraps an and an application completion percentage.
+
+ This class is used by .
+ example: []
syntax:
content: >-
[DataContract]
@@ -77,10 +82,12 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Upgrade
path: ../TinyLife/Objects/Upgrade.cs
- startLine: 78
+ startLine: 144
assemblies:
- Tiny Life
namespace: TinyLife.Objects
+ summary: The .
+ example: []
syntax:
content: >-
[DataMember]
@@ -114,10 +121,12 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Progress
path: ../TinyLife/Objects/Upgrade.cs
- startLine: 80
+ startLine: 149
assemblies:
- Tiny Life
namespace: TinyLife.Objects
+ summary: The application completion percentage, which is a number between 0 and 1.
+ example: []
syntax:
content: >-
[DataMember]
@@ -151,15 +160,18 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Objects/Upgrade.cs
- startLine: 82
+ startLine: 155
assemblies:
- Tiny Life
namespace: TinyLife.Objects
+ summary: Creates a new applied upgrade with the given settings.
+ example: []
syntax:
content: public AppliedUpgrade(Upgrade upgrade)
parameters:
- id: upgrade
type: TinyLife.Objects.Upgrade
+ description: The upgrade.
content.vb: Public Sub New(upgrade As Upgrade)
overload: TinyLife.Objects.AppliedUpgrade.#ctor*
nameWithType.vb: AppliedUpgrade.New(Upgrade)
@@ -183,17 +195,39 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Validate
path: ../TinyLife/Objects/Upgrade.cs
- startLine: 86
+ startLine: 163
assemblies:
- Tiny Life
namespace: TinyLife.Objects
+ summary: Validates this object, returning whether it is still valid or not, after loading from disk.
+ example: []
syntax:
content: public bool Validate()
return:
type: System.Boolean
+ description: Whether this object is still valid.
content.vb: Public Function Validate() As Boolean
overload: TinyLife.Objects.AppliedUpgrade.Validate*
references:
+- uid: TinyLife.Objects.AppliedUpgrade.Upgrade
+ commentId: F:TinyLife.Objects.AppliedUpgrade.Upgrade
+ href: TinyLife.Objects.AppliedUpgrade.html#TinyLife_Objects_AppliedUpgrade_Upgrade
+ name: Upgrade
+ nameWithType: AppliedUpgrade.Upgrade
+ fullName: TinyLife.Objects.AppliedUpgrade.Upgrade
+- uid: TinyLife.Objects.AppliedUpgrade.Progress
+ commentId: F:TinyLife.Objects.AppliedUpgrade.Progress
+ href: TinyLife.Objects.AppliedUpgrade.html#TinyLife_Objects_AppliedUpgrade_Progress
+ name: Progress
+ nameWithType: AppliedUpgrade.Progress
+ fullName: TinyLife.Objects.AppliedUpgrade.Progress
+- uid: TinyLife.Objects.Furniture.AppliedUpgrades
+ commentId: F:TinyLife.Objects.Furniture.AppliedUpgrades
+ parent: TinyLife.Objects.Furniture
+ href: TinyLife.Objects.Furniture.html#TinyLife_Objects_Furniture_AppliedUpgrades
+ name: AppliedUpgrades
+ nameWithType: Furniture.AppliedUpgrades
+ fullName: TinyLife.Objects.Furniture.AppliedUpgrades
- uid: TinyLife.Objects
commentId: N:TinyLife.Objects
href: TinyLife.html
@@ -647,6 +681,13 @@ references:
name: AppliedUpgrade
href: TinyLife.Objects.AppliedUpgrade.html
- name: )
+- uid: TinyLife.Objects.Furniture
+ commentId: T:TinyLife.Objects.Furniture
+ parent: TinyLife.Objects
+ href: TinyLife.Objects.Furniture.html
+ name: Furniture
+ nameWithType: Furniture
+ fullName: TinyLife.Objects.Furniture
- uid: System
commentId: N:System
isExternal: true
diff --git a/docs/api/TinyLife.Objects.ClothesIntention.yml b/docs/api/TinyLife.Objects.ClothesIntention.yml
index fbbdec7..d6884a0 100644
--- a/docs/api/TinyLife.Objects.ClothesIntention.yml
+++ b/docs/api/TinyLife.Objects.ClothesIntention.yml
@@ -30,7 +30,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ClothesIntention
path: ../TinyLife/Objects/Clothes.cs
- startLine: 499
+ startLine: 502
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -75,7 +75,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: None
path: ../TinyLife/Objects/Clothes.cs
- startLine: 503
+ startLine: 506
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -101,7 +101,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Everyday
path: ../TinyLife/Objects/Clothes.cs
- startLine: 504
+ startLine: 507
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -127,7 +127,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Party
path: ../TinyLife/Objects/Clothes.cs
- startLine: 505
+ startLine: 508
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -153,7 +153,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Formal
path: ../TinyLife/Objects/Clothes.cs
- startLine: 506
+ startLine: 509
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -179,7 +179,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Workout
path: ../TinyLife/Objects/Clothes.cs
- startLine: 507
+ startLine: 510
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -205,7 +205,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Swimwear
path: ../TinyLife/Objects/Clothes.cs
- startLine: 508
+ startLine: 511
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -231,7 +231,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Sleep
path: ../TinyLife/Objects/Clothes.cs
- startLine: 509
+ startLine: 512
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -257,7 +257,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Summer
path: ../TinyLife/Objects/Clothes.cs
- startLine: 510
+ startLine: 513
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -283,7 +283,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Winter
path: ../TinyLife/Objects/Clothes.cs
- startLine: 511
+ startLine: 514
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -309,7 +309,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Work
path: ../TinyLife/Objects/Clothes.cs
- startLine: 512
+ startLine: 515
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -335,7 +335,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Safety
path: ../TinyLife/Objects/Clothes.cs
- startLine: 513
+ startLine: 516
assemblies:
- Tiny Life
namespace: TinyLife.Objects
diff --git a/docs/api/TinyLife.Objects.ClothesLayer.yml b/docs/api/TinyLife.Objects.ClothesLayer.yml
index 84b2d3e..6e2f308 100644
--- a/docs/api/TinyLife.Objects.ClothesLayer.yml
+++ b/docs/api/TinyLife.Objects.ClothesLayer.yml
@@ -388,10 +388,12 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: LegAccessories
path: ../TinyLife/Objects/Clothes.cs
- startLine: 487
+ startLine: 490
assemblies:
- Tiny Life
namespace: TinyLife.Objects
+ summary: A clothes layer for leg accessories, like pantyhose.
+ example: []
syntax:
content: LegAccessories = 2048
return:
@@ -414,7 +416,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Shoes
path: ../TinyLife/Objects/Clothes.cs
- startLine: 491
+ startLine: 494
assemblies:
- Tiny Life
namespace: TinyLife.Objects
diff --git a/docs/api/TinyLife.Objects.DeathReason.yml b/docs/api/TinyLife.Objects.DeathReason.yml
index 83900ef..1874afb 100644
--- a/docs/api/TinyLife.Objects.DeathReason.yml
+++ b/docs/api/TinyLife.Objects.DeathReason.yml
@@ -24,7 +24,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DeathReason
path: ../TinyLife/Objects/Person.cs
- startLine: 3594
+ startLine: 3608
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -53,7 +53,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Starvation
path: ../TinyLife/Objects/Person.cs
- startLine: 3600
+ startLine: 3614
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -84,7 +84,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: InexplicableReasons
path: ../TinyLife/Objects/Person.cs
- startLine: 3605
+ startLine: 3619
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -115,7 +115,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Electrocution
path: ../TinyLife/Objects/Person.cs
- startLine: 3610
+ startLine: 3624
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -146,7 +146,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: TooMuchProtein
path: ../TinyLife/Objects/Person.cs
- startLine: 3614
+ startLine: 3628
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -174,7 +174,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: TooMuchBrew
path: ../TinyLife/Objects/Person.cs
- startLine: 3618
+ startLine: 3632
assemblies:
- Tiny Life
namespace: TinyLife.Objects
diff --git a/docs/api/TinyLife.Objects.Furniture.yml b/docs/api/TinyLife.Objects.Furniture.yml
index c052279..5a4d770 100644
--- a/docs/api/TinyLife.Objects.Furniture.yml
+++ b/docs/api/TinyLife.Objects.Furniture.yml
@@ -358,10 +358,15 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnAppliedUpgrade
path: ../TinyLife/Objects/Furniture.cs
- startLine: 61
+ startLine: 65
assemblies:
- Tiny Life
namespace: TinyLife.Objects
+ summary: >-
+ An event that is fired when an upgrade is freshly applied to this item in . Please note that the upgrade may not be fully completed when this event is fired, see .
+
+ An event that is fired when this furniture's value is changed.
+ example: []
syntax:
content: public event Action OnAppliedUpgrade
return:
@@ -385,7 +390,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DisplayName
path: ../TinyLife/Objects/Furniture.cs
- startLine: 69
+ startLine: 73
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -420,7 +425,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ParentInfo
path: ../TinyLife/Objects/Furniture.cs
- startLine: 72
+ startLine: 76
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -455,7 +460,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Visibility
path: ../TinyLife/Objects/Furniture.cs
- startLine: 89
+ startLine: 93
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -493,7 +498,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Type
path: ../TinyLife/Objects/Furniture.cs
- startLine: 95
+ startLine: 99
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -532,10 +537,15 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AppliedUpgrades
path: ../TinyLife/Objects/Furniture.cs
- startLine: 98
+ startLine: 106
assemblies:
- Tiny Life
namespace: TinyLife.Objects
+ summary: >-
+ A collection of the upgrades that are currently applied to this furniture upgrade.
+
+ To query and modify this collection effectively, use , and .
+ example: []
syntax:
content: >-
[DataMember]
@@ -569,7 +579,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Rotation
path: ../TinyLife/Objects/Furniture.cs
- startLine: 106
+ startLine: 114
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -611,7 +621,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ParentFurniture
path: ../TinyLife/Objects/Furniture.cs
- startLine: 111
+ startLine: 119
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -645,7 +655,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ParentObjectSpot
path: ../TinyLife/Objects/Furniture.cs
- startLine: 116
+ startLine: 124
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -679,7 +689,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Colors
path: ../TinyLife/Objects/Furniture.cs
- startLine: 122
+ startLine: 130
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -721,7 +731,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Area
path: ../TinyLife/Objects/Furniture.cs
- startLine: 126
+ startLine: 134
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -752,7 +762,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DevaluedThroughUse
path: ../TinyLife/Objects/Furniture.cs
- startLine: 132
+ startLine: 140
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -798,7 +808,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AreUtilitiesDisabled
path: ../TinyLife/Objects/Furniture.cs
- startLine: 137
+ startLine: 145
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -832,7 +842,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: IsStatic
path: ../TinyLife/Objects/Furniture.cs
- startLine: 142
+ startLine: 150
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -875,7 +885,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CreatorId
path: ../TinyLife/Objects/Furniture.cs
- startLine: 148
+ startLine: 156
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -925,7 +935,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Quality
path: ../TinyLife/Objects/Furniture.cs
- startLine: 156
+ startLine: 164
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -973,7 +983,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CanBeDirty
path: ../TinyLife/Objects/Furniture.cs
- startLine: 161
+ startLine: 169
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1007,7 +1017,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Dirty
path: ../TinyLife/Objects/Furniture.cs
- startLine: 166
+ startLine: 174
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1041,7 +1051,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CustomPrice
path: ../TinyLife/Objects/Furniture.cs
- startLine: 178
+ startLine: 186
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1087,7 +1097,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Creator
path: ../TinyLife/Objects/Furniture.cs
- startLine: 183
+ startLine: 191
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1121,7 +1131,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AttachedWall
path: ../TinyLife/Objects/Furniture.cs
- startLine: 188
+ startLine: 196
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1155,7 +1165,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: HideFromDraw
path: ../TinyLife/Objects/Furniture.cs
- startLine: 192
+ startLine: 200
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1186,7 +1196,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: VisualRotation
path: ../TinyLife/Objects/Furniture.cs
- startLine: 219
+ startLine: 227
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1220,7 +1230,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ParentObjectSpotId
path: ../TinyLife/Objects/Furniture.cs
- startLine: 223
+ startLine: 231
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1265,7 +1275,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ParentFurnitureId
path: ../TinyLife/Objects/Furniture.cs
- startLine: 228
+ startLine: 236
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1310,7 +1320,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Objects/Furniture.cs
- startLine: 246
+ startLine: 254
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1363,7 +1373,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Draw
path: ../TinyLife/Objects/Furniture.cs
- startLine: 257
+ startLine: 265
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1414,7 +1424,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Validate
path: ../TinyLife/Objects/Furniture.cs
- startLine: 273
+ startLine: 281
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1451,7 +1461,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Intersects
path: ../TinyLife/Objects/Furniture.cs
- startLine: 314
+ startLine: 322
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1490,7 +1500,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetCategories
path: ../TinyLife/Objects/Furniture.cs
- startLine: 319
+ startLine: 327
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1526,7 +1536,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnAdded
path: ../TinyLife/Objects/Furniture.cs
- startLine: 324
+ startLine: 332
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1558,7 +1568,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnRemoved
path: ../TinyLife/Objects/Furniture.cs
- startLine: 331
+ startLine: 339
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1590,7 +1600,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetAiPriority
path: ../TinyLife/Objects/Furniture.cs
- startLine: 338
+ startLine: 346
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1636,7 +1646,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CanExecuteAction
path: ../TinyLife/Objects/Furniture.cs
- startLine: 354
+ startLine: 362
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1687,7 +1697,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnActionCompleted
path: ../TinyLife/Objects/Furniture.cs
- startLine: 361
+ startLine: 369
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1734,7 +1744,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ActionUpdate
path: ../TinyLife/Objects/Furniture.cs
- startLine: 371
+ startLine: 379
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1787,7 +1797,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetFreeActionSpotInfo
path: ../TinyLife/Objects/Furniture.cs
- startLine: 391
+ startLine: 399
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1826,7 +1836,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetHoverInfo
path: ../TinyLife/Objects/Furniture.cs
- startLine: 397
+ startLine: 405
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1862,7 +1872,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetEfficiencyModifier
path: ../TinyLife/Objects/Furniture.cs
- startLine: 426
+ startLine: 437
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1920,7 +1930,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetRestoreNeedModifier
path: ../TinyLife/Objects/Furniture.cs
- startLine: 438
+ startLine: 449
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1975,28 +1985,39 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnRandomQuality
path: ../TinyLife/Objects/Furniture.cs
- startLine: 450
+ startLine: 461
assemblies:
- Tiny Life
namespace: TinyLife.Objects
+ summary: >-
+ A method that is invoked when a random quality is determined based on an action and skill in .
+
+ This method is invoked for all of the passed .
example: []
syntax:
content: public override void OnRandomQuality(Person person, ActionInfo info, bool isAuxiliary, SkillType skill, Random random, bool alwaysAllowAverage, Dictionary weights)
parameters:
- id: person
type: TinyLife.Objects.Person
+ description: The person.
- id: info
type: TinyLife.Actions.ActionInfo
+ description: The action info.
- id: isAuxiliary
type: System.Boolean
+ description: Whether this object is auxiliary (or the main action object).
- id: skill
type: TinyLife.Skills.SkillType
+ description: The skill.
- id: random
type: System.Random
+ description: The instance used for determining the quality.
- id: alwaysAllowAverage
type: System.Boolean
+ description: Whether the quality should always be available as an option.
- id: weights
type: System.Collections.Generic.Dictionary{TinyLife.Skills.Quality,System.Single}
+ description: The weights for each quality. This collection contains keys for all values, and entries should not be removed, only modified.
content.vb: Public Overrides Sub OnRandomQuality(person As Person, info As ActionInfo, isAuxiliary As Boolean, skill As SkillType, random As Random, alwaysAllowAverage As Boolean, weights As Dictionary(Of Quality, Single))
overridden: TinyLife.Objects.MapObject.OnRandomQuality(TinyLife.Objects.Person,TinyLife.Actions.ActionInfo,System.Boolean,TinyLife.Skills.SkillType,System.Random,System.Boolean,System.Collections.Generic.Dictionary{TinyLife.Skills.Quality,System.Single})
overload: TinyLife.Objects.Furniture.OnRandomQuality*
@@ -2021,7 +2042,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: IsFreeSpot
path: ../TinyLife/Objects/Furniture.cs
- startLine: 466
+ startLine: 477
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -2062,7 +2083,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ResetToStatic
path: ../TinyLife/Objects/Furniture.cs
- startLine: 472
+ startLine: 483
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -2104,7 +2125,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ModifyActionCategories
path: ../TinyLife/Objects/Furniture.cs
- startLine: 478
+ startLine: 489
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -2152,7 +2173,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: MoveToMap
path: ../TinyLife/Objects/Furniture.cs
- startLine: 486
+ startLine: 497
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -2197,7 +2218,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnPositionChanged
path: ../TinyLife/Objects/Furniture.cs
- startLine: 494
+ startLine: 505
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -2241,7 +2262,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Draw
path: ../TinyLife/Objects/Furniture.cs
- startLine: 518
+ startLine: 529
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -2315,7 +2336,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetPrice
path: ../TinyLife/Objects/Furniture.cs
- startLine: 529
+ startLine: 540
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -2346,7 +2367,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetDescription
path: ../TinyLife/Objects/Furniture.cs
- startLine: 542
+ startLine: 553
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -2387,7 +2408,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetDecorativeRating
path: ../TinyLife/Objects/Furniture.cs
- startLine: 576
+ startLine: 587
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -2425,7 +2446,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetDirty
path: ../TinyLife/Objects/Furniture.cs
- startLine: 587
+ startLine: 598
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -2465,7 +2486,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SetCreator
path: ../TinyLife/Objects/Furniture.cs
- startLine: 622
+ startLine: 633
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -2503,7 +2524,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnPlacedInBuildMode
path: ../TinyLife/Objects/Furniture.cs
- startLine: 636
+ startLine: 647
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -2544,7 +2565,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetWallsInTheWay
path: ../TinyLife/Objects/Furniture.cs
- startLine: 653
+ startLine: 664
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -2596,7 +2617,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetRoofingInTheWay
path: ../TinyLife/Objects/Furniture.cs
- startLine: 686
+ startLine: 697
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -2649,17 +2670,21 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetAppliedUpgrade
path: ../TinyLife/Objects/Furniture.cs
- startLine: 704
+ startLine: 720
assemblies:
- Tiny Life
namespace: TinyLife.Objects
+ summary: Returns the instance that this furniture item has for the given . If the upgrade is not applied, null is returned.
+ example: []
syntax:
content: public virtual AppliedUpgrade GetAppliedUpgrade(Upgrade upgrade)
parameters:
- id: upgrade
type: TinyLife.Objects.Upgrade
+ description: The upgrade to query.
return:
type: TinyLife.Objects.AppliedUpgrade
+ description: The applied upgrade, or null if the upgrade is not applied.
content.vb: Public Overridable Function GetAppliedUpgrade(upgrade As Upgrade) As AppliedUpgrade
overload: TinyLife.Objects.Furniture.GetAppliedUpgrade*
- uid: TinyLife.Objects.Furniture.ApplyUpgrade(TinyLife.Objects.AppliedUpgrade)
@@ -2680,17 +2705,21 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ApplyUpgrade
path: ../TinyLife/Objects/Furniture.cs
- startLine: 710
+ startLine: 731
assemblies:
- Tiny Life
namespace: TinyLife.Objects
+ summary: Adds the given to this furniture item's collection of and invokes the event.
+ example: []
syntax:
content: public virtual bool ApplyUpgrade(AppliedUpgrade upgrade)
parameters:
- id: upgrade
type: TinyLife.Objects.AppliedUpgrade
+ description: The upgrade to apply.
return:
type: System.Boolean
+ description: Whether the upgrade was successfully applied. If this is false, it means the upgrade is either not compatible, or already applied.
content.vb: Public Overridable Function ApplyUpgrade(upgrade As AppliedUpgrade) As Boolean
overload: TinyLife.Objects.Furniture.ApplyUpgrade*
- uid: TinyLife.Objects.Furniture.HasFullUpgrade(TinyLife.Objects.Upgrade)
@@ -2711,17 +2740,24 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: HasFullUpgrade
path: ../TinyLife/Objects/Furniture.cs
- startLine: 719
+ startLine: 746
assemblies:
- Tiny Life
namespace: TinyLife.Objects
+ summary: >-
+ Returns whether this furniture item has a applied that also has a of 1.
+
+ This method should be used to check for whether an upgrade should currently have an effect on a furniture item.
+ example: []
syntax:
content: public virtual bool HasFullUpgrade(Upgrade upgrade)
parameters:
- id: upgrade
type: TinyLife.Objects.Upgrade
+ description: The upgrade to query.
return:
type: System.Boolean
+ description: Whether the upgrade is fully applied.
content.vb: Public Overridable Function HasFullUpgrade(upgrade As Upgrade) As Boolean
overload: TinyLife.Objects.Furniture.HasFullUpgrade*
- uid: TinyLife.Objects.Furniture.OnNeighborChanged(TinyLife.Objects.Furniture)
@@ -2742,7 +2778,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnNeighborChanged
path: ../TinyLife/Objects/Furniture.cs
- startLine: 729
+ startLine: 756
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -2777,7 +2813,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DrawUi
path: ../TinyLife/Objects/Furniture.cs
- startLine: 740
+ startLine: 767
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -2827,7 +2863,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetOccupants
path: ../TinyLife/Objects/Furniture.cs
- startLine: 754
+ startLine: 781
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -2868,7 +2904,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetFreeActionSpots
path: ../TinyLife/Objects/Furniture.cs
- startLine: 767
+ startLine: 794
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -2909,7 +2945,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetFreeActionSpot
path: ../TinyLife/Objects/Furniture.cs
- startLine: 788
+ startLine: 815
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -2947,7 +2983,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetActionSpotInfo
path: ../TinyLife/Objects/Furniture.cs
- startLine: 801
+ startLine: 828
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -2988,7 +3024,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetFreeObjectSpot
path: ../TinyLife/Objects/Furniture.cs
- startLine: 813
+ startLine: 840
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -3029,7 +3065,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SetParent
path: ../TinyLife/Objects/Furniture.cs
- startLine: 827
+ startLine: 854
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -3069,7 +3105,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: UnlinkParentsAndChildren
path: ../TinyLife/Objects/Furniture.cs
- startLine: 842
+ startLine: 869
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -3097,7 +3133,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: RemoveAndUnlink
path: ../TinyLife/Objects/Furniture.cs
- startLine: 853
+ startLine: 880
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -3128,7 +3164,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetChildren
path: ../TinyLife/Objects/Furniture.cs
- startLine: 863
+ startLine: 890
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -3167,7 +3203,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AddChild
path: ../TinyLife/Objects/Furniture.cs
- startLine: 877
+ startLine: 904
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -3220,7 +3256,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AddChild
path: ../TinyLife/Objects/Furniture.cs
- startLine: 894
+ startLine: 921
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -3266,7 +3302,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SetChild
path: ../TinyLife/Objects/Furniture.cs
- startLine: 910
+ startLine: 937
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -3317,7 +3353,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SetChild
path: ../TinyLife/Objects/Furniture.cs
- startLine: 924
+ startLine: 951
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -3358,7 +3394,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: RemoveChild
path: ../TinyLife/Objects/Furniture.cs
- startLine: 935
+ startLine: 962
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -3393,7 +3429,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: NotifyNeighbors
path: ../TinyLife/Objects/Furniture.cs
- startLine: 948
+ startLine: 975
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -3424,7 +3460,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SetNewId
path: ../TinyLife/Objects/Furniture.cs
- startLine: 963
+ startLine: 990
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -5236,6 +5272,37 @@ references:
name: Action
nameWithType: Action
fullName: System.Action
+- uid: TinyLife.Objects.Furniture.ApplyUpgrade(TinyLife.Objects.AppliedUpgrade)
+ commentId: M:TinyLife.Objects.Furniture.ApplyUpgrade(TinyLife.Objects.AppliedUpgrade)
+ parent: TinyLife.Objects.Furniture
+ href: TinyLife.Objects.Furniture.html#TinyLife_Objects_Furniture_ApplyUpgrade_TinyLife_Objects_AppliedUpgrade_
+ name: ApplyUpgrade(AppliedUpgrade)
+ nameWithType: Furniture.ApplyUpgrade(AppliedUpgrade)
+ fullName: TinyLife.Objects.Furniture.ApplyUpgrade(TinyLife.Objects.AppliedUpgrade)
+ spec.csharp:
+ - uid: TinyLife.Objects.Furniture.ApplyUpgrade(TinyLife.Objects.AppliedUpgrade)
+ name: ApplyUpgrade
+ href: TinyLife.Objects.Furniture.html#TinyLife_Objects_Furniture_ApplyUpgrade_TinyLife_Objects_AppliedUpgrade_
+ - name: (
+ - uid: TinyLife.Objects.AppliedUpgrade
+ name: AppliedUpgrade
+ href: TinyLife.Objects.AppliedUpgrade.html
+ - name: )
+ spec.vb:
+ - uid: TinyLife.Objects.Furniture.ApplyUpgrade(TinyLife.Objects.AppliedUpgrade)
+ name: ApplyUpgrade
+ href: TinyLife.Objects.Furniture.html#TinyLife_Objects_Furniture_ApplyUpgrade_TinyLife_Objects_AppliedUpgrade_
+ - name: (
+ - uid: TinyLife.Objects.AppliedUpgrade
+ name: AppliedUpgrade
+ href: TinyLife.Objects.AppliedUpgrade.html
+ - name: )
+- uid: TinyLife.Objects.AppliedUpgrade.Progress
+ commentId: F:TinyLife.Objects.AppliedUpgrade.Progress
+ href: TinyLife.Objects.AppliedUpgrade.html#TinyLife_Objects_AppliedUpgrade_Progress
+ name: Progress
+ nameWithType: AppliedUpgrade.Progress
+ fullName: TinyLife.Objects.AppliedUpgrade.Progress
- uid: System.Action{TinyLife.Objects.AppliedUpgrade}
commentId: T:System.Action{TinyLife.Objects.AppliedUpgrade}
parent: System
@@ -5390,6 +5457,56 @@ references:
name: Visibility
nameWithType: Visibility
fullName: TinyLife.Objects.Visibility
+- uid: TinyLife.Objects.Furniture.GetAppliedUpgrade(TinyLife.Objects.Upgrade)
+ commentId: M:TinyLife.Objects.Furniture.GetAppliedUpgrade(TinyLife.Objects.Upgrade)
+ parent: TinyLife.Objects.Furniture
+ href: TinyLife.Objects.Furniture.html#TinyLife_Objects_Furniture_GetAppliedUpgrade_TinyLife_Objects_Upgrade_
+ name: GetAppliedUpgrade(Upgrade)
+ nameWithType: Furniture.GetAppliedUpgrade(Upgrade)
+ fullName: TinyLife.Objects.Furniture.GetAppliedUpgrade(TinyLife.Objects.Upgrade)
+ spec.csharp:
+ - uid: TinyLife.Objects.Furniture.GetAppliedUpgrade(TinyLife.Objects.Upgrade)
+ name: GetAppliedUpgrade
+ href: TinyLife.Objects.Furniture.html#TinyLife_Objects_Furniture_GetAppliedUpgrade_TinyLife_Objects_Upgrade_
+ - name: (
+ - uid: TinyLife.Objects.Upgrade
+ name: Upgrade
+ href: TinyLife.Objects.Upgrade.html
+ - name: )
+ spec.vb:
+ - uid: TinyLife.Objects.Furniture.GetAppliedUpgrade(TinyLife.Objects.Upgrade)
+ name: GetAppliedUpgrade
+ href: TinyLife.Objects.Furniture.html#TinyLife_Objects_Furniture_GetAppliedUpgrade_TinyLife_Objects_Upgrade_
+ - name: (
+ - uid: TinyLife.Objects.Upgrade
+ name: Upgrade
+ href: TinyLife.Objects.Upgrade.html
+ - name: )
+- uid: TinyLife.Objects.Furniture.HasFullUpgrade(TinyLife.Objects.Upgrade)
+ commentId: M:TinyLife.Objects.Furniture.HasFullUpgrade(TinyLife.Objects.Upgrade)
+ parent: TinyLife.Objects.Furniture
+ href: TinyLife.Objects.Furniture.html#TinyLife_Objects_Furniture_HasFullUpgrade_TinyLife_Objects_Upgrade_
+ name: HasFullUpgrade(Upgrade)
+ nameWithType: Furniture.HasFullUpgrade(Upgrade)
+ fullName: TinyLife.Objects.Furniture.HasFullUpgrade(TinyLife.Objects.Upgrade)
+ spec.csharp:
+ - uid: TinyLife.Objects.Furniture.HasFullUpgrade(TinyLife.Objects.Upgrade)
+ name: HasFullUpgrade
+ href: TinyLife.Objects.Furniture.html#TinyLife_Objects_Furniture_HasFullUpgrade_TinyLife_Objects_Upgrade_
+ - name: (
+ - uid: TinyLife.Objects.Upgrade
+ name: Upgrade
+ href: TinyLife.Objects.Upgrade.html
+ - name: )
+ spec.vb:
+ - uid: TinyLife.Objects.Furniture.HasFullUpgrade(TinyLife.Objects.Upgrade)
+ name: HasFullUpgrade
+ href: TinyLife.Objects.Furniture.html#TinyLife_Objects_Furniture_HasFullUpgrade_TinyLife_Objects_Upgrade_
+ - name: (
+ - uid: TinyLife.Objects.Upgrade
+ name: Upgrade
+ href: TinyLife.Objects.Upgrade.html
+ - name: )
- uid: System.Collections.Generic.Dictionary{System.String,TinyLife.Objects.AppliedUpgrade}
commentId: T:System.Collections.Generic.Dictionary{System.String,TinyLife.Objects.AppliedUpgrade}
parent: System.Collections.Generic
@@ -7404,6 +7521,103 @@ references:
name: TinyLife
nameWithType: TinyLife
fullName: TinyLife
+- uid: TinyLife.Skills.SkillType.GetRandomQuality(TinyLife.Objects.Person,System.Random,TinyLife.Actions.ActionInfo,System.Boolean,TinyLife.Emotions.IEmotionSource,System.Boolean)
+ commentId: M:TinyLife.Skills.SkillType.GetRandomQuality(TinyLife.Objects.Person,System.Random,TinyLife.Actions.ActionInfo,System.Boolean,TinyLife.Emotions.IEmotionSource,System.Boolean)
+ isExternal: true
+ href: TinyLife.Skills.SkillType.html#TinyLife_Skills_SkillType_GetRandomQuality_TinyLife_Objects_Person_System_Random_TinyLife_Actions_ActionInfo_System_Boolean_TinyLife_Emotions_IEmotionSource_System_Boolean_
+ name: GetRandomQuality(Person, Random, ActionInfo, bool, IEmotionSource, bool)
+ nameWithType: SkillType.GetRandomQuality(Person, Random, ActionInfo, bool, IEmotionSource, bool)
+ fullName: TinyLife.Skills.SkillType.GetRandomQuality(TinyLife.Objects.Person, System.Random, TinyLife.Actions.ActionInfo, bool, TinyLife.Emotions.IEmotionSource, bool)
+ nameWithType.vb: SkillType.GetRandomQuality(Person, Random, ActionInfo, Boolean, IEmotionSource, Boolean)
+ fullName.vb: TinyLife.Skills.SkillType.GetRandomQuality(TinyLife.Objects.Person, System.Random, TinyLife.Actions.ActionInfo, Boolean, TinyLife.Emotions.IEmotionSource, Boolean)
+ name.vb: GetRandomQuality(Person, Random, ActionInfo, Boolean, IEmotionSource, Boolean)
+ spec.csharp:
+ - uid: TinyLife.Skills.SkillType.GetRandomQuality(TinyLife.Objects.Person,System.Random,TinyLife.Actions.ActionInfo,System.Boolean,TinyLife.Emotions.IEmotionSource,System.Boolean)
+ name: GetRandomQuality
+ href: TinyLife.Skills.SkillType.html#TinyLife_Skills_SkillType_GetRandomQuality_TinyLife_Objects_Person_System_Random_TinyLife_Actions_ActionInfo_System_Boolean_TinyLife_Emotions_IEmotionSource_System_Boolean_
+ - name: (
+ - uid: TinyLife.Objects.Person
+ name: Person
+ href: TinyLife.Objects.Person.html
+ - name: ','
+ - name: " "
+ - uid: System.Random
+ name: Random
+ isExternal: true
+ href: https://learn.microsoft.com/dotnet/api/system.random
+ - name: ','
+ - name: " "
+ - uid: TinyLife.Actions.ActionInfo
+ name: ActionInfo
+ href: TinyLife.Actions.ActionInfo.html
+ - name: ','
+ - name: " "
+ - uid: System.Boolean
+ name: bool
+ isExternal: true
+ href: https://learn.microsoft.com/dotnet/api/system.boolean
+ - name: ','
+ - name: " "
+ - uid: TinyLife.Emotions.IEmotionSource
+ name: IEmotionSource
+ href: TinyLife.Emotions.IEmotionSource.html
+ - name: ','
+ - name: " "
+ - uid: System.Boolean
+ name: bool
+ isExternal: true
+ href: https://learn.microsoft.com/dotnet/api/system.boolean
+ - name: )
+ spec.vb:
+ - uid: TinyLife.Skills.SkillType.GetRandomQuality(TinyLife.Objects.Person,System.Random,TinyLife.Actions.ActionInfo,System.Boolean,TinyLife.Emotions.IEmotionSource,System.Boolean)
+ name: GetRandomQuality
+ href: TinyLife.Skills.SkillType.html#TinyLife_Skills_SkillType_GetRandomQuality_TinyLife_Objects_Person_System_Random_TinyLife_Actions_ActionInfo_System_Boolean_TinyLife_Emotions_IEmotionSource_System_Boolean_
+ - name: (
+ - uid: TinyLife.Objects.Person
+ name: Person
+ href: TinyLife.Objects.Person.html
+ - name: ','
+ - name: " "
+ - uid: System.Random
+ name: Random
+ isExternal: true
+ href: https://learn.microsoft.com/dotnet/api/system.random
+ - name: ','
+ - name: " "
+ - uid: TinyLife.Actions.ActionInfo
+ name: ActionInfo
+ href: TinyLife.Actions.ActionInfo.html
+ - name: ','
+ - name: " "
+ - uid: System.Boolean
+ name: Boolean
+ isExternal: true
+ href: https://learn.microsoft.com/dotnet/api/system.boolean
+ - name: ','
+ - name: " "
+ - uid: TinyLife.Emotions.IEmotionSource
+ name: IEmotionSource
+ href: TinyLife.Emotions.IEmotionSource.html
+ - name: ','
+ - name: " "
+ - uid: System.Boolean
+ name: Boolean
+ isExternal: true
+ href: https://learn.microsoft.com/dotnet/api/system.boolean
+ - name: )
+- uid: TinyLife.Skills.Quality.Average
+ commentId: F:TinyLife.Skills.Quality.Average
+ href: TinyLife.Skills.Quality.html#TinyLife_Skills_Quality_Average
+ name: Average
+ nameWithType: Quality.Average
+ fullName: TinyLife.Skills.Quality.Average
+- uid: TinyLife.Skills.Quality
+ commentId: T:TinyLife.Skills.Quality
+ parent: TinyLife.Skills
+ href: TinyLife.Skills.Quality.html
+ name: Quality
+ nameWithType: Quality
+ fullName: TinyLife.Skills.Quality
- uid: TinyLife.Objects.MapObject.OnRandomQuality(TinyLife.Objects.Person,TinyLife.Actions.ActionInfo,System.Boolean,TinyLife.Skills.SkillType,System.Random,System.Boolean,System.Collections.Generic.Dictionary{TinyLife.Skills.Quality,System.Single})
commentId: M:TinyLife.Objects.MapObject.OnRandomQuality(TinyLife.Objects.Person,TinyLife.Actions.ActionInfo,System.Boolean,TinyLife.Skills.SkillType,System.Random,System.Boolean,System.Collections.Generic.Dictionary{TinyLife.Skills.Quality,System.Single})
parent: TinyLife.Objects.MapObject
@@ -8512,19 +8726,6 @@ references:
name: Roof
href: TinyLife.World.Roof.html
- name: )
-- uid: TinyLife.Objects.Furniture.GetAppliedUpgrade*
- commentId: Overload:TinyLife.Objects.Furniture.GetAppliedUpgrade
- href: TinyLife.Objects.Furniture.html#TinyLife_Objects_Furniture_GetAppliedUpgrade_TinyLife_Objects_Upgrade_
- name: GetAppliedUpgrade
- nameWithType: Furniture.GetAppliedUpgrade
- fullName: TinyLife.Objects.Furniture.GetAppliedUpgrade
-- uid: TinyLife.Objects.Upgrade
- commentId: T:TinyLife.Objects.Upgrade
- parent: TinyLife.Objects
- href: TinyLife.Objects.Upgrade.html
- name: Upgrade
- nameWithType: Upgrade
- fullName: TinyLife.Objects.Upgrade
- uid: TinyLife.Objects.AppliedUpgrade
commentId: T:TinyLife.Objects.AppliedUpgrade
parent: TinyLife.Objects
@@ -8532,6 +8733,33 @@ references:
name: AppliedUpgrade
nameWithType: AppliedUpgrade
fullName: TinyLife.Objects.AppliedUpgrade
+- uid: TinyLife.Objects.Upgrade
+ commentId: T:TinyLife.Objects.Upgrade
+ parent: TinyLife.Objects
+ href: TinyLife.Objects.Upgrade.html
+ name: Upgrade
+ nameWithType: Upgrade
+ fullName: TinyLife.Objects.Upgrade
+- uid: TinyLife.Objects.Furniture.GetAppliedUpgrade*
+ commentId: Overload:TinyLife.Objects.Furniture.GetAppliedUpgrade
+ href: TinyLife.Objects.Furniture.html#TinyLife_Objects_Furniture_GetAppliedUpgrade_TinyLife_Objects_Upgrade_
+ name: GetAppliedUpgrade
+ nameWithType: Furniture.GetAppliedUpgrade
+ fullName: TinyLife.Objects.Furniture.GetAppliedUpgrade
+- uid: TinyLife.Objects.Furniture.AppliedUpgrades
+ commentId: F:TinyLife.Objects.Furniture.AppliedUpgrades
+ parent: TinyLife.Objects.Furniture
+ href: TinyLife.Objects.Furniture.html#TinyLife_Objects_Furniture_AppliedUpgrades
+ name: AppliedUpgrades
+ nameWithType: Furniture.AppliedUpgrades
+ fullName: TinyLife.Objects.Furniture.AppliedUpgrades
+- uid: TinyLife.Objects.Furniture.OnAppliedUpgrade
+ commentId: E:TinyLife.Objects.Furniture.OnAppliedUpgrade
+ parent: TinyLife.Objects.Furniture
+ href: TinyLife.Objects.Furniture.html#TinyLife_Objects_Furniture_OnAppliedUpgrade
+ name: OnAppliedUpgrade
+ nameWithType: Furniture.OnAppliedUpgrade
+ fullName: TinyLife.Objects.Furniture.OnAppliedUpgrade
- uid: TinyLife.Objects.Furniture.ApplyUpgrade*
commentId: Overload:TinyLife.Objects.Furniture.ApplyUpgrade
href: TinyLife.Objects.Furniture.html#TinyLife_Objects_Furniture_ApplyUpgrade_TinyLife_Objects_AppliedUpgrade_
diff --git a/docs/api/TinyLife.Objects.LifeSpan.yml b/docs/api/TinyLife.Objects.LifeSpan.yml
index bf7e15b..bcdacc7 100644
--- a/docs/api/TinyLife.Objects.LifeSpan.yml
+++ b/docs/api/TinyLife.Objects.LifeSpan.yml
@@ -25,7 +25,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: LifeSpan
path: ../TinyLife/Objects/Person.cs
- startLine: 3653
+ startLine: 3667
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -59,7 +59,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: VeryShort
path: ../TinyLife/Objects/Person.cs
- startLine: 3656
+ startLine: 3670
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -85,7 +85,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Short
path: ../TinyLife/Objects/Person.cs
- startLine: 3657
+ startLine: 3671
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -111,7 +111,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Normal
path: ../TinyLife/Objects/Person.cs
- startLine: 3658
+ startLine: 3672
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -137,7 +137,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Long
path: ../TinyLife/Objects/Person.cs
- startLine: 3659
+ startLine: 3673
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -163,7 +163,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: VeryLong
path: ../TinyLife/Objects/Person.cs
- startLine: 3660
+ startLine: 3674
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -189,7 +189,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Infinite
path: ../TinyLife/Objects/Person.cs
- startLine: 3661
+ startLine: 3675
assemblies:
- Tiny Life
namespace: TinyLife.Objects
diff --git a/docs/api/TinyLife.Objects.Light.yml b/docs/api/TinyLife.Objects.Light.yml
index 963f81a..cb78532 100644
--- a/docs/api/TinyLife.Objects.Light.yml
+++ b/docs/api/TinyLife.Objects.Light.yml
@@ -261,10 +261,15 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ScreenPosOffset
path: ../TinyLife/Objects/Light.cs
- startLine: 54
+ startLine: 58
assemblies:
- Tiny Life
namespace: TinyLife.Objects
+ summary: >-
+ An offset from this light's screen-space draw position, also in screen space.
+
+ This is added to the final draw position in , after has already been called.
+ example: []
syntax:
content: public Vector2 ScreenPosOffset
return:
@@ -288,10 +293,15 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: VisualWorldOffset
path: ../TinyLife/Objects/Light.cs
- startLine: 55
+ startLine: 63
assemblies:
- Tiny Life
namespace: TinyLife.Objects
+ summary: >-
+ An offset from this light's world-space draw position, also in world space.
+
+ This is translated to screen space using and added to the final draw position in .
+ example: []
syntax:
content: public Vector2 VisualWorldOffset
return:
@@ -315,14 +325,14 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Size
path: ../TinyLife/Objects/Light.cs
- startLine: 60
+ startLine: 68
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: >-
The size, in world space, of this light, centered on its .
- This value is multiplied with Tile.Width and Tile.Height.
+ This value is multiplied with and .
example: []
syntax:
content: public Vector2 Size
@@ -347,7 +357,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Rotation
path: ../TinyLife/Objects/Light.cs
- startLine: 65
+ startLine: 73
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -379,7 +389,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Color
path: ../TinyLife/Objects/Light.cs
- startLine: 70
+ startLine: 78
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -411,7 +421,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: IsDisabled
path: ../TinyLife/Objects/Light.cs
- startLine: 75
+ startLine: 83
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -443,7 +453,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Scale
path: ../TinyLife/Objects/Light.cs
- startLine: 79
+ startLine: 87
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -472,7 +482,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Objects/Light.cs
- startLine: 92
+ startLine: 100
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -522,7 +532,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Draw
path: ../TinyLife/Objects/Light.cs
- startLine: 106
+ startLine: 114
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1137,6 +1147,53 @@ references:
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.boolean
- name: )
+- uid: TinyLife.Objects.Light.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch)
+ commentId: M:TinyLife.Objects.Light.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch)
+ isExternal: true
+ href: TinyLife.Objects.Light.html#TinyLife_Objects_Light_Draw_Microsoft_Xna_Framework_GameTime_Microsoft_Xna_Framework_Graphics_SpriteBatch_
+ name: Draw(GameTime, SpriteBatch)
+ nameWithType: Light.Draw(GameTime, SpriteBatch)
+ fullName: TinyLife.Objects.Light.Draw(Microsoft.Xna.Framework.GameTime, Microsoft.Xna.Framework.Graphics.SpriteBatch)
+ spec.csharp:
+ - uid: TinyLife.Objects.Light.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch)
+ name: Draw
+ href: TinyLife.Objects.Light.html#TinyLife_Objects_Light_Draw_Microsoft_Xna_Framework_GameTime_Microsoft_Xna_Framework_Graphics_SpriteBatch_
+ - name: (
+ - uid: Microsoft.Xna.Framework.GameTime
+ name: GameTime
+ isExternal: true
+ - name: ','
+ - name: " "
+ - uid: Microsoft.Xna.Framework.Graphics.SpriteBatch
+ name: SpriteBatch
+ isExternal: true
+ - name: )
+ spec.vb:
+ - uid: TinyLife.Objects.Light.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch)
+ name: Draw
+ href: TinyLife.Objects.Light.html#TinyLife_Objects_Light_Draw_Microsoft_Xna_Framework_GameTime_Microsoft_Xna_Framework_Graphics_SpriteBatch_
+ - name: (
+ - uid: Microsoft.Xna.Framework.GameTime
+ name: GameTime
+ isExternal: true
+ - name: ','
+ - name: " "
+ - uid: Microsoft.Xna.Framework.Graphics.SpriteBatch
+ name: SpriteBatch
+ isExternal: true
+ - name: )
+- uid: TinyLife.Utilities.TextureHandler.TileWidth
+ commentId: P:TinyLife.Utilities.TextureHandler.TileWidth
+ href: TinyLife.Utilities.TextureHandler.html#TinyLife_Utilities_TextureHandler_TileWidth
+ name: TileWidth
+ nameWithType: TextureHandler.TileWidth
+ fullName: TinyLife.Utilities.TextureHandler.TileWidth
+- uid: TinyLife.Utilities.TextureHandler.TileHeight
+ commentId: P:TinyLife.Utilities.TextureHandler.TileHeight
+ href: TinyLife.Utilities.TextureHandler.html#TinyLife_Utilities_TextureHandler_TileHeight
+ name: TileHeight
+ nameWithType: TextureHandler.TileHeight
+ fullName: TinyLife.Utilities.TextureHandler.TileHeight
- uid: MLEM.Extensions.ColorExtensions.Invert(Microsoft.Xna.Framework.Color)
commentId: M:MLEM.Extensions.ColorExtensions.Invert(Microsoft.Xna.Framework.Color)
isExternal: true
diff --git a/docs/api/TinyLife.Objects.MapObject.yml b/docs/api/TinyLife.Objects.MapObject.yml
index 7511e9d..84839ea 100644
--- a/docs/api/TinyLife.Objects.MapObject.yml
+++ b/docs/api/TinyLife.Objects.MapObject.yml
@@ -1559,27 +1559,39 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnRandomQuality
path: ../TinyLife/Objects/MapObject.cs
- startLine: 400
+ startLine: 411
assemblies:
- Tiny Life
namespace: TinyLife.Objects
+ summary: >-
+ A method that is invoked when a random quality is determined based on an action and skill in .
+
+ This method is invoked for all of the passed .
+ example: []
syntax:
content: public virtual void OnRandomQuality(Person person, ActionInfo info, bool isAuxiliary, SkillType skill, Random random, bool alwaysAllowAverage, Dictionary weights)
parameters:
- id: person
type: TinyLife.Objects.Person
+ description: The person.
- id: info
type: TinyLife.Actions.ActionInfo
+ description: The action info.
- id: isAuxiliary
type: System.Boolean
+ description: Whether this object is auxiliary (or the main action object).
- id: skill
type: TinyLife.Skills.SkillType
+ description: The skill.
- id: random
type: System.Random
+ description: The instance used for determining the quality.
- id: alwaysAllowAverage
type: System.Boolean
+ description: Whether the quality should always be available as an option.
- id: weights
type: System.Collections.Generic.Dictionary{TinyLife.Skills.Quality,System.Single}
+ description: The weights for each quality. This collection contains keys for all values, and entries should not be removed, only modified.
content.vb: Public Overridable Sub OnRandomQuality(person As Person, info As ActionInfo, isAuxiliary As Boolean, skill As SkillType, random As Random, alwaysAllowAverage As Boolean, weights As Dictionary(Of Quality, Single))
overload: TinyLife.Objects.MapObject.OnRandomQuality*
nameWithType.vb: MapObject.OnRandomQuality(Person, ActionInfo, Boolean, SkillType, Random, Boolean, Dictionary(Of Quality, Single))
@@ -1603,7 +1615,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetRestoreNeedModifier
path: ../TinyLife/Objects/MapObject.cs
- startLine: 413
+ startLine: 424
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1657,7 +1669,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: IsFreeSpot
path: ../TinyLife/Objects/MapObject.cs
- startLine: 424
+ startLine: 435
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1697,7 +1709,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CanCrossBetween
path: ../TinyLife/Objects/MapObject.cs
- startLine: 435
+ startLine: 446
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1738,7 +1750,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetPathCostModifier
path: ../TinyLife/Objects/MapObject.cs
- startLine: 447
+ startLine: 458
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1780,7 +1792,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ResetToStatic
path: ../TinyLife/Objects/MapObject.cs
- startLine: 457
+ startLine: 468
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1821,7 +1833,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: MoveToMap
path: ../TinyLife/Objects/MapObject.cs
- startLine: 469
+ startLine: 480
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1865,7 +1877,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnPositionChanged
path: ../TinyLife/Objects/MapObject.cs
- startLine: 488
+ startLine: 499
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1908,7 +1920,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DoDraw
path: ../TinyLife/Objects/MapObject.cs
- startLine: 498
+ startLine: 509
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1955,7 +1967,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DoUpdate
path: ../TinyLife/Objects/MapObject.cs
- startLine: 515
+ startLine: 526
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1996,7 +2008,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DrawColumns
path: ../TinyLife/Objects/MapObject.cs
- startLine: 543
+ startLine: 554
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -2078,7 +2090,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetModCategory
path: ../TinyLife/Objects/MapObject.cs
- startLine: 609
+ startLine: 620
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -4325,12 +4337,90 @@ references:
- uid: TinyLife.Skills
name: Skills
href: TinyLife.Skills.html
-- uid: TinyLife.Objects.MapObject.OnRandomQuality*
- commentId: Overload:TinyLife.Objects.MapObject.OnRandomQuality
- href: TinyLife.Objects.MapObject.html#TinyLife_Objects_MapObject_OnRandomQuality_TinyLife_Objects_Person_TinyLife_Actions_ActionInfo_System_Boolean_TinyLife_Skills_SkillType_System_Random_System_Boolean_System_Collections_Generic_Dictionary_TinyLife_Skills_Quality_System_Single__
- name: OnRandomQuality
- nameWithType: MapObject.OnRandomQuality
- fullName: TinyLife.Objects.MapObject.OnRandomQuality
+- uid: TinyLife.Skills.SkillType.GetRandomQuality(TinyLife.Objects.Person,System.Random,TinyLife.Actions.ActionInfo,System.Boolean,TinyLife.Emotions.IEmotionSource,System.Boolean)
+ commentId: M:TinyLife.Skills.SkillType.GetRandomQuality(TinyLife.Objects.Person,System.Random,TinyLife.Actions.ActionInfo,System.Boolean,TinyLife.Emotions.IEmotionSource,System.Boolean)
+ isExternal: true
+ href: TinyLife.Skills.SkillType.html#TinyLife_Skills_SkillType_GetRandomQuality_TinyLife_Objects_Person_System_Random_TinyLife_Actions_ActionInfo_System_Boolean_TinyLife_Emotions_IEmotionSource_System_Boolean_
+ name: GetRandomQuality(Person, Random, ActionInfo, bool, IEmotionSource, bool)
+ nameWithType: SkillType.GetRandomQuality(Person, Random, ActionInfo, bool, IEmotionSource, bool)
+ fullName: TinyLife.Skills.SkillType.GetRandomQuality(TinyLife.Objects.Person, System.Random, TinyLife.Actions.ActionInfo, bool, TinyLife.Emotions.IEmotionSource, bool)
+ nameWithType.vb: SkillType.GetRandomQuality(Person, Random, ActionInfo, Boolean, IEmotionSource, Boolean)
+ fullName.vb: TinyLife.Skills.SkillType.GetRandomQuality(TinyLife.Objects.Person, System.Random, TinyLife.Actions.ActionInfo, Boolean, TinyLife.Emotions.IEmotionSource, Boolean)
+ name.vb: GetRandomQuality(Person, Random, ActionInfo, Boolean, IEmotionSource, Boolean)
+ spec.csharp:
+ - uid: TinyLife.Skills.SkillType.GetRandomQuality(TinyLife.Objects.Person,System.Random,TinyLife.Actions.ActionInfo,System.Boolean,TinyLife.Emotions.IEmotionSource,System.Boolean)
+ name: GetRandomQuality
+ href: TinyLife.Skills.SkillType.html#TinyLife_Skills_SkillType_GetRandomQuality_TinyLife_Objects_Person_System_Random_TinyLife_Actions_ActionInfo_System_Boolean_TinyLife_Emotions_IEmotionSource_System_Boolean_
+ - name: (
+ - uid: TinyLife.Objects.Person
+ name: Person
+ href: TinyLife.Objects.Person.html
+ - name: ','
+ - name: " "
+ - uid: System.Random
+ name: Random
+ isExternal: true
+ href: https://learn.microsoft.com/dotnet/api/system.random
+ - name: ','
+ - name: " "
+ - uid: TinyLife.Actions.ActionInfo
+ name: ActionInfo
+ href: TinyLife.Actions.ActionInfo.html
+ - name: ','
+ - name: " "
+ - uid: System.Boolean
+ name: bool
+ isExternal: true
+ href: https://learn.microsoft.com/dotnet/api/system.boolean
+ - name: ','
+ - name: " "
+ - uid: TinyLife.Emotions.IEmotionSource
+ name: IEmotionSource
+ href: TinyLife.Emotions.IEmotionSource.html
+ - name: ','
+ - name: " "
+ - uid: System.Boolean
+ name: bool
+ isExternal: true
+ href: https://learn.microsoft.com/dotnet/api/system.boolean
+ - name: )
+ spec.vb:
+ - uid: TinyLife.Skills.SkillType.GetRandomQuality(TinyLife.Objects.Person,System.Random,TinyLife.Actions.ActionInfo,System.Boolean,TinyLife.Emotions.IEmotionSource,System.Boolean)
+ name: GetRandomQuality
+ href: TinyLife.Skills.SkillType.html#TinyLife_Skills_SkillType_GetRandomQuality_TinyLife_Objects_Person_System_Random_TinyLife_Actions_ActionInfo_System_Boolean_TinyLife_Emotions_IEmotionSource_System_Boolean_
+ - name: (
+ - uid: TinyLife.Objects.Person
+ name: Person
+ href: TinyLife.Objects.Person.html
+ - name: ','
+ - name: " "
+ - uid: System.Random
+ name: Random
+ isExternal: true
+ href: https://learn.microsoft.com/dotnet/api/system.random
+ - name: ','
+ - name: " "
+ - uid: TinyLife.Actions.ActionInfo
+ name: ActionInfo
+ href: TinyLife.Actions.ActionInfo.html
+ - name: ','
+ - name: " "
+ - uid: System.Boolean
+ name: Boolean
+ isExternal: true
+ href: https://learn.microsoft.com/dotnet/api/system.boolean
+ - name: ','
+ - name: " "
+ - uid: TinyLife.Emotions.IEmotionSource
+ name: IEmotionSource
+ href: TinyLife.Emotions.IEmotionSource.html
+ - name: ','
+ - name: " "
+ - uid: System.Boolean
+ name: Boolean
+ isExternal: true
+ href: https://learn.microsoft.com/dotnet/api/system.boolean
+ - name: )
- uid: System.Random
commentId: T:System.Random
parent: System
@@ -4339,6 +4429,25 @@ references:
name: Random
nameWithType: Random
fullName: System.Random
+- uid: TinyLife.Skills.Quality.Average
+ commentId: F:TinyLife.Skills.Quality.Average
+ href: TinyLife.Skills.Quality.html#TinyLife_Skills_Quality_Average
+ name: Average
+ nameWithType: Quality.Average
+ fullName: TinyLife.Skills.Quality.Average
+- uid: TinyLife.Skills.Quality
+ commentId: T:TinyLife.Skills.Quality
+ parent: TinyLife.Skills
+ href: TinyLife.Skills.Quality.html
+ name: Quality
+ nameWithType: Quality
+ fullName: TinyLife.Skills.Quality
+- uid: TinyLife.Objects.MapObject.OnRandomQuality*
+ commentId: Overload:TinyLife.Objects.MapObject.OnRandomQuality
+ href: TinyLife.Objects.MapObject.html#TinyLife_Objects_MapObject_OnRandomQuality_TinyLife_Objects_Person_TinyLife_Actions_ActionInfo_System_Boolean_TinyLife_Skills_SkillType_System_Random_System_Boolean_System_Collections_Generic_Dictionary_TinyLife_Skills_Quality_System_Single__
+ name: OnRandomQuality
+ nameWithType: MapObject.OnRandomQuality
+ fullName: TinyLife.Objects.MapObject.OnRandomQuality
- uid: System.Collections.Generic.Dictionary{TinyLife.Skills.Quality,System.Single}
commentId: T:System.Collections.Generic.Dictionary{TinyLife.Skills.Quality,System.Single}
parent: System.Collections.Generic
diff --git a/docs/api/TinyLife.Objects.ObjectCategory.yml b/docs/api/TinyLife.Objects.ObjectCategory.yml
index 8cd2657..5e5c020 100644
--- a/docs/api/TinyLife.Objects.ObjectCategory.yml
+++ b/docs/api/TinyLife.Objects.ObjectCategory.yml
@@ -5,7 +5,7 @@ items:
id: ObjectCategory
parent: TinyLife.Objects
children:
- - TinyLife.Objects.ObjectCategory.#ctor(System.String,System.Numerics.BigInteger)
+ - TinyLife.Objects.ObjectCategory.#ctor(System.String,System.Numerics.BigInteger,System.Boolean)
- TinyLife.Objects.ObjectCategory.AllowedOnWater
- TinyLife.Objects.ObjectCategory.BabyBathtub
- TinyLife.Objects.ObjectCategory.BabySittable
@@ -102,7 +102,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ObjectCategory
path: ../TinyLife/Objects/MapObject.cs
- startLine: 637
+ startLine: 648
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -169,7 +169,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Nothing
path: ../TinyLife/Objects/MapObject.cs
- startLine: 640
+ startLine: 651
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -198,7 +198,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Ground
path: ../TinyLife/Objects/MapObject.cs
- startLine: 642
+ startLine: 653
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -227,7 +227,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Chair
path: ../TinyLife/Objects/MapObject.cs
- startLine: 644
+ startLine: 655
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -256,10 +256,12 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Sofa
path: ../TinyLife/Objects/MapObject.cs
- startLine: 645
+ startLine: 657
assemblies:
- Tiny Life
namespace: TinyLife.Objects
+ summary: An object category that represents living room-style sittable surfaces.
+ example: []
syntax:
content: public static readonly ObjectCategory Sofa
return:
@@ -283,7 +285,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: BabySittable
path: ../TinyLife/Objects/MapObject.cs
- startLine: 647
+ startLine: 659
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -312,7 +314,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Toilet
path: ../TinyLife/Objects/MapObject.cs
- startLine: 649
+ startLine: 661
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -341,7 +343,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SingleBed
path: ../TinyLife/Objects/MapObject.cs
- startLine: 651
+ startLine: 663
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -370,7 +372,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DoubleBed
path: ../TinyLife/Objects/MapObject.cs
- startLine: 653
+ startLine: 665
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -399,7 +401,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Fridge
path: ../TinyLife/Objects/MapObject.cs
- startLine: 655
+ startLine: 667
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -428,7 +430,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Shower
path: ../TinyLife/Objects/MapObject.cs
- startLine: 657
+ startLine: 669
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -457,7 +459,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Counter
path: ../TinyLife/Objects/MapObject.cs
- startLine: 659
+ startLine: 671
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -486,7 +488,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Stove
path: ../TinyLife/Objects/MapObject.cs
- startLine: 661
+ startLine: 673
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -515,7 +517,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Oven
path: ../TinyLife/Objects/MapObject.cs
- startLine: 663
+ startLine: 675
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -544,7 +546,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SmallObject
path: ../TinyLife/Objects/MapObject.cs
- startLine: 665
+ startLine: 677
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -573,7 +575,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: NonBuyable
path: ../TinyLife/Objects/MapObject.cs
- startLine: 667
+ startLine: 679
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -602,7 +604,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Table
path: ../TinyLife/Objects/MapObject.cs
- startLine: 669
+ startLine: 681
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -631,7 +633,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Holdable
path: ../TinyLife/Objects/MapObject.cs
- startLine: 671
+ startLine: 683
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -660,7 +662,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DeskObject
path: ../TinyLife/Objects/MapObject.cs
- startLine: 673
+ startLine: 685
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -689,7 +691,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DisallowedOnGround
path: ../TinyLife/Objects/MapObject.cs
- startLine: 675
+ startLine: 687
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -718,7 +720,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Computer
path: ../TinyLife/Objects/MapObject.cs
- startLine: 677
+ startLine: 689
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -747,7 +749,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Sink
path: ../TinyLife/Objects/MapObject.cs
- startLine: 679
+ startLine: 691
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -776,7 +778,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CounterObject
path: ../TinyLife/Objects/MapObject.cs
- startLine: 681
+ startLine: 693
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -805,7 +807,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Cleanable
path: ../TinyLife/Objects/MapObject.cs
- startLine: 683
+ startLine: 695
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -834,7 +836,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: People
path: ../TinyLife/Objects/MapObject.cs
- startLine: 685
+ startLine: 697
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -863,7 +865,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Mailbox
path: ../TinyLife/Objects/MapObject.cs
- startLine: 687
+ startLine: 699
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -892,7 +894,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Wardrobe
path: ../TinyLife/Objects/MapObject.cs
- startLine: 689
+ startLine: 701
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -921,7 +923,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: NaturalGroundRequired
path: ../TinyLife/Objects/MapObject.cs
- startLine: 691
+ startLine: 703
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -950,7 +952,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: WaterRequired
path: ../TinyLife/Objects/MapObject.cs
- startLine: 693
+ startLine: 705
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -979,7 +981,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AllowedOnWater
path: ../TinyLife/Objects/MapObject.cs
- startLine: 695
+ startLine: 707
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1008,7 +1010,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Self
path: ../TinyLife/Objects/MapObject.cs
- startLine: 697
+ startLine: 709
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1037,7 +1039,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: WallHanging
path: ../TinyLife/Objects/MapObject.cs
- startLine: 699
+ startLine: 711
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1066,7 +1068,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ForceGridPlacement
path: ../TinyLife/Objects/MapObject.cs
- startLine: 701
+ startLine: 713
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1095,7 +1097,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Easel
path: ../TinyLife/Objects/MapObject.cs
- startLine: 703
+ startLine: 715
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1124,7 +1126,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Mirror
path: ../TinyLife/Objects/MapObject.cs
- startLine: 705
+ startLine: 717
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1153,7 +1155,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Bookshelf
path: ../TinyLife/Objects/MapObject.cs
- startLine: 707
+ startLine: 719
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1182,7 +1184,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: NonColliding
path: ../TinyLife/Objects/MapObject.cs
- startLine: 709
+ startLine: 721
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1211,7 +1213,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Gravestone
path: ../TinyLife/Objects/MapObject.cs
- startLine: 711
+ startLine: 723
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1240,7 +1242,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: NonSellable
path: ../TinyLife/Objects/MapObject.cs
- startLine: 713
+ startLine: 725
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1269,7 +1271,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: NonMovable
path: ../TinyLife/Objects/MapObject.cs
- startLine: 715
+ startLine: 727
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1298,7 +1300,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Tree
path: ../TinyLife/Objects/MapObject.cs
- startLine: 717
+ startLine: 729
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1327,7 +1329,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Television
path: ../TinyLife/Objects/MapObject.cs
- startLine: 719
+ startLine: 731
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1356,7 +1358,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: BartendingObject
path: ../TinyLife/Objects/MapObject.cs
- startLine: 721
+ startLine: 733
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1385,7 +1387,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Walls
path: ../TinyLife/Objects/MapObject.cs
- startLine: 723
+ startLine: 735
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1414,7 +1416,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: LargeSurfaceObject
path: ../TinyLife/Objects/MapObject.cs
- startLine: 725
+ startLine: 737
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1443,7 +1445,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: StandingDesk
path: ../TinyLife/Objects/MapObject.cs
- startLine: 727
+ startLine: 739
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1472,7 +1474,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Lamp
path: ../TinyLife/Objects/MapObject.cs
- startLine: 729
+ startLine: 741
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1501,7 +1503,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CeilingHanging
path: ../TinyLife/Objects/MapObject.cs
- startLine: 731
+ startLine: 743
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1530,7 +1532,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CanCoverWindow
path: ../TinyLife/Objects/MapObject.cs
- startLine: 733
+ startLine: 745
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1559,7 +1561,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CanCoverDoor
path: ../TinyLife/Objects/MapObject.cs
- startLine: 735
+ startLine: 747
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1588,7 +1590,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Barbecue
path: ../TinyLife/Objects/MapObject.cs
- startLine: 737
+ startLine: 749
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1617,7 +1619,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: TrashCan
path: ../TinyLife/Objects/MapObject.cs
- startLine: 739
+ startLine: 751
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1646,7 +1648,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CanBeThrownAway
path: ../TinyLife/Objects/MapObject.cs
- startLine: 741
+ startLine: 753
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1675,7 +1677,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CanBeScrapped
path: ../TinyLife/Objects/MapObject.cs
- startLine: 743
+ startLine: 755
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1704,7 +1706,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ObstructedByRoofs
path: ../TinyLife/Objects/MapObject.cs
- startLine: 745
+ startLine: 757
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1733,7 +1735,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: RoofAttached
path: ../TinyLife/Objects/MapObject.cs
- startLine: 747
+ startLine: 759
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1762,7 +1764,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FireLight
path: ../TinyLife/Objects/MapObject.cs
- startLine: 749
+ startLine: 761
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1791,7 +1793,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ToyBox
path: ../TinyLife/Objects/MapObject.cs
- startLine: 751
+ startLine: 763
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1820,7 +1822,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ChildStove
path: ../TinyLife/Objects/MapObject.cs
- startLine: 753
+ startLine: 765
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1849,7 +1851,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Sandbox
path: ../TinyLife/Objects/MapObject.cs
- startLine: 755
+ startLine: 767
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1878,7 +1880,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: JungleGym
path: ../TinyLife/Objects/MapObject.cs
- startLine: 757
+ startLine: 769
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1907,7 +1909,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Newspaper
path: ../TinyLife/Objects/MapObject.cs
- startLine: 759
+ startLine: 771
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1936,7 +1938,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CoffeeMachine
path: ../TinyLife/Objects/MapObject.cs
- startLine: 761
+ startLine: 773
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1965,7 +1967,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CafeDisplayCase
path: ../TinyLife/Objects/MapObject.cs
- startLine: 763
+ startLine: 775
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1994,7 +1996,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GroundItem
path: ../TinyLife/Objects/MapObject.cs
- startLine: 765
+ startLine: 777
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -2023,7 +2025,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: TreeDecor
path: ../TinyLife/Objects/MapObject.cs
- startLine: 767
+ startLine: 779
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -2052,7 +2054,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OpeningHoursSign
path: ../TinyLife/Objects/MapObject.cs
- startLine: 769
+ startLine: 781
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -2081,7 +2083,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: TeaKit
path: ../TinyLife/Objects/MapObject.cs
- startLine: 771
+ startLine: 783
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -2110,7 +2112,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: LandlinePhone
path: ../TinyLife/Objects/MapObject.cs
- startLine: 773
+ startLine: 785
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -2139,7 +2141,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Potty
path: ../TinyLife/Objects/MapObject.cs
- startLine: 777
+ startLine: 789
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -2168,7 +2170,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Treadmill
path: ../TinyLife/Objects/MapObject.cs
- startLine: 779
+ startLine: 791
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -2197,7 +2199,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DumbbellHolder
path: ../TinyLife/Objects/MapObject.cs
- startLine: 781
+ startLine: 793
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -2226,7 +2228,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: WoodworkingItem
path: ../TinyLife/Objects/MapObject.cs
- startLine: 783
+ startLine: 795
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -2255,7 +2257,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ChangingStation
path: ../TinyLife/Objects/MapObject.cs
- startLine: 785
+ startLine: 797
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -2284,7 +2286,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Crib
path: ../TinyLife/Objects/MapObject.cs
- startLine: 787
+ startLine: 799
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -2313,7 +2315,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: BabyBathtub
path: ../TinyLife/Objects/MapObject.cs
- startLine: 789
+ startLine: 801
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -2342,25 +2344,27 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ProteinShakeMaker
path: ../TinyLife/Objects/MapObject.cs
- startLine: 790
+ startLine: 803
assemblies:
- Tiny Life
namespace: TinyLife.Objects
+ summary: An object category that represents objects where protein shakes can be made.
+ example: []
syntax:
content: public static readonly ObjectCategory ProteinShakeMaker
return:
type: TinyLife.Objects.ObjectCategory
content.vb: Public Shared ReadOnly ProteinShakeMaker As ObjectCategory
-- uid: TinyLife.Objects.ObjectCategory.#ctor(System.String,System.Numerics.BigInteger)
- commentId: M:TinyLife.Objects.ObjectCategory.#ctor(System.String,System.Numerics.BigInteger)
- id: '#ctor(System.String,System.Numerics.BigInteger)'
+- uid: TinyLife.Objects.ObjectCategory.#ctor(System.String,System.Numerics.BigInteger,System.Boolean)
+ commentId: M:TinyLife.Objects.ObjectCategory.#ctor(System.String,System.Numerics.BigInteger,System.Boolean)
+ id: '#ctor(System.String,System.Numerics.BigInteger,System.Boolean)'
parent: TinyLife.Objects.ObjectCategory
langs:
- csharp
- vb
- name: ObjectCategory(string, BigInteger)
- nameWithType: ObjectCategory.ObjectCategory(string, BigInteger)
- fullName: TinyLife.Objects.ObjectCategory.ObjectCategory(string, System.Numerics.BigInteger)
+ name: ObjectCategory(string, BigInteger, bool)
+ nameWithType: ObjectCategory.ObjectCategory(string, BigInteger, bool)
+ fullName: TinyLife.Objects.ObjectCategory.ObjectCategory(string, System.Numerics.BigInteger, bool)
type: Constructor
source:
remote:
@@ -2369,7 +2373,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Objects/MapObject.cs
- startLine: 794
+ startLine: 807
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -2379,7 +2383,7 @@ items:
This constructor is protected as it is only invoked via reflection.
example: []
syntax:
- content: protected ObjectCategory(string name, BigInteger value)
+ content: protected ObjectCategory(string name, BigInteger value, bool defined)
parameters:
- id: name
type: System.String
@@ -2387,11 +2391,14 @@ items:
- id: value
type: System.Numerics.BigInteger
description: The value
- content.vb: Protected Sub New(name As String, value As BigInteger)
+ - id: defined
+ type: System.Boolean
+ description: Whether this enum value , and thus, not a combined flag.
+ content.vb: Protected Sub New(name As String, value As BigInteger, defined As Boolean)
overload: TinyLife.Objects.ObjectCategory.#ctor*
- nameWithType.vb: ObjectCategory.New(String, BigInteger)
- fullName.vb: TinyLife.Objects.ObjectCategory.New(String, System.Numerics.BigInteger)
- name.vb: New(String, BigInteger)
+ nameWithType.vb: ObjectCategory.New(String, BigInteger, Boolean)
+ fullName.vb: TinyLife.Objects.ObjectCategory.New(String, System.Numerics.BigInteger, Boolean)
+ name.vb: New(String, BigInteger, Boolean)
- uid: TinyLife.Objects.ObjectCategory.op_Implicit(TinyLife.Objects.ObjectCategory)~System.Numerics.BigInteger
commentId: M:TinyLife.Objects.ObjectCategory.op_Implicit(TinyLife.Objects.ObjectCategory)~System.Numerics.BigInteger
id: op_Implicit(TinyLife.Objects.ObjectCategory)~System.Numerics.BigInteger
@@ -2410,7 +2417,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: op_Implicit
path: ../TinyLife/Objects/MapObject.cs
- startLine: 797
+ startLine: 810
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -2447,7 +2454,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: op_Implicit
path: ../TinyLife/Objects/MapObject.cs
- startLine: 802
+ startLine: 815
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -2485,7 +2492,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: op_BitwiseOr
path: ../TinyLife/Objects/MapObject.cs
- startLine: 807
+ startLine: 820
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -2526,7 +2533,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: op_BitwiseAnd
path: ../TinyLife/Objects/MapObject.cs
- startLine: 812
+ startLine: 825
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -2567,7 +2574,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: op_ExclusiveOr
path: ../TinyLife/Objects/MapObject.cs
- startLine: 817
+ startLine: 830
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -2608,7 +2615,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: op_OnesComplement
path: ../TinyLife/Objects/MapObject.cs
- startLine: 822
+ startLine: 835
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -4403,7 +4410,7 @@ references:
fullName: TinyLife.Actions.Behaviors.PhoneBehavior
- uid: TinyLife.Objects.ObjectCategory.#ctor*
commentId: Overload:TinyLife.Objects.ObjectCategory.#ctor
- href: TinyLife.Objects.ObjectCategory.html#TinyLife_Objects_ObjectCategory__ctor_System_String_System_Numerics_BigInteger_
+ href: TinyLife.Objects.ObjectCategory.html#TinyLife_Objects_ObjectCategory__ctor_System_String_System_Numerics_BigInteger_System_Boolean_
name: ObjectCategory
nameWithType: ObjectCategory.ObjectCategory
fullName: TinyLife.Objects.ObjectCategory.ObjectCategory
@@ -4429,6 +4436,17 @@ references:
name: BigInteger
nameWithType: BigInteger
fullName: System.Numerics.BigInteger
+- uid: System.Boolean
+ commentId: T:System.Boolean
+ parent: System
+ isExternal: true
+ href: https://learn.microsoft.com/dotnet/api/system.boolean
+ name: bool
+ nameWithType: bool
+ fullName: bool
+ nameWithType.vb: Boolean
+ fullName.vb: Boolean
+ name.vb: Boolean
- uid: System.Numerics
commentId: N:System.Numerics
isExternal: true
diff --git a/docs/api/TinyLife.Objects.ParentInfo.AttachmentType.yml b/docs/api/TinyLife.Objects.ParentInfo.AttachmentType.yml
index 19b7e84..0f97268 100644
--- a/docs/api/TinyLife.Objects.ParentInfo.AttachmentType.yml
+++ b/docs/api/TinyLife.Objects.ParentInfo.AttachmentType.yml
@@ -28,7 +28,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AttachmentType
path: ../TinyLife/Objects/MapObject.cs
- startLine: 1085
+ startLine: 1108
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -57,7 +57,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: None
path: ../TinyLife/Objects/MapObject.cs
- startLine: 1088
+ startLine: 1111
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -83,7 +83,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Furniture
path: ../TinyLife/Objects/MapObject.cs
- startLine: 1089
+ startLine: 1112
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -109,7 +109,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Person
path: ../TinyLife/Objects/MapObject.cs
- startLine: 1090
+ startLine: 1113
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -135,7 +135,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Wall
path: ../TinyLife/Objects/MapObject.cs
- startLine: 1091
+ startLine: 1114
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -161,7 +161,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Roof
path: ../TinyLife/Objects/MapObject.cs
- startLine: 1092
+ startLine: 1115
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -187,7 +187,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Stairs
path: ../TinyLife/Objects/MapObject.cs
- startLine: 1093
+ startLine: 1116
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -213,7 +213,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Ceiling
path: ../TinyLife/Objects/MapObject.cs
- startLine: 1094
+ startLine: 1117
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -239,7 +239,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Ground
path: ../TinyLife/Objects/MapObject.cs
- startLine: 1095
+ startLine: 1118
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -265,7 +265,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Ui
path: ../TinyLife/Objects/MapObject.cs
- startLine: 1096
+ startLine: 1119
assemblies:
- Tiny Life
namespace: TinyLife.Objects
diff --git a/docs/api/TinyLife.Objects.ParentInfo.yml b/docs/api/TinyLife.Objects.ParentInfo.yml
index 5530ca4..2a47cd8 100644
--- a/docs/api/TinyLife.Objects.ParentInfo.yml
+++ b/docs/api/TinyLife.Objects.ParentInfo.yml
@@ -30,7 +30,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ParentInfo
path: ../TinyLife/Objects/MapObject.cs
- startLine: 857
+ startLine: 870
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -69,7 +69,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Type
path: ../TinyLife/Objects/MapObject.cs
- startLine: 862
+ startLine: 875
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -98,7 +98,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: LayerDepth
path: ../TinyLife/Objects/MapObject.cs
- startLine: 868
+ startLine: 881
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -132,7 +132,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ShouldDraw
path: ../TinyLife/Objects/MapObject.cs
- startLine: 872
+ startLine: 885
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -163,7 +163,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Objects/MapObject.cs
- startLine: 886
+ startLine: 899
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -201,7 +201,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Objects/MapObject.cs
- startLine: 896
+ startLine: 909
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -236,7 +236,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Objects/MapObject.cs
- startLine: 905
+ startLine: 918
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -271,7 +271,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Objects/MapObject.cs
- startLine: 914
+ startLine: 927
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -306,7 +306,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Objects/MapObject.cs
- startLine: 923
+ startLine: 936
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -341,7 +341,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Objects/MapObject.cs
- startLine: 934
+ startLine: 947
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -383,17 +383,21 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetDrawOffset
path: ../TinyLife/Objects/MapObject.cs
- startLine: 940
+ startLine: 958
assemblies:
- Tiny Life
namespace: TinyLife.Objects
+ summary: Returns the draw offset for an object that has this .
+ example: []
syntax:
content: public Vector2 GetDrawOffset(Vector2 position)
parameters:
- id: position
type: Microsoft.Xna.Framework.Vector2
+ description: The object's position, which should be the same as the depth position passed to .
return:
type: Microsoft.Xna.Framework.Vector2
+ description: The draw offset.
content.vb: Public Function GetDrawOffset(position As Vector2) As Vector2
overload: TinyLife.Objects.ParentInfo.GetDrawOffset*
- uid: TinyLife.Objects.ParentInfo.GetDepthOffset(Microsoft.Xna.Framework.Vector2)
@@ -414,17 +418,21 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetDepthOffset
path: ../TinyLife/Objects/MapObject.cs
- startLine: 954
+ startLine: 977
assemblies:
- Tiny Life
namespace: TinyLife.Objects
+ summary: Returns the depth offset for an object that has this .
+ example: []
syntax:
content: public float GetDepthOffset(Vector2 position)
parameters:
- id: position
type: Microsoft.Xna.Framework.Vector2
+ description: The object's position, which should be the same as the depth position passed to .
return:
type: System.Single
+ description: The depth offset.
content.vb: Public Function GetDepthOffset(position As Vector2) As Single
overload: TinyLife.Objects.ParentInfo.GetDepthOffset*
references:
diff --git a/docs/api/TinyLife.Objects.Particle.yml b/docs/api/TinyLife.Objects.Particle.yml
index 30b47a5..f2fb09f 100644
--- a/docs/api/TinyLife.Objects.Particle.yml
+++ b/docs/api/TinyLife.Objects.Particle.yml
@@ -103,7 +103,7 @@ items:
summary: >-
A set of conditions for instances that should optionally display the falling leaves particles that default trees do.
- The minimum and maximum spawn heights and horizontal coordinates are in relation to the furniture's position in the world, with all offsets being multiplied by Tile.Width or Tile.Height.
+ The minimum and maximum spawn heights and horizontal coordinates are in relation to the furniture's position in the world, with all offsets being multiplied by or .
To add additional furniture that displays falling leaves, simply add to this collection.
example: []
@@ -407,33 +407,6 @@ items:
return:
type: Microsoft.Xna.Framework.Vector2
content.vb: Public VisualMotion As Vector2
-- uid: TinyLife.Objects.Particle.VisualWorldOffset
- commentId: F:TinyLife.Objects.Particle.VisualWorldOffset
- id: VisualWorldOffset
- parent: TinyLife.Objects.Particle
- langs:
- - csharp
- - vb
- name: VisualWorldOffset
- nameWithType: Particle.VisualWorldOffset
- fullName: TinyLife.Objects.Particle.VisualWorldOffset
- type: Field
- source:
- remote:
- path: TinyLife/Objects/Particle.cs
- branch: main
- repo: https://git.ellpeck.de/Ellpeck/TinyLife
- id: VisualWorldOffset
- path: ../TinyLife/Objects/Particle.cs
- startLine: 82
- assemblies:
- - Tiny Life
- namespace: TinyLife.Objects
- syntax:
- content: public Vector2 VisualWorldOffset
- return:
- type: Microsoft.Xna.Framework.Vector2
- content.vb: Public VisualWorldOffset As Vector2
- uid: TinyLife.Objects.Particle.ScreenPosOffset
commentId: F:TinyLife.Objects.Particle.ScreenPosOffset
id: ScreenPosOffset
@@ -452,15 +425,52 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ScreenPosOffset
path: ../TinyLife/Objects/Particle.cs
- startLine: 83
+ startLine: 86
assemblies:
- Tiny Life
namespace: TinyLife.Objects
+ summary: >-
+ An offset from this particle's screen-space draw position, also in screen space.
+
+ This is added to the final draw position in , after has already been called.
+ example: []
syntax:
content: public Vector2 ScreenPosOffset
return:
type: Microsoft.Xna.Framework.Vector2
content.vb: Public ScreenPosOffset As Vector2
+- uid: TinyLife.Objects.Particle.VisualWorldOffset
+ commentId: F:TinyLife.Objects.Particle.VisualWorldOffset
+ id: VisualWorldOffset
+ parent: TinyLife.Objects.Particle
+ langs:
+ - csharp
+ - vb
+ name: VisualWorldOffset
+ nameWithType: Particle.VisualWorldOffset
+ fullName: TinyLife.Objects.Particle.VisualWorldOffset
+ type: Field
+ source:
+ remote:
+ path: TinyLife/Objects/Particle.cs
+ branch: main
+ repo: https://git.ellpeck.de/Ellpeck/TinyLife
+ id: VisualWorldOffset
+ path: ../TinyLife/Objects/Particle.cs
+ startLine: 91
+ assemblies:
+ - Tiny Life
+ namespace: TinyLife.Objects
+ summary: >-
+ An offset from this particle's world-space draw position, also in world space.
+
+ This is translated to screen space using and added to the final draw position in .
+ example: []
+ syntax:
+ content: public Vector2 VisualWorldOffset
+ return:
+ type: Microsoft.Xna.Framework.Vector2
+ content.vb: Public VisualWorldOffset As Vector2
- uid: TinyLife.Objects.Particle.DepthPosOffset
commentId: F:TinyLife.Objects.Particle.DepthPosOffset
id: DepthPosOffset
@@ -479,10 +489,12 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DepthPosOffset
path: ../TinyLife/Objects/Particle.cs
- startLine: 84
+ startLine: 95
assemblies:
- Tiny Life
namespace: TinyLife.Objects
+ summary: An offset that is applied to this particle's , in world space, for depth calculations.
+ example: []
syntax:
content: public Vector2 DepthPosOffset
return:
@@ -506,7 +518,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ParentInfo
path: ../TinyLife/Objects/Particle.cs
- startLine: 88
+ startLine: 99
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -535,7 +547,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: IgnoreParentDrawPos
path: ../TinyLife/Objects/Particle.cs
- startLine: 92
+ startLine: 103
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -564,7 +576,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: UpdateWhenPaused
path: ../TinyLife/Objects/Particle.cs
- startLine: 97
+ startLine: 108
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -596,7 +608,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Color
path: ../TinyLife/Objects/Particle.cs
- startLine: 101
+ startLine: 112
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -625,7 +637,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SpriteEffects
path: ../TinyLife/Objects/Particle.cs
- startLine: 105
+ startLine: 116
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -654,7 +666,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ForceOutside
path: ../TinyLife/Objects/Particle.cs
- startLine: 110
+ startLine: 121
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -686,7 +698,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnUpdate
path: ../TinyLife/Objects/Particle.cs
- startLine: 115
+ startLine: 126
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -718,7 +730,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Light
path: ../TinyLife/Objects/Particle.cs
- startLine: 120
+ startLine: 131
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -750,7 +762,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Scale
path: ../TinyLife/Objects/Particle.cs
- startLine: 124
+ startLine: 135
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -781,7 +793,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Animation
path: ../TinyLife/Objects/Particle.cs
- startLine: 129
+ startLine: 140
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -810,7 +822,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: TimeLived
path: ../TinyLife/Objects/Particle.cs
- startLine: 134
+ startLine: 145
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -842,7 +854,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Objects/Particle.cs
- startLine: 143
+ startLine: 154
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -886,7 +898,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Objects/Particle.cs
- startLine: 153
+ startLine: 164
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -930,7 +942,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Update
path: ../TinyLife/Objects/Particle.cs
- startLine: 166
+ startLine: 177
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -971,7 +983,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Draw
path: ../TinyLife/Objects/Particle.cs
- startLine: 204
+ startLine: 215
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1006,7 +1018,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Remove
path: ../TinyLife/Objects/Particle.cs
- startLine: 215
+ startLine: 239
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1034,7 +1046,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnRemoved
path: ../TinyLife/Objects/Particle.cs
- startLine: 223
+ startLine: 247
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1062,7 +1074,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnAdded
path: ../TinyLife/Objects/Particle.cs
- startLine: 230
+ startLine: 254
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1090,7 +1102,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Spawn
path: ../TinyLife/Objects/Particle.cs
- startLine: 241
+ startLine: 265
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -1592,6 +1604,18 @@ references:
name: FurnitureType
nameWithType: FurnitureType
fullName: TinyLife.Objects.FurnitureType
+- uid: TinyLife.Utilities.TextureHandler.TileWidth
+ commentId: P:TinyLife.Utilities.TextureHandler.TileWidth
+ href: TinyLife.Utilities.TextureHandler.html#TinyLife_Utilities_TextureHandler_TileWidth
+ name: TileWidth
+ nameWithType: TextureHandler.TileWidth
+ fullName: TinyLife.Utilities.TextureHandler.TileWidth
+- uid: TinyLife.Utilities.TextureHandler.TileHeight
+ commentId: P:TinyLife.Utilities.TextureHandler.TileHeight
+ href: TinyLife.Utilities.TextureHandler.html#TinyLife_Utilities_TextureHandler_TileHeight
+ name: TileHeight
+ nameWithType: TextureHandler.TileHeight
+ fullName: TinyLife.Utilities.TextureHandler.TileHeight
- uid: System.Collections.Generic.Dictionary{TinyLife.Objects.FurnitureType,System.ValueTuple{System.Single,System.Single,System.Single,System.Single,System.Single}}
commentId: T:System.Collections.Generic.Dictionary{TinyLife.Objects.FurnitureType,System.ValueTuple{System.Single,System.Single,System.Single,System.Single,System.Single}}
parent: System.Collections.Generic
@@ -2177,6 +2201,117 @@ references:
name: Friction
nameWithType: Particle.Friction
fullName: TinyLife.Objects.Particle.Friction
+- uid: TinyLife.Objects.Particle.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch)
+ commentId: M:TinyLife.Objects.Particle.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch)
+ isExternal: true
+ href: TinyLife.Objects.Particle.html#TinyLife_Objects_Particle_Draw_Microsoft_Xna_Framework_GameTime_Microsoft_Xna_Framework_Graphics_SpriteBatch_
+ name: Draw(GameTime, SpriteBatch)
+ nameWithType: Particle.Draw(GameTime, SpriteBatch)
+ fullName: TinyLife.Objects.Particle.Draw(Microsoft.Xna.Framework.GameTime, Microsoft.Xna.Framework.Graphics.SpriteBatch)
+ spec.csharp:
+ - uid: TinyLife.Objects.Particle.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch)
+ name: Draw
+ href: TinyLife.Objects.Particle.html#TinyLife_Objects_Particle_Draw_Microsoft_Xna_Framework_GameTime_Microsoft_Xna_Framework_Graphics_SpriteBatch_
+ - name: (
+ - uid: Microsoft.Xna.Framework.GameTime
+ name: GameTime
+ isExternal: true
+ - name: ','
+ - name: " "
+ - uid: Microsoft.Xna.Framework.Graphics.SpriteBatch
+ name: SpriteBatch
+ isExternal: true
+ - name: )
+ spec.vb:
+ - uid: TinyLife.Objects.Particle.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch)
+ name: Draw
+ href: TinyLife.Objects.Particle.html#TinyLife_Objects_Particle_Draw_Microsoft_Xna_Framework_GameTime_Microsoft_Xna_Framework_Graphics_SpriteBatch_
+ - name: (
+ - uid: Microsoft.Xna.Framework.GameTime
+ name: GameTime
+ isExternal: true
+ - name: ','
+ - name: " "
+ - uid: Microsoft.Xna.Framework.Graphics.SpriteBatch
+ name: SpriteBatch
+ isExternal: true
+ - name: )
+- uid: TinyLife.Utilities.Extensions.ToScreenPos(Microsoft.Xna.Framework.Vector2,System.Single,System.Boolean,System.Boolean,System.Boolean)
+ commentId: M:TinyLife.Utilities.Extensions.ToScreenPos(Microsoft.Xna.Framework.Vector2,System.Single,System.Boolean,System.Boolean,System.Boolean)
+ isExternal: true
+ href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_ToScreenPos_Microsoft_Xna_Framework_Vector2_System_Single_System_Boolean_System_Boolean_System_Boolean_
+ name: ToScreenPos(Vector2, float, bool, bool, bool)
+ nameWithType: Extensions.ToScreenPos(Vector2, float, bool, bool, bool)
+ fullName: TinyLife.Utilities.Extensions.ToScreenPos(Microsoft.Xna.Framework.Vector2, float, bool, bool, bool)
+ nameWithType.vb: Extensions.ToScreenPos(Vector2, Single, Boolean, Boolean, Boolean)
+ fullName.vb: TinyLife.Utilities.Extensions.ToScreenPos(Microsoft.Xna.Framework.Vector2, Single, Boolean, Boolean, Boolean)
+ name.vb: ToScreenPos(Vector2, Single, Boolean, Boolean, Boolean)
+ spec.csharp:
+ - uid: TinyLife.Utilities.Extensions.ToScreenPos(Microsoft.Xna.Framework.Vector2,System.Single,System.Boolean,System.Boolean,System.Boolean)
+ name: ToScreenPos
+ href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_ToScreenPos_Microsoft_Xna_Framework_Vector2_System_Single_System_Boolean_System_Boolean_System_Boolean_
+ - name: (
+ - uid: Microsoft.Xna.Framework.Vector2
+ name: Vector2
+ isExternal: true
+ - name: ','
+ - name: " "
+ - uid: System.Single
+ name: float
+ isExternal: true
+ href: https://learn.microsoft.com/dotnet/api/system.single
+ - name: ','
+ - name: " "
+ - uid: System.Boolean
+ name: bool
+ isExternal: true
+ href: https://learn.microsoft.com/dotnet/api/system.boolean
+ - name: ','
+ - name: " "
+ - uid: System.Boolean
+ name: bool
+ isExternal: true
+ href: https://learn.microsoft.com/dotnet/api/system.boolean
+ - name: ','
+ - name: " "
+ - uid: System.Boolean
+ name: bool
+ isExternal: true
+ href: https://learn.microsoft.com/dotnet/api/system.boolean
+ - name: )
+ spec.vb:
+ - uid: TinyLife.Utilities.Extensions.ToScreenPos(Microsoft.Xna.Framework.Vector2,System.Single,System.Boolean,System.Boolean,System.Boolean)
+ name: ToScreenPos
+ href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_ToScreenPos_Microsoft_Xna_Framework_Vector2_System_Single_System_Boolean_System_Boolean_System_Boolean_
+ - name: (
+ - uid: Microsoft.Xna.Framework.Vector2
+ name: Vector2
+ isExternal: true
+ - name: ','
+ - name: " "
+ - uid: System.Single
+ name: Single
+ isExternal: true
+ href: https://learn.microsoft.com/dotnet/api/system.single
+ - name: ','
+ - name: " "
+ - uid: System.Boolean
+ name: Boolean
+ isExternal: true
+ href: https://learn.microsoft.com/dotnet/api/system.boolean
+ - name: ','
+ - name: " "
+ - uid: System.Boolean
+ name: Boolean
+ isExternal: true
+ href: https://learn.microsoft.com/dotnet/api/system.boolean
+ - name: ','
+ - name: " "
+ - uid: System.Boolean
+ name: Boolean
+ isExternal: true
+ href: https://learn.microsoft.com/dotnet/api/system.boolean
+ - name: )
- uid: TinyLife.Objects.Particle.ParentInfo
commentId: F:TinyLife.Objects.Particle.ParentInfo
href: TinyLife.Objects.Particle.html#TinyLife_Objects_Particle_ParentInfo
diff --git a/docs/api/TinyLife.Objects.Person.EfficiencyModifierDelegate.yml b/docs/api/TinyLife.Objects.Person.EfficiencyModifierDelegate.yml
index 33b3fb7..9bf99f7 100644
--- a/docs/api/TinyLife.Objects.Person.EfficiencyModifierDelegate.yml
+++ b/docs/api/TinyLife.Objects.Person.EfficiencyModifierDelegate.yml
@@ -19,7 +19,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: EfficiencyModifierDelegate
path: ../TinyLife/Objects/Person.cs
- startLine: 3458
+ startLine: 3472
assemblies:
- Tiny Life
namespace: TinyLife.Objects
diff --git a/docs/api/TinyLife.Objects.Person.EmotionModifiersChangedDelegate.yml b/docs/api/TinyLife.Objects.Person.EmotionModifiersChangedDelegate.yml
index 1defd99..c83c3b7 100644
--- a/docs/api/TinyLife.Objects.Person.EmotionModifiersChangedDelegate.yml
+++ b/docs/api/TinyLife.Objects.Person.EmotionModifiersChangedDelegate.yml
@@ -19,7 +19,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: EmotionModifiersChangedDelegate
path: ../TinyLife/Objects/Person.cs
- startLine: 3483
+ startLine: 3497
assemblies:
- Tiny Life
namespace: TinyLife.Objects
diff --git a/docs/api/TinyLife.Objects.Person.PassiveActionPriorityDelegate.yml b/docs/api/TinyLife.Objects.Person.PassiveActionPriorityDelegate.yml
index 894f89b..ae815a0 100644
--- a/docs/api/TinyLife.Objects.Person.PassiveActionPriorityDelegate.yml
+++ b/docs/api/TinyLife.Objects.Person.PassiveActionPriorityDelegate.yml
@@ -19,7 +19,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: PassiveActionPriorityDelegate
path: ../TinyLife/Objects/Person.cs
- startLine: 3473
+ startLine: 3487
assemblies:
- Tiny Life
namespace: TinyLife.Objects
diff --git a/docs/api/TinyLife.Objects.Person.RelationshipChangeDelegate.yml b/docs/api/TinyLife.Objects.Person.RelationshipChangeDelegate.yml
index dd6e005..29d8428 100644
--- a/docs/api/TinyLife.Objects.Person.RelationshipChangeDelegate.yml
+++ b/docs/api/TinyLife.Objects.Person.RelationshipChangeDelegate.yml
@@ -19,7 +19,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: RelationshipChangeDelegate
path: ../TinyLife/Objects/Person.cs
- startLine: 3488
+ startLine: 3502
assemblies:
- Tiny Life
namespace: TinyLife.Objects
diff --git a/docs/api/TinyLife.Objects.Person.RestoreNeedDelegate.yml b/docs/api/TinyLife.Objects.Person.RestoreNeedDelegate.yml
index 34203a5..39a7ee8 100644
--- a/docs/api/TinyLife.Objects.Person.RestoreNeedDelegate.yml
+++ b/docs/api/TinyLife.Objects.Person.RestoreNeedDelegate.yml
@@ -19,7 +19,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: RestoreNeedDelegate
path: ../TinyLife/Objects/Person.cs
- startLine: 3478
+ startLine: 3492
assemblies:
- Tiny Life
namespace: TinyLife.Objects
diff --git a/docs/api/TinyLife.Objects.Person.SkillBoostDelegate.yml b/docs/api/TinyLife.Objects.Person.SkillBoostDelegate.yml
index ca2aff2..72a27bf 100644
--- a/docs/api/TinyLife.Objects.Person.SkillBoostDelegate.yml
+++ b/docs/api/TinyLife.Objects.Person.SkillBoostDelegate.yml
@@ -19,7 +19,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SkillBoostDelegate
path: ../TinyLife/Objects/Person.cs
- startLine: 3463
+ startLine: 3477
assemblies:
- Tiny Life
namespace: TinyLife.Objects
diff --git a/docs/api/TinyLife.Objects.Person.WalkSpeedDelegate.yml b/docs/api/TinyLife.Objects.Person.WalkSpeedDelegate.yml
index 0d2a20a..4e2f2af 100644
--- a/docs/api/TinyLife.Objects.Person.WalkSpeedDelegate.yml
+++ b/docs/api/TinyLife.Objects.Person.WalkSpeedDelegate.yml
@@ -19,7 +19,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: WalkSpeedDelegate
path: ../TinyLife/Objects/Person.cs
- startLine: 3468
+ startLine: 3482
assemblies:
- Tiny Life
namespace: TinyLife.Objects
diff --git a/docs/api/TinyLife.Objects.Person.yml b/docs/api/TinyLife.Objects.Person.yml
index c5faa1b..cc8c150 100644
--- a/docs/api/TinyLife.Objects.Person.yml
+++ b/docs/api/TinyLife.Objects.Person.yml
@@ -3704,10 +3704,15 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnMemoriesChanged
path: ../TinyLife/Objects/Person.cs
- startLine: 680
+ startLine: 684
assemblies:
- Tiny Life
namespace: TinyLife.Objects
+ summary: >-
+ An event that is invoked when this person's change in and .
+
+ This event can be subscribed to using .
+ example: []
syntax:
content: public event Action OnMemoriesChanged
return:
@@ -3731,7 +3736,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Objects/Person.cs
- startLine: 733
+ startLine: 737
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -3782,7 +3787,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Finalize
path: ../TinyLife/Objects/Person.cs
- startLine: 739
+ startLine: 743
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -3812,7 +3817,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Update
path: ../TinyLife/Objects/Person.cs
- startLine: 744
+ startLine: 748
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -3858,7 +3863,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Draw
path: ../TinyLife/Objects/Person.cs
- startLine: 1074
+ startLine: 1078
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -3908,7 +3913,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Validate
path: ../TinyLife/Objects/Person.cs
- startLine: 1119
+ startLine: 1123
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -3945,7 +3950,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetCategories
path: ../TinyLife/Objects/Person.cs
- startLine: 1198
+ startLine: 1202
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -3981,7 +3986,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Intersects
path: ../TinyLife/Objects/Person.cs
- startLine: 1203
+ startLine: 1207
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -4020,7 +4025,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetHoverInfo
path: ../TinyLife/Objects/Person.cs
- startLine: 1208
+ startLine: 1212
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -4056,7 +4061,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetFreeActionSpotInfo
path: ../TinyLife/Objects/Person.cs
- startLine: 1228
+ startLine: 1232
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -4095,7 +4100,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnCameraRotationChanged
path: ../TinyLife/Objects/Person.cs
- startLine: 1241
+ startLine: 1245
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -4134,7 +4139,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FocusCameraOnEvent
path: ../TinyLife/Objects/Person.cs
- startLine: 1252
+ startLine: 1256
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -4177,7 +4182,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SetJob
path: ../TinyLife/Objects/Person.cs
- startLine: 1273
+ startLine: 1277
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -4230,7 +4235,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AddJob
path: ../TinyLife/Objects/Person.cs
- startLine: 1287
+ startLine: 1291
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -4271,7 +4276,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: RemoveJob
path: ../TinyLife/Objects/Person.cs
- startLine: 1304
+ startLine: 1308
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -4306,7 +4311,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ResetToStatic
path: ../TinyLife/Objects/Person.cs
- startLine: 1311
+ startLine: 1315
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -4348,7 +4353,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: MoveToMap
path: ../TinyLife/Objects/Person.cs
- startLine: 1372
+ startLine: 1376
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -4393,7 +4398,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: PrepareForPermanentRemoval
path: ../TinyLife/Objects/Person.cs
- startLine: 1390
+ startLine: 1394
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -4424,7 +4429,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: VisitLot
path: ../TinyLife/Objects/Person.cs
- startLine: 1404
+ startLine: 1408
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -4459,7 +4464,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DrawUi
path: ../TinyLife/Objects/Person.cs
- startLine: 1421
+ startLine: 1425
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -4503,7 +4508,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetRelationship
path: ../TinyLife/Objects/Person.cs
- startLine: 1432
+ startLine: 1436
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -4547,7 +4552,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ChangeFriendship
path: ../TinyLife/Objects/Person.cs
- startLine: 1457
+ startLine: 1461
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -4588,7 +4593,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ChangeRomance
path: ../TinyLife/Objects/Person.cs
- startLine: 1509
+ startLine: 1513
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -4629,7 +4634,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DisplayEmote
path: ../TinyLife/Objects/Person.cs
- startLine: 1542
+ startLine: 1546
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -4673,7 +4678,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: StopEmoting
path: ../TinyLife/Objects/Person.cs
- startLine: 1553
+ startLine: 1557
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -4701,7 +4706,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Speak
path: ../TinyLife/Objects/Person.cs
- startLine: 1564
+ startLine: 1568
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -4742,7 +4747,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: StopSpeaking
path: ../TinyLife/Objects/Person.cs
- startLine: 1574
+ startLine: 1578
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -4770,7 +4775,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DisplayEmoteAndSpeak
path: ../TinyLife/Objects/Person.cs
- startLine: 1591
+ startLine: 1595
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -4817,7 +4822,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetFreeTalkingSpots
path: ../TinyLife/Objects/Person.cs
- startLine: 1601
+ startLine: 1605
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -4851,7 +4856,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OccupyActionSpot
path: ../TinyLife/Objects/Person.cs
- startLine: 1621
+ startLine: 1625
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -4905,7 +4910,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OccupyFreeActionSpot
path: ../TinyLife/Objects/Person.cs
- startLine: 1652
+ startLine: 1656
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -4958,7 +4963,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OccupyFreeActionSpot
path: ../TinyLife/Objects/Person.cs
- startLine: 1670
+ startLine: 1674
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -5011,7 +5016,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: IsCloseForTalking
path: ../TinyLife/Objects/Person.cs
- startLine: 1682
+ startLine: 1686
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -5055,7 +5060,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetNeed
path: ../TinyLife/Objects/Person.cs
- startLine: 1694
+ startLine: 1698
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -5090,7 +5095,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetNeedPercentage
path: ../TinyLife/Objects/Person.cs
- startLine: 1703
+ startLine: 1707
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -5125,7 +5130,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: RestoreNeed
path: ../TinyLife/Objects/Person.cs
- startLine: 1715
+ startLine: 1719
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -5172,7 +5177,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: RestoreNeed
path: ../TinyLife/Objects/Person.cs
- startLine: 1751
+ startLine: 1755
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -5224,7 +5229,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetSkill
path: ../TinyLife/Objects/Person.cs
- startLine: 1762
+ startLine: 1766
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -5268,7 +5273,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetSkillTotalPercentage
path: ../TinyLife/Objects/Person.cs
- startLine: 1781
+ startLine: 1785
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -5306,7 +5311,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetSkillPointPercentage
path: ../TinyLife/Objects/Person.cs
- startLine: 1791
+ startLine: 1795
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -5344,7 +5349,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetSkillLevel
path: ../TinyLife/Objects/Person.cs
- startLine: 1801
+ startLine: 1805
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -5382,7 +5387,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: HasSkillLevel
path: ../TinyLife/Objects/Person.cs
- startLine: 1811
+ startLine: 1815
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -5423,7 +5428,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GainSkill
path: ../TinyLife/Objects/Person.cs
- startLine: 1823
+ startLine: 1827
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -5472,7 +5477,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DepleteNeed
path: ../TinyLife/Objects/Person.cs
- startLine: 1843
+ startLine: 1847
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -5516,7 +5521,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: HasPersonality
path: ../TinyLife/Objects/Person.cs
- startLine: 1854
+ startLine: 1858
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -5551,7 +5556,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: EnqueueAction
path: ../TinyLife/Objects/Person.cs
- startLine: 1868
+ startLine: 1872
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -5606,7 +5611,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CancelAction
path: ../TinyLife/Objects/Person.cs
- startLine: 1899
+ startLine: 1903
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -5653,7 +5658,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetHeldObject
path: ../TinyLife/Objects/Person.cs
- startLine: 1915
+ startLine: 1919
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -5696,7 +5701,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SetHeldObject
path: ../TinyLife/Objects/Person.cs
- startLine: 1933
+ startLine: 1937
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -5749,7 +5754,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SetHeldObject
path: ../TinyLife/Objects/Person.cs
- startLine: 1946
+ startLine: 1950
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -5790,7 +5795,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: RemoveHeldObject
path: ../TinyLife/Objects/Person.cs
- startLine: 1959
+ startLine: 1963
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -5827,7 +5832,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetHeldActionInfo
path: ../TinyLife/Objects/Person.cs
- startLine: 1973
+ startLine: 1977
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -5861,7 +5866,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ToCreatedByString
path: ../TinyLife/Objects/Person.cs
- startLine: 1982
+ startLine: 1986
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -5892,7 +5897,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Die
path: ../TinyLife/Objects/Person.cs
- startLine: 1990
+ startLine: 1994
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -5926,7 +5931,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AddEmotion
path: ../TinyLife/Objects/Person.cs
- startLine: 2088
+ startLine: 2092
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -5976,7 +5981,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: RemoveEmotion
path: ../TinyLife/Objects/Person.cs
- startLine: 2111
+ startLine: 2115
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -6011,7 +6016,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: LowerEmotion
path: ../TinyLife/Objects/Person.cs
- startLine: 2132
+ startLine: 2136
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -6058,7 +6063,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: LowerEmotionModifier
path: ../TinyLife/Objects/Person.cs
- startLine: 2151
+ startLine: 2155
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -6105,7 +6110,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: HasEmotionModifier
path: ../TinyLife/Objects/Person.cs
- startLine: 2167
+ startLine: 2171
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -6140,7 +6145,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetWalkSpeed
path: ../TinyLife/Objects/Person.cs
- startLine: 2176
+ startLine: 2180
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -6174,7 +6179,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetEfficiencyModifier
path: ../TinyLife/Objects/Person.cs
- startLine: 2211
+ startLine: 2215
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -6224,7 +6229,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: HasHouseholdMember
path: ../TinyLife/Objects/Person.cs
- startLine: 2251
+ startLine: 2255
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -6259,7 +6264,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: HasHouseholdMember
path: ../TinyLife/Objects/Person.cs
- startLine: 2256
+ startLine: 2260
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -6294,7 +6299,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetProjects
path: ../TinyLife/Objects/Person.cs
- startLine: 2266
+ startLine: 2270
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -6335,7 +6340,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetProject
path: ../TinyLife/Objects/Person.cs
- startLine: 2276
+ startLine: 2280
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -6376,7 +6381,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: StartProject
path: ../TinyLife/Objects/Person.cs
- startLine: 2285
+ startLine: 2289
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -6411,7 +6416,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetPassiveActionPriority
path: ../TinyLife/Objects/Person.cs
- startLine: 2297
+ startLine: 2301
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -6451,7 +6456,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetRandomOutfit
path: ../TinyLife/Objects/Person.cs
- startLine: 2319
+ startLine: 2323
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -6486,7 +6491,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SetCurrentOutfit
path: ../TinyLife/Objects/Person.cs
- startLine: 2331
+ startLine: 2335
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -6526,7 +6531,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SetCurrentOutfit
path: ../TinyLife/Objects/Person.cs
- startLine: 2347
+ startLine: 2351
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -6564,7 +6569,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SetNewId
path: ../TinyLife/Objects/Person.cs
- startLine: 2362
+ startLine: 2366
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -6608,7 +6613,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: IsIdMatch
path: ../TinyLife/Objects/Person.cs
- startLine: 2417
+ startLine: 2421
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -6646,7 +6651,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: IsIdMatch
path: ../TinyLife/Objects/Person.cs
- startLine: 2427
+ startLine: 2431
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -6684,7 +6689,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetPersonalitySkillBoost
path: ../TinyLife/Objects/Person.cs
- startLine: 2437
+ startLine: 2441
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -6722,7 +6727,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetEmotionSkillBoost
path: ../TinyLife/Objects/Person.cs
- startLine: 2459
+ startLine: 2463
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -6760,7 +6765,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetCurrentGoals
path: ../TinyLife/Objects/Person.cs
- startLine: 2483
+ startLine: 2487
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -6794,7 +6799,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: EarnMoney
path: ../TinyLife/Objects/Person.cs
- startLine: 2509
+ startLine: 2513
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -6835,7 +6840,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AddMemory
path: ../TinyLife/Objects/Person.cs
- startLine: 2522
+ startLine: 2526
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -6884,7 +6889,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetMemories
path: ../TinyLife/Objects/Person.cs
- startLine: 2534
+ startLine: 2538
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -6924,7 +6929,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: RemoveMemory
path: ../TinyLife/Objects/Person.cs
- startLine: 2545
+ startLine: 2549
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -6970,7 +6975,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetTimeSinceMemory
path: ../TinyLife/Objects/Person.cs
- startLine: 2573
+ startLine: 2577
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -7016,7 +7021,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetTimeSinceMemory
path: ../TinyLife/Objects/Person.cs
- startLine: 2592
+ startLine: 2596
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -7059,7 +7064,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GoToExitRoad
path: ../TinyLife/Objects/Person.cs
- startLine: 2605
+ startLine: 2609
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -7090,7 +7095,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetAction
path: ../TinyLife/Objects/Person.cs
- startLine: 2618
+ startLine: 2622
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -7134,7 +7139,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SetPregnancyStatus
path: ../TinyLife/Objects/Person.cs
- startLine: 2638
+ startLine: 2642
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -7175,7 +7180,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SetAnimationsFromLooks
path: ../TinyLife/Objects/Person.cs
- startLine: 2658
+ startLine: 2662
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -7203,7 +7208,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ImportAtExitRoad
path: ../TinyLife/Objects/Person.cs
- startLine: 2670
+ startLine: 2674
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -7235,7 +7240,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GoToRandomHomeLocation
path: ../TinyLife/Objects/Person.cs
- startLine: 2682
+ startLine: 2686
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -7266,7 +7271,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ShouldDrawHeldItem
path: ../TinyLife/Objects/Person.cs
- startLine: 2703
+ startLine: 2707
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -7297,7 +7302,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetHeldItemDrawOffset
path: ../TinyLife/Objects/Person.cs
- startLine: 2714
+ startLine: 2718
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -7334,7 +7339,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetHeldItemDepthOffset
path: ../TinyLife/Objects/Person.cs
- startLine: 2742
+ startLine: 2746
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -7365,7 +7370,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetPivot
path: ../TinyLife/Objects/Person.cs
- startLine: 2753
+ startLine: 2757
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -7396,7 +7401,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CanExecuteAction
path: ../TinyLife/Objects/Person.cs
- startLine: 2765
+ startLine: 2769
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -7443,7 +7448,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetValidClothes
path: ../TinyLife/Objects/Person.cs
- startLine: 2822
+ startLine: 2826
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -7478,7 +7483,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CanApplyPersonality
path: ../TinyLife/Objects/Person.cs
- startLine: 2834
+ startLine: 2838
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -7515,7 +7520,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: HasRecentlyFailed
path: ../TinyLife/Objects/Person.cs
- startLine: 2847
+ startLine: 2851
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -7559,7 +7564,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: MoveToMapExitRoad
path: ../TinyLife/Objects/Person.cs
- startLine: 2858
+ startLine: 2862
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -7597,7 +7602,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GenerateAnimationGroup
path: ../TinyLife/Objects/Person.cs
- startLine: 2875
+ startLine: 2879
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -7644,7 +7649,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DrawLooks
path: ../TinyLife/Objects/Person.cs
- startLine: 2913
+ startLine: 2917
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -7697,7 +7702,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: UpdateAnimations
path: ../TinyLife/Objects/Person.cs
- startLine: 2936
+ startLine: 2940
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -7735,7 +7740,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnActionCompleted
path: ../TinyLife/Objects/Person.cs
- startLine: 2955
+ startLine: 2959
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -7773,7 +7778,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: UpdateAction
path: ../TinyLife/Objects/Person.cs
- startLine: 3032
+ startLine: 3036
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -7820,7 +7825,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: InitializeAction
path: ../TinyLife/Objects/Person.cs
- startLine: 3045
+ startLine: 3049
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -7852,7 +7857,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnAgeChanged
path: ../TinyLife/Objects/Person.cs
- startLine: 3055
+ startLine: 3059
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -7884,7 +7889,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ValidateClothes
path: ../TinyLife/Objects/Person.cs
- startLine: 3141
+ startLine: 3145
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -7915,7 +7920,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetRandomSpeakSound
path: ../TinyLife/Objects/Person.cs
- startLine: 3293
+ startLine: 3297
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -7962,7 +7967,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Create
path: ../TinyLife/Objects/Person.cs
- startLine: 3321
+ startLine: 3325
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -8021,27 +8026,36 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DrawUi
path: ../TinyLife/Objects/Person.cs
- startLine: 3396
+ startLine: 3410
assemblies:
- Tiny Life
namespace: TinyLife.Objects
+ summary: Draws a person with the given in ui space.
+ example: []
syntax:
content: public static void DrawUi(SpriteBatch batch, Vector2 pos, Direction2 rotation, float scale, Outfit outfit, Pose pose, AgeGroup age)
parameters:
- id: batch
type: Microsoft.Xna.Framework.Graphics.SpriteBatch
+ description: The sprite batch to use for drawing.
- id: pos
type: Microsoft.Xna.Framework.Vector2
+ description: The ui space position to use for drawing.
- id: rotation
type: MLEM.Misc.Direction2
+ description: The rotation the person should have when being drawn.
- id: scale
type: System.Single
+ description: The scale to draw with.
- id: outfit
type: TinyLife.Objects.Outfit
+ description: The outfit to draw.
- id: pose
type: TinyLife.Objects.Pose
+ description: The pose to draw.
- id: age
type: TinyLife.Objects.AgeGroup
+ description: The age to draw with.
content.vb: Public Shared Sub DrawUi(batch As SpriteBatch, pos As Vector2, rotation As Direction2, scale As Single, outfit As Outfit, pose As Pose, age As AgeGroup)
overload: TinyLife.Objects.Person.DrawUi*
nameWithType.vb: Person.DrawUi(SpriteBatch, Vector2, Direction2, Single, Outfit, Pose, AgeGroup)
@@ -14697,6 +14711,116 @@ references:
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.single
- name: )
+- uid: TinyLife.Objects.Person.Memories
+ commentId: F:TinyLife.Objects.Person.Memories
+ href: TinyLife.Objects.Person.html#TinyLife_Objects_Person_Memories
+ name: Memories
+ nameWithType: Person.Memories
+ fullName: TinyLife.Objects.Person.Memories
+- uid: TinyLife.Objects.Person.AddMemory(TinyLife.Goals.Memory)
+ commentId: M:TinyLife.Objects.Person.AddMemory(TinyLife.Goals.Memory)
+ href: TinyLife.Objects.Person.html#TinyLife_Objects_Person_AddMemory_TinyLife_Goals_Memory_
+ name: AddMemory(Memory)
+ nameWithType: Person.AddMemory(Memory)
+ fullName: TinyLife.Objects.Person.AddMemory(TinyLife.Goals.Memory)
+ spec.csharp:
+ - uid: TinyLife.Objects.Person.AddMemory(TinyLife.Goals.Memory)
+ name: AddMemory
+ href: TinyLife.Objects.Person.html#TinyLife_Objects_Person_AddMemory_TinyLife_Goals_Memory_
+ - name: (
+ - uid: TinyLife.Goals.Memory
+ name: Memory
+ href: TinyLife.Goals.Memory.html
+ - name: )
+ spec.vb:
+ - uid: TinyLife.Objects.Person.AddMemory(TinyLife.Goals.Memory)
+ name: AddMemory
+ href: TinyLife.Objects.Person.html#TinyLife_Objects_Person_AddMemory_TinyLife_Goals_Memory_
+ - name: (
+ - uid: TinyLife.Goals.Memory
+ name: Memory
+ href: TinyLife.Goals.Memory.html
+ - name: )
+- uid: TinyLife.Objects.Person.RemoveMemory``1(TinyLife.Goals.MemoryType,System.Int32,System.Func{``0,System.Boolean})
+ commentId: M:TinyLife.Objects.Person.RemoveMemory``1(TinyLife.Goals.MemoryType,System.Int32,System.Func{``0,System.Boolean})
+ isExternal: true
+ href: TinyLife.Objects.Person.html#TinyLife_Objects_Person_RemoveMemory__1_TinyLife_Goals_MemoryType_System_Int32_System_Func___0_System_Boolean__
+ name: RemoveMemory(MemoryType, int, Func)
+ nameWithType: Person.RemoveMemory(MemoryType, int, Func)
+ fullName: TinyLife.Objects.Person.RemoveMemory(TinyLife.Goals.MemoryType, int, System.Func)
+ nameWithType.vb: Person.RemoveMemory(Of T)(MemoryType, Integer, Func(Of T, Boolean))
+ fullName.vb: TinyLife.Objects.Person.RemoveMemory(Of T)(TinyLife.Goals.MemoryType, Integer, System.Func(Of T, Boolean))
+ name.vb: RemoveMemory(Of T)(MemoryType, Integer, Func(Of T, Boolean))
+ spec.csharp:
+ - uid: TinyLife.Objects.Person.RemoveMemory``1(TinyLife.Goals.MemoryType,System.Int32,System.Func{``0,System.Boolean})
+ name: RemoveMemory
+ href: TinyLife.Objects.Person.html#TinyLife_Objects_Person_RemoveMemory__1_TinyLife_Goals_MemoryType_System_Int32_System_Func___0_System_Boolean__
+ - name: <
+ - name: T
+ - name: '>'
+ - name: (
+ - uid: TinyLife.Goals.MemoryType
+ name: MemoryType
+ href: TinyLife.Goals.MemoryType.html
+ - name: ','
+ - name: " "
+ - uid: System.Int32
+ name: int
+ isExternal: true
+ href: https://learn.microsoft.com/dotnet/api/system.int32
+ - name: ','
+ - name: " "
+ - uid: System.Func`2
+ name: Func
+ isExternal: true
+ href: https://learn.microsoft.com/dotnet/api/system.func-2
+ - name: <
+ - name: T
+ - name: ','
+ - name: " "
+ - uid: System.Boolean
+ name: bool
+ isExternal: true
+ href: https://learn.microsoft.com/dotnet/api/system.boolean
+ - name: '>'
+ - name: )
+ spec.vb:
+ - uid: TinyLife.Objects.Person.RemoveMemory``1(TinyLife.Goals.MemoryType,System.Int32,System.Func{``0,System.Boolean})
+ name: RemoveMemory
+ href: TinyLife.Objects.Person.html#TinyLife_Objects_Person_RemoveMemory__1_TinyLife_Goals_MemoryType_System_Int32_System_Func___0_System_Boolean__
+ - name: (
+ - name: Of
+ - name: " "
+ - name: T
+ - name: )
+ - name: (
+ - uid: TinyLife.Goals.MemoryType
+ name: MemoryType
+ href: TinyLife.Goals.MemoryType.html
+ - name: ','
+ - name: " "
+ - uid: System.Int32
+ name: Integer
+ isExternal: true
+ href: https://learn.microsoft.com/dotnet/api/system.int32
+ - name: ','
+ - name: " "
+ - uid: System.Func`2
+ name: Func
+ isExternal: true
+ href: https://learn.microsoft.com/dotnet/api/system.func-2
+ - name: (
+ - name: Of
+ - name: " "
+ - name: T
+ - name: ','
+ - name: " "
+ - uid: System.Boolean
+ name: Boolean
+ isExternal: true
+ href: https://learn.microsoft.com/dotnet/api/system.boolean
+ - name: )
+ - name: )
- uid: System.Action{TinyLife.Goals.Memory}
commentId: T:System.Action{TinyLife.Goals.Memory}
parent: System
@@ -16687,12 +16811,6 @@ references:
name: EarnMoney
nameWithType: Person.EarnMoney
fullName: TinyLife.Objects.Person.EarnMoney
-- uid: TinyLife.Objects.Person.Memories
- commentId: F:TinyLife.Objects.Person.Memories
- href: TinyLife.Objects.Person.html#TinyLife_Objects_Person_Memories
- name: Memories
- nameWithType: Person.Memories
- fullName: TinyLife.Objects.Person.Memories
- uid: TinyLife.Actions.ActionInfo.FromSelf(TinyLife.Objects.Person)
commentId: M:TinyLife.Actions.ActionInfo.FromSelf(TinyLife.Objects.Person)
href: TinyLife.Actions.ActionInfo.html#TinyLife_Actions_ActionInfo_FromSelf_TinyLife_Objects_Person_
diff --git a/docs/api/TinyLife.Objects.Pose.yml b/docs/api/TinyLife.Objects.Pose.yml
index b39a9b1..6fd55e6 100644
--- a/docs/api/TinyLife.Objects.Pose.yml
+++ b/docs/api/TinyLife.Objects.Pose.yml
@@ -30,7 +30,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Pose
path: ../TinyLife/Objects/Person.cs
- startLine: 3540
+ startLine: 3554
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -60,7 +60,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Standing
path: ../TinyLife/Objects/Person.cs
- startLine: 3545
+ startLine: 3559
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -88,7 +88,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Walking
path: ../TinyLife/Objects/Person.cs
- startLine: 3549
+ startLine: 3563
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -116,7 +116,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Sitting
path: ../TinyLife/Objects/Person.cs
- startLine: 3553
+ startLine: 3567
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -144,7 +144,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Laying
path: ../TinyLife/Objects/Person.cs
- startLine: 3558
+ startLine: 3572
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -175,7 +175,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SittingGround
path: ../TinyLife/Objects/Person.cs
- startLine: 3563
+ startLine: 3577
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -206,7 +206,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: WorkingStanding
path: ../TinyLife/Objects/Person.cs
- startLine: 3567
+ startLine: 3581
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -234,7 +234,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: WorkingSitting
path: ../TinyLife/Objects/Person.cs
- startLine: 3571
+ startLine: 3585
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -262,7 +262,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: WorkingSittingGround
path: ../TinyLife/Objects/Person.cs
- startLine: 3575
+ startLine: 3589
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -290,7 +290,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Running
path: ../TinyLife/Objects/Person.cs
- startLine: 3579
+ startLine: 3593
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -318,7 +318,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: StandingArmsOut
path: ../TinyLife/Objects/Person.cs
- startLine: 3583
+ startLine: 3597
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -346,7 +346,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: WalkingArmsOut
path: ../TinyLife/Objects/Person.cs
- startLine: 3587
+ startLine: 3601
assemblies:
- Tiny Life
namespace: TinyLife.Objects
diff --git a/docs/api/TinyLife.Objects.PregnancyAbility.yml b/docs/api/TinyLife.Objects.PregnancyAbility.yml
index e38bda1..8682874 100644
--- a/docs/api/TinyLife.Objects.PregnancyAbility.yml
+++ b/docs/api/TinyLife.Objects.PregnancyAbility.yml
@@ -22,7 +22,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: PregnancyAbility
path: ../TinyLife/Objects/Person.cs
- startLine: 3715
+ startLine: 3729
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -52,7 +52,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Neither
path: ../TinyLife/Objects/Person.cs
- startLine: 3720
+ startLine: 3734
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -80,7 +80,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetOthersPregnant
path: ../TinyLife/Objects/Person.cs
- startLine: 3724
+ startLine: 3738
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -108,7 +108,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetPregnant
path: ../TinyLife/Objects/Person.cs
- startLine: 3728
+ startLine: 3742
assemblies:
- Tiny Life
namespace: TinyLife.Objects
diff --git a/docs/api/TinyLife.Objects.SpeakStyle.yml b/docs/api/TinyLife.Objects.SpeakStyle.yml
index 69404be..16e67ea 100644
--- a/docs/api/TinyLife.Objects.SpeakStyle.yml
+++ b/docs/api/TinyLife.Objects.SpeakStyle.yml
@@ -35,7 +35,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SpeakStyle
path: ../TinyLife/Objects/Person.cs
- startLine: 3671
+ startLine: 3685
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -79,7 +79,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Affirmative
path: ../TinyLife/Objects/Person.cs
- startLine: 3675
+ startLine: 3689
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -105,7 +105,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Angry
path: ../TinyLife/Objects/Person.cs
- startLine: 3676
+ startLine: 3690
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -131,7 +131,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Annoyed
path: ../TinyLife/Objects/Person.cs
- startLine: 3677
+ startLine: 3691
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -157,7 +157,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Bored
path: ../TinyLife/Objects/Person.cs
- startLine: 3678
+ startLine: 3692
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -183,7 +183,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Childish
path: ../TinyLife/Objects/Person.cs
- startLine: 3679
+ startLine: 3693
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -209,7 +209,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Confident
path: ../TinyLife/Objects/Person.cs
- startLine: 3680
+ startLine: 3694
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -235,7 +235,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Confused
path: ../TinyLife/Objects/Person.cs
- startLine: 3681
+ startLine: 3695
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -261,7 +261,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Disagreeing
path: ../TinyLife/Objects/Person.cs
- startLine: 3682
+ startLine: 3696
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -287,7 +287,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Excited
path: ../TinyLife/Objects/Person.cs
- startLine: 3683
+ startLine: 3697
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -313,7 +313,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Happy
path: ../TinyLife/Objects/Person.cs
- startLine: 3684
+ startLine: 3698
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -339,7 +339,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Neutral
path: ../TinyLife/Objects/Person.cs
- startLine: 3685
+ startLine: 3699
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -365,7 +365,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Questioning
path: ../TinyLife/Objects/Person.cs
- startLine: 3686
+ startLine: 3700
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -391,7 +391,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Sad
path: ../TinyLife/Objects/Person.cs
- startLine: 3687
+ startLine: 3701
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -417,7 +417,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Scared
path: ../TinyLife/Objects/Person.cs
- startLine: 3688
+ startLine: 3702
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -443,7 +443,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Shocked
path: ../TinyLife/Objects/Person.cs
- startLine: 3689
+ startLine: 3703
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -469,7 +469,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Thinking
path: ../TinyLife/Objects/Person.cs
- startLine: 3690
+ startLine: 3704
assemblies:
- Tiny Life
namespace: TinyLife.Objects
diff --git a/docs/api/TinyLife.Objects.StylePreference.yml b/docs/api/TinyLife.Objects.StylePreference.yml
index eeedc8e..f851f86 100644
--- a/docs/api/TinyLife.Objects.StylePreference.yml
+++ b/docs/api/TinyLife.Objects.StylePreference.yml
@@ -22,7 +22,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: StylePreference
path: ../TinyLife/Objects/Clothes.cs
- startLine: 523
+ startLine: 526
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -56,7 +56,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Neutral
path: ../TinyLife/Objects/Clothes.cs
- startLine: 526
+ startLine: 529
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -82,7 +82,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Masculine
path: ../TinyLife/Objects/Clothes.cs
- startLine: 527
+ startLine: 530
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -108,7 +108,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Feminine
path: ../TinyLife/Objects/Clothes.cs
- startLine: 528
+ startLine: 531
assemblies:
- Tiny Life
namespace: TinyLife.Objects
diff --git a/docs/api/TinyLife.Objects.Upgrade.yml b/docs/api/TinyLife.Objects.Upgrade.yml
index d19f128..1899f71 100644
--- a/docs/api/TinyLife.Objects.Upgrade.yml
+++ b/docs/api/TinyLife.Objects.Upgrade.yml
@@ -44,10 +44,15 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Upgrade
path: ../TinyLife/Objects/Upgrade.cs
- startLine: 16
+ startLine: 20
assemblies:
- Tiny Life
namespace: TinyLife.Objects
+ summary: >-
+ An upgrade is a modification that can be applied to to change the way it behaves.
+
+ New upgrades can be registered using , and upgrades can be queried for a object using and .
+ example: []
syntax:
content: >-
[JsonConverter(typeof(StaticJsonConverter), new object[] { typeof(Upgrade), "PrivateUpgrades" })]
@@ -89,10 +94,15 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Upgrades
path: ../TinyLife/Objects/Upgrade.cs
- startLine: 20
+ startLine: 28
assemblies:
- Tiny Life
namespace: TinyLife.Objects
+ summary: >-
+ The collection of all registered upgrades.
+
+ New upgrades can be registered using .
+ example: []
syntax:
content: public static readonly ReadOnlyDictionary Upgrades
return:
@@ -116,7 +126,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ProtectiveCoating
path: ../TinyLife/Objects/Upgrade.cs
- startLine: 22
+ startLine: 31
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -143,7 +153,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SofterCushioning
path: ../TinyLife/Objects/Upgrade.cs
- startLine: 23
+ startLine: 32
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -170,7 +180,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SwivelFaucet
path: ../TinyLife/Objects/Upgrade.cs
- startLine: 24
+ startLine: 33
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -197,7 +207,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Bidet
path: ../TinyLife/Objects/Upgrade.cs
- startLine: 25
+ startLine: 34
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -224,7 +234,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: BetterPressure
path: ../TinyLife/Objects/Upgrade.cs
- startLine: 26
+ startLine: 35
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -251,7 +261,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ConfigurableShowerHead
path: ../TinyLife/Objects/Upgrade.cs
- startLine: 27
+ startLine: 36
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -278,7 +288,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: RgbLights
path: ../TinyLife/Objects/Upgrade.cs
- startLine: 28
+ startLine: 37
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -305,7 +315,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: TemperatureGauge
path: ../TinyLife/Objects/Upgrade.cs
- startLine: 29
+ startLine: 38
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -332,7 +342,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: BetterMemory
path: ../TinyLife/Objects/Upgrade.cs
- startLine: 30
+ startLine: 39
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -359,7 +369,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FridgeTemperatureControl
path: ../TinyLife/Objects/Upgrade.cs
- startLine: 31
+ startLine: 40
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -386,7 +396,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: WaterPurifier
path: ../TinyLife/Objects/Upgrade.cs
- startLine: 32
+ startLine: 41
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -413,10 +423,12 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Name
path: ../TinyLife/Objects/Upgrade.cs
- startLine: 34
+ startLine: 47
assemblies:
- Tiny Life
namespace: TinyLife.Objects
+ summary: The name of this upgrade, which should be unique.
+ example: []
syntax:
content: public readonly string Name
return:
@@ -440,10 +452,12 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Icon
path: ../TinyLife/Objects/Upgrade.cs
- startLine: 35
+ startLine: 51
assemblies:
- Tiny Life
namespace: TinyLife.Objects
+ summary: The icon of this upgrade.
+ example: []
syntax:
content: public readonly TextureRegion Icon
return:
@@ -467,10 +481,12 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: RequiredSkillLevel
path: ../TinyLife/Objects/Upgrade.cs
- startLine: 36
+ startLine: 55
assemblies:
- Tiny Life
namespace: TinyLife.Objects
+ summary: The skill level that is required to be able to apply this upgrade.
+ example: []
syntax:
content: public readonly int RequiredSkillLevel
return:
@@ -494,10 +510,12 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Price
path: ../TinyLife/Objects/Upgrade.cs
- startLine: 37
+ startLine: 59
assemblies:
- Tiny Life
namespace: TinyLife.Objects
+ summary: The price for applying this upgrade.
+ example: []
syntax:
content: public readonly int Price
return:
@@ -521,10 +539,12 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ValidObjects
path: ../TinyLife/Objects/Upgrade.cs
- startLine: 38
+ startLine: 63
assemblies:
- Tiny Life
namespace: TinyLife.Objects
+ summary: A combined flag of flags that determine which objects this upgrade can be applied on.
+ example: []
syntax:
content: public readonly ObjectCategory ValidObjects
return:
@@ -548,10 +568,15 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: HasToLearn
path: ../TinyLife/Objects/Upgrade.cs
- startLine: 40
+ startLine: 69
assemblies:
- Tiny Life
namespace: TinyLife.Objects
+ summary: >-
+ Whether this upgrade has to be discovered, or learned.
+
+ If this is false, the will be null.
+ example: []
syntax:
content: public bool HasToLearn { get; init; }
parameters: []
@@ -577,10 +602,12 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Requirements
path: ../TinyLife/Objects/Upgrade.cs
- startLine: 41
+ startLine: 73
assemblies:
- Tiny Life
namespace: TinyLife.Objects
+ summary: A set of that optionally need to be applied first before this upgrade can be applied.
+ example: []
syntax:
content: public Func Requirements { get; init; }
parameters: []
@@ -606,10 +633,15 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Memory
path: ../TinyLife/Objects/Upgrade.cs
- startLine: 43
+ startLine: 79
assemblies:
- Tiny Life
namespace: TinyLife.Objects
+ summary: >-
+ The memory for this upgrade, which is stored in . An upgrade can only be applied by a if they have this memory.
+
+ Note that, if is false, this will return null.
+ example: []
syntax:
content: public MemoryType Memory { get; }
parameters: []
@@ -635,7 +667,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SourceString
path: ../TinyLife/Objects/Upgrade.cs
- startLine: 44
+ startLine: 81
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -668,23 +700,30 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Objects/Upgrade.cs
- startLine: 46
+ startLine: 91
assemblies:
- Tiny Life
namespace: TinyLife.Objects
+ summary: Creates a new upgrade with the given settings.
+ example: []
syntax:
content: public Upgrade(string name, TextureRegion icon, int requiredSkillLevel, int price, ObjectCategory validObjects)
parameters:
- id: name
type: System.String
+ description: The name of this upgrade, which should be unique.
- id: icon
type: MLEM.Textures.TextureRegion
+ description: The icon of this upgrade.
- id: requiredSkillLevel
type: System.Int32
+ description: The skill level that is required to be able to apply this upgrade.
- id: price
type: System.Int32
+ description: The price for applying this upgrade.
- id: validObjects
type: TinyLife.Objects.ObjectCategory
+ description: A combined flag of flags that determine which objects this upgrade can be applied on.
content.vb: Public Sub New(name As String, icon As TextureRegion, requiredSkillLevel As Integer, price As Integer, validObjects As ObjectCategory)
overload: TinyLife.Objects.Upgrade.#ctor*
nameWithType.vb: Upgrade.New(String, TextureRegion, Integer, Integer, ObjectCategory)
@@ -708,17 +747,21 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Knows
path: ../TinyLife/Objects/Upgrade.cs
- startLine: 54
+ startLine: 104
assemblies:
- Tiny Life
namespace: TinyLife.Objects
+ summary: Returns whether the given knows this upgrade. If is false, this method always returns true.
+ example: []
syntax:
content: public bool Knows(Person person)
parameters:
- id: person
type: TinyLife.Objects.Person
+ description: The person.
return:
type: System.Boolean
+ description: Whether the person knows this upgrade.
content.vb: Public Function Knows(person As Person) As Boolean
overload: TinyLife.Objects.Upgrade.Knows*
- uid: TinyLife.Objects.Upgrade.Learn(TinyLife.Objects.Person)
@@ -739,15 +782,18 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Learn
path: ../TinyLife/Objects/Upgrade.cs
- startLine: 58
+ startLine: 112
assemblies:
- Tiny Life
namespace: TinyLife.Objects
+ summary: Causes the given to learn this upgrade, adding the appropriate to them and optionally displaying a notification.
+ example: []
syntax:
content: public void Learn(Person person)
parameters:
- id: person
type: TinyLife.Objects.Person
+ description: The person who should learn this upgrade.
content.vb: Public Sub Learn(person As Person)
overload: TinyLife.Objects.Upgrade.Learn*
- uid: TinyLife.Objects.Upgrade.Register(TinyLife.Objects.Upgrade)
@@ -768,20 +814,105 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Register
path: ../TinyLife/Objects/Upgrade.cs
- startLine: 66
+ startLine: 125
assemblies:
- Tiny Life
namespace: TinyLife.Objects
+ summary: Registers the given to the collection.
+ example: []
syntax:
content: public static Upgrade Register(Upgrade upgrade)
parameters:
- id: upgrade
type: TinyLife.Objects.Upgrade
+ description: The upgrade to register.
return:
type: TinyLife.Objects.Upgrade
+ description: The upgrade
, for chaining.
content.vb: Public Shared Function Register(upgrade As Upgrade) As Upgrade
overload: TinyLife.Objects.Upgrade.Register*
references:
+- uid: TinyLife.Objects.Furniture
+ commentId: T:TinyLife.Objects.Furniture
+ parent: TinyLife.Objects
+ href: TinyLife.Objects.Furniture.html
+ name: Furniture
+ nameWithType: Furniture
+ fullName: TinyLife.Objects.Furniture
+- uid: TinyLife.Objects.Upgrade.Register(TinyLife.Objects.Upgrade)
+ commentId: M:TinyLife.Objects.Upgrade.Register(TinyLife.Objects.Upgrade)
+ href: TinyLife.Objects.Upgrade.html#TinyLife_Objects_Upgrade_Register_TinyLife_Objects_Upgrade_
+ name: Register(Upgrade)
+ nameWithType: Upgrade.Register(Upgrade)
+ fullName: TinyLife.Objects.Upgrade.Register(TinyLife.Objects.Upgrade)
+ spec.csharp:
+ - uid: TinyLife.Objects.Upgrade.Register(TinyLife.Objects.Upgrade)
+ name: Register
+ href: TinyLife.Objects.Upgrade.html#TinyLife_Objects_Upgrade_Register_TinyLife_Objects_Upgrade_
+ - name: (
+ - uid: TinyLife.Objects.Upgrade
+ name: Upgrade
+ href: TinyLife.Objects.Upgrade.html
+ - name: )
+ spec.vb:
+ - uid: TinyLife.Objects.Upgrade.Register(TinyLife.Objects.Upgrade)
+ name: Register
+ href: TinyLife.Objects.Upgrade.html#TinyLife_Objects_Upgrade_Register_TinyLife_Objects_Upgrade_
+ - name: (
+ - uid: TinyLife.Objects.Upgrade
+ name: Upgrade
+ href: TinyLife.Objects.Upgrade.html
+ - name: )
+- uid: TinyLife.Objects.Furniture.HasFullUpgrade(TinyLife.Objects.Upgrade)
+ commentId: M:TinyLife.Objects.Furniture.HasFullUpgrade(TinyLife.Objects.Upgrade)
+ parent: TinyLife.Objects.Furniture
+ href: TinyLife.Objects.Furniture.html#TinyLife_Objects_Furniture_HasFullUpgrade_TinyLife_Objects_Upgrade_
+ name: HasFullUpgrade(Upgrade)
+ nameWithType: Furniture.HasFullUpgrade(Upgrade)
+ fullName: TinyLife.Objects.Furniture.HasFullUpgrade(TinyLife.Objects.Upgrade)
+ spec.csharp:
+ - uid: TinyLife.Objects.Furniture.HasFullUpgrade(TinyLife.Objects.Upgrade)
+ name: HasFullUpgrade
+ href: TinyLife.Objects.Furniture.html#TinyLife_Objects_Furniture_HasFullUpgrade_TinyLife_Objects_Upgrade_
+ - name: (
+ - uid: TinyLife.Objects.Upgrade
+ name: Upgrade
+ href: TinyLife.Objects.Upgrade.html
+ - name: )
+ spec.vb:
+ - uid: TinyLife.Objects.Furniture.HasFullUpgrade(TinyLife.Objects.Upgrade)
+ name: HasFullUpgrade
+ href: TinyLife.Objects.Furniture.html#TinyLife_Objects_Furniture_HasFullUpgrade_TinyLife_Objects_Upgrade_
+ - name: (
+ - uid: TinyLife.Objects.Upgrade
+ name: Upgrade
+ href: TinyLife.Objects.Upgrade.html
+ - name: )
+- uid: TinyLife.Objects.Furniture.GetAppliedUpgrade(TinyLife.Objects.Upgrade)
+ commentId: M:TinyLife.Objects.Furniture.GetAppliedUpgrade(TinyLife.Objects.Upgrade)
+ parent: TinyLife.Objects.Furniture
+ href: TinyLife.Objects.Furniture.html#TinyLife_Objects_Furniture_GetAppliedUpgrade_TinyLife_Objects_Upgrade_
+ name: GetAppliedUpgrade(Upgrade)
+ nameWithType: Furniture.GetAppliedUpgrade(Upgrade)
+ fullName: TinyLife.Objects.Furniture.GetAppliedUpgrade(TinyLife.Objects.Upgrade)
+ spec.csharp:
+ - uid: TinyLife.Objects.Furniture.GetAppliedUpgrade(TinyLife.Objects.Upgrade)
+ name: GetAppliedUpgrade
+ href: TinyLife.Objects.Furniture.html#TinyLife_Objects_Furniture_GetAppliedUpgrade_TinyLife_Objects_Upgrade_
+ - name: (
+ - uid: TinyLife.Objects.Upgrade
+ name: Upgrade
+ href: TinyLife.Objects.Upgrade.html
+ - name: )
+ spec.vb:
+ - uid: TinyLife.Objects.Furniture.GetAppliedUpgrade(TinyLife.Objects.Upgrade)
+ name: GetAppliedUpgrade
+ href: TinyLife.Objects.Furniture.html#TinyLife_Objects_Furniture_GetAppliedUpgrade_TinyLife_Objects_Upgrade_
+ - name: (
+ - uid: TinyLife.Objects.Upgrade
+ name: Upgrade
+ href: TinyLife.Objects.Upgrade.html
+ - name: )
- uid: TinyLife.Objects
commentId: N:TinyLife.Objects
href: TinyLife.html
@@ -1352,6 +1483,12 @@ references:
name: ObjectCategory
nameWithType: ObjectCategory
fullName: TinyLife.Objects.ObjectCategory
+- uid: TinyLife.Objects.Upgrade.Memory
+ commentId: P:TinyLife.Objects.Upgrade.Memory
+ href: TinyLife.Objects.Upgrade.html#TinyLife_Objects_Upgrade_Memory
+ name: Memory
+ nameWithType: Upgrade.Memory
+ fullName: TinyLife.Objects.Upgrade.Memory
- uid: TinyLife.Objects.Upgrade.HasToLearn*
commentId: Overload:TinyLife.Objects.Upgrade.HasToLearn
href: TinyLife.Objects.Upgrade.html#TinyLife_Objects_Upgrade_HasToLearn
@@ -1369,6 +1506,12 @@ references:
nameWithType.vb: Boolean
fullName.vb: Boolean
name.vb: Boolean
+- uid: TinyLife.Objects.Upgrade.Upgrades
+ commentId: F:TinyLife.Objects.Upgrade.Upgrades
+ href: TinyLife.Objects.Upgrade.html#TinyLife_Objects_Upgrade_Upgrades
+ name: Upgrades
+ nameWithType: Upgrade.Upgrades
+ fullName: TinyLife.Objects.Upgrade.Upgrades
- uid: TinyLife.Objects.Upgrade.Requirements*
commentId: Overload:TinyLife.Objects.Upgrade.Requirements
href: TinyLife.Objects.Upgrade.html#TinyLife_Objects_Upgrade_Requirements
@@ -1440,6 +1583,25 @@ references:
- name: " "
- name: TResult
- name: )
+- uid: TinyLife.Goals.MemoryType.UpgradeLearned
+ commentId: F:TinyLife.Goals.MemoryType.UpgradeLearned
+ href: TinyLife.Goals.MemoryType.html#TinyLife_Goals_MemoryType_UpgradeLearned
+ name: UpgradeLearned
+ nameWithType: MemoryType.UpgradeLearned
+ fullName: TinyLife.Goals.MemoryType.UpgradeLearned
+- uid: TinyLife.Objects.Person
+ commentId: T:TinyLife.Objects.Person
+ parent: TinyLife.Objects
+ href: TinyLife.Objects.Person.html
+ name: Person
+ nameWithType: Person
+ fullName: TinyLife.Objects.Person
+- uid: TinyLife.Objects.Upgrade.HasToLearn
+ commentId: P:TinyLife.Objects.Upgrade.HasToLearn
+ href: TinyLife.Objects.Upgrade.html#TinyLife_Objects_Upgrade_HasToLearn
+ name: HasToLearn
+ nameWithType: Upgrade.HasToLearn
+ fullName: TinyLife.Objects.Upgrade.HasToLearn
- uid: TinyLife.Objects.Upgrade.Memory*
commentId: Overload:TinyLife.Objects.Upgrade.Memory
href: TinyLife.Objects.Upgrade.html#TinyLife_Objects_Upgrade_Memory
@@ -1510,13 +1672,6 @@ references:
name: Knows
nameWithType: Upgrade.Knows
fullName: TinyLife.Objects.Upgrade.Knows
-- uid: TinyLife.Objects.Person
- commentId: T:TinyLife.Objects.Person
- parent: TinyLife.Objects
- href: TinyLife.Objects.Person.html
- name: Person
- nameWithType: Person
- fullName: TinyLife.Objects.Person
- uid: TinyLife.Objects.Upgrade.Learn*
commentId: Overload:TinyLife.Objects.Upgrade.Learn
href: TinyLife.Objects.Upgrade.html#TinyLife_Objects_Upgrade_Learn_TinyLife_Objects_Person_
diff --git a/docs/api/TinyLife.Objects.Visibility.yml b/docs/api/TinyLife.Objects.Visibility.yml
index 5501466..72bf68f 100644
--- a/docs/api/TinyLife.Objects.Visibility.yml
+++ b/docs/api/TinyLife.Objects.Visibility.yml
@@ -23,7 +23,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Visibility
path: ../TinyLife/Objects/MapObject.cs
- startLine: 831
+ startLine: 844
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -52,7 +52,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: WhenVisible
path: ../TinyLife/Objects/MapObject.cs
- startLine: 836
+ startLine: 849
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -80,7 +80,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: WhenVisibleExt
path: ../TinyLife/Objects/MapObject.cs
- startLine: 840
+ startLine: 853
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -108,7 +108,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: HideZoomedOut
path: ../TinyLife/Objects/MapObject.cs
- startLine: 844
+ startLine: 857
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -136,7 +136,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Static
path: ../TinyLife/Objects/MapObject.cs
- startLine: 849
+ startLine: 862
assemblies:
- Tiny Life
namespace: TinyLife.Objects
diff --git a/docs/api/TinyLife.Objects.VoiceStyle.yml b/docs/api/TinyLife.Objects.VoiceStyle.yml
index 7cf641e..63be45a 100644
--- a/docs/api/TinyLife.Objects.VoiceStyle.yml
+++ b/docs/api/TinyLife.Objects.VoiceStyle.yml
@@ -23,7 +23,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: VoiceStyle
path: ../TinyLife/Objects/Person.cs
- startLine: 3699
+ startLine: 3713
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -56,7 +56,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Low
path: ../TinyLife/Objects/Person.cs
- startLine: 3702
+ startLine: 3716
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -82,7 +82,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: High
path: ../TinyLife/Objects/Person.cs
- startLine: 3703
+ startLine: 3717
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -108,7 +108,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Child
path: ../TinyLife/Objects/Person.cs
- startLine: 3704
+ startLine: 3718
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@@ -134,7 +134,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Baby
path: ../TinyLife/Objects/Person.cs
- startLine: 3706
+ startLine: 3720
assemblies:
- Tiny Life
namespace: TinyLife.Objects
diff --git a/docs/api/TinyLife.PerSaveOptions.MapInfo.yml b/docs/api/TinyLife.PerSaveOptions.MapInfo.yml
index 197808d..8ad5d01 100644
--- a/docs/api/TinyLife.PerSaveOptions.MapInfo.yml
+++ b/docs/api/TinyLife.PerSaveOptions.MapInfo.yml
@@ -169,7 +169,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Equals
path: ../TinyLife/Options.cs
- startLine: 591
+ startLine: 592
assemblies:
- Tiny Life
namespace: TinyLife
@@ -206,7 +206,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Equals
path: ../TinyLife/Options.cs
- startLine: 597
+ startLine: 599
assemblies:
- Tiny Life
namespace: TinyLife
@@ -245,7 +245,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetHashCode
path: ../TinyLife/Options.cs
- startLine: 601
+ startLine: 604
assemblies:
- Tiny Life
namespace: TinyLife
diff --git a/docs/api/TinyLife.Set.yml b/docs/api/TinyLife.Set.yml
index 5f877ae..933a2f8 100644
--- a/docs/api/TinyLife.Set.yml
+++ b/docs/api/TinyLife.Set.yml
@@ -23,7 +23,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Set
path: ../TinyLife/GameImpl.cs
- startLine: 1286
+ startLine: 1238
assemblies:
- Tiny Life
namespace: TinyLife
@@ -55,7 +55,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Woodworking
path: ../TinyLife/GameImpl.cs
- startLine: 1292
+ startLine: 1244
assemblies:
- Tiny Life
namespace: TinyLife
@@ -83,7 +83,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Workout
path: ../TinyLife/GameImpl.cs
- startLine: 1296
+ startLine: 1248
assemblies:
- Tiny Life
namespace: TinyLife
@@ -111,7 +111,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ChildClothes
path: ../TinyLife/GameImpl.cs
- startLine: 1300
+ startLine: 1252
assemblies:
- Tiny Life
namespace: TinyLife
@@ -139,7 +139,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: RetroFurniture
path: ../TinyLife/GameImpl.cs
- startLine: 1304
+ startLine: 1256
assemblies:
- Tiny Life
namespace: TinyLife
diff --git a/docs/api/TinyLife.Skills.Quality.yml b/docs/api/TinyLife.Skills.Quality.yml
index 067cd08..380ec3e 100644
--- a/docs/api/TinyLife.Skills.Quality.yml
+++ b/docs/api/TinyLife.Skills.Quality.yml
@@ -25,7 +25,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Quality
path: ../TinyLife/Skills/Skill.cs
- startLine: 372
+ startLine: 373
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@@ -61,7 +61,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Terrible
path: ../TinyLife/Skills/Skill.cs
- startLine: 377
+ startLine: 378
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@@ -89,7 +89,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Average
path: ../TinyLife/Skills/Skill.cs
- startLine: 381
+ startLine: 382
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@@ -117,7 +117,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Good
path: ../TinyLife/Skills/Skill.cs
- startLine: 385
+ startLine: 386
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@@ -145,7 +145,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Great
path: ../TinyLife/Skills/Skill.cs
- startLine: 389
+ startLine: 390
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@@ -173,7 +173,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Perfect
path: ../TinyLife/Skills/Skill.cs
- startLine: 393
+ startLine: 394
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@@ -201,7 +201,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Masterpiece
path: ../TinyLife/Skills/Skill.cs
- startLine: 398
+ startLine: 399
assemblies:
- Tiny Life
namespace: TinyLife.Skills
diff --git a/docs/api/TinyLife.Skills.SkillCategory.yml b/docs/api/TinyLife.Skills.SkillCategory.yml
index aa147d4..756d9d7 100644
--- a/docs/api/TinyLife.Skills.SkillCategory.yml
+++ b/docs/api/TinyLife.Skills.SkillCategory.yml
@@ -23,7 +23,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SkillCategory
path: ../TinyLife/Skills/Skill.cs
- startLine: 343
+ startLine: 344
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@@ -62,7 +62,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Creative
path: ../TinyLife/Skills/Skill.cs
- startLine: 350
+ startLine: 351
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@@ -93,7 +93,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Logical
path: ../TinyLife/Skills/Skill.cs
- startLine: 354
+ startLine: 355
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@@ -121,7 +121,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Social
path: ../TinyLife/Skills/Skill.cs
- startLine: 359
+ startLine: 360
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@@ -152,7 +152,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Physical
path: ../TinyLife/Skills/Skill.cs
- startLine: 364
+ startLine: 365
assemblies:
- Tiny Life
namespace: TinyLife.Skills
diff --git a/docs/api/TinyLife.Skills.SkillType.yml b/docs/api/TinyLife.Skills.SkillType.yml
index 329aae5..4dde401 100644
--- a/docs/api/TinyLife.Skills.SkillType.yml
+++ b/docs/api/TinyLife.Skills.SkillType.yml
@@ -1034,7 +1034,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetRandomQuality
path: ../TinyLife/Skills/Skill.cs
- startLine: 269
+ startLine: 270
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@@ -1054,6 +1054,7 @@ items:
description: The random that should be used for calculation
- id: info
type: TinyLife.Actions.ActionInfo
+ description: The action info to use for determining the random quality. If this is set, will be invoked for all involved objects.
- id: modifyEmotions
type: System.Boolean
description: Whether the given person should receive emotions based on the quality, defaults to true
@@ -1089,7 +1090,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetMaxLevel
path: ../TinyLife/Skills/Skill.cs
- startLine: 323
+ startLine: 324
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@@ -1124,7 +1125,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Register
path: ../TinyLife/Skills/Skill.cs
- startLine: 332
+ startLine: 333
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@@ -2772,6 +2773,127 @@ references:
name: Quality
nameWithType: Quality
fullName: TinyLife.Skills.Quality
+- uid: TinyLife.Objects.MapObject.OnRandomQuality(TinyLife.Objects.Person,TinyLife.Actions.ActionInfo,System.Boolean,TinyLife.Skills.SkillType,System.Random,System.Boolean,System.Collections.Generic.Dictionary{TinyLife.Skills.Quality,System.Single})
+ commentId: M:TinyLife.Objects.MapObject.OnRandomQuality(TinyLife.Objects.Person,TinyLife.Actions.ActionInfo,System.Boolean,TinyLife.Skills.SkillType,System.Random,System.Boolean,System.Collections.Generic.Dictionary{TinyLife.Skills.Quality,System.Single})
+ parent: TinyLife.Objects.MapObject
+ isExternal: true
+ href: TinyLife.Objects.MapObject.html#TinyLife_Objects_MapObject_OnRandomQuality_TinyLife_Objects_Person_TinyLife_Actions_ActionInfo_System_Boolean_TinyLife_Skills_SkillType_System_Random_System_Boolean_System_Collections_Generic_Dictionary_TinyLife_Skills_Quality_System_Single__
+ name: OnRandomQuality(Person, ActionInfo, bool, SkillType, Random, bool, Dictionary)
+ nameWithType: MapObject.OnRandomQuality(Person, ActionInfo, bool, SkillType, Random, bool, Dictionary)
+ fullName: TinyLife.Objects.MapObject.OnRandomQuality(TinyLife.Objects.Person, TinyLife.Actions.ActionInfo, bool, TinyLife.Skills.SkillType, System.Random, bool, System.Collections.Generic.Dictionary)
+ nameWithType.vb: MapObject.OnRandomQuality(Person, ActionInfo, Boolean, SkillType, Random, Boolean, Dictionary(Of Quality, Single))
+ fullName.vb: TinyLife.Objects.MapObject.OnRandomQuality(TinyLife.Objects.Person, TinyLife.Actions.ActionInfo, Boolean, TinyLife.Skills.SkillType, System.Random, Boolean, System.Collections.Generic.Dictionary(Of TinyLife.Skills.Quality, Single))
+ name.vb: OnRandomQuality(Person, ActionInfo, Boolean, SkillType, Random, Boolean, Dictionary(Of Quality, Single))
+ spec.csharp:
+ - uid: TinyLife.Objects.MapObject.OnRandomQuality(TinyLife.Objects.Person,TinyLife.Actions.ActionInfo,System.Boolean,TinyLife.Skills.SkillType,System.Random,System.Boolean,System.Collections.Generic.Dictionary{TinyLife.Skills.Quality,System.Single})
+ name: OnRandomQuality
+ href: TinyLife.Objects.MapObject.html#TinyLife_Objects_MapObject_OnRandomQuality_TinyLife_Objects_Person_TinyLife_Actions_ActionInfo_System_Boolean_TinyLife_Skills_SkillType_System_Random_System_Boolean_System_Collections_Generic_Dictionary_TinyLife_Skills_Quality_System_Single__
+ - name: (
+ - uid: TinyLife.Objects.Person
+ name: Person
+ href: TinyLife.Objects.Person.html
+ - name: ','
+ - name: " "
+ - uid: TinyLife.Actions.ActionInfo
+ name: ActionInfo
+ href: TinyLife.Actions.ActionInfo.html
+ - name: ','
+ - name: " "
+ - uid: System.Boolean
+ name: bool
+ isExternal: true
+ href: https://learn.microsoft.com/dotnet/api/system.boolean
+ - name: ','
+ - name: " "
+ - uid: TinyLife.Skills.SkillType
+ name: SkillType
+ href: TinyLife.Skills.SkillType.html
+ - name: ','
+ - name: " "
+ - uid: System.Random
+ name: Random
+ isExternal: true
+ href: https://learn.microsoft.com/dotnet/api/system.random
+ - name: ','
+ - name: " "
+ - uid: System.Boolean
+ name: bool
+ isExternal: true
+ href: https://learn.microsoft.com/dotnet/api/system.boolean
+ - name: ','
+ - name: " "
+ - uid: System.Collections.Generic.Dictionary`2
+ name: Dictionary
+ isExternal: true
+ href: https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2
+ - name: <
+ - uid: TinyLife.Skills.Quality
+ name: Quality
+ href: TinyLife.Skills.Quality.html
+ - name: ','
+ - name: " "
+ - uid: System.Single
+ name: float
+ isExternal: true
+ href: https://learn.microsoft.com/dotnet/api/system.single
+ - name: '>'
+ - name: )
+ spec.vb:
+ - uid: TinyLife.Objects.MapObject.OnRandomQuality(TinyLife.Objects.Person,TinyLife.Actions.ActionInfo,System.Boolean,TinyLife.Skills.SkillType,System.Random,System.Boolean,System.Collections.Generic.Dictionary{TinyLife.Skills.Quality,System.Single})
+ name: OnRandomQuality
+ href: TinyLife.Objects.MapObject.html#TinyLife_Objects_MapObject_OnRandomQuality_TinyLife_Objects_Person_TinyLife_Actions_ActionInfo_System_Boolean_TinyLife_Skills_SkillType_System_Random_System_Boolean_System_Collections_Generic_Dictionary_TinyLife_Skills_Quality_System_Single__
+ - name: (
+ - uid: TinyLife.Objects.Person
+ name: Person
+ href: TinyLife.Objects.Person.html
+ - name: ','
+ - name: " "
+ - uid: TinyLife.Actions.ActionInfo
+ name: ActionInfo
+ href: TinyLife.Actions.ActionInfo.html
+ - name: ','
+ - name: " "
+ - uid: System.Boolean
+ name: Boolean
+ isExternal: true
+ href: https://learn.microsoft.com/dotnet/api/system.boolean
+ - name: ','
+ - name: " "
+ - uid: TinyLife.Skills.SkillType
+ name: SkillType
+ href: TinyLife.Skills.SkillType.html
+ - name: ','
+ - name: " "
+ - uid: System.Random
+ name: Random
+ isExternal: true
+ href: https://learn.microsoft.com/dotnet/api/system.random
+ - name: ','
+ - name: " "
+ - uid: System.Boolean
+ name: Boolean
+ isExternal: true
+ href: https://learn.microsoft.com/dotnet/api/system.boolean
+ - name: ','
+ - name: " "
+ - uid: System.Collections.Generic.Dictionary`2
+ name: Dictionary
+ isExternal: true
+ href: https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2
+ - name: (
+ - name: Of
+ - name: " "
+ - uid: TinyLife.Skills.Quality
+ name: Quality
+ href: TinyLife.Skills.Quality.html
+ - name: ','
+ - name: " "
+ - uid: System.Single
+ name: Single
+ isExternal: true
+ href: https://learn.microsoft.com/dotnet/api/system.single
+ - name: )
+ - name: )
- uid: TinyLife.Skills.Quality.Average
commentId: F:TinyLife.Skills.Quality.Average
href: TinyLife.Skills.Quality.html#TinyLife_Skills_Quality_Average
@@ -2817,6 +2939,13 @@ references:
name: IEmotionSource
nameWithType: IEmotionSource
fullName: TinyLife.Emotions.IEmotionSource
+- uid: TinyLife.Objects.MapObject
+ commentId: T:TinyLife.Objects.MapObject
+ parent: TinyLife.Objects
+ href: TinyLife.Objects.MapObject.html
+ name: MapObject
+ nameWithType: MapObject
+ fullName: TinyLife.Objects.MapObject
- uid: TinyLife.Actions
commentId: N:TinyLife.Actions
href: TinyLife.html
diff --git a/docs/api/TinyLife.Uis.MapSelectUi.yml b/docs/api/TinyLife.Uis.MapSelectUi.yml
index 81a4ffd..4ae2301 100644
--- a/docs/api/TinyLife.Uis.MapSelectUi.yml
+++ b/docs/api/TinyLife.Uis.MapSelectUi.yml
@@ -21,10 +21,12 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: MapSelectUi
path: ../TinyLife/Uis/MapSelectUi.cs
- startLine: 18
+ startLine: 21
assemblies:
- Tiny Life
namespace: TinyLife.Uis
+ summary: A class that stores information about the map selection ui, which is called "household selection area" in-game.
+ example: []
syntax:
content: public static class MapSelectUi
content.vb: Public Module MapSelectUi
@@ -56,14 +58,17 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetHoveredLot
path: ../TinyLife/Uis/MapSelectUi.cs
- startLine: 79
+ startLine: 86
assemblies:
- Tiny Life
namespace: TinyLife.Uis
+ summary: Returns the lot that is currently being hovered by the mouse.
+ example: []
syntax:
content: public static Lot GetHoveredLot()
return:
type: TinyLife.World.Lot
+ description: The hovered lot.
content.vb: Public Shared Function GetHoveredLot() As Lot
overload: TinyLife.Uis.MapSelectUi.GetHoveredLot*
- uid: TinyLife.Uis.MapSelectUi.OpenSplitMenu(TinyLife.World.Household,TinyLife.World.Lot,System.Action{TinyLife.Uis.CoveringGroup})
@@ -84,19 +89,24 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OpenSplitMenu
path: ../TinyLife/Uis/MapSelectUi.cs
- startLine: 84
+ startLine: 97
assemblies:
- Tiny Life
namespace: TinyLife.Uis
+ summary: Opens a menu that can be used to split a household into two, optionally adding the split household to a new lot with or without a household.
+ example: []
syntax:
content: public static void OpenSplitMenu(Household household, Lot newLot = null, Action onDone = null)
parameters:
- id: household
type: TinyLife.World.Household
+ description: The household to split.
- id: newLot
type: TinyLife.World.Lot
+ description: A new lot for the split household to occupy. If this is null, the split household will be exported instead.
- id: onDone
type: System.Action{TinyLife.Uis.CoveringGroup}
+ description: An action that is invoked when the Done button is pressed successfully.
content.vb: Public Shared Sub OpenSplitMenu(household As Household, newLot As Lot = Nothing, onDone As Action(Of CoveringGroup) = Nothing)
overload: TinyLife.Uis.MapSelectUi.OpenSplitMenu*
nameWithType.vb: MapSelectUi.OpenSplitMenu(Household, Lot, Action(Of CoveringGroup))
diff --git a/docs/api/TinyLife.WallDisplay.yml b/docs/api/TinyLife.WallDisplay.yml
index 409c1f9..260c87b 100644
--- a/docs/api/TinyLife.WallDisplay.yml
+++ b/docs/api/TinyLife.WallDisplay.yml
@@ -22,7 +22,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: WallDisplay
path: ../TinyLife/Options.cs
- startLine: 643
+ startLine: 646
assemblies:
- Tiny Life
namespace: TinyLife
@@ -54,7 +54,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Up
path: ../TinyLife/Options.cs
- startLine: 648
+ startLine: 651
assemblies:
- Tiny Life
namespace: TinyLife
@@ -82,7 +82,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Auto
path: ../TinyLife/Options.cs
- startLine: 652
+ startLine: 655
assemblies:
- Tiny Life
namespace: TinyLife
@@ -110,7 +110,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Down
path: ../TinyLife/Options.cs
- startLine: 656
+ startLine: 659
assemblies:
- Tiny Life
namespace: TinyLife
diff --git a/docs/api/toc.yml b/docs/api/toc.yml
index 2261ad0..bf87734 100644
--- a/docs/api/toc.yml
+++ b/docs/api/toc.yml
@@ -124,8 +124,6 @@ items:
name: PathfindToPersonAction
- uid: TinyLife.Actions.PutAwayAction
name: PutAwayAction
- - uid: TinyLife.Actions.ResearchUpgradesAction
- name: ResearchUpgradesAction
- uid: TinyLife.Actions.SellAction
name: SellAction
- uid: TinyLife.Actions.SitAction
@@ -146,8 +144,6 @@ items:
name: TellPeopleToLeaveRoomAction
- uid: TinyLife.Actions.TryGoHereAction
name: TryGoHereAction
- - uid: TinyLife.Actions.UpgradeFurnitureAction
- name: UpgradeFurnitureAction
- uid: TinyLife.Actions.WalkAction
name: WalkAction
- uid: TinyLife.Actions.WatchTvAction