This commit is contained in:
Ell 2022-06-10 12:18:26 +02:00
parent baeb27b44d
commit 3ce8ce83e7
31 changed files with 625 additions and 447 deletions

View file

@ -1,3 +1,10 @@
# 0.22.1
> Small, Important Fixes
Fixes
- Fixed a crash when a person that doesn't have a household dies
# 0.22.0
![](media/changelog/0.22.0.png)

View file

@ -21,10 +21,12 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CombinedEmotionSource
path: ../TinyLife/Emotions/IEmotionSource.cs
startLine: 23
startLine: 28
assemblies:
- Tiny Life
namespace: TinyLife.Emotions
summary: "\nA combined emotion source is an <xref href=\"TinyLife.Emotions.IEmotionSource\" data-throw-if-not-resolved=\"false\"></xref> that combines multiple underlying emotion sources together.\nA combined emotion source is displayed as multiple lines in the <xref href=\"TinyLife.Emotions.CombinedEmotionSource.SourceString\" data-throw-if-not-resolved=\"false\"></xref>.\n"
example: []
syntax:
content: >-
[DataContract]
@ -77,7 +79,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SourceString
path: ../TinyLife/Emotions/IEmotionSource.cs
startLine: 27
startLine: 32
assemblies:
- Tiny Life
namespace: TinyLife.Emotions
@ -116,15 +118,18 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Emotions/IEmotionSource.cs
startLine: 32
startLine: 41
assemblies:
- Tiny Life
namespace: TinyLife.Emotions
summary: "\nCreates a new combined emotion source with the given underlying sources.\n"
example: []
syntax:
content: public CombinedEmotionSource(params IEmotionSource[] sources)
parameters:
- id: sources
type: TinyLife.Emotions.IEmotionSource[]
description: The underlying sources to combine.
content.vb: Public Sub New(ParamArray sources As IEmotionSource())
overload: TinyLife.Emotions.CombinedEmotionSource.#ctor*
nameWithType.vb: CombinedEmotionSource.CombinedEmotionSource(IEmotionSource())
@ -135,6 +140,15 @@ items:
fullName.vb: TinyLife.Emotions.CombinedEmotionSource.CombinedEmotionSource(TinyLife.Emotions.IEmotionSource())
name.vb: CombinedEmotionSource(IEmotionSource())
references:
- uid: TinyLife.Emotions.IEmotionSource
commentId: T:TinyLife.Emotions.IEmotionSource
parent: TinyLife.Emotions
name: IEmotionSource
nameWithType: IEmotionSource
fullName: TinyLife.Emotions.IEmotionSource
- uid: TinyLife.Emotions.CombinedEmotionSource.SourceString
commentId: P:TinyLife.Emotions.CombinedEmotionSource.SourceString
isExternal: true
- uid: TinyLife.Emotions
commentId: N:TinyLife.Emotions
name: TinyLife.Emotions
@ -147,12 +161,6 @@ references:
name: Object
nameWithType: Object
fullName: System.Object
- uid: TinyLife.Emotions.IEmotionSource
commentId: T:TinyLife.Emotions.IEmotionSource
parent: TinyLife.Emotions
name: IEmotionSource
nameWithType: IEmotionSource
fullName: TinyLife.Emotions.IEmotionSource
- uid: System.Object.Equals(System.Object)
commentId: M:System.Object.Equals(System.Object)
parent: System.Object

View file

@ -20,11 +20,11 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: IEmotionSource
path: ../TinyLife/Emotions/IEmotionSource.cs
startLine: 14
startLine: 15
assemblies:
- Tiny Life
namespace: TinyLife.Emotions
summary: "\nThis interface can be added to classes that should be able to represent a cause of an emotion.\nBy default, several of the game&apos;s objects, including <xref href=\"TinyLife.Objects.FurnitureType\" data-throw-if-not-resolved=\"false\"></xref>, <xref href=\"TinyLife.Actions.ActionType\" data-throw-if-not-resolved=\"false\"></xref> and <xref href=\"TinyLife.PersonalityType\" data-throw-if-not-resolved=\"false\"></xref> have this interface.\nNote that, since emotion sources are serialized directly when storing a <xref href=\"TinyLife.Emotions.EmotionModifier.Instance\" data-throw-if-not-resolved=\"false\"></xref>, it&apos;s recommended that their default serializer is <xref href=\"MLEM.Data.Json.StaticJsonConverter%601\" data-throw-if-not-resolved=\"false\"></xref>.\n"
summary: "\nThis interface can be added to classes that should be able to represent a cause of an emotion.\nBy default, several of the game&apos;s objects, including <xref href=\"TinyLife.Objects.FurnitureType\" data-throw-if-not-resolved=\"false\"></xref>, <xref href=\"TinyLife.Actions.ActionType\" data-throw-if-not-resolved=\"false\"></xref> and <xref href=\"TinyLife.PersonalityType\" data-throw-if-not-resolved=\"false\"></xref> have this interface.\nNote that, since emotion sources are serialized directly when storing a <xref href=\"TinyLife.Emotions.EmotionModifier.Instance\" data-throw-if-not-resolved=\"false\"></xref>, it&apos;s recommended that their default serializer is <xref href=\"MLEM.Data.Json.StaticJsonConverter%601\" data-throw-if-not-resolved=\"false\"></xref>.\nTo combine multiple emotion sources into one, you can use <xref href=\"TinyLife.Emotions.CombinedEmotionSource\" data-throw-if-not-resolved=\"false\"></xref>.\n"
example: []
syntax:
content: public interface IEmotionSource
@ -55,7 +55,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SourceString
path: ../TinyLife/Emotions/IEmotionSource.cs
startLine: 19
startLine: 20
assemblies:
- Tiny Life
namespace: TinyLife.Emotions
@ -135,6 +135,11 @@ references:
- name: )
nameWithType: )
fullName: )
- uid: TinyLife.Emotions.CombinedEmotionSource
commentId: T:TinyLife.Emotions.CombinedEmotionSource
name: CombinedEmotionSource
nameWithType: CombinedEmotionSource
fullName: TinyLife.Emotions.CombinedEmotionSource
- uid: TinyLife.Emotions
commentId: N:TinyLife.Emotions
name: TinyLife.Emotions

View file

@ -21,7 +21,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AgeGroup
path: ../TinyLife/Objects/Person.cs
startLine: 2510
startLine: 2522
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -66,7 +66,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Child
path: ../TinyLife/Objects/Person.cs
startLine: 2518
startLine: 2530
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -100,7 +100,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Adult
path: ../TinyLife/Objects/Person.cs
startLine: 2524
startLine: 2536
assemblies:
- Tiny Life
namespace: TinyLife.Objects

View file

@ -23,7 +23,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Food
path: ../TinyLife/Objects/Food.cs
startLine: 16
startLine: 15
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -167,7 +167,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FoodLeft
path: ../TinyLife/Objects/Food.cs
startLine: 23
startLine: 22
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -210,7 +210,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Objects/Food.cs
startLine: 26
startLine: 25
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -261,7 +261,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Draw
path: ../TinyLife/Objects/Food.cs
startLine: 29
startLine: 28
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -336,7 +336,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetHoverInfo
path: ../TinyLife/Objects/Food.cs
startLine: 41
startLine: 40
assemblies:
- Tiny Life
namespace: TinyLife.Objects

View file

@ -1377,7 +1377,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: PotPlant
path: ../TinyLife/Objects/FurnitureType.Decor.cs
startLine: 15
startLine: 13
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1412,7 +1412,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SmallPlant
path: ../TinyLife/Objects/FurnitureType.Decor.cs
startLine: 19
startLine: 17
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1447,7 +1447,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: LgbtFlags
path: ../TinyLife/Objects/FurnitureType.Decor.cs
startLine: 23
startLine: 21
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1482,7 +1482,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: WorkoutPosters
path: ../TinyLife/Objects/FurnitureType.Decor.cs
startLine: 30
startLine: 28
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1517,7 +1517,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: LargeRectangleRug
path: ../TinyLife/Objects/FurnitureType.Decor.cs
startLine: 39
startLine: 37
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1552,7 +1552,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Doormat
path: ../TinyLife/Objects/FurnitureType.Decor.cs
startLine: 42
startLine: 40
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1587,7 +1587,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: LargeRoundRug
path: ../TinyLife/Objects/FurnitureType.Decor.cs
startLine: 45
startLine: 43
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1622,7 +1622,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CountryFence
path: ../TinyLife/Objects/FurnitureType.Decor.cs
startLine: 48
startLine: 46
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1657,7 +1657,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Hedge
path: ../TinyLife/Objects/FurnitureType.Decor.cs
startLine: 52
startLine: 50
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1692,7 +1692,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: MapleTree
path: ../TinyLife/Objects/FurnitureType.Decor.cs
startLine: 56
startLine: 54
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1727,7 +1727,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GrassPatch
path: ../TinyLife/Objects/FurnitureType.Decor.cs
startLine: 60
startLine: 58
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1762,7 +1762,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SmallBush
path: ../TinyLife/Objects/FurnitureType.Decor.cs
startLine: 63
startLine: 61
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1797,7 +1797,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SimpleLamp
path: ../TinyLife/Objects/FurnitureType.Decor.cs
startLine: 66
startLine: 64
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1832,7 +1832,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SimpleCeilingLamp
path: ../TinyLife/Objects/FurnitureType.Decor.cs
startLine: 74
startLine: 72
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1867,7 +1867,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: EvergreenTree
path: ../TinyLife/Objects/FurnitureType.Decor.cs
startLine: 78
startLine: 76
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1902,7 +1902,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: BirchTree
path: ../TinyLife/Objects/FurnitureType.Decor.cs
startLine: 84
startLine: 82
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1937,7 +1937,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OakTree
path: ../TinyLife/Objects/FurnitureType.Decor.cs
startLine: 90
startLine: 88
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1972,7 +1972,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Cypress
path: ../TinyLife/Objects/FurnitureType.Decor.cs
startLine: 96
startLine: 94
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2007,7 +2007,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SquarePlantPots
path: ../TinyLife/Objects/FurnitureType.Decor.cs
startLine: 102
startLine: 100
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2042,7 +2042,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: WindowPlants
path: ../TinyLife/Objects/FurnitureType.Decor.cs
startLine: 108
startLine: 106
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2077,7 +2077,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: TreeStumps
path: ../TinyLife/Objects/FurnitureType.Decor.cs
startLine: 114
startLine: 112
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2112,7 +2112,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Wisteria
path: ../TinyLife/Objects/FurnitureType.Decor.cs
startLine: 119
startLine: 117
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2147,7 +2147,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ModernWoodworkingLamp
path: ../TinyLife/Objects/FurnitureType.Decor.cs
startLine: 124
startLine: 122
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2182,7 +2182,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SwirlWoodworkingLamp
path: ../TinyLife/Objects/FurnitureType.Decor.cs
startLine: 133
startLine: 131
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2217,7 +2217,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: EdisonWoodworkingLamp
path: ../TinyLife/Objects/FurnitureType.Decor.cs
startLine: 142
startLine: 140
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2252,7 +2252,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DecorativeLogPile
path: ../TinyLife/Objects/FurnitureType.Decor.cs
startLine: 147
startLine: 145
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2287,7 +2287,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: TraditionalFireplace
path: ../TinyLife/Objects/FurnitureType.Decor.cs
startLine: 151
startLine: 149
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2322,7 +2322,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SmallChimney
path: ../TinyLife/Objects/FurnitureType.Decor.cs
startLine: 158
startLine: 156
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2357,7 +2357,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DecorativeKite
path: ../TinyLife/Objects/FurnitureType.Decor.cs
startLine: 164
startLine: 162
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2392,7 +2392,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GlassPenCup
path: ../TinyLife/Objects/FurnitureType.Decor.cs
startLine: 169
startLine: 167
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2427,7 +2427,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Succulents
path: ../TinyLife/Objects/FurnitureType.Decor.cs
startLine: 170
startLine: 168
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2462,7 +2462,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: LargePotPlant
path: ../TinyLife/Objects/FurnitureType.Decor.cs
startLine: 175
startLine: 173
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2497,7 +2497,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: StreetLamps
path: ../TinyLife/Objects/FurnitureType.Decor.cs
startLine: 180
startLine: 178
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2532,7 +2532,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SimpleStoneWall
path: ../TinyLife/Objects/FurnitureType.Decor.cs
startLine: 193
startLine: 191
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2567,7 +2567,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CafeSign
path: ../TinyLife/Objects/FurnitureType.Decor.cs
startLine: 197
startLine: 195
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2602,7 +2602,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SmallBlinds
path: ../TinyLife/Objects/FurnitureType.Decor.cs
startLine: 201
startLine: 199
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2637,7 +2637,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SmallSimpleCurtain
path: ../TinyLife/Objects/FurnitureType.Decor.cs
startLine: 206
startLine: 204
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2672,7 +2672,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: BulbFairyLights
path: ../TinyLife/Objects/FurnitureType.Decor.cs
startLine: 210
startLine: 208
assemblies:
- Tiny Life
namespace: TinyLife.Objects

View file

@ -31,7 +31,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Light
path: ../TinyLife/Objects/Light.cs
startLine: 15
startLine: 13
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -76,7 +76,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CircleTexture
path: ../TinyLife/Objects/Light.cs
startLine: 20
startLine: 18
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -113,7 +113,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Map
path: ../TinyLife/Objects/Light.cs
startLine: 25
startLine: 23
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -148,7 +148,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Texture
path: ../TinyLife/Objects/Light.cs
startLine: 30
startLine: 28
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -183,7 +183,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CameraOffset
path: ../TinyLife/Objects/Light.cs
startLine: 34
startLine: 32
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -216,7 +216,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Position
path: ../TinyLife/Objects/Light.cs
startLine: 39
startLine: 37
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -253,10 +253,12 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DrawPosOffset
path: ../TinyLife/Objects/Light.cs
startLine: 51
startLine: 53
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: "\nAn offset from this light&apos;s <xref href=\"TinyLife.Objects.Light.Position\" data-throw-if-not-resolved=\"false\"></xref>, in world space, that is applied before the <xref href=\"TinyLife.Utilities.Extensions.ToScreenPos(Microsoft.Xna.Framework.Vector2%2cSystem.Boolean%2cSystem.Boolean%2cSystem.Boolean)\" data-throw-if-not-resolved=\"false\"></xref> call.\nThis can be used if the light should be drawn in a different location than its <xref href=\"TinyLife.Objects.Light.Position\" data-throw-if-not-resolved=\"false\"></xref>, which also determines the room and section that it is in.\n"
example: []
syntax:
content: public Vector2 DrawPosOffset
return:
@ -284,7 +286,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Size
path: ../TinyLife/Objects/Light.cs
startLine: 56
startLine: 58
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -317,10 +319,12 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Rotation
path: ../TinyLife/Objects/Light.cs
startLine: 57
startLine: 63
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: "\nThe rotation that this light displays with, in radians.\nRotation is applied around the center of the light&apos;s <xref href=\"TinyLife.Objects.Light.Texture\" data-throw-if-not-resolved=\"false\"></xref>.\n"
example: []
syntax:
content: public float Rotation
return:
@ -348,7 +352,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Color
path: ../TinyLife/Objects/Light.cs
startLine: 62
startLine: 68
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -381,7 +385,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: IsDisabled
path: ../TinyLife/Objects/Light.cs
startLine: 67
startLine: 73
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -414,7 +418,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Objects/Light.cs
startLine: 79
startLine: 85
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -462,7 +466,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Draw
path: ../TinyLife/Objects/Light.cs
startLine: 92
startLine: 98
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -925,6 +929,9 @@ references:
name: Position
nameWithType: Light.Position
fullName: TinyLife.Objects.Light.Position
- uid: TinyLife.Utilities.Extensions.ToScreenPos(Microsoft.Xna.Framework.Vector2,System.Boolean,System.Boolean,System.Boolean)
commentId: M:TinyLife.Utilities.Extensions.ToScreenPos(Microsoft.Xna.Framework.Vector2,System.Boolean,System.Boolean,System.Boolean)
isExternal: true
- uid: TinyLife.World.Tile.Width
commentId: F:TinyLife.World.Tile.Width
parent: TinyLife.World.Tile

View file

@ -1287,7 +1287,7 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: "\nReturns the efficiency modifier that this object multiplies the person&apos;s productivity with.\nThis method is automatically called in <xref href=\"TinyLife.Objects.Person.GetEfficiencyModifier(System.Single%2cTinyLife.Actions.ActionInfo%2cTinyLife.Skills.SkillType%2cSystem.Single)\" data-throw-if-not-resolved=\"false\"></xref>\nThis action is invoked for all <xref href=\"TinyLife.Actions.ActionInfo.GetInvolvedObjects%60%601(TinyLife.Objects.ObjectCategory%2cSystem.Boolean)\" data-throw-if-not-resolved=\"false\"></xref> of the passed <xref href=\"TinyLife.Actions.ActionInfo\" data-throw-if-not-resolved=\"false\"></xref>.\nBy default, this method returns 1, meaning the person&apos;s efficiency will not be influenced.\n"
summary: "\nReturns the efficiency modifier that this object multiplies the person&apos;s productivity with.\nThis method is automatically called in <xref href=\"TinyLife.Objects.Person.GetEfficiencyModifier(System.Single%2cTinyLife.Actions.ActionInfo%2cTinyLife.Skills.SkillType%2cSystem.Single)\" data-throw-if-not-resolved=\"false\"></xref>.\nThis action is invoked for all <xref href=\"TinyLife.Actions.ActionInfo.GetInvolvedObjects%60%601(TinyLife.Objects.ObjectCategory%2cSystem.Boolean)\" data-throw-if-not-resolved=\"false\"></xref> of the passed <xref href=\"TinyLife.Actions.ActionInfo\" data-throw-if-not-resolved=\"false\"></xref>.\nBy default, this method returns 1, meaning the person&apos;s efficiency will not be influenced.\n"
example: []
syntax:
content: public virtual float GetEfficiencyModifier(Person person, ActionInfo info, bool isAuxiliary, SkillType skill, float levelModifier)
@ -1336,23 +1336,30 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetRestoreNeedModifier
path: ../TinyLife/Objects/MapObject.cs
startLine: 303
startLine: 314
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: "\nReturns the modifier that this object multiplies the person&apos;s restored need with.\nThis method is automatically called in <xref href=\"TinyLife.Objects.Person.RestoreNeed(TinyLife.NeedType%2cSystem.Single%2cTinyLife.Actions.ActionInfo%2cSystem.Single)\" data-throw-if-not-resolved=\"false\"></xref>.\nThis action is invoked for all <xref href=\"TinyLife.Actions.ActionInfo.GetInvolvedObjects%60%601(TinyLife.Objects.ObjectCategory%2cSystem.Boolean)\" data-throw-if-not-resolved=\"false\"></xref> of the passed <xref href=\"TinyLife.Actions.ActionInfo\" data-throw-if-not-resolved=\"false\"></xref>.\nBy default, this method returns 1, meaning the need restoration modifier will not be influenced.\n"
example: []
syntax:
content: public virtual float GetRestoreNeedModifier(Person person, ActionInfo info, bool isAuxiliary, NeedType type)
parameters:
- id: person
type: TinyLife.Objects.Person
description: The person whose need restoration should be influenced.
- 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: type
type: TinyLife.NeedType
description: The type of need that is being restored.
return:
type: System.Single
description: The need restoration modifier for this object.
content.vb: Public Overridable Function GetRestoreNeedModifier(person As Person, info As ActionInfo, isAuxiliary As Boolean, type As NeedType) As Single
overload: TinyLife.Objects.MapObject.GetRestoreNeedModifier*
modifiers.csharp:
@ -1379,7 +1386,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DrawColumns
path: ../TinyLife/Objects/MapObject.cs
startLine: 343
startLine: 354
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1459,7 +1466,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetModCategory
path: ../TinyLife/Objects/MapObject.cs
startLine: 397
startLine: 408
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2845,6 +2852,9 @@ references:
name: TinyLife.Skills
nameWithType: TinyLife.Skills
fullName: TinyLife.Skills
- uid: TinyLife.Objects.Person.RestoreNeed(TinyLife.NeedType,System.Single,TinyLife.Actions.ActionInfo,System.Single)
commentId: M:TinyLife.Objects.Person.RestoreNeed(TinyLife.NeedType,System.Single,TinyLife.Actions.ActionInfo,System.Single)
isExternal: true
- uid: TinyLife.Objects.MapObject.GetRestoreNeedModifier*
commentId: Overload:TinyLife.Objects.MapObject.GetRestoreNeedModifier
name: GetRestoreNeedModifier

View file

@ -86,7 +86,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ObjectCategory
path: ../TinyLife/Objects/MapObject.cs
startLine: 420
startLine: 431
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -152,7 +152,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Nothing
path: ../TinyLife/Objects/MapObject.cs
startLine: 423
startLine: 434
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -189,7 +189,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Ground
path: ../TinyLife/Objects/MapObject.cs
startLine: 425
startLine: 436
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -226,7 +226,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Chair
path: ../TinyLife/Objects/MapObject.cs
startLine: 427
startLine: 438
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -263,7 +263,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Toilet
path: ../TinyLife/Objects/MapObject.cs
startLine: 429
startLine: 440
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -300,7 +300,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SingleBed
path: ../TinyLife/Objects/MapObject.cs
startLine: 431
startLine: 442
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -337,7 +337,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DoubleBed
path: ../TinyLife/Objects/MapObject.cs
startLine: 433
startLine: 444
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -374,7 +374,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Fridge
path: ../TinyLife/Objects/MapObject.cs
startLine: 435
startLine: 446
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -411,7 +411,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Shower
path: ../TinyLife/Objects/MapObject.cs
startLine: 437
startLine: 448
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -448,7 +448,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Counter
path: ../TinyLife/Objects/MapObject.cs
startLine: 439
startLine: 450
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -485,7 +485,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Stove
path: ../TinyLife/Objects/MapObject.cs
startLine: 441
startLine: 452
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -522,7 +522,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SmallObject
path: ../TinyLife/Objects/MapObject.cs
startLine: 443
startLine: 454
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -559,7 +559,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: NonBuyable
path: ../TinyLife/Objects/MapObject.cs
startLine: 445
startLine: 456
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -596,7 +596,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Table
path: ../TinyLife/Objects/MapObject.cs
startLine: 447
startLine: 458
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -633,7 +633,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Holdable
path: ../TinyLife/Objects/MapObject.cs
startLine: 449
startLine: 460
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -670,7 +670,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DeskObject
path: ../TinyLife/Objects/MapObject.cs
startLine: 451
startLine: 462
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -707,7 +707,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DisallowedOnGround
path: ../TinyLife/Objects/MapObject.cs
startLine: 453
startLine: 464
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -744,7 +744,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Computer
path: ../TinyLife/Objects/MapObject.cs
startLine: 455
startLine: 466
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -781,7 +781,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Sink
path: ../TinyLife/Objects/MapObject.cs
startLine: 457
startLine: 468
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -818,7 +818,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CounterObject
path: ../TinyLife/Objects/MapObject.cs
startLine: 459
startLine: 470
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -855,7 +855,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Cleanable
path: ../TinyLife/Objects/MapObject.cs
startLine: 461
startLine: 472
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -892,7 +892,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: People
path: ../TinyLife/Objects/MapObject.cs
startLine: 463
startLine: 474
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -929,7 +929,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Mailbox
path: ../TinyLife/Objects/MapObject.cs
startLine: 465
startLine: 476
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -966,7 +966,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Wardrobe
path: ../TinyLife/Objects/MapObject.cs
startLine: 467
startLine: 478
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1003,7 +1003,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: NaturalGroundRequired
path: ../TinyLife/Objects/MapObject.cs
startLine: 469
startLine: 480
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1040,7 +1040,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Self
path: ../TinyLife/Objects/MapObject.cs
startLine: 471
startLine: 482
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1077,7 +1077,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: WallHanging
path: ../TinyLife/Objects/MapObject.cs
startLine: 473
startLine: 484
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1114,7 +1114,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ForceGridPlacement
path: ../TinyLife/Objects/MapObject.cs
startLine: 475
startLine: 486
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1151,7 +1151,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Easel
path: ../TinyLife/Objects/MapObject.cs
startLine: 477
startLine: 488
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1188,7 +1188,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Mirror
path: ../TinyLife/Objects/MapObject.cs
startLine: 479
startLine: 490
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1225,7 +1225,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Bookshelf
path: ../TinyLife/Objects/MapObject.cs
startLine: 481
startLine: 492
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1262,7 +1262,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: NonColliding
path: ../TinyLife/Objects/MapObject.cs
startLine: 483
startLine: 494
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1299,7 +1299,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Gravestone
path: ../TinyLife/Objects/MapObject.cs
startLine: 485
startLine: 496
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1336,7 +1336,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: NonSellable
path: ../TinyLife/Objects/MapObject.cs
startLine: 487
startLine: 498
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1373,7 +1373,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: NonMovable
path: ../TinyLife/Objects/MapObject.cs
startLine: 489
startLine: 500
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1410,7 +1410,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Tree
path: ../TinyLife/Objects/MapObject.cs
startLine: 491
startLine: 502
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1447,7 +1447,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Television
path: ../TinyLife/Objects/MapObject.cs
startLine: 493
startLine: 504
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1484,7 +1484,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: BartendingObject
path: ../TinyLife/Objects/MapObject.cs
startLine: 495
startLine: 506
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1521,7 +1521,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Walls
path: ../TinyLife/Objects/MapObject.cs
startLine: 497
startLine: 508
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1558,7 +1558,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: LargeSurfaceObject
path: ../TinyLife/Objects/MapObject.cs
startLine: 499
startLine: 510
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1595,7 +1595,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: StandingDesk
path: ../TinyLife/Objects/MapObject.cs
startLine: 501
startLine: 512
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1632,7 +1632,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Lamp
path: ../TinyLife/Objects/MapObject.cs
startLine: 503
startLine: 514
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1669,7 +1669,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CeilingHanging
path: ../TinyLife/Objects/MapObject.cs
startLine: 505
startLine: 516
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1706,7 +1706,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CanCoverWindow
path: ../TinyLife/Objects/MapObject.cs
startLine: 507
startLine: 518
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1743,7 +1743,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CanCoverDoor
path: ../TinyLife/Objects/MapObject.cs
startLine: 509
startLine: 520
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1780,7 +1780,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Barbecue
path: ../TinyLife/Objects/MapObject.cs
startLine: 511
startLine: 522
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1817,7 +1817,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: TrashCan
path: ../TinyLife/Objects/MapObject.cs
startLine: 513
startLine: 524
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1854,7 +1854,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CanBeThrownAway
path: ../TinyLife/Objects/MapObject.cs
startLine: 515
startLine: 526
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1891,7 +1891,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CanBeScrapped
path: ../TinyLife/Objects/MapObject.cs
startLine: 517
startLine: 528
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1928,7 +1928,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ObstructedByRoofs
path: ../TinyLife/Objects/MapObject.cs
startLine: 519
startLine: 530
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1965,7 +1965,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: RoofAttached
path: ../TinyLife/Objects/MapObject.cs
startLine: 521
startLine: 532
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2002,7 +2002,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Fireplaces
path: ../TinyLife/Objects/MapObject.cs
startLine: 523
startLine: 534
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2039,7 +2039,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ToyBox
path: ../TinyLife/Objects/MapObject.cs
startLine: 525
startLine: 536
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2076,7 +2076,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: WoodworkingItem
path: ../TinyLife/Objects/MapObject.cs
startLine: 527
startLine: 538
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2113,7 +2113,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ChildStove
path: ../TinyLife/Objects/MapObject.cs
startLine: 529
startLine: 540
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2150,7 +2150,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Sandbox
path: ../TinyLife/Objects/MapObject.cs
startLine: 531
startLine: 542
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2187,7 +2187,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Treadmill
path: ../TinyLife/Objects/MapObject.cs
startLine: 533
startLine: 544
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2224,7 +2224,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DumbbellHolder
path: ../TinyLife/Objects/MapObject.cs
startLine: 535
startLine: 546
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2261,7 +2261,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Newspaper
path: ../TinyLife/Objects/MapObject.cs
startLine: 537
startLine: 548
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2298,7 +2298,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CoffeeMachine
path: ../TinyLife/Objects/MapObject.cs
startLine: 539
startLine: 550
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2335,7 +2335,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CafeDisplayCase
path: ../TinyLife/Objects/MapObject.cs
startLine: 541
startLine: 552
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2372,7 +2372,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Objects/MapObject.cs
startLine: 544
startLine: 555
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2408,7 +2408,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: op_Implicit
path: ../TinyLife/Objects/MapObject.cs
startLine: 547
startLine: 558
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2449,7 +2449,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: op_Implicit
path: ../TinyLife/Objects/MapObject.cs
startLine: 552
startLine: 563
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2490,7 +2490,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: op_BitwiseOr
path: ../TinyLife/Objects/MapObject.cs
startLine: 557
startLine: 568
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2530,7 +2530,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: op_BitwiseAnd
path: ../TinyLife/Objects/MapObject.cs
startLine: 562
startLine: 573
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2570,7 +2570,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: op_ExclusiveOr
path: ../TinyLife/Objects/MapObject.cs
startLine: 567
startLine: 578
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2610,7 +2610,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: op_OnesComplement
path: ../TinyLife/Objects/MapObject.cs
startLine: 572
startLine: 583
assemblies:
- Tiny Life
namespace: TinyLife.Objects

View file

@ -23,7 +23,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ParentInfo
path: ../TinyLife/Objects/MapObject.cs
startLine: 602
startLine: 613
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -66,7 +66,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: IsAttached
path: ../TinyLife/Objects/MapObject.cs
startLine: 607
startLine: 618
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -104,7 +104,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Objects/MapObject.cs
startLine: 619
startLine: 630
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -143,7 +143,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Objects/MapObject.cs
startLine: 628
startLine: 639
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -179,7 +179,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Objects/MapObject.cs
startLine: 636
startLine: 647
assemblies:
- Tiny Life
namespace: TinyLife.Objects

View file

@ -19,7 +19,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ActionUpdateDelegate
path: ../TinyLife/Objects/Person.cs
startLine: 2404
startLine: 2413
assemblies:
- Tiny Life
namespace: TinyLife.Objects

View file

@ -23,7 +23,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DeathReason
path: ../TinyLife/Objects/Person.cs
startLine: 2461
startLine: 2473
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -58,7 +58,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Starvation
path: ../TinyLife/Objects/Person.cs
startLine: 2467
startLine: 2479
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -92,7 +92,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: InexplicableReasons
path: ../TinyLife/Objects/Person.cs
startLine: 2472
startLine: 2484
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -126,7 +126,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Electrocution
path: ../TinyLife/Objects/Person.cs
startLine: 2477
startLine: 2489
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -160,7 +160,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: TooMuchProtein
path: ../TinyLife/Objects/Person.cs
startLine: 2481
startLine: 2493
assemblies:
- Tiny Life
namespace: TinyLife.Objects

View file

@ -19,7 +19,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: EfficiencyModifierDelegate
path: ../TinyLife/Objects/Person.cs
startLine: 2389
startLine: 2398
assemblies:
- Tiny Life
namespace: TinyLife.Objects

View file

@ -19,7 +19,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: PassiveActionPriorityDelegate
path: ../TinyLife/Objects/Person.cs
startLine: 2399
startLine: 2408
assemblies:
- Tiny Life
namespace: TinyLife.Objects

View file

@ -29,7 +29,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Pose
path: ../TinyLife/Objects/Person.cs
startLine: 2411
startLine: 2423
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -65,7 +65,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Standing
path: ../TinyLife/Objects/Person.cs
startLine: 2416
startLine: 2428
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -99,7 +99,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Walking
path: ../TinyLife/Objects/Person.cs
startLine: 2420
startLine: 2432
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -133,7 +133,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Sitting
path: ../TinyLife/Objects/Person.cs
startLine: 2424
startLine: 2436
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -167,7 +167,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Laying
path: ../TinyLife/Objects/Person.cs
startLine: 2429
startLine: 2441
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -201,7 +201,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SittingGround
path: ../TinyLife/Objects/Person.cs
startLine: 2434
startLine: 2446
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -235,7 +235,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: WorkingStanding
path: ../TinyLife/Objects/Person.cs
startLine: 2438
startLine: 2450
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -269,7 +269,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: WorkingSitting
path: ../TinyLife/Objects/Person.cs
startLine: 2442
startLine: 2454
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -303,7 +303,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: WorkingSittingGround
path: ../TinyLife/Objects/Person.cs
startLine: 2446
startLine: 2458
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -337,7 +337,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Running
path: ../TinyLife/Objects/Person.cs
startLine: 2450
startLine: 2462
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -371,7 +371,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: StandingArmsOut
path: ../TinyLife/Objects/Person.cs
startLine: 2454
startLine: 2466
assemblies:
- Tiny Life
namespace: TinyLife.Objects

View file

@ -19,10 +19,12 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: RestoreNeedDelegate
path: ../TinyLife/Objects/Person.cs
startLine: 2406
startLine: 2418
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: "\nA delegate used for <xref href=\"TinyLife.Objects.Person.OnRestoreNeed\" data-throw-if-not-resolved=\"false\"></xref>.\n"
example: []
syntax:
content: public delegate void RestoreNeedDelegate(NeedType type, ref float amount, float speedMultiplier);
parameters:
@ -42,6 +44,9 @@ items:
- Public
- Delegate
references:
- uid: TinyLife.Objects.Person.OnRestoreNeed
commentId: E:TinyLife.Objects.Person.OnRestoreNeed
isExternal: true
- uid: TinyLife.Objects
commentId: N:TinyLife.Objects
name: TinyLife.Objects

View file

@ -19,7 +19,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: WalkSpeedDelegate
path: ../TinyLife/Objects/Person.cs
startLine: 2394
startLine: 2403
assemblies:
- Tiny Life
namespace: TinyLife.Objects

View file

@ -2834,10 +2834,12 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnRestoreNeed
path: ../TinyLife/Objects/Person.cs
startLine: 444
startLine: 449
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: "\nAn event that is invoked in <xref href=\"TinyLife.Objects.Person.RestoreNeed(TinyLife.NeedType%2cSystem.Single%2cTinyLife.Actions.ActionInfo%2cSystem.Single)\" data-throw-if-not-resolved=\"false\"></xref>.\nThis event allows modifying the amount that a need is restored by based on custom factors.\nThis event can be subscribed to using <xref href=\"TinyLife.Objects.MapObject.OnEventsAttachable\" data-throw-if-not-resolved=\"false\"></xref>.\n"
example: []
syntax:
content: public event Person.RestoreNeedDelegate OnRestoreNeed
return:
@ -2865,7 +2867,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Objects/Person.cs
startLine: 483
startLine: 488
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2904,7 +2906,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Finalize
path: ../TinyLife/Objects/Person.cs
startLine: 500
startLine: 505
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2935,7 +2937,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Update
path: ../TinyLife/Objects/Person.cs
startLine: 505
startLine: 510
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2979,7 +2981,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Draw
path: ../TinyLife/Objects/Person.cs
startLine: 745
startLine: 750
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -3029,7 +3031,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Validate
path: ../TinyLife/Objects/Person.cs
startLine: 810
startLine: 815
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -3067,7 +3069,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetCategories
path: ../TinyLife/Objects/Person.cs
startLine: 845
startLine: 850
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -3109,7 +3111,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Intersects
path: ../TinyLife/Objects/Person.cs
startLine: 850
startLine: 855
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -3151,7 +3153,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetHoverInfo
path: ../TinyLife/Objects/Person.cs
startLine: 855
startLine: 860
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -3190,7 +3192,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetFreeActionSpotInfo
path: ../TinyLife/Objects/Person.cs
startLine: 875
startLine: 880
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -3235,7 +3237,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnCameraRotationChanged
path: ../TinyLife/Objects/Person.cs
startLine: 888
startLine: 893
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -3277,7 +3279,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FocusCameraOnEvent
path: ../TinyLife/Objects/Person.cs
startLine: 896
startLine: 901
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -3309,7 +3311,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SetJob
path: ../TinyLife/Objects/Person.cs
startLine: 910
startLine: 915
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -3348,7 +3350,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ResetToStatic
path: ../TinyLife/Objects/Person.cs
startLine: 921
startLine: 926
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -3384,7 +3386,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: PrepareForPermanentRemoval
path: ../TinyLife/Objects/Person.cs
startLine: 971
startLine: 976
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -3416,7 +3418,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: VisitLot
path: ../TinyLife/Objects/Person.cs
startLine: 985
startLine: 990
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -3452,7 +3454,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DrawUi
path: ../TinyLife/Objects/Person.cs
startLine: 1001
startLine: 1006
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -3497,7 +3499,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetHomeLocation
path: ../TinyLife/Objects/Person.cs
startLine: 1009
startLine: 1014
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -3532,7 +3534,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetRelationship
path: ../TinyLife/Objects/Person.cs
startLine: 1020
startLine: 1025
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -3574,7 +3576,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ChangeFriendship
path: ../TinyLife/Objects/Person.cs
startLine: 1043
startLine: 1048
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -3613,7 +3615,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ChangeRomance
path: ../TinyLife/Objects/Person.cs
startLine: 1087
startLine: 1092
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -3652,7 +3654,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DisplayEmote
path: ../TinyLife/Objects/Person.cs
startLine: 1111
startLine: 1116
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -3694,7 +3696,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: StopEmoting
path: ../TinyLife/Objects/Person.cs
startLine: 1121
startLine: 1126
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -3726,7 +3728,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Speak
path: ../TinyLife/Objects/Person.cs
startLine: 1132
startLine: 1137
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -3768,7 +3770,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: StopSpeaking
path: ../TinyLife/Objects/Person.cs
startLine: 1142
startLine: 1147
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -3800,7 +3802,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DisplayEmoteAndSpeak
path: ../TinyLife/Objects/Person.cs
startLine: 1159
startLine: 1164
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -3845,7 +3847,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetFreeTalkingSpots
path: ../TinyLife/Objects/Person.cs
startLine: 1168
startLine: 1173
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -3883,7 +3885,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OccupyActionSpot
path: ../TinyLife/Objects/Person.cs
startLine: 1186
startLine: 1191
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -3931,7 +3933,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OccupyFreeActionSpot
path: ../TinyLife/Objects/Person.cs
startLine: 1204
startLine: 1209
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -3982,7 +3984,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OccupyFreeActionSpot
path: ../TinyLife/Objects/Person.cs
startLine: 1221
startLine: 1226
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -4033,7 +4035,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: IsCloseForTalking
path: ../TinyLife/Objects/Person.cs
startLine: 1232
startLine: 1237
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -4072,7 +4074,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetNeed
path: ../TinyLife/Objects/Person.cs
startLine: 1244
startLine: 1249
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -4111,7 +4113,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetNeedPercentage
path: ../TinyLife/Objects/Person.cs
startLine: 1253
startLine: 1258
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -4150,7 +4152,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: RestoreNeed
path: ../TinyLife/Objects/Person.cs
startLine: 1264
startLine: 1270
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -4167,6 +4169,7 @@ items:
description: The amount to restore this need by
- id: info
type: TinyLife.Actions.ActionInfo
description: The action info of the action that is causing the need to be restored. Can be null if the need is not being restored by an action.
- id: speedMultiplier
type: System.Single
description: The game speed multiplier, which represents how fast things should happen, which is usually determined by <xref href="TinyLife.GameImpl.Speed" data-throw-if-not-resolved="false"></xref>
@ -4194,7 +4197,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: RestoreNeed
path: ../TinyLife/Objects/Person.cs
startLine: 1297
startLine: 1304
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -4211,6 +4214,7 @@ items:
description: The maximum amount to restore this need by.
- id: info
type: TinyLife.Actions.ActionInfo
description: The action info of the action that is causing the need to be restored. Can be null if the need is not being restored by an action.
- id: requiredSkill
type: TinyLife.Skills.SkillType
description: The skill required to restore the given need.
@ -4241,7 +4245,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetSkillPercentage
path: ../TinyLife/Objects/Person.cs
startLine: 1308
startLine: 1315
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -4280,7 +4284,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetSkillLevel
path: ../TinyLife/Objects/Person.cs
startLine: 1318
startLine: 1325
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -4319,7 +4323,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: HasSkillLevel
path: ../TinyLife/Objects/Person.cs
startLine: 1328
startLine: 1335
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -4361,7 +4365,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GainSkill
path: ../TinyLife/Objects/Person.cs
startLine: 1340
startLine: 1347
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -4406,7 +4410,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DepleteNeed
path: ../TinyLife/Objects/Person.cs
startLine: 1356
startLine: 1363
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -4448,7 +4452,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: HasPersonality
path: ../TinyLife/Objects/Person.cs
startLine: 1367
startLine: 1374
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -4487,7 +4491,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: EnqueueAction
path: ../TinyLife/Objects/Person.cs
startLine: 1381
startLine: 1388
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -4541,7 +4545,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CancelAction
path: ../TinyLife/Objects/Person.cs
startLine: 1416
startLine: 1423
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -4586,7 +4590,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FindPathAsync
path: ../TinyLife/Objects/Person.cs
startLine: 1436
startLine: 1443
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -4637,7 +4641,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetHeldObject
path: ../TinyLife/Objects/Person.cs
startLine: 1446
startLine: 1453
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -4680,7 +4684,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SetHeldObject
path: ../TinyLife/Objects/Person.cs
startLine: 1458
startLine: 1465
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -4733,7 +4737,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SetHeldObject
path: ../TinyLife/Objects/Person.cs
startLine: 1472
startLine: 1479
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -4769,7 +4773,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetHeldActionInfo
path: ../TinyLife/Objects/Person.cs
startLine: 1485
startLine: 1492
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -4804,7 +4808,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ToCreatedByString
path: ../TinyLife/Objects/Person.cs
startLine: 1493
startLine: 1500
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -4839,7 +4843,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Die
path: ../TinyLife/Objects/Person.cs
startLine: 1503
startLine: 1510
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -4878,7 +4882,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AddEmotion
path: ../TinyLife/Objects/Person.cs
startLine: 1567
startLine: 1576
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -4929,7 +4933,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: RemoveEmotion
path: ../TinyLife/Objects/Person.cs
startLine: 1589
startLine: 1598
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -4968,7 +4972,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: LowerEmotion
path: ../TinyLife/Objects/Person.cs
startLine: 1610
startLine: 1619
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -5013,7 +5017,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: LowerEmotionModifier
path: ../TinyLife/Objects/Person.cs
startLine: 1629
startLine: 1638
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -5058,7 +5062,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: HasEmotionModifier
path: ../TinyLife/Objects/Person.cs
startLine: 1645
startLine: 1654
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -5097,7 +5101,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetWalkSpeed
path: ../TinyLife/Objects/Person.cs
startLine: 1654
startLine: 1663
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -5132,7 +5136,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetEfficiencyModifier
path: ../TinyLife/Objects/Person.cs
startLine: 1680
startLine: 1689
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -5180,7 +5184,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: HasHouseholdMember
path: ../TinyLife/Objects/Person.cs
startLine: 1728
startLine: 1737
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -5219,7 +5223,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: HasHouseholdMember
path: ../TinyLife/Objects/Person.cs
startLine: 1733
startLine: 1742
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -5257,7 +5261,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetProjects
path: ../TinyLife/Objects/Person.cs
startLine: 1743
startLine: 1752
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -5296,7 +5300,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetProject
path: ../TinyLife/Objects/Person.cs
startLine: 1753
startLine: 1762
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -5338,7 +5342,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: StartProject
path: ../TinyLife/Objects/Person.cs
startLine: 1762
startLine: 1771
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -5377,7 +5381,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetPassiveActionPriority
path: ../TinyLife/Objects/Person.cs
startLine: 1774
startLine: 1783
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -5416,7 +5420,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetRandomOutfit
path: ../TinyLife/Objects/Person.cs
startLine: 1796
startLine: 1805
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -5455,7 +5459,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SetCurrentOutfit
path: ../TinyLife/Objects/Person.cs
startLine: 1808
startLine: 1817
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -5494,7 +5498,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SetCurrentOutfit
path: ../TinyLife/Objects/Person.cs
startLine: 1824
startLine: 1833
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -5530,7 +5534,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SetNewId
path: ../TinyLife/Objects/Person.cs
startLine: 1840
startLine: 1849
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -5575,7 +5579,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: IsIdMatch
path: ../TinyLife/Objects/Person.cs
startLine: 1881
startLine: 1890
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -5614,7 +5618,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: IsIdMatch
path: ../TinyLife/Objects/Person.cs
startLine: 1891
startLine: 1900
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -5653,7 +5657,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetPersonalitySkillBoost
path: ../TinyLife/Objects/Person.cs
startLine: 1901
startLine: 1910
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -5692,7 +5696,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetCurrentGoals
path: ../TinyLife/Objects/Person.cs
startLine: 1922
startLine: 1931
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -5727,7 +5731,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: EarnMoney
path: ../TinyLife/Objects/Person.cs
startLine: 1938
startLine: 1947
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -5766,7 +5770,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AddMemory
path: ../TinyLife/Objects/Person.cs
startLine: 1950
startLine: 1959
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -5814,7 +5818,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetMemories
path: ../TinyLife/Objects/Person.cs
startLine: 1963
startLine: 1972
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -5853,7 +5857,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetTimeSinceMemory
path: ../TinyLife/Objects/Person.cs
startLine: 1973
startLine: 1982
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -5892,7 +5896,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetRandomSpeakSound
path: ../TinyLife/Objects/Person.cs
startLine: 2328
startLine: 2337
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -9740,6 +9744,9 @@ references:
- name: )
nameWithType: )
fullName: )
- uid: TinyLife.Objects.Person.RestoreNeed(TinyLife.NeedType,System.Single,TinyLife.Actions.ActionInfo,System.Single)
commentId: M:TinyLife.Objects.Person.RestoreNeed(TinyLife.NeedType,System.Single,TinyLife.Actions.ActionInfo,System.Single)
isExternal: true
- uid: TinyLife.Objects.Person.RestoreNeedDelegate
commentId: T:TinyLife.Objects.Person.RestoreNeedDelegate
parent: TinyLife.Objects

View file

@ -35,7 +35,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SpeakStyle
path: ../TinyLife/Objects/Person.cs
startLine: 2533
startLine: 2545
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -80,7 +80,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Affirmative
path: ../TinyLife/Objects/Person.cs
startLine: 2537
startLine: 2549
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -112,7 +112,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Angry
path: ../TinyLife/Objects/Person.cs
startLine: 2538
startLine: 2550
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -144,7 +144,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Annoyed
path: ../TinyLife/Objects/Person.cs
startLine: 2539
startLine: 2551
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -176,7 +176,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Bored
path: ../TinyLife/Objects/Person.cs
startLine: 2540
startLine: 2552
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -208,7 +208,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Childish
path: ../TinyLife/Objects/Person.cs
startLine: 2541
startLine: 2553
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -240,7 +240,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Confident
path: ../TinyLife/Objects/Person.cs
startLine: 2542
startLine: 2554
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -272,7 +272,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Confused
path: ../TinyLife/Objects/Person.cs
startLine: 2543
startLine: 2555
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -304,7 +304,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Disagreeing
path: ../TinyLife/Objects/Person.cs
startLine: 2544
startLine: 2556
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -336,7 +336,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Excited
path: ../TinyLife/Objects/Person.cs
startLine: 2545
startLine: 2557
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -368,7 +368,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Happy
path: ../TinyLife/Objects/Person.cs
startLine: 2546
startLine: 2558
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -400,7 +400,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Neutral
path: ../TinyLife/Objects/Person.cs
startLine: 2547
startLine: 2559
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -432,7 +432,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Questioning
path: ../TinyLife/Objects/Person.cs
startLine: 2548
startLine: 2560
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -464,7 +464,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Sad
path: ../TinyLife/Objects/Person.cs
startLine: 2549
startLine: 2561
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -496,7 +496,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Scared
path: ../TinyLife/Objects/Person.cs
startLine: 2550
startLine: 2562
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -528,7 +528,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Shocked
path: ../TinyLife/Objects/Person.cs
startLine: 2551
startLine: 2563
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -560,7 +560,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Thinking
path: ../TinyLife/Objects/Person.cs
startLine: 2552
startLine: 2564
assemblies:
- Tiny Life
namespace: TinyLife.Objects

View file

@ -22,7 +22,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Visibility
path: ../TinyLife/Objects/MapObject.cs
startLine: 581
startLine: 592
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -57,7 +57,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: WhenVisible
path: ../TinyLife/Objects/MapObject.cs
startLine: 586
startLine: 597
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -91,7 +91,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: WhenVisibleExt
path: ../TinyLife/Objects/MapObject.cs
startLine: 590
startLine: 601
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -125,7 +125,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: HideZoomedOut
path: ../TinyLife/Objects/MapObject.cs
startLine: 594
startLine: 605
assemblies:
- Tiny Life
namespace: TinyLife.Objects

View file

@ -22,7 +22,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: VoiceStyle
path: ../TinyLife/Objects/Person.cs
startLine: 2561
startLine: 2573
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -57,7 +57,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Low
path: ../TinyLife/Objects/Person.cs
startLine: 2564
startLine: 2576
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -89,7 +89,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: High
path: ../TinyLife/Objects/Person.cs
startLine: 2565
startLine: 2577
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -121,7 +121,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Child
path: ../TinyLife/Objects/Person.cs
startLine: 2566
startLine: 2578
assemblies:
- Tiny Life
namespace: TinyLife.Objects

View file

@ -26,7 +26,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SaveHandler
path: ../TinyLife/SaveHandler.cs
startLine: 20
startLine: 19
assemblies:
- Tiny Life
namespace: TinyLife
@ -70,7 +70,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnGameSaved
path: ../TinyLife/SaveHandler.cs
startLine: 25
startLine: 24
assemblies:
- Tiny Life
namespace: TinyLife
@ -105,7 +105,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnGameLoaded
path: ../TinyLife/SaveHandler.cs
startLine: 29
startLine: 28
assemblies:
- Tiny Life
namespace: TinyLife
@ -140,7 +140,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetGameDir
path: ../TinyLife/SaveHandler.cs
startLine: 36
startLine: 35
assemblies:
- Tiny Life
namespace: TinyLife
@ -177,7 +177,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetSavesDir
path: ../TinyLife/SaveHandler.cs
startLine: 48
startLine: 47
assemblies:
- Tiny Life
namespace: TinyLife
@ -214,7 +214,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetSaveDir
path: ../TinyLife/SaveHandler.cs
startLine: 58
startLine: 57
assemblies:
- Tiny Life
namespace: TinyLife
@ -255,7 +255,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CreateSerializerSettings
path: ../TinyLife/SaveHandler.cs
startLine: 68
startLine: 67
assemblies:
- Tiny Life
namespace: TinyLife
@ -299,7 +299,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CreateSerializer
path: ../TinyLife/SaveHandler.cs
startLine: 89
startLine: 88
assemblies:
- Tiny Life
namespace: TinyLife

View file

@ -28,7 +28,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ContainerType
path: ../TinyLife/Skills/FoodType.cs
startLine: 430
startLine: 469
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -73,7 +73,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Plate
path: ../TinyLife/Skills/FoodType.cs
startLine: 435
startLine: 474
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -110,7 +110,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Glass
path: ../TinyLife/Skills/FoodType.cs
startLine: 442
startLine: 481
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -147,7 +147,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Mug
path: ../TinyLife/Skills/FoodType.cs
startLine: 449
startLine: 488
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -184,7 +184,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Name
path: ../TinyLife/Skills/FoodType.cs
startLine: 457
startLine: 496
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -219,7 +219,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: IsDrink
path: ../TinyLife/Skills/FoodType.cs
startLine: 461
startLine: 500
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -254,7 +254,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Skills/FoodType.cs
startLine: 475
startLine: 514
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -305,7 +305,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetFilled
path: ../TinyLife/Skills/FoodType.cs
startLine: 488
startLine: 527
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -346,7 +346,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetEmpty
path: ../TinyLife/Skills/FoodType.cs
startLine: 496
startLine: 535
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -383,7 +383,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetTexture
path: ../TinyLife/Skills/FoodType.cs
startLine: 505
startLine: 544
assemblies:
- Tiny Life
namespace: TinyLife.Skills

View file

@ -23,16 +23,28 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FoodIntolerance
path: ../TinyLife/Skills/FoodType.cs
startLine: 511
startLine: 554
assemblies:
- Tiny Life
namespace: TinyLife.Skills
summary: "\nA flag enumeration that represents a set of food intolerances for a <xref href=\"TinyLife.Skills.FoodType\" data-throw-if-not-resolved=\"false\"></xref>, which determines what food can be eaten by a <xref href=\"TinyLife.Objects.Person\" data-throw-if-not-resolved=\"false\"></xref> based on their <xref href=\"TinyLife.PersonalityType\" data-throw-if-not-resolved=\"false\"></xref>.\nSee <xref href=\"TinyLife.Utilities.Extensions.GetPersonality(TinyLife.Skills.FoodType.FoodIntolerance%2cTinyLife.Objects.Person)\" data-throw-if-not-resolved=\"false\"></xref> to retrieve matching personalities.\n"
example: []
syntax:
content: public enum FoodIntolerance
content.vb: Public Enum FoodIntolerance
content: >-
[Flags]
public enum FoodIntolerance
content.vb: >-
<Flags>
Public Enum FoodIntolerance
extensionMethods:
- TinyLife.Skills.FoodType.FoodIntolerance.TinyLife.Utilities.Extensions.JsonCopy``1
- TinyLife.Skills.FoodType.FoodIntolerance.TinyLife.Utilities.Extensions.GetPersonality(TinyLife.Objects.Person)
attributes:
- type: System.FlagsAttribute
ctor: System.FlagsAttribute.#ctor
arguments: []
modifiers.csharp:
- public
- enum
@ -57,10 +69,12 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: None
path: ../TinyLife/Skills/FoodType.cs
startLine: 513
startLine: 560
assemblies:
- Tiny Life
namespace: TinyLife.Skills
summary: "\nNo food intolerance.\n"
example: []
syntax:
content: None = 0
return:
@ -89,10 +103,12 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: NotVegan
path: ../TinyLife/Skills/FoodType.cs
startLine: 514
startLine: 564
assemblies:
- Tiny Life
namespace: TinyLife.Skills
summary: "\nA food intolerance representing a food item that is not vegan.\n"
example: []
syntax:
content: NotVegan = 1
return:
@ -121,10 +137,12 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: NotVegetarian
path: ../TinyLife/Skills/FoodType.cs
startLine: 515
startLine: 568
assemblies:
- Tiny Life
namespace: TinyLife.Skills
summary: "\nA food intolerance representing a food item that is not vegetarian, which also includes the <xref href=\"TinyLife.Skills.FoodType.FoodIntolerance.NotVegan\" data-throw-if-not-resolved=\"false\"></xref> flag.\n"
example: []
syntax:
content: NotVegetarian = 3
return:
@ -153,10 +171,12 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: NotPescetarian
path: ../TinyLife/Skills/FoodType.cs
startLine: 516
startLine: 572
assemblies:
- Tiny Life
namespace: TinyLife.Skills
summary: "\nA food intolerance representing a food item that is not pescetarian, which also includes the <xref href=\"TinyLife.Skills.FoodType.FoodIntolerance.NotVegetarian\" data-throw-if-not-resolved=\"false\"></xref> (and thus, <xref href=\"TinyLife.Skills.FoodType.FoodIntolerance.NotVegan\" data-throw-if-not-resolved=\"false\"></xref>) flag.\n"
example: []
syntax:
content: NotPescetarian = 7
return:
@ -168,6 +188,73 @@ items:
- Public
- Const
references:
- uid: TinyLife.Skills.FoodType
commentId: T:TinyLife.Skills.FoodType
parent: TinyLife.Skills
name: FoodType
nameWithType: FoodType
fullName: TinyLife.Skills.FoodType
- uid: TinyLife.Objects.Person
commentId: T:TinyLife.Objects.Person
parent: TinyLife.Objects
name: Person
nameWithType: Person
fullName: TinyLife.Objects.Person
- uid: TinyLife.PersonalityType
commentId: T:TinyLife.PersonalityType
parent: TinyLife
name: PersonalityType
nameWithType: PersonalityType
fullName: TinyLife.PersonalityType
- uid: TinyLife.Utilities.Extensions.GetPersonality(TinyLife.Skills.FoodType.FoodIntolerance,TinyLife.Objects.Person)
commentId: M:TinyLife.Utilities.Extensions.GetPersonality(TinyLife.Skills.FoodType.FoodIntolerance,TinyLife.Objects.Person)
name: GetPersonality(FoodType.FoodIntolerance, Person)
nameWithType: Extensions.GetPersonality(FoodType.FoodIntolerance, Person)
fullName: TinyLife.Utilities.Extensions.GetPersonality(TinyLife.Skills.FoodType.FoodIntolerance, TinyLife.Objects.Person)
spec.csharp:
- uid: TinyLife.Utilities.Extensions.GetPersonality(TinyLife.Skills.FoodType.FoodIntolerance,TinyLife.Objects.Person)
name: GetPersonality
nameWithType: Extensions.GetPersonality
fullName: TinyLife.Utilities.Extensions.GetPersonality
- name: (
nameWithType: (
fullName: (
- uid: TinyLife.Skills.FoodType.FoodIntolerance
name: FoodType.FoodIntolerance
nameWithType: FoodType.FoodIntolerance
fullName: TinyLife.Skills.FoodType.FoodIntolerance
- name: ', '
nameWithType: ', '
fullName: ', '
- uid: TinyLife.Objects.Person
name: Person
nameWithType: Person
fullName: TinyLife.Objects.Person
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.GetPersonality(TinyLife.Skills.FoodType.FoodIntolerance,TinyLife.Objects.Person)
name: GetPersonality
nameWithType: Extensions.GetPersonality
fullName: TinyLife.Utilities.Extensions.GetPersonality
- name: (
nameWithType: (
fullName: (
- uid: TinyLife.Skills.FoodType.FoodIntolerance
name: FoodType.FoodIntolerance
nameWithType: FoodType.FoodIntolerance
fullName: TinyLife.Skills.FoodType.FoodIntolerance
- name: ', '
nameWithType: ', '
fullName: ', '
- uid: TinyLife.Objects.Person
name: Person
nameWithType: Person
fullName: TinyLife.Objects.Person
- name: )
nameWithType: )
fullName: )
- uid: TinyLife.Skills
commentId: N:TinyLife.Skills
name: TinyLife.Skills
@ -242,6 +329,16 @@ references:
- name: )
nameWithType: )
fullName: )
- uid: TinyLife.Objects
commentId: N:TinyLife.Objects
name: TinyLife.Objects
nameWithType: TinyLife.Objects
fullName: TinyLife.Objects
- uid: TinyLife
commentId: N:TinyLife
name: TinyLife
nameWithType: TinyLife
fullName: TinyLife
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
commentId: M:TinyLife.Utilities.Extensions.JsonCopy``1(``0)
name: JsonCopy<T>(T)
@ -284,55 +381,6 @@ references:
name: Extensions
nameWithType: Extensions
fullName: TinyLife.Utilities.Extensions
- uid: TinyLife.Utilities.Extensions.GetPersonality(TinyLife.Skills.FoodType.FoodIntolerance,TinyLife.Objects.Person)
commentId: M:TinyLife.Utilities.Extensions.GetPersonality(TinyLife.Skills.FoodType.FoodIntolerance,TinyLife.Objects.Person)
name: GetPersonality(FoodType.FoodIntolerance, Person)
nameWithType: Extensions.GetPersonality(FoodType.FoodIntolerance, Person)
fullName: TinyLife.Utilities.Extensions.GetPersonality(TinyLife.Skills.FoodType.FoodIntolerance, TinyLife.Objects.Person)
spec.csharp:
- uid: TinyLife.Utilities.Extensions.GetPersonality(TinyLife.Skills.FoodType.FoodIntolerance,TinyLife.Objects.Person)
name: GetPersonality
nameWithType: Extensions.GetPersonality
fullName: TinyLife.Utilities.Extensions.GetPersonality
- name: (
nameWithType: (
fullName: (
- uid: TinyLife.Skills.FoodType.FoodIntolerance
name: FoodType.FoodIntolerance
nameWithType: FoodType.FoodIntolerance
fullName: TinyLife.Skills.FoodType.FoodIntolerance
- name: ', '
nameWithType: ', '
fullName: ', '
- uid: TinyLife.Objects.Person
name: Person
nameWithType: Person
fullName: TinyLife.Objects.Person
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.GetPersonality(TinyLife.Skills.FoodType.FoodIntolerance,TinyLife.Objects.Person)
name: GetPersonality
nameWithType: Extensions.GetPersonality
fullName: TinyLife.Utilities.Extensions.GetPersonality
- name: (
nameWithType: (
fullName: (
- uid: TinyLife.Skills.FoodType.FoodIntolerance
name: FoodType.FoodIntolerance
nameWithType: FoodType.FoodIntolerance
fullName: TinyLife.Skills.FoodType.FoodIntolerance
- name: ', '
nameWithType: ', '
fullName: ', '
- uid: TinyLife.Objects.Person
name: Person
nameWithType: Person
fullName: TinyLife.Objects.Person
- name: )
nameWithType: )
fullName: )
- uid: TinyLife.Utilities
commentId: N:TinyLife.Utilities
name: TinyLife.Utilities
@ -344,3 +392,9 @@ references:
name: FoodType.FoodIntolerance
nameWithType: FoodType.FoodIntolerance
fullName: TinyLife.Skills.FoodType.FoodIntolerance
- uid: TinyLife.Skills.FoodType.FoodIntolerance.NotVegan
commentId: F:TinyLife.Skills.FoodType.FoodIntolerance.NotVegan
isExternal: true
- uid: TinyLife.Skills.FoodType.FoodIntolerance.NotVegetarian
commentId: F:TinyLife.Skills.FoodType.FoodIntolerance.NotVegetarian
isExternal: true

View file

@ -30,7 +30,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: IngredientSource
path: ../TinyLife/Skills/FoodType.cs
startLine: 369
startLine: 408
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -75,7 +75,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Fridge
path: ../TinyLife/Skills/FoodType.cs
startLine: 374
startLine: 413
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -112,7 +112,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ProteinShakeMaker
path: ../TinyLife/Skills/FoodType.cs
startLine: 378
startLine: 417
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -149,7 +149,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Barbecue
path: ../TinyLife/Skills/FoodType.cs
startLine: 382
startLine: 421
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -186,7 +186,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ChildStove
path: ../TinyLife/Skills/FoodType.cs
startLine: 386
startLine: 425
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -223,7 +223,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CoffeeMachine
path: ../TinyLife/Skills/FoodType.cs
startLine: 390
startLine: 429
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -260,7 +260,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Sink
path: ../TinyLife/Skills/FoodType.cs
startLine: 394
startLine: 433
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -297,7 +297,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CafeDisplayCase
path: ../TinyLife/Skills/FoodType.cs
startLine: 398
startLine: 437
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -334,7 +334,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Name
path: ../TinyLife/Skills/FoodType.cs
startLine: 403
startLine: 442
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -369,7 +369,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Container
path: ../TinyLife/Skills/FoodType.cs
startLine: 407
startLine: 446
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -404,7 +404,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnEaten
path: ../TinyLife/Skills/FoodType.cs
startLine: 413
startLine: 452
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -441,7 +441,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Skills/FoodType.cs
startLine: 420
startLine: 459
assemblies:
- Tiny Life
namespace: TinyLife.Skills

View file

@ -47,7 +47,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FoodType
path: ../TinyLife/Skills/FoodType.cs
startLine: 38
startLine: 37
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -98,7 +98,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Types
path: ../TinyLife/Skills/FoodType.cs
startLine: 45
startLine: 44
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -135,10 +135,12 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AllIntolerances
path: ../TinyLife/Skills/FoodType.cs
startLine: 46
startLine: 48
assemblies:
- Tiny Life
namespace: TinyLife.Skills
summary: "\nAll of the defined <xref href=\"TinyLife.Skills.FoodType.FoodIntolerance\" data-throw-if-not-resolved=\"false\"></xref> flag values.\n"
example: []
syntax:
content: public static readonly FoodType.FoodIntolerance[] AllIntolerances
return:
@ -170,7 +172,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnFoodEaten
path: ../TinyLife/Skills/FoodType.cs
startLine: 55
startLine: 57
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -205,7 +207,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Name
path: ../TinyLife/Skills/FoodType.cs
startLine: 129
startLine: 131
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -240,7 +242,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: RequiredCookingLevel
path: ../TinyLife/Skills/FoodType.cs
startLine: 133
startLine: 135
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -275,7 +277,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Price
path: ../TinyLife/Skills/FoodType.cs
startLine: 137
startLine: 139
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -310,7 +312,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FoodAmount
path: ../TinyLife/Skills/FoodType.cs
startLine: 143
startLine: 145
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -345,7 +347,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Color
path: ../TinyLife/Skills/FoodType.cs
startLine: 147
startLine: 149
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -380,7 +382,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Sources
path: ../TinyLife/Skills/FoodType.cs
startLine: 151
startLine: 153
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -415,10 +417,12 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Intolerances
path: ../TinyLife/Skills/FoodType.cs
startLine: 152
startLine: 157
assemblies:
- Tiny Life
namespace: TinyLife.Skills
summary: "\nA set of <xref href=\"TinyLife.Skills.FoodType.FoodIntolerance\" data-throw-if-not-resolved=\"false\"></xref> flags that determine what things this food item contains that people might be intolerant to.\n"
example: []
syntax:
content: public readonly FoodType.FoodIntolerance Intolerances
return:
@ -448,7 +452,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: NeedsCooking
path: ../TinyLife/Skills/FoodType.cs
startLine: 158
startLine: 163
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -485,7 +489,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Container
path: ../TinyLife/Skills/FoodType.cs
startLine: 162
startLine: 167
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -522,7 +526,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnEaten
path: ../TinyLife/Skills/FoodType.cs
startLine: 168
startLine: 173
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -559,11 +563,11 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CanEatFunc
path: ../TinyLife/Skills/FoodType.cs
startLine: 173
startLine: 178
assemblies:
- Tiny Life
namespace: TinyLife.Skills
summary: "\nAn optional <xref href=\"TinyLife.Actions.ActionType.CanExecuteDelegate\" data-throw-if-not-resolved=\"false\"></xref> that allows passing additional conditions to <xref href=\"TinyLife.Skills.FoodType.CanEat(TinyLife.Objects.Person%2cTinyLife.Objects.FoodTypedItem%2cSystem.Boolean)\" data-throw-if-not-resolved=\"false\"></xref>.\nIf this is null, which is also the default value, no additional checks are done in <xref href=\"TinyLife.Skills.FoodType.CanEat(TinyLife.Objects.Person%2cTinyLife.Objects.FoodTypedItem%2cSystem.Boolean)\" data-throw-if-not-resolved=\"false\"></xref>.\n"
summary: "\nAn optional <xref href=\"TinyLife.Actions.ActionType.CanExecuteDelegate\" data-throw-if-not-resolved=\"false\"></xref>-style function that allows passing additional conditions to <xref href=\"TinyLife.Skills.FoodType.CanEat(TinyLife.Objects.Person%2cTinyLife.Objects.FoodTypedItem%2cSystem.Boolean)\" data-throw-if-not-resolved=\"false\"></xref>.\nIf this is null, which is also the default value, no additional checks are done in <xref href=\"TinyLife.Skills.FoodType.CanEat(TinyLife.Objects.Person%2cTinyLife.Objects.FoodTypedItem%2cSystem.Boolean)\" data-throw-if-not-resolved=\"false\"></xref>.\n"
example: []
syntax:
content: public Func<(Person Person, FoodTypedItem Food, bool Automatic), CanExecuteResult> CanEatFunc { get; set; }
@ -596,10 +600,12 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CanCreateFunc
path: ../TinyLife/Skills/FoodType.cs
startLine: 174
startLine: 183
assemblies:
- Tiny Life
namespace: TinyLife.Skills
summary: "\nAn optional <xref href=\"TinyLife.Actions.ActionType.CanExecuteDelegate\" data-throw-if-not-resolved=\"false\"></xref>-style function that allows passing additional conditions to <xref href=\"TinyLife.Skills.FoodType.CanCreate(TinyLife.Actions.ActionInfo%2cSystem.Boolean%2cSystem.Int32%2cSystem.Single)\" data-throw-if-not-resolved=\"false\"></xref>.\nIf this is null, which is the default value, no additional checks are done in <xref href=\"TinyLife.Skills.FoodType.CanCreate(TinyLife.Actions.ActionInfo%2cSystem.Boolean%2cSystem.Int32%2cSystem.Single)\" data-throw-if-not-resolved=\"false\"></xref>.\n"
example: []
syntax:
content: public Func<(ActionInfo Info, bool Automatic, int ServingSize, float PriceMarkup), CanExecuteResult> CanCreateFunc { get; set; }
parameters: []
@ -631,7 +637,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DisplayName
path: ../TinyLife/Skills/FoodType.cs
startLine: 178
startLine: 187
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -668,7 +674,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Texture
path: ../TinyLife/Skills/FoodType.cs
startLine: 182
startLine: 191
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -705,32 +711,33 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Skills/FoodType.cs
startLine: 193
startLine: 203
assemblies:
- Tiny Life
namespace: TinyLife.Skills
summary: "\nCreates a new food type with the given settings\n"
summary: "\nCreates a new food type with the given settings.\n"
example: []
syntax:
content: public FoodType(string name, int requiredCookingLevel, int price, int foodAmount, FoodType.FoodIntolerance intolerances, FoodType.IngredientSource source = null, Color? color = null)
parameters:
- id: name
type: System.String
description: The food type&apos;s name
description: The food type&apos;s name.
- id: requiredCookingLevel
type: System.Int32
description: The required cooking skill level
description: The required cooking skill level.
- id: price
type: System.Int32
description: The price to prepare this food type
description: The price to prepare this food type.
- id: foodAmount
type: System.Int32
description: The amount of food points that this food gives
description: The amount of food points that this food gives.
- id: intolerances
type: TinyLife.Skills.FoodType.FoodIntolerance
description: A set of <xref href="TinyLife.Skills.FoodType.FoodIntolerance" data-throw-if-not-resolved="false"></xref> flags that determine what things this food item contains that people might be intolerant to.
- id: source
type: TinyLife.Skills.FoodType.IngredientSource
description: The <xref href="TinyLife.Skills.FoodType.IngredientSource" data-throw-if-not-resolved="false"></xref> that this food type can be created in, defaults to <xref href="TinyLife.Skills.FoodType.IngredientSource.Fridge" data-throw-if-not-resolved="false"></xref>
description: The <xref href="TinyLife.Skills.FoodType.IngredientSource" data-throw-if-not-resolved="false"></xref> that this food type can be created in, defaults to <xref href="TinyLife.Skills.FoodType.IngredientSource.Fridge" data-throw-if-not-resolved="false"></xref>.
- id: color
type: System.Nullable{Microsoft.Xna.Framework.Color}
description: The color that this food type should display with, or <xref uid="langword_csharp_null" name="null" href=""></xref> to use <xref href="Microsoft.Xna.Framework.Color.White" data-throw-if-not-resolved="false"></xref>.
@ -761,7 +768,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetPrice
path: ../TinyLife/Skills/FoodType.cs
startLine: 209
startLine: 219
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -800,7 +807,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Construct
path: ../TinyLife/Skills/FoodType.cs
startLine: 224
startLine: 234
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -860,7 +867,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ConstructUnfinished
path: ../TinyLife/Skills/FoodType.cs
startLine: 244
startLine: 254
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -920,21 +927,27 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CanEat
path: ../TinyLife/Skills/FoodType.cs
startLine: 253
startLine: 271
assemblies:
- Tiny Life
namespace: TinyLife.Skills
summary: "\nReturns a <xref href=\"TinyLife.Actions.CanExecuteResult\" data-throw-if-not-resolved=\"false\"></xref> indicating whether a <xref href=\"TinyLife.Objects.FoodTypedItem\" data-throw-if-not-resolved=\"false\"></xref> that has this food type can currently be eaten.\nThis method also invokes <xref href=\"TinyLife.Skills.FoodType.CanEatFunc\" data-throw-if-not-resolved=\"false\"></xref> and checks for matching <xref href=\"TinyLife.Skills.FoodType.Intolerances\" data-throw-if-not-resolved=\"false\"></xref>.\n"
example: []
syntax:
content: public CanExecuteResult CanEat(Person person, FoodTypedItem food, bool automatic)
parameters:
- id: person
type: TinyLife.Objects.Person
description: The person trying to eat this food item.
- id: food
type: TinyLife.Objects.FoodTypedItem
description: The food item.
- id: automatic
type: System.Boolean
description: Whether the action is invoked automatically.
return:
type: TinyLife.Actions.CanExecuteResult
description: A <xref href="TinyLife.Actions.CanExecuteResult" data-throw-if-not-resolved="false"></xref> indicating whether this food item can be eaten.
content.vb: Public Function CanEat(person As Person, food As FoodTypedItem, automatic As Boolean) As CanExecuteResult
overload: TinyLife.Skills.FoodType.CanEat*
modifiers.csharp:
@ -959,23 +972,30 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CanCreate
path: ../TinyLife/Skills/FoodType.cs
startLine: 263
startLine: 290
assemblies:
- Tiny Life
namespace: TinyLife.Skills
summary: "\nReturns a <xref href=\"TinyLife.Actions.CanExecuteResult\" data-throw-if-not-resolved=\"false\"></xref> indicating whether an item with this food type can be created in some way.\nThis method also invokes <xref href=\"TinyLife.Skills.FoodType.CanCreateFunc\" data-throw-if-not-resolved=\"false\"></xref>, checks against the <xref href=\"TinyLife.Skills.FoodType.Price\" data-throw-if-not-resolved=\"false\"></xref> and checks for a stove if <xref href=\"TinyLife.Skills.FoodType.NeedsCooking\" data-throw-if-not-resolved=\"false\"></xref> is true.\n"
example: []
syntax:
content: public CanExecuteResult CanCreate(ActionInfo info, bool automatic, int servingSize, float priceMarkup)
parameters:
- id: info
type: TinyLife.Actions.ActionInfo
description: The action info.
- id: automatic
type: System.Boolean
description: Whether the action is invoked automatically.
- id: servingSize
type: System.Int32
description: The serving size that is being created.
- id: priceMarkup
type: System.Single
description: A price markup that the <xref href="TinyLife.Skills.FoodType.Price" data-throw-if-not-resolved="false"></xref> should be multiplied with.
return:
type: TinyLife.Actions.CanExecuteResult
description: A <xref href="TinyLife.Actions.CanExecuteResult" data-throw-if-not-resolved="false"></xref> indicating whether this food item can be created.
content.vb: Public Function CanCreate(info As ActionInfo, automatic As Boolean, servingSize As Integer, priceMarkup As Single) As CanExecuteResult
overload: TinyLife.Skills.FoodType.CanCreate*
modifiers.csharp:
@ -1000,17 +1020,21 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetIntolerancesDescription
path: ../TinyLife/Skills/FoodType.cs
startLine: 277
startLine: 310
assemblies:
- Tiny Life
namespace: TinyLife.Skills
summary: "\nReturns a set of strings that describe this food item&apos;s <xref href=\"TinyLife.Skills.FoodType.Intolerances\" data-throw-if-not-resolved=\"false\"></xref>.\nIf this item has no intolerances, no strings are returned.\n"
example: []
syntax:
content: public IEnumerable<string> GetIntolerancesDescription(bool includeIcon = true)
parameters:
- id: includeIcon
type: System.Boolean
description: Whether the intolerances&apos; icons should be included.
return:
type: System.Collections.Generic.IEnumerable{System.String}
description: A set of strings that describe this food item&apos;s <xref href="TinyLife.Skills.FoodType.Intolerances" data-throw-if-not-resolved="false"></xref>.
content.vb: Public Function GetIntolerancesDescription(includeIcon As Boolean = True) As IEnumerable(Of String)
overload: TinyLife.Skills.FoodType.GetIntolerancesDescription*
modifiers.csharp:
@ -1035,17 +1059,21 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: InvokeOnEaten
path: ../TinyLife/Skills/FoodType.cs
startLine: 286
startLine: 325
assemblies:
- Tiny Life
namespace: TinyLife.Skills
summary: "\nInvokes this food type&apos;s <xref href=\"TinyLife.Skills.FoodType.OnEaten\" data-throw-if-not-resolved=\"false\"></xref> event, as well as this <xref href=\"TinyLife.Skills.FoodType.Sources\" data-throw-if-not-resolved=\"false\"></xref>&apos; <xref href=\"TinyLife.Skills.FoodType.IngredientSource.OnEaten\" data-throw-if-not-resolved=\"false\"></xref> events.\nThis method should be called when this item is consumed, but is automatically called in <xref href=\"TinyLife.Actions.ActionType.Eat\" data-throw-if-not-resolved=\"false\"></xref>.\n"
example: []
syntax:
content: public void InvokeOnEaten(Action action, FoodTypedItem food)
parameters:
- id: action
type: TinyLife.Actions.Action
description: The eat action.
- id: food
type: TinyLife.Objects.FoodTypedItem
description: The food item being eaten.
content.vb: Public Sub InvokeOnEaten(action As Action, food As FoodTypedItem)
overload: TinyLife.Skills.FoodType.InvokeOnEaten*
modifiers.csharp:
@ -1070,7 +1098,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Register
path: ../TinyLife/Skills/FoodType.cs
startLine: 309
startLine: 348
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -1108,7 +1136,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetActions
path: ../TinyLife/Skills/FoodType.cs
startLine: 322
startLine: 361
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -1158,7 +1186,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetAllContainers
path: ../TinyLife/Skills/FoodType.cs
startLine: 347
startLine: 386
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -1700,6 +1728,12 @@ references:
name: System.Collections.ObjectModel
nameWithType: System.Collections.ObjectModel
fullName: System.Collections.ObjectModel
- uid: TinyLife.Skills.FoodType.FoodIntolerance
commentId: T:TinyLife.Skills.FoodType.FoodIntolerance
parent: TinyLife.Skills
name: FoodType.FoodIntolerance
nameWithType: FoodType.FoodIntolerance
fullName: TinyLife.Skills.FoodType.FoodIntolerance
- uid: TinyLife.Skills.FoodType.FoodIntolerance[]
isExternal: true
name: FoodType.FoodIntolerance[]
@ -2000,12 +2034,6 @@ references:
name: System.Collections.Generic
nameWithType: System.Collections.Generic
fullName: System.Collections.Generic
- uid: TinyLife.Skills.FoodType.FoodIntolerance
commentId: T:TinyLife.Skills.FoodType.FoodIntolerance
parent: TinyLife.Skills
name: FoodType.FoodIntolerance
nameWithType: FoodType.FoodIntolerance
fullName: TinyLife.Skills.FoodType.FoodIntolerance
- uid: TinyLife.Skills.FoodType.GetActions(System.Int32,TinyLife.Skills.FoodType.IngredientSource,System.Boolean,System.Single)
commentId: M:TinyLife.Skills.FoodType.GetActions(System.Int32,TinyLife.Skills.FoodType.IngredientSource,System.Boolean,System.Single)
isExternal: true
@ -2314,6 +2342,9 @@ references:
- name: )
nameWithType: )
fullName: )
- uid: TinyLife.Skills.FoodType.CanCreate(TinyLife.Actions.ActionInfo,System.Boolean,System.Int32,System.Single)
commentId: M:TinyLife.Skills.FoodType.CanCreate(TinyLife.Actions.ActionInfo,System.Boolean,System.Int32,System.Single)
isExternal: true
- uid: TinyLife.Skills.FoodType.CanCreateFunc*
commentId: Overload:TinyLife.Skills.FoodType.CanCreateFunc
name: CanCreateFunc
@ -2763,17 +2794,32 @@ references:
name: ConstructUnfinished
nameWithType: FoodType.ConstructUnfinished
fullName: TinyLife.Skills.FoodType.ConstructUnfinished
- uid: TinyLife.Skills.FoodType.CanEat*
commentId: Overload:TinyLife.Skills.FoodType.CanEat
name: CanEat
nameWithType: FoodType.CanEat
fullName: TinyLife.Skills.FoodType.CanEat
- uid: TinyLife.Actions.CanExecuteResult
commentId: T:TinyLife.Actions.CanExecuteResult
parent: TinyLife.Actions
name: CanExecuteResult
nameWithType: CanExecuteResult
fullName: TinyLife.Actions.CanExecuteResult
- uid: TinyLife.Skills.FoodType.CanEatFunc
commentId: P:TinyLife.Skills.FoodType.CanEatFunc
isExternal: true
- uid: TinyLife.Skills.FoodType.Intolerances
commentId: F:TinyLife.Skills.FoodType.Intolerances
isExternal: true
- uid: TinyLife.Skills.FoodType.CanEat*
commentId: Overload:TinyLife.Skills.FoodType.CanEat
name: CanEat
nameWithType: FoodType.CanEat
fullName: TinyLife.Skills.FoodType.CanEat
- uid: TinyLife.Skills.FoodType.CanCreateFunc
commentId: P:TinyLife.Skills.FoodType.CanCreateFunc
isExternal: true
- uid: TinyLife.Skills.FoodType.Price
commentId: F:TinyLife.Skills.FoodType.Price
isExternal: true
- uid: TinyLife.Skills.FoodType.NeedsCooking
commentId: P:TinyLife.Skills.FoodType.NeedsCooking
isExternal: true
- uid: TinyLife.Skills.FoodType.CanCreate*
commentId: Overload:TinyLife.Skills.FoodType.CanCreate
name: CanCreate
@ -2873,6 +2919,15 @@ references:
- name: )
nameWithType: )
fullName: )
- uid: TinyLife.Skills.FoodType.Sources
commentId: F:TinyLife.Skills.FoodType.Sources
isExternal: true
- uid: TinyLife.Skills.FoodType.IngredientSource.OnEaten
commentId: P:TinyLife.Skills.FoodType.IngredientSource.OnEaten
isExternal: true
- uid: TinyLife.Actions.ActionType.Eat
commentId: F:TinyLife.Actions.ActionType.Eat
isExternal: true
- uid: TinyLife.Skills.FoodType.InvokeOnEaten*
commentId: Overload:TinyLife.Skills.FoodType.InvokeOnEaten
name: InvokeOnEaten
@ -2886,9 +2941,6 @@ references:
- uid: TinyLife.Skills.FoodType.GetPrice(System.Int32)
commentId: M:TinyLife.Skills.FoodType.GetPrice(System.Int32)
isExternal: true
- uid: TinyLife.Skills.FoodType.NeedsCooking
commentId: P:TinyLife.Skills.FoodType.NeedsCooking
isExternal: true
- uid: TinyLife.Skills.FoodType.GetActions*
commentId: Overload:TinyLife.Skills.FoodType.GetActions
name: GetActions

View file

@ -1640,19 +1640,24 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetPersonality
path: ../TinyLife/Utilities/Extensions.cs
startLine: 562
startLine: 569
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
summary: "\nReturns the <xref href=\"TinyLife.PersonalityType\" data-throw-if-not-resolved=\"false\"></xref> that matches the given <xref href=\"TinyLife.Skills.FoodType.FoodIntolerance\" data-throw-if-not-resolved=\"false\"></xref> flag. If multiple values are set, the personality that is considered most important is returned.\nIf the <code data-dev-comment-type=\"paramref\" class=\"paramref\">person</code> is set, a personality will only be returned if the person has it.\n"
example: []
syntax:
content: public static PersonalityType GetPersonality(this FoodType.FoodIntolerance intolerance, Person person = null)
parameters:
- id: intolerance
type: TinyLife.Skills.FoodType.FoodIntolerance
description: The intolerance whose personality to return.
- id: person
type: TinyLife.Objects.Person
description: The person who needs to have the personality for it to be returned. If this is null, the most important personality is always returned.
return:
type: TinyLife.PersonalityType
description: The matching personality for the given food intolerance flag.
content.vb: >-
<ExtensionAttribute>
@ -2644,20 +2649,20 @@ references:
name: MLEM.Input
nameWithType: MLEM.Input
fullName: MLEM.Input
- uid: TinyLife.Utilities.Extensions.GetPersonality*
commentId: Overload:TinyLife.Utilities.Extensions.GetPersonality
name: GetPersonality
nameWithType: Extensions.GetPersonality
fullName: TinyLife.Utilities.Extensions.GetPersonality
- uid: TinyLife.Skills.FoodType.FoodIntolerance
commentId: T:TinyLife.Skills.FoodType.FoodIntolerance
parent: TinyLife.Skills
name: FoodType.FoodIntolerance
nameWithType: FoodType.FoodIntolerance
fullName: TinyLife.Skills.FoodType.FoodIntolerance
- uid: TinyLife.PersonalityType
commentId: T:TinyLife.PersonalityType
parent: TinyLife
name: PersonalityType
nameWithType: PersonalityType
fullName: TinyLife.PersonalityType
- uid: TinyLife.Skills.FoodType.FoodIntolerance
commentId: T:TinyLife.Skills.FoodType.FoodIntolerance
parent: TinyLife.Skills
name: FoodType.FoodIntolerance
nameWithType: FoodType.FoodIntolerance
fullName: TinyLife.Skills.FoodType.FoodIntolerance
- uid: TinyLife.Utilities.Extensions.GetPersonality*
commentId: Overload:TinyLife.Utilities.Extensions.GetPersonality
name: GetPersonality
nameWithType: Extensions.GetPersonality
fullName: TinyLife.Utilities.Extensions.GetPersonality

View file

@ -25,7 +25,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Instance
path: ../TinyLife/World/LotEmployment.cs
startLine: 201
startLine: 205
assemblies:
- Tiny Life
namespace: TinyLife.World
@ -80,7 +80,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Lot
path: ../TinyLife/World/LotEmployment.cs
startLine: 207
startLine: 211
assemblies:
- Tiny Life
namespace: TinyLife.World
@ -117,7 +117,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Type
path: ../TinyLife/World/LotEmployment.cs
startLine: 211
startLine: 215
assemblies:
- Tiny Life
namespace: TinyLife.World
@ -154,7 +154,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SetManually
path: ../TinyLife/World/LotEmployment.cs
startLine: 224
startLine: 228
assemblies:
- Tiny Life
namespace: TinyLife.World
@ -201,7 +201,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/World/LotEmployment.cs
startLine: 245
startLine: 249
assemblies:
- Tiny Life
namespace: TinyLife.World
@ -246,7 +246,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Validate
path: ../TinyLife/World/LotEmployment.cs
startLine: 258
startLine: 262
assemblies:
- Tiny Life
namespace: TinyLife.World
@ -285,7 +285,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ShouldWorkRightNow
path: ../TinyLife/World/LotEmployment.cs
startLine: 268
startLine: 272
assemblies:
- Tiny Life
namespace: TinyLife.World

View file

@ -252,10 +252,12 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: IdleObjects
path: ../TinyLife/World/LotEmployment.cs
startLine: 59
startLine: 63
assemblies:
- Tiny Life
namespace: TinyLife.World
summary: "\nA set of <xref href=\"TinyLife.Objects.ObjectCategory\" data-throw-if-not-resolved=\"false\"></xref> flags that represent the item types that a person with this lot employment will idle around if they have nothing else to do.\nIf this is set to a non-<xref href=\"TinyLife.Objects.ObjectCategory.Nothing\" data-throw-if-not-resolved=\"false\"></xref> category, people with this lot employment will automatically enqueue the <xref href=\"TinyLife.Actions.ActionType.LotEmploymentIdle\" data-throw-if-not-resolved=\"false\"></xref> action if there is nothing else to do currently.\n"
example: []
syntax:
content: public ObjectCategory IdleObjects { get; set; }
parameters: []
@ -287,7 +289,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/World/LotEmployment.cs
startLine: 67
startLine: 71
assemblies:
- Tiny Life
namespace: TinyLife.World
@ -332,7 +334,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetCurrentPerson
path: ../TinyLife/World/LotEmployment.cs
startLine: 81
startLine: 85
assemblies:
- Tiny Life
namespace: TinyLife.World
@ -374,7 +376,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SetCurrentPerson
path: ../TinyLife/World/LotEmployment.cs
startLine: 94
startLine: 98
assemblies:
- Tiny Life
namespace: TinyLife.World
@ -1217,17 +1219,20 @@ references:
- name: )
nameWithType: )
fullName: )
- uid: TinyLife.World.LotEmployment.IdleObjects*
commentId: Overload:TinyLife.World.LotEmployment.IdleObjects
name: IdleObjects
nameWithType: LotEmployment.IdleObjects
fullName: TinyLife.World.LotEmployment.IdleObjects
- uid: TinyLife.Objects.ObjectCategory
commentId: T:TinyLife.Objects.ObjectCategory
parent: TinyLife.Objects
name: ObjectCategory
nameWithType: ObjectCategory
fullName: TinyLife.Objects.ObjectCategory
- uid: TinyLife.Actions.ActionType.LotEmploymentIdle
commentId: F:TinyLife.Actions.ActionType.LotEmploymentIdle
isExternal: true
- uid: TinyLife.World.LotEmployment.IdleObjects*
commentId: Overload:TinyLife.World.LotEmployment.IdleObjects
name: IdleObjects
nameWithType: LotEmployment.IdleObjects
fullName: TinyLife.World.LotEmployment.IdleObjects
- uid: TinyLife.World.LotEmployment.#ctor*
commentId: Overload:TinyLife.World.LotEmployment.#ctor
name: LotEmployment

View file

@ -669,14 +669,17 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetCenterBottomPos
path: ../TinyLife/World/Wall.cs
startLine: 160
startLine: 164
assemblies:
- Tiny Life
namespace: TinyLife.World
summary: "\nReturns the bottom-center position of this wall in world space, based on the <xref href=\"TinyLife.World.Wall.GetPositionForCamera\" data-throw-if-not-resolved=\"false\"></xref> position.\n"
example: []
syntax:
content: public Vector2 GetCenterBottomPos()
return:
type: Microsoft.Xna.Framework.Vector2
description: The bottom-center position of this wall in world space.
content.vb: Public Function GetCenterBottomPos As Vector2
overload: TinyLife.World.Wall.GetCenterBottomPos*
modifiers.csharp:
@ -701,7 +704,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: IsVerticalForCamera
path: ../TinyLife/World/Wall.cs
startLine: 177
startLine: 181
assemblies:
- Tiny Life
namespace: TinyLife.World
@ -736,7 +739,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetPrice
path: ../TinyLife/World/Wall.cs
startLine: 185
startLine: 189
assemblies:
- Tiny Life
namespace: TinyLife.World
@ -773,7 +776,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Validate
path: ../TinyLife/World/Wall.cs
startLine: 193
startLine: 197
assemblies:
- Tiny Life
namespace: TinyLife.World
@ -811,7 +814,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetFreeActionSpotInfo
path: ../TinyLife/World/Wall.cs
startLine: 208
startLine: 212
assemblies:
- Tiny Life
namespace: TinyLife.World
@ -1674,6 +1677,9 @@ references:
name: Point
nameWithType: Point
fullName: Microsoft.Xna.Framework.Point
- uid: TinyLife.World.Wall.GetPositionForCamera
commentId: M:TinyLife.World.Wall.GetPositionForCamera
isExternal: true
- uid: TinyLife.World.Wall.GetCenterBottomPos*
commentId: Overload:TinyLife.World.Wall.GetCenterBottomPos
name: GetCenterBottomPos

View file

@ -376,10 +376,12 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: NarrowWideTop
path: ../TinyLife/World/WallMode.cs
startLine: 54
startLine: 57
assemblies:
- Tiny Life
namespace: TinyLife.World
summary: "\nA bathroom-style window that is high up on the wall and wide but not very tall.\n"
example: []
syntax:
content: public static readonly WallMode NarrowWideTop
return:
@ -411,10 +413,12 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: NarrowLong
path: ../TinyLife/World/WallMode.cs
startLine: 55
startLine: 61
assemblies:
- Tiny Life
namespace: TinyLife.World
summary: "\nA long window with a very low width and the same length as <xref href=\"TinyLife.World.WallMode.LongWindow\" data-throw-if-not-resolved=\"false\"></xref>.\n"
example: []
syntax:
content: public static readonly WallMode NarrowLong
return:
@ -446,7 +450,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: MaskTexture
path: ../TinyLife/World/WallMode.cs
startLine: 61
startLine: 67
assemblies:
- Tiny Life
namespace: TinyLife.World
@ -481,7 +485,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: MaskPosition
path: ../TinyLife/World/WallMode.cs
startLine: 66
startLine: 72
assemblies:
- Tiny Life
namespace: TinyLife.World
@ -516,7 +520,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/World/WallMode.cs
startLine: 75
startLine: 81
assemblies:
- Tiny Life
namespace: TinyLife.World
@ -555,7 +559,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OffsetTextureRegion
path: ../TinyLife/World/WallMode.cs
startLine: 87
startLine: 93
assemblies:
- Tiny Life
namespace: TinyLife.World
@ -600,7 +604,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Register
path: ../TinyLife/World/WallMode.cs
startLine: 101
startLine: 107
assemblies:
- Tiny Life
namespace: TinyLife.World
@ -641,7 +645,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ApplyMasks
path: ../TinyLife/World/WallMode.cs
startLine: 116
startLine: 122
assemblies:
- Tiny Life
namespace: TinyLife.World
@ -1175,6 +1179,9 @@ references:
- uid: TinyLife.World.WallMode.SmallWindow
commentId: F:TinyLife.World.WallMode.SmallWindow
isExternal: true
- uid: TinyLife.World.WallMode.LongWindow
commentId: F:TinyLife.World.WallMode.LongWindow
isExternal: true
- uid: TinyLife.World.Wallpaper
commentId: T:TinyLife.World.Wallpaper
parent: TinyLife.World