Compare commits

..

No commits in common. "c3d80716a91c0d9f631b351d096dccf6f10e4cfc" and "c8a5d105069b51c605a673db6a754a84c49b5d32" have entirely different histories.

49 changed files with 664 additions and 1713 deletions

View file

@ -1,12 +1,7 @@
on:
pull_request:
types: [opened, synchronize, reopened, closed]
push:
on: [push, pull_request]
jobs:
web:
runs-on: ubuntu-latest
permissions:
pull-requests: write # allow surge-preview to create/update PR comments
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/web/Gemfile
steps:
@ -22,15 +17,6 @@ jobs:
bundler-cache: true
- name: Build
run: cd web && bundle exec jekyll build
- name: Preview
if: github.event_name == 'pull_request'
uses: afc163/surge-preview@v1
with:
surge_token: ${{ secrets.SURGE_TOKEN }}
dist: web/_site
teardown: true
build: echo # see https://github.com/afc163/surge-preview/issues/231
# this is a beautiful way to deploy a website and i will not take any criticism
- name: Deploy
@ -42,8 +28,6 @@ jobs:
docs:
runs-on: ubuntu-latest
permissions:
pull-requests: write # allow surge-preview to create/update PR comments
steps:
- name: Clone repository
uses: actions/checkout@v4
@ -56,15 +40,6 @@ jobs:
dotnet-version: 7.0.305
- name: Build
run: cd docs && dotnet tool restore && dotnet docfx
- name: Preview
if: github.event_name == 'pull_request'
uses: afc163/surge-preview@v1
with:
surge_token: ${{ secrets.SURGE_TOKEN }}
dist: docs/_site
teardown: true
build: echo # see https://github.com/afc163/surge-preview/issues/231
# this is a beautiful way to deploy a website and i will not take any criticism
- name: Deploy

View file

@ -1,17 +1,3 @@
# 0.39.1
*February 4, 2024*
Improvements
- Display a roadmap information box about household selection area colors
Fixes
- Fixed the MonoGame About link in the credits
- Fixed mods not being able to register actions correctly
API
- Reverted static constructor game content loading change from 0.39.0
- Added code documentation for changes since 0.38.0
# 0.39.0
*February 2, 2024*

View file

@ -782,6 +782,10 @@
"TinyLife.Actions.PutAwayAction.AndThenIsCompleted": "TinyLife.Actions.PutAwayAction.yml",
"TinyLife.Actions.PutAwayAction.CreateFirstActions": "TinyLife.Actions.PutAwayAction.yml",
"TinyLife.Actions.PutAwayAction.Items": "TinyLife.Actions.PutAwayAction.yml",
"TinyLife.Actions.ResearchUpgradesAction": "TinyLife.Actions.ResearchUpgradesAction.yml",
"TinyLife.Actions.ResearchUpgradesAction.#ctor(TinyLife.Actions.ActionType,TinyLife.Actions.ActionInfo)": "TinyLife.Actions.ResearchUpgradesAction.yml",
"TinyLife.Actions.ResearchUpgradesAction.AndThenIsCompleted": "TinyLife.Actions.ResearchUpgradesAction.yml",
"TinyLife.Actions.ResearchUpgradesAction.AndThenOnCompleted(TinyLife.Actions.CompletionType)": "TinyLife.Actions.ResearchUpgradesAction.yml",
"TinyLife.Actions.SellAction": "TinyLife.Actions.SellAction.yml",
"TinyLife.Actions.SellAction.AndThenInitialize": "TinyLife.Actions.SellAction.yml",
"TinyLife.Actions.SellAction.AndThenIsCompleted": "TinyLife.Actions.SellAction.yml",
@ -897,6 +901,15 @@
"TinyLife.Actions.TryGoHereAction.PositionsToTry": "TinyLife.Actions.TryGoHereAction.yml",
"TinyLife.Actions.TryGoHereAction.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)": "TinyLife.Actions.TryGoHereAction.yml",
"TinyLife.Actions.TryGoHereAction.Validate(TinyLife.Objects.Person)": "TinyLife.Actions.TryGoHereAction.yml",
"TinyLife.Actions.UpgradeFurnitureAction": "TinyLife.Actions.UpgradeFurnitureAction.yml",
"TinyLife.Actions.UpgradeFurnitureAction.#ctor(TinyLife.Actions.ActionType,TinyLife.Actions.ActionInfo,TinyLife.Objects.Upgrade)": "TinyLife.Actions.UpgradeFurnitureAction.yml",
"TinyLife.Actions.UpgradeFurnitureAction.AndThenInitialize": "TinyLife.Actions.UpgradeFurnitureAction.yml",
"TinyLife.Actions.UpgradeFurnitureAction.AndThenIsCompleted": "TinyLife.Actions.UpgradeFurnitureAction.yml",
"TinyLife.Actions.UpgradeFurnitureAction.AndThenOnCompleted(TinyLife.Actions.CompletionType)": "TinyLife.Actions.UpgradeFurnitureAction.yml",
"TinyLife.Actions.UpgradeFurnitureAction.AndThenUpdate(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)": "TinyLife.Actions.UpgradeFurnitureAction.yml",
"TinyLife.Actions.UpgradeFurnitureAction.CreateFirstActions": "TinyLife.Actions.UpgradeFurnitureAction.yml",
"TinyLife.Actions.UpgradeFurnitureAction.GetArguments(TinyLife.Actions.ActionInfo,System.Boolean)": "TinyLife.Actions.UpgradeFurnitureAction.yml",
"TinyLife.Actions.UpgradeFurnitureAction.GetProgress": "TinyLife.Actions.UpgradeFurnitureAction.yml",
"TinyLife.Actions.WalkAction": "TinyLife.Actions.WalkAction.yml",
"TinyLife.Actions.WalkAction.#ctor(TinyLife.Actions.ActionInfo)": "TinyLife.Actions.WalkAction.yml",
"TinyLife.Actions.WalkAction.DrainEnergy": "TinyLife.Actions.WalkAction.yml",
@ -2290,7 +2303,7 @@
"TinyLife.Objects.Newspaper.GetDescription(System.Collections.Generic.List{System.String},System.Boolean)": "TinyLife.Objects.Newspaper.yml",
"TinyLife.Objects.Newspaper.IsExpired": "TinyLife.Objects.Newspaper.yml",
"TinyLife.Objects.ObjectCategory": "TinyLife.Objects.ObjectCategory.yml",
"TinyLife.Objects.ObjectCategory.#ctor(System.String,System.Numerics.BigInteger,System.Boolean)": "TinyLife.Objects.ObjectCategory.yml",
"TinyLife.Objects.ObjectCategory.#ctor(System.String,System.Numerics.BigInteger)": "TinyLife.Objects.ObjectCategory.yml",
"TinyLife.Objects.ObjectCategory.AllowedOnWater": "TinyLife.Objects.ObjectCategory.yml",
"TinyLife.Objects.ObjectCategory.BabyBathtub": "TinyLife.Objects.ObjectCategory.yml",
"TinyLife.Objects.ObjectCategory.BabySittable": "TinyLife.Objects.ObjectCategory.yml",

View file

@ -1290,7 +1290,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OpenPlayerPrompt
path: ../TinyLife/Actions/Action.cs
startLine: 330
startLine: 329
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -1324,7 +1324,6 @@ items:
description: The portrait to display. If this is null, the <xref href="TinyLife.Actions.Action.Person" data-throw-if-not-resolved="false"></xref>'s portrait is used.
- id: panelWidth
type: System.Single
description: The width of the displayed panel. Defaults to 100.
return:
type: TinyLife.Uis.CoveringGroup
content.vb: Public Function OpenPlayerPrompt(title As String, canFinish As Predicate(Of Panel), onFinished As Action(Of Panel), canExit As Boolean, addChildren As Action(Of CoveringGroup, Panel), portrait As TextureRegion = Nothing, panelWidth As Single = 100) As CoveringGroup
@ -1354,7 +1353,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OpenYesNoPrompt
path: ../TinyLife/Actions/Action.cs
startLine: 365
startLine: 364
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -1405,7 +1404,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OpenTextPrompt
path: ../TinyLife/Actions/Action.cs
startLine: 393
startLine: 392
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -1460,7 +1459,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OpenChoicePrompt
path: ../TinyLife/Actions/Action.cs
startLine: 406
startLine: 405
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -1495,7 +1494,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SpeakAlone
path: ../TinyLife/Actions/Action.cs
startLine: 427
startLine: 426
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -1560,7 +1559,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ThinkAlone
path: ../TinyLife/Actions/Action.cs
startLine: 444
startLine: 443
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -1622,7 +1621,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SpeakInConversation
path: ../TinyLife/Actions/Action.cs
startLine: 465
startLine: 464
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -1696,7 +1695,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ResetSpeech
path: ../TinyLife/Actions/Action.cs
startLine: 474
startLine: 473
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -1724,7 +1723,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FacePartner
path: ../TinyLife/Actions/Action.cs
startLine: 486
startLine: 485
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -1761,7 +1760,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CompleteIfNeedFull
path: ../TinyLife/Actions/Action.cs
startLine: 501
startLine: 500
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -1799,7 +1798,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CompleteIfTimeUp
path: ../TinyLife/Actions/Action.cs
startLine: 515
startLine: 514
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -1852,7 +1851,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CancelIfEmotional
path: ../TinyLife/Actions/Action.cs
startLine: 529
startLine: 528
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -1894,7 +1893,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Sit
path: ../TinyLife/Actions/Action.cs
startLine: 545
startLine: 544
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -1945,7 +1944,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetChildren
path: ../TinyLife/Actions/Action.cs
startLine: 561
startLine: 560
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -1986,7 +1985,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetChild
path: ../TinyLife/Actions/Action.cs
startLine: 578
startLine: 577
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -2033,7 +2032,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: PickUpAndGoTo
path: ../TinyLife/Actions/Action.cs
startLine: 620
startLine: 619
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -2083,7 +2082,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: PickUpAndGoTo
path: ../TinyLife/Actions/Action.cs
startLine: 633
startLine: 632
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -2133,7 +2132,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetFreeChair
path: ../TinyLife/Actions/Action.cs
startLine: 670
startLine: 669
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -2176,7 +2175,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetFreeChairs
path: ../TinyLife/Actions/Action.cs
startLine: 687
startLine: 686
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -2225,7 +2224,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetSeatCategory
path: ../TinyLife/Actions/Action.cs
startLine: 707
startLine: 706
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -2263,7 +2262,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FindAllFreePeople
path: ../TinyLife/Actions/Action.cs
startLine: 724
startLine: 723
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -2325,7 +2324,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FindAllFreeFurniture
path: ../TinyLife/Actions/Action.cs
startLine: 751
startLine: 750
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -2390,7 +2389,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FindAllFreeWalls
path: ../TinyLife/Actions/Action.cs
startLine: 771
startLine: 770
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -2445,7 +2444,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FindAllFreeGround
path: ../TinyLife/Actions/Action.cs
startLine: 790
startLine: 789
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -2498,7 +2497,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FindFreeFurniture
path: ../TinyLife/Actions/Action.cs
startLine: 812
startLine: 811
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -2557,7 +2556,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FindAllActionObjects
path: ../TinyLife/Actions/Action.cs
startLine: 826
startLine: 825
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -2604,7 +2603,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FindValidActionObjects
path: ../TinyLife/Actions/Action.cs
startLine: 865
startLine: 864
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -2663,7 +2662,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetRandomValidArguments
path: ../TinyLife/Actions/Action.cs
startLine: 882
startLine: 881
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -2707,7 +2706,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetTableSpot
path: ../TinyLife/Actions/Action.cs
startLine: 910
startLine: 909
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -2748,7 +2747,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: InvokeForBoth
path: ../TinyLife/Actions/Action.cs
startLine: 923
startLine: 922
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -2789,7 +2788,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CanMultitask
path: ../TinyLife/Actions/Action.cs
startLine: 935
startLine: 934
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -2830,7 +2829,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: IsInappropriate
path: ../TinyLife/Actions/Action.cs
startLine: 946
startLine: 945
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -2871,7 +2870,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: IsLotContentVisible
path: ../TinyLife/Actions/Action.cs
startLine: 967
startLine: 966
assemblies:
- Tiny Life
namespace: TinyLife.Actions

View file

@ -27,7 +27,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AiSettings
path: ../TinyLife/Actions/ActionType.cs
startLine: 349
startLine: 345
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -63,7 +63,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SolvedNeeds
path: ../TinyLife/Actions/ActionType.cs
startLine: 357
startLine: 353
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -99,7 +99,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: PassivePriority
path: ../TinyLife/Actions/ActionType.cs
startLine: 365
startLine: 361
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -137,7 +137,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CanDoRandomly
path: ../TinyLife/Actions/ActionType.cs
startLine: 372
startLine: 368
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -173,7 +173,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CanDoAtAnyPoint
path: ../TinyLife/Actions/ActionType.cs
startLine: 379
startLine: 375
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -209,7 +209,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: NeedsFreeActionSpot
path: ../TinyLife/Actions/ActionType.cs
startLine: 385
startLine: 381
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -243,7 +243,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: IgnoreAiDisabled
path: ../TinyLife/Actions/ActionType.cs
startLine: 389
startLine: 385
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -272,7 +272,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: EnqueuePriority
path: ../TinyLife/Actions/ActionType.cs
startLine: 393
startLine: 389
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -301,7 +301,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Actions/ActionType.cs
startLine: 398
startLine: 394
assemblies:
- Tiny Life
namespace: TinyLife.Actions

View file

@ -844,15 +844,10 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: RequiredUpgrade
path: ../TinyLife/Actions/ActionType.cs
startLine: 293
startLine: 289
assemblies:
- Tiny Life
namespace: TinyLife.Actions
summary: >-
The <xref href="TinyLife.Objects.Upgrade" data-throw-if-not-resolved="false"></xref> that is required on the action object for this action to be available.
If the <xref href="TinyLife.Actions.ActionType.TypeSettings.IconName" data-throw-if-not-resolved="false"></xref> is not set, the required upgrade's icon will automatically be used.
example: []
syntax:
content: public Upgrade RequiredUpgrade
return:
@ -876,7 +871,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Actions/ActionType.cs
startLine: 304
startLine: 300
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -917,7 +912,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Actions/ActionType.cs
startLine: 313
startLine: 309
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -948,7 +943,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SetData
path: ../TinyLife/Actions/ActionType.cs
startLine: 324
startLine: 320
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -988,7 +983,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SetData
path: ../TinyLife/Actions/ActionType.cs
startLine: 329
startLine: 325
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -1030,7 +1025,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetData
path: ../TinyLife/Actions/ActionType.cs
startLine: 335
startLine: 331
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -1073,7 +1068,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetDataKeys
path: ../TinyLife/Actions/ActionType.cs
startLine: 340
startLine: 336
assemblies:
- Tiny Life
namespace: TinyLife.Actions

View file

@ -43,6 +43,8 @@ items:
- TinyLife.Actions.Action
- TinyLife.Actions.MultiAction
- TinyLife.Actions.BehaviorAction
derivedClasses:
- TinyLife.Actions.ResearchUpgradesAction
implements:
- MLEM.Misc.IGenericDataHolder
inheritedMembers:

View file

@ -29,7 +29,7 @@ items:
summary: >-
An action behavior that causes an object to be spawned in a <xref href="TinyLife.Objects.Person" data-throw-if-not-resolved="false"></xref>'s hand, or picked up from a location that it is occupying.
Note that a previous item is always discarded using the <xref href="TinyLife.Actions.DiscardHeldItemAction" data-throw-if-not-resolved="false"></xref> action.
Note that a previous item is always discarded using the ActionType.DiscardHeldItem action.
example: []
syntax:
content: 'public class PickUpOrSpawnBehavior : ActionBehavior'
@ -188,12 +188,6 @@ references:
name: Person
nameWithType: Person
fullName: TinyLife.Objects.Person
- uid: TinyLife.Actions.DiscardHeldItemAction
commentId: T:TinyLife.Actions.DiscardHeldItemAction
href: TinyLife.Actions.DiscardHeldItemAction.html
name: DiscardHeldItemAction
nameWithType: DiscardHeldItemAction
fullName: TinyLife.Actions.DiscardHeldItemAction
- uid: TinyLife.Actions.Behaviors
commentId: N:TinyLife.Actions.Behaviors
href: TinyLife.html

View file

@ -23,15 +23,10 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DiscardHeldItemAction
path: ../TinyLife/Actions/DiscardHeldItemAction.cs
startLine: 11
startLine: 7
assemblies:
- Tiny Life
namespace: TinyLife.Actions
summary: >-
A typeless action that can be used to make tinies get rid of the item that they're currently holding before starting their action, using <xref href="TinyLife.Actions.MultiAction" data-throw-if-not-resolved="false"></xref>.
To add custom default ways of discarding an item, they can be added to the <xref href="TinyLife.Actions.DiscardHeldItemAction.DiscardActions" data-throw-if-not-resolved="false"></xref> collection.
example: []
syntax:
content: 'public class DiscardHeldItemAction : MultiAction, IGenericDataHolder'
content.vb: Public Class DiscardHeldItemAction Inherits MultiAction Implements IGenericDataHolder
@ -144,15 +139,10 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DiscardActions
path: ../TinyLife/Actions/DiscardHeldItemAction.cs
startLine: 17
startLine: 9
assemblies:
- Tiny Life
namespace: TinyLife.Actions
summary: >-
The collection of default ways that a tiny will try to discard the item they're currently holding.
The collection is ordered by "priority", so items closer to the start will be attempted first. By default, the last item in the collection is the <xref href="TinyLife.Actions.ActionType.PutDown" data-throw-if-not-resolved="false"></xref> action, which will be tried as a sort of "last resort".
example: []
syntax:
content: public static readonly List<(Func<Person, MapObject, bool> Predicate, Func<Person, MapObject, ActionType> DiscardAction)> DiscardActions
return:
@ -176,7 +166,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Actions/DiscardHeldItemAction.cs
startLine: 25
startLine: 17
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -209,7 +199,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CreateFirstActions
path: ../TinyLife/Actions/DiscardHeldItemAction.cs
startLine: 28
startLine: 20
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -248,7 +238,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AndThenIsCompleted
path: ../TinyLife/Actions/DiscardHeldItemAction.cs
startLine: 50
startLine: 42
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@ -266,19 +256,6 @@ items:
overridden: TinyLife.Actions.MultiAction.AndThenIsCompleted
overload: TinyLife.Actions.DiscardHeldItemAction.AndThenIsCompleted*
references:
- uid: TinyLife.Actions.MultiAction
commentId: T:TinyLife.Actions.MultiAction
parent: TinyLife.Actions
href: TinyLife.Actions.MultiAction.html
name: MultiAction
nameWithType: MultiAction
fullName: TinyLife.Actions.MultiAction
- uid: TinyLife.Actions.DiscardHeldItemAction.DiscardActions
commentId: F:TinyLife.Actions.DiscardHeldItemAction.DiscardActions
href: TinyLife.Actions.DiscardHeldItemAction.html#TinyLife_Actions_DiscardHeldItemAction_DiscardActions
name: DiscardActions
nameWithType: DiscardHeldItemAction.DiscardActions
fullName: TinyLife.Actions.DiscardHeldItemAction.DiscardActions
- uid: TinyLife.Actions
commentId: N:TinyLife.Actions
href: TinyLife.html
@ -326,6 +303,13 @@ references:
name: Action
nameWithType: Action
fullName: TinyLife.Actions.Action
- uid: TinyLife.Actions.MultiAction
commentId: T:TinyLife.Actions.MultiAction
parent: TinyLife.Actions
href: TinyLife.Actions.MultiAction.html
name: MultiAction
nameWithType: MultiAction
fullName: TinyLife.Actions.MultiAction
- uid: MLEM.Misc.IGenericDataHolder
commentId: T:MLEM.Misc.IGenericDataHolder
parent: MLEM.Misc
@ -3971,12 +3955,6 @@ references:
- uid: TinyLife.Utilities
name: Utilities
href: TinyLife.Utilities.html
- uid: TinyLife.Actions.ActionType.PutDown
commentId: F:TinyLife.Actions.ActionType.PutDown
href: TinyLife.Actions.ActionType.html#TinyLife_Actions_ActionType_PutDown
name: PutDown
nameWithType: ActionType.PutDown
fullName: TinyLife.Actions.ActionType.PutDown
- uid: System.Collections.Generic.List{System.ValueTuple{System.Func{TinyLife.Objects.Person,TinyLife.Objects.MapObject,System.Boolean},System.Func{TinyLife.Objects.Person,TinyLife.Objects.MapObject,TinyLife.Actions.ActionType}}}
commentId: T:System.Collections.Generic.List{System.ValueTuple{System.Func{TinyLife.Objects.Person,TinyLife.Objects.MapObject,System.Boolean},System.Func{TinyLife.Objects.Person,TinyLife.Objects.MapObject,TinyLife.Actions.ActionType}}}
parent: System.Collections.Generic

View file

@ -66,6 +66,7 @@ items:
- TinyLife.Actions.SitAction
- TinyLife.Actions.SocialAction
- TinyLife.Actions.StoreAction
- TinyLife.Actions.UpgradeFurnitureAction
- TinyLife.Actions.WatchTvAction
implements:
- MLEM.Misc.IGenericDataHolder

View file

@ -36,6 +36,7 @@ items:
- TinyLife.Actions.PathfindAction
- TinyLife.Actions.PathfindToPersonAction
- TinyLife.Actions.PutAwayAction
- TinyLife.Actions.ResearchUpgradesAction
- TinyLife.Actions.SellAction
- TinyLife.Actions.SitAction
- TinyLife.Actions.SocialAction
@ -46,6 +47,7 @@ items:
- TinyLife.Actions.TalkAction.TalkSettings.EvaluationResult
- TinyLife.Actions.TellPeopleToLeaveRoomAction
- TinyLife.Actions.TryGoHereAction
- TinyLife.Actions.UpgradeFurnitureAction
- TinyLife.Actions.WalkAction
- TinyLife.Actions.WatchTvAction
- TinyLife.Actions.WatchTvAction.Channel
@ -384,6 +386,12 @@ references:
name: PutAwayAction
nameWithType: PutAwayAction
fullName: TinyLife.Actions.PutAwayAction
- uid: TinyLife.Actions.ResearchUpgradesAction
commentId: T:TinyLife.Actions.ResearchUpgradesAction
href: TinyLife.Actions.ResearchUpgradesAction.html
name: ResearchUpgradesAction
nameWithType: ResearchUpgradesAction
fullName: TinyLife.Actions.ResearchUpgradesAction
- uid: TinyLife.Actions.SellAction
commentId: T:TinyLife.Actions.SellAction
href: TinyLife.Actions.SellAction.html
@ -503,6 +511,12 @@ references:
name: TryGoHereAction
nameWithType: TryGoHereAction
fullName: TinyLife.Actions.TryGoHereAction
- uid: TinyLife.Actions.UpgradeFurnitureAction
commentId: T:TinyLife.Actions.UpgradeFurnitureAction
href: TinyLife.Actions.UpgradeFurnitureAction.html
name: UpgradeFurnitureAction
nameWithType: UpgradeFurnitureAction
fullName: TinyLife.Actions.UpgradeFurnitureAction
- uid: TinyLife.Actions.WalkAction
commentId: T:TinyLife.Actions.WalkAction
href: TinyLife.Actions.WalkAction.html

View file

@ -26,7 +26,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GameMode
path: ../TinyLife/GameImpl.cs
startLine: 1194
startLine: 1242
assemblies:
- Tiny Life
namespace: TinyLife
@ -55,7 +55,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: InitialLoad
path: ../TinyLife/GameImpl.cs
startLine: 1197
startLine: 1245
assemblies:
- Tiny Life
namespace: TinyLife
@ -83,7 +83,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Splash
path: ../TinyLife/GameImpl.cs
startLine: 1199
startLine: 1247
assemblies:
- Tiny Life
namespace: TinyLife
@ -111,7 +111,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: MainMenu
path: ../TinyLife/GameImpl.cs
startLine: 1201
startLine: 1249
assemblies:
- Tiny Life
namespace: TinyLife
@ -139,7 +139,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SelectHousehold
path: ../TinyLife/GameImpl.cs
startLine: 1203
startLine: 1251
assemblies:
- Tiny Life
namespace: TinyLife
@ -167,7 +167,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: InGameHousehold
path: ../TinyLife/GameImpl.cs
startLine: 1205
startLine: 1253
assemblies:
- Tiny Life
namespace: TinyLife
@ -195,7 +195,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: BuildOnly
path: ../TinyLife/GameImpl.cs
startLine: 1207
startLine: 1255
assemblies:
- Tiny Life
namespace: TinyLife
@ -223,7 +223,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CharacterCreation
path: ../TinyLife/GameImpl.cs
startLine: 1209
startLine: 1257
assemblies:
- Tiny Life
namespace: TinyLife

View file

@ -24,7 +24,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GameSpeed
path: ../TinyLife/Options.cs
startLine: 616
startLine: 613
assemblies:
- Tiny Life
namespace: TinyLife
@ -56,7 +56,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Paused
path: ../TinyLife/Options.cs
startLine: 621
startLine: 618
assemblies:
- Tiny Life
namespace: TinyLife
@ -84,7 +84,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Regular
path: ../TinyLife/Options.cs
startLine: 625
startLine: 622
assemblies:
- Tiny Life
namespace: TinyLife
@ -112,7 +112,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Fast
path: ../TinyLife/Options.cs
startLine: 629
startLine: 626
assemblies:
- Tiny Life
namespace: TinyLife
@ -140,7 +140,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: VeryFast
path: ../TinyLife/Options.cs
startLine: 633
startLine: 630
assemblies:
- Tiny Life
namespace: TinyLife
@ -168,7 +168,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ExtremelyFast
path: ../TinyLife/Options.cs
startLine: 638
startLine: 635
assemblies:
- Tiny Life
namespace: TinyLife

View file

@ -22,7 +22,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AgeGroup
path: ../TinyLife/Objects/Person.cs
startLine: 3640
startLine: 3626
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -66,7 +66,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Baby
path: ../TinyLife/Objects/Person.cs
startLine: 3647
startLine: 3633
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -94,7 +94,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Child
path: ../TinyLife/Objects/Person.cs
startLine: 3653
startLine: 3639
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -122,7 +122,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Adult
path: ../TinyLife/Objects/Person.cs
startLine: 3659
startLine: 3645
assemblies:
- Tiny Life
namespace: TinyLife.Objects

View file

@ -23,15 +23,10 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AppliedUpgrade
path: ../TinyLife/Objects/Upgrade.cs
startLine: 137
startLine: 74
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: >-
A class that wraps an <xref href="TinyLife.Objects.AppliedUpgrade.Upgrade" data-throw-if-not-resolved="false"></xref> and an application completion <xref href="TinyLife.Objects.AppliedUpgrade.Progress" data-throw-if-not-resolved="false"></xref> percentage.
This class is used by <xref href="TinyLife.Objects.Furniture.AppliedUpgrades" data-throw-if-not-resolved="false"></xref>.
example: []
syntax:
content: >-
[DataContract]
@ -82,12 +77,10 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Upgrade
path: ../TinyLife/Objects/Upgrade.cs
startLine: 144
startLine: 78
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: The <xref href="TinyLife.Objects.AppliedUpgrade.Upgrade" data-throw-if-not-resolved="false"></xref>.
example: []
syntax:
content: >-
[DataMember]
@ -121,12 +114,10 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Progress
path: ../TinyLife/Objects/Upgrade.cs
startLine: 149
startLine: 80
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: The application completion percentage, which is a number between 0 and 1.
example: []
syntax:
content: >-
[DataMember]
@ -160,18 +151,15 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Objects/Upgrade.cs
startLine: 155
startLine: 82
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: Creates a new applied upgrade with the given settings.
example: []
syntax:
content: public AppliedUpgrade(Upgrade upgrade)
parameters:
- id: upgrade
type: TinyLife.Objects.Upgrade
description: The upgrade.
content.vb: Public Sub New(upgrade As Upgrade)
overload: TinyLife.Objects.AppliedUpgrade.#ctor*
nameWithType.vb: AppliedUpgrade.New(Upgrade)
@ -195,39 +183,17 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Validate
path: ../TinyLife/Objects/Upgrade.cs
startLine: 163
startLine: 86
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: Validates this object, returning whether it is still valid or not, after loading from disk.
example: []
syntax:
content: public bool Validate()
return:
type: System.Boolean
description: Whether this object is still valid.
content.vb: Public Function Validate() As Boolean
overload: TinyLife.Objects.AppliedUpgrade.Validate*
references:
- uid: TinyLife.Objects.AppliedUpgrade.Upgrade
commentId: F:TinyLife.Objects.AppliedUpgrade.Upgrade
href: TinyLife.Objects.AppliedUpgrade.html#TinyLife_Objects_AppliedUpgrade_Upgrade
name: Upgrade
nameWithType: AppliedUpgrade.Upgrade
fullName: TinyLife.Objects.AppliedUpgrade.Upgrade
- uid: TinyLife.Objects.AppliedUpgrade.Progress
commentId: F:TinyLife.Objects.AppliedUpgrade.Progress
href: TinyLife.Objects.AppliedUpgrade.html#TinyLife_Objects_AppliedUpgrade_Progress
name: Progress
nameWithType: AppliedUpgrade.Progress
fullName: TinyLife.Objects.AppliedUpgrade.Progress
- uid: TinyLife.Objects.Furniture.AppliedUpgrades
commentId: F:TinyLife.Objects.Furniture.AppliedUpgrades
parent: TinyLife.Objects.Furniture
href: TinyLife.Objects.Furniture.html#TinyLife_Objects_Furniture_AppliedUpgrades
name: AppliedUpgrades
nameWithType: Furniture.AppliedUpgrades
fullName: TinyLife.Objects.Furniture.AppliedUpgrades
- uid: TinyLife.Objects
commentId: N:TinyLife.Objects
href: TinyLife.html
@ -681,13 +647,6 @@ references:
name: AppliedUpgrade
href: TinyLife.Objects.AppliedUpgrade.html
- name: )
- uid: TinyLife.Objects.Furniture
commentId: T:TinyLife.Objects.Furniture
parent: TinyLife.Objects
href: TinyLife.Objects.Furniture.html
name: Furniture
nameWithType: Furniture
fullName: TinyLife.Objects.Furniture
- uid: System
commentId: N:System
isExternal: true

View file

@ -30,7 +30,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ClothesIntention
path: ../TinyLife/Objects/Clothes.cs
startLine: 502
startLine: 499
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -75,7 +75,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: None
path: ../TinyLife/Objects/Clothes.cs
startLine: 506
startLine: 503
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -101,7 +101,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Everyday
path: ../TinyLife/Objects/Clothes.cs
startLine: 507
startLine: 504
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -127,7 +127,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Party
path: ../TinyLife/Objects/Clothes.cs
startLine: 508
startLine: 505
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -153,7 +153,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Formal
path: ../TinyLife/Objects/Clothes.cs
startLine: 509
startLine: 506
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -179,7 +179,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Workout
path: ../TinyLife/Objects/Clothes.cs
startLine: 510
startLine: 507
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -205,7 +205,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Swimwear
path: ../TinyLife/Objects/Clothes.cs
startLine: 511
startLine: 508
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -231,7 +231,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Sleep
path: ../TinyLife/Objects/Clothes.cs
startLine: 512
startLine: 509
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -257,7 +257,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Summer
path: ../TinyLife/Objects/Clothes.cs
startLine: 513
startLine: 510
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -283,7 +283,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Winter
path: ../TinyLife/Objects/Clothes.cs
startLine: 514
startLine: 511
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -309,7 +309,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Work
path: ../TinyLife/Objects/Clothes.cs
startLine: 515
startLine: 512
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -335,7 +335,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Safety
path: ../TinyLife/Objects/Clothes.cs
startLine: 516
startLine: 513
assemblies:
- Tiny Life
namespace: TinyLife.Objects

View file

@ -388,12 +388,10 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: LegAccessories
path: ../TinyLife/Objects/Clothes.cs
startLine: 490
startLine: 487
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: A clothes layer for leg accessories, like pantyhose.
example: []
syntax:
content: LegAccessories = 2048
return:
@ -416,7 +414,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Shoes
path: ../TinyLife/Objects/Clothes.cs
startLine: 494
startLine: 491
assemblies:
- Tiny Life
namespace: TinyLife.Objects

View file

@ -24,7 +24,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DeathReason
path: ../TinyLife/Objects/Person.cs
startLine: 3608
startLine: 3594
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -53,7 +53,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Starvation
path: ../TinyLife/Objects/Person.cs
startLine: 3614
startLine: 3600
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -84,7 +84,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: InexplicableReasons
path: ../TinyLife/Objects/Person.cs
startLine: 3619
startLine: 3605
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -115,7 +115,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Electrocution
path: ../TinyLife/Objects/Person.cs
startLine: 3624
startLine: 3610
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -146,7 +146,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: TooMuchProtein
path: ../TinyLife/Objects/Person.cs
startLine: 3628
startLine: 3614
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -174,7 +174,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: TooMuchBrew
path: ../TinyLife/Objects/Person.cs
startLine: 3632
startLine: 3618
assemblies:
- Tiny Life
namespace: TinyLife.Objects

View file

@ -358,15 +358,10 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnAppliedUpgrade
path: ../TinyLife/Objects/Furniture.cs
startLine: 65
startLine: 61
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: >-
An event that is fired when an upgrade is freshly applied to this item in <xref href="TinyLife.Objects.Furniture.ApplyUpgrade(TinyLife.Objects.AppliedUpgrade)" data-throw-if-not-resolved="false"></xref>. Please note that the upgrade may not be fully completed when this event is fired, see <xref href="TinyLife.Objects.AppliedUpgrade.Progress" data-throw-if-not-resolved="false"></xref>.
An event that is fired when this furniture's <xref href="TinyLife.Objects.Furniture.Dirty" data-throw-if-not-resolved="false"></xref> value is changed.
example: []
syntax:
content: public event Action<AppliedUpgrade> OnAppliedUpgrade
return:
@ -390,7 +385,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DisplayName
path: ../TinyLife/Objects/Furniture.cs
startLine: 73
startLine: 69
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -425,7 +420,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ParentInfo
path: ../TinyLife/Objects/Furniture.cs
startLine: 76
startLine: 72
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -460,7 +455,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Visibility
path: ../TinyLife/Objects/Furniture.cs
startLine: 93
startLine: 89
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -498,7 +493,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Type
path: ../TinyLife/Objects/Furniture.cs
startLine: 99
startLine: 95
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -537,15 +532,10 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AppliedUpgrades
path: ../TinyLife/Objects/Furniture.cs
startLine: 106
startLine: 98
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: >-
A collection of the upgrades that are currently applied to this furniture upgrade.
To query and modify this collection effectively, use <xref href="TinyLife.Objects.Furniture.ApplyUpgrade(TinyLife.Objects.AppliedUpgrade)" data-throw-if-not-resolved="false"></xref>, <xref href="TinyLife.Objects.Furniture.GetAppliedUpgrade(TinyLife.Objects.Upgrade)" data-throw-if-not-resolved="false"></xref> and <xref href="TinyLife.Objects.Furniture.HasFullUpgrade(TinyLife.Objects.Upgrade)" data-throw-if-not-resolved="false"></xref>.
example: []
syntax:
content: >-
[DataMember]
@ -579,7 +569,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Rotation
path: ../TinyLife/Objects/Furniture.cs
startLine: 114
startLine: 106
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -621,7 +611,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ParentFurniture
path: ../TinyLife/Objects/Furniture.cs
startLine: 119
startLine: 111
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -655,7 +645,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ParentObjectSpot
path: ../TinyLife/Objects/Furniture.cs
startLine: 124
startLine: 116
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -689,7 +679,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Colors
path: ../TinyLife/Objects/Furniture.cs
startLine: 130
startLine: 122
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -731,7 +721,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Area
path: ../TinyLife/Objects/Furniture.cs
startLine: 134
startLine: 126
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -762,7 +752,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DevaluedThroughUse
path: ../TinyLife/Objects/Furniture.cs
startLine: 140
startLine: 132
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -808,7 +798,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AreUtilitiesDisabled
path: ../TinyLife/Objects/Furniture.cs
startLine: 145
startLine: 137
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -842,7 +832,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: IsStatic
path: ../TinyLife/Objects/Furniture.cs
startLine: 150
startLine: 142
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -885,7 +875,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CreatorId
path: ../TinyLife/Objects/Furniture.cs
startLine: 156
startLine: 148
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -935,7 +925,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Quality
path: ../TinyLife/Objects/Furniture.cs
startLine: 164
startLine: 156
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -983,7 +973,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CanBeDirty
path: ../TinyLife/Objects/Furniture.cs
startLine: 169
startLine: 161
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1017,7 +1007,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Dirty
path: ../TinyLife/Objects/Furniture.cs
startLine: 174
startLine: 166
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1051,7 +1041,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CustomPrice
path: ../TinyLife/Objects/Furniture.cs
startLine: 186
startLine: 178
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1097,7 +1087,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Creator
path: ../TinyLife/Objects/Furniture.cs
startLine: 191
startLine: 183
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1131,7 +1121,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AttachedWall
path: ../TinyLife/Objects/Furniture.cs
startLine: 196
startLine: 188
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1165,7 +1155,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: HideFromDraw
path: ../TinyLife/Objects/Furniture.cs
startLine: 200
startLine: 192
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1196,7 +1186,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: VisualRotation
path: ../TinyLife/Objects/Furniture.cs
startLine: 227
startLine: 219
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1230,7 +1220,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ParentObjectSpotId
path: ../TinyLife/Objects/Furniture.cs
startLine: 231
startLine: 223
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1275,7 +1265,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ParentFurnitureId
path: ../TinyLife/Objects/Furniture.cs
startLine: 236
startLine: 228
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1320,7 +1310,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Objects/Furniture.cs
startLine: 254
startLine: 246
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1373,7 +1363,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Draw
path: ../TinyLife/Objects/Furniture.cs
startLine: 265
startLine: 257
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1424,7 +1414,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Validate
path: ../TinyLife/Objects/Furniture.cs
startLine: 281
startLine: 273
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1461,7 +1451,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Intersects
path: ../TinyLife/Objects/Furniture.cs
startLine: 322
startLine: 314
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1500,7 +1490,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetCategories
path: ../TinyLife/Objects/Furniture.cs
startLine: 327
startLine: 319
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1536,7 +1526,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnAdded
path: ../TinyLife/Objects/Furniture.cs
startLine: 332
startLine: 324
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1568,7 +1558,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnRemoved
path: ../TinyLife/Objects/Furniture.cs
startLine: 339
startLine: 331
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1600,7 +1590,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetAiPriority
path: ../TinyLife/Objects/Furniture.cs
startLine: 346
startLine: 338
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1646,7 +1636,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CanExecuteAction
path: ../TinyLife/Objects/Furniture.cs
startLine: 362
startLine: 354
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1697,7 +1687,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnActionCompleted
path: ../TinyLife/Objects/Furniture.cs
startLine: 369
startLine: 361
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1744,7 +1734,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ActionUpdate
path: ../TinyLife/Objects/Furniture.cs
startLine: 379
startLine: 371
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1797,7 +1787,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetFreeActionSpotInfo
path: ../TinyLife/Objects/Furniture.cs
startLine: 399
startLine: 391
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1836,7 +1826,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetHoverInfo
path: ../TinyLife/Objects/Furniture.cs
startLine: 405
startLine: 397
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1872,7 +1862,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetEfficiencyModifier
path: ../TinyLife/Objects/Furniture.cs
startLine: 437
startLine: 426
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1930,7 +1920,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetRestoreNeedModifier
path: ../TinyLife/Objects/Furniture.cs
startLine: 449
startLine: 438
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1985,39 +1975,28 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnRandomQuality
path: ../TinyLife/Objects/Furniture.cs
startLine: 461
startLine: 450
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: >-
A method that is invoked when a random quality is determined based on an action and skill in <xref href="TinyLife.Skills.SkillType.GetRandomQuality(TinyLife.Objects.Person%2cSystem.Random%2cTinyLife.Actions.ActionInfo%2cSystem.Boolean%2cTinyLife.Emotions.IEmotionSource%2cSystem.Boolean)" data-throw-if-not-resolved="false"></xref>.
This method is invoked for all <xref href="TinyLife.Actions.ActionInfo.GetInvolvedObjects%60%601(TinyLife.Objects.ObjectCategory%2cSystem.Boolean%2cSystem.Boolean)" data-throw-if-not-resolved="false"></xref> of the passed <xref href="TinyLife.Actions.ActionInfo" data-throw-if-not-resolved="false"></xref>.
example: []
syntax:
content: public override void OnRandomQuality(Person person, ActionInfo info, bool isAuxiliary, SkillType skill, Random random, bool alwaysAllowAverage, Dictionary<Quality, float> weights)
parameters:
- id: person
type: TinyLife.Objects.Person
description: The person.
- id: info
type: TinyLife.Actions.ActionInfo
description: The action info.
- id: isAuxiliary
type: System.Boolean
description: Whether this object is auxiliary (or the main action object).
- id: skill
type: TinyLife.Skills.SkillType
description: The skill.
- id: random
type: System.Random
description: The <xref href="System.Random" data-throw-if-not-resolved="false"></xref> instance used for determining the quality.
- id: alwaysAllowAverage
type: System.Boolean
description: Whether the <xref href="TinyLife.Skills.Quality.Average" data-throw-if-not-resolved="false"></xref> quality should always be available as an option.
- id: weights
type: System.Collections.Generic.Dictionary{TinyLife.Skills.Quality,System.Single}
description: The weights for each quality. This collection contains keys for all <xref href="TinyLife.Skills.Quality" data-throw-if-not-resolved="false"></xref> values, and entries should not be removed, only modified.
content.vb: Public Overrides Sub OnRandomQuality(person As Person, info As ActionInfo, isAuxiliary As Boolean, skill As SkillType, random As Random, alwaysAllowAverage As Boolean, weights As Dictionary(Of Quality, Single))
overridden: TinyLife.Objects.MapObject.OnRandomQuality(TinyLife.Objects.Person,TinyLife.Actions.ActionInfo,System.Boolean,TinyLife.Skills.SkillType,System.Random,System.Boolean,System.Collections.Generic.Dictionary{TinyLife.Skills.Quality,System.Single})
overload: TinyLife.Objects.Furniture.OnRandomQuality*
@ -2042,7 +2021,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: IsFreeSpot
path: ../TinyLife/Objects/Furniture.cs
startLine: 477
startLine: 466
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2083,7 +2062,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ResetToStatic
path: ../TinyLife/Objects/Furniture.cs
startLine: 483
startLine: 472
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2125,7 +2104,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ModifyActionCategories
path: ../TinyLife/Objects/Furniture.cs
startLine: 489
startLine: 478
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2173,7 +2152,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: MoveToMap
path: ../TinyLife/Objects/Furniture.cs
startLine: 497
startLine: 486
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2218,7 +2197,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnPositionChanged
path: ../TinyLife/Objects/Furniture.cs
startLine: 505
startLine: 494
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2262,7 +2241,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Draw
path: ../TinyLife/Objects/Furniture.cs
startLine: 529
startLine: 518
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2336,7 +2315,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetPrice
path: ../TinyLife/Objects/Furniture.cs
startLine: 540
startLine: 529
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2367,7 +2346,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetDescription
path: ../TinyLife/Objects/Furniture.cs
startLine: 553
startLine: 542
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2408,7 +2387,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetDecorativeRating
path: ../TinyLife/Objects/Furniture.cs
startLine: 587
startLine: 576
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2446,7 +2425,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetDirty
path: ../TinyLife/Objects/Furniture.cs
startLine: 598
startLine: 587
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2486,7 +2465,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SetCreator
path: ../TinyLife/Objects/Furniture.cs
startLine: 633
startLine: 622
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2524,7 +2503,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnPlacedInBuildMode
path: ../TinyLife/Objects/Furniture.cs
startLine: 647
startLine: 636
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2565,7 +2544,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetWallsInTheWay
path: ../TinyLife/Objects/Furniture.cs
startLine: 664
startLine: 653
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2617,7 +2596,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetRoofingInTheWay
path: ../TinyLife/Objects/Furniture.cs
startLine: 697
startLine: 686
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2670,21 +2649,17 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetAppliedUpgrade
path: ../TinyLife/Objects/Furniture.cs
startLine: 720
startLine: 704
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: Returns the <xref href="TinyLife.Objects.AppliedUpgrade" data-throw-if-not-resolved="false"></xref> instance that this furniture item has for the given <xref href="TinyLife.Objects.Upgrade" data-throw-if-not-resolved="false"></xref>. If the upgrade is not applied, <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> is returned.
example: []
syntax:
content: public virtual AppliedUpgrade GetAppliedUpgrade(Upgrade upgrade)
parameters:
- id: upgrade
type: TinyLife.Objects.Upgrade
description: The upgrade to query.
return:
type: TinyLife.Objects.AppliedUpgrade
description: The applied upgrade, or <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> if the upgrade is not applied.
content.vb: Public Overridable Function GetAppliedUpgrade(upgrade As Upgrade) As AppliedUpgrade
overload: TinyLife.Objects.Furniture.GetAppliedUpgrade*
- uid: TinyLife.Objects.Furniture.ApplyUpgrade(TinyLife.Objects.AppliedUpgrade)
@ -2705,21 +2680,17 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ApplyUpgrade
path: ../TinyLife/Objects/Furniture.cs
startLine: 731
startLine: 710
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: Adds the given <xref href="TinyLife.Objects.AppliedUpgrade" data-throw-if-not-resolved="false"></xref> to this furniture item's collection of <xref href="TinyLife.Objects.Furniture.AppliedUpgrades" data-throw-if-not-resolved="false"></xref> and invokes the <xref href="TinyLife.Objects.Furniture.OnAppliedUpgrade" data-throw-if-not-resolved="false"></xref> event.
example: []
syntax:
content: public virtual bool ApplyUpgrade(AppliedUpgrade upgrade)
parameters:
- id: upgrade
type: TinyLife.Objects.AppliedUpgrade
description: The upgrade to apply.
return:
type: System.Boolean
description: Whether the upgrade was successfully applied. If this is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>, it means the upgrade is either not compatible, or already applied.
content.vb: Public Overridable Function ApplyUpgrade(upgrade As AppliedUpgrade) As Boolean
overload: TinyLife.Objects.Furniture.ApplyUpgrade*
- uid: TinyLife.Objects.Furniture.HasFullUpgrade(TinyLife.Objects.Upgrade)
@ -2740,24 +2711,17 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: HasFullUpgrade
path: ../TinyLife/Objects/Furniture.cs
startLine: 746
startLine: 719
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: >-
Returns whether this furniture item has a <xref href="TinyLife.Objects.Upgrade" data-throw-if-not-resolved="false"></xref> applied that also has a <xref href="TinyLife.Objects.AppliedUpgrade.Progress" data-throw-if-not-resolved="false"></xref> of 1.
This method should be used to check for whether an upgrade should currently have an effect on a furniture item.
example: []
syntax:
content: public virtual bool HasFullUpgrade(Upgrade upgrade)
parameters:
- id: upgrade
type: TinyLife.Objects.Upgrade
description: The upgrade to query.
return:
type: System.Boolean
description: Whether the upgrade is fully applied.
content.vb: Public Overridable Function HasFullUpgrade(upgrade As Upgrade) As Boolean
overload: TinyLife.Objects.Furniture.HasFullUpgrade*
- uid: TinyLife.Objects.Furniture.OnNeighborChanged(TinyLife.Objects.Furniture)
@ -2778,7 +2742,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnNeighborChanged
path: ../TinyLife/Objects/Furniture.cs
startLine: 756
startLine: 729
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2813,7 +2777,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DrawUi
path: ../TinyLife/Objects/Furniture.cs
startLine: 767
startLine: 740
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2863,7 +2827,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetOccupants
path: ../TinyLife/Objects/Furniture.cs
startLine: 781
startLine: 754
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2904,7 +2868,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetFreeActionSpots
path: ../TinyLife/Objects/Furniture.cs
startLine: 794
startLine: 767
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2945,7 +2909,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetFreeActionSpot
path: ../TinyLife/Objects/Furniture.cs
startLine: 815
startLine: 788
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2983,7 +2947,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetActionSpotInfo
path: ../TinyLife/Objects/Furniture.cs
startLine: 828
startLine: 801
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -3024,7 +2988,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetFreeObjectSpot
path: ../TinyLife/Objects/Furniture.cs
startLine: 840
startLine: 813
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -3065,7 +3029,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SetParent
path: ../TinyLife/Objects/Furniture.cs
startLine: 854
startLine: 827
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -3105,7 +3069,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: UnlinkParentsAndChildren
path: ../TinyLife/Objects/Furniture.cs
startLine: 869
startLine: 842
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -3133,7 +3097,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: RemoveAndUnlink
path: ../TinyLife/Objects/Furniture.cs
startLine: 880
startLine: 853
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -3164,7 +3128,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetChildren
path: ../TinyLife/Objects/Furniture.cs
startLine: 890
startLine: 863
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -3203,7 +3167,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AddChild
path: ../TinyLife/Objects/Furniture.cs
startLine: 904
startLine: 877
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -3256,7 +3220,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AddChild
path: ../TinyLife/Objects/Furniture.cs
startLine: 921
startLine: 894
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -3302,7 +3266,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SetChild
path: ../TinyLife/Objects/Furniture.cs
startLine: 937
startLine: 910
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -3353,7 +3317,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SetChild
path: ../TinyLife/Objects/Furniture.cs
startLine: 951
startLine: 924
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -3394,7 +3358,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: RemoveChild
path: ../TinyLife/Objects/Furniture.cs
startLine: 962
startLine: 935
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -3429,7 +3393,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: NotifyNeighbors
path: ../TinyLife/Objects/Furniture.cs
startLine: 975
startLine: 948
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -3460,7 +3424,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SetNewId
path: ../TinyLife/Objects/Furniture.cs
startLine: 990
startLine: 963
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -5272,37 +5236,6 @@ references:
name: Action
nameWithType: Action
fullName: System.Action
- uid: TinyLife.Objects.Furniture.ApplyUpgrade(TinyLife.Objects.AppliedUpgrade)
commentId: M:TinyLife.Objects.Furniture.ApplyUpgrade(TinyLife.Objects.AppliedUpgrade)
parent: TinyLife.Objects.Furniture
href: TinyLife.Objects.Furniture.html#TinyLife_Objects_Furniture_ApplyUpgrade_TinyLife_Objects_AppliedUpgrade_
name: ApplyUpgrade(AppliedUpgrade)
nameWithType: Furniture.ApplyUpgrade(AppliedUpgrade)
fullName: TinyLife.Objects.Furniture.ApplyUpgrade(TinyLife.Objects.AppliedUpgrade)
spec.csharp:
- uid: TinyLife.Objects.Furniture.ApplyUpgrade(TinyLife.Objects.AppliedUpgrade)
name: ApplyUpgrade
href: TinyLife.Objects.Furniture.html#TinyLife_Objects_Furniture_ApplyUpgrade_TinyLife_Objects_AppliedUpgrade_
- name: (
- uid: TinyLife.Objects.AppliedUpgrade
name: AppliedUpgrade
href: TinyLife.Objects.AppliedUpgrade.html
- name: )
spec.vb:
- uid: TinyLife.Objects.Furniture.ApplyUpgrade(TinyLife.Objects.AppliedUpgrade)
name: ApplyUpgrade
href: TinyLife.Objects.Furniture.html#TinyLife_Objects_Furniture_ApplyUpgrade_TinyLife_Objects_AppliedUpgrade_
- name: (
- uid: TinyLife.Objects.AppliedUpgrade
name: AppliedUpgrade
href: TinyLife.Objects.AppliedUpgrade.html
- name: )
- uid: TinyLife.Objects.AppliedUpgrade.Progress
commentId: F:TinyLife.Objects.AppliedUpgrade.Progress
href: TinyLife.Objects.AppliedUpgrade.html#TinyLife_Objects_AppliedUpgrade_Progress
name: Progress
nameWithType: AppliedUpgrade.Progress
fullName: TinyLife.Objects.AppliedUpgrade.Progress
- uid: System.Action{TinyLife.Objects.AppliedUpgrade}
commentId: T:System.Action{TinyLife.Objects.AppliedUpgrade}
parent: System
@ -5457,56 +5390,6 @@ references:
name: Visibility
nameWithType: Visibility
fullName: TinyLife.Objects.Visibility
- uid: TinyLife.Objects.Furniture.GetAppliedUpgrade(TinyLife.Objects.Upgrade)
commentId: M:TinyLife.Objects.Furniture.GetAppliedUpgrade(TinyLife.Objects.Upgrade)
parent: TinyLife.Objects.Furniture
href: TinyLife.Objects.Furniture.html#TinyLife_Objects_Furniture_GetAppliedUpgrade_TinyLife_Objects_Upgrade_
name: GetAppliedUpgrade(Upgrade)
nameWithType: Furniture.GetAppliedUpgrade(Upgrade)
fullName: TinyLife.Objects.Furniture.GetAppliedUpgrade(TinyLife.Objects.Upgrade)
spec.csharp:
- uid: TinyLife.Objects.Furniture.GetAppliedUpgrade(TinyLife.Objects.Upgrade)
name: GetAppliedUpgrade
href: TinyLife.Objects.Furniture.html#TinyLife_Objects_Furniture_GetAppliedUpgrade_TinyLife_Objects_Upgrade_
- name: (
- uid: TinyLife.Objects.Upgrade
name: Upgrade
href: TinyLife.Objects.Upgrade.html
- name: )
spec.vb:
- uid: TinyLife.Objects.Furniture.GetAppliedUpgrade(TinyLife.Objects.Upgrade)
name: GetAppliedUpgrade
href: TinyLife.Objects.Furniture.html#TinyLife_Objects_Furniture_GetAppliedUpgrade_TinyLife_Objects_Upgrade_
- name: (
- uid: TinyLife.Objects.Upgrade
name: Upgrade
href: TinyLife.Objects.Upgrade.html
- name: )
- uid: TinyLife.Objects.Furniture.HasFullUpgrade(TinyLife.Objects.Upgrade)
commentId: M:TinyLife.Objects.Furniture.HasFullUpgrade(TinyLife.Objects.Upgrade)
parent: TinyLife.Objects.Furniture
href: TinyLife.Objects.Furniture.html#TinyLife_Objects_Furniture_HasFullUpgrade_TinyLife_Objects_Upgrade_
name: HasFullUpgrade(Upgrade)
nameWithType: Furniture.HasFullUpgrade(Upgrade)
fullName: TinyLife.Objects.Furniture.HasFullUpgrade(TinyLife.Objects.Upgrade)
spec.csharp:
- uid: TinyLife.Objects.Furniture.HasFullUpgrade(TinyLife.Objects.Upgrade)
name: HasFullUpgrade
href: TinyLife.Objects.Furniture.html#TinyLife_Objects_Furniture_HasFullUpgrade_TinyLife_Objects_Upgrade_
- name: (
- uid: TinyLife.Objects.Upgrade
name: Upgrade
href: TinyLife.Objects.Upgrade.html
- name: )
spec.vb:
- uid: TinyLife.Objects.Furniture.HasFullUpgrade(TinyLife.Objects.Upgrade)
name: HasFullUpgrade
href: TinyLife.Objects.Furniture.html#TinyLife_Objects_Furniture_HasFullUpgrade_TinyLife_Objects_Upgrade_
- name: (
- uid: TinyLife.Objects.Upgrade
name: Upgrade
href: TinyLife.Objects.Upgrade.html
- name: )
- uid: System.Collections.Generic.Dictionary{System.String,TinyLife.Objects.AppliedUpgrade}
commentId: T:System.Collections.Generic.Dictionary{System.String,TinyLife.Objects.AppliedUpgrade}
parent: System.Collections.Generic
@ -7521,103 +7404,6 @@ references:
name: TinyLife
nameWithType: TinyLife
fullName: TinyLife
- uid: TinyLife.Skills.SkillType.GetRandomQuality(TinyLife.Objects.Person,System.Random,TinyLife.Actions.ActionInfo,System.Boolean,TinyLife.Emotions.IEmotionSource,System.Boolean)
commentId: M:TinyLife.Skills.SkillType.GetRandomQuality(TinyLife.Objects.Person,System.Random,TinyLife.Actions.ActionInfo,System.Boolean,TinyLife.Emotions.IEmotionSource,System.Boolean)
isExternal: true
href: TinyLife.Skills.SkillType.html#TinyLife_Skills_SkillType_GetRandomQuality_TinyLife_Objects_Person_System_Random_TinyLife_Actions_ActionInfo_System_Boolean_TinyLife_Emotions_IEmotionSource_System_Boolean_
name: GetRandomQuality(Person, Random, ActionInfo, bool, IEmotionSource, bool)
nameWithType: SkillType.GetRandomQuality(Person, Random, ActionInfo, bool, IEmotionSource, bool)
fullName: TinyLife.Skills.SkillType.GetRandomQuality(TinyLife.Objects.Person, System.Random, TinyLife.Actions.ActionInfo, bool, TinyLife.Emotions.IEmotionSource, bool)
nameWithType.vb: SkillType.GetRandomQuality(Person, Random, ActionInfo, Boolean, IEmotionSource, Boolean)
fullName.vb: TinyLife.Skills.SkillType.GetRandomQuality(TinyLife.Objects.Person, System.Random, TinyLife.Actions.ActionInfo, Boolean, TinyLife.Emotions.IEmotionSource, Boolean)
name.vb: GetRandomQuality(Person, Random, ActionInfo, Boolean, IEmotionSource, Boolean)
spec.csharp:
- uid: TinyLife.Skills.SkillType.GetRandomQuality(TinyLife.Objects.Person,System.Random,TinyLife.Actions.ActionInfo,System.Boolean,TinyLife.Emotions.IEmotionSource,System.Boolean)
name: GetRandomQuality
href: TinyLife.Skills.SkillType.html#TinyLife_Skills_SkillType_GetRandomQuality_TinyLife_Objects_Person_System_Random_TinyLife_Actions_ActionInfo_System_Boolean_TinyLife_Emotions_IEmotionSource_System_Boolean_
- name: (
- uid: TinyLife.Objects.Person
name: Person
href: TinyLife.Objects.Person.html
- name: ','
- name: " "
- uid: System.Random
name: Random
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.random
- name: ','
- name: " "
- uid: TinyLife.Actions.ActionInfo
name: ActionInfo
href: TinyLife.Actions.ActionInfo.html
- name: ','
- name: " "
- uid: System.Boolean
name: bool
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.boolean
- name: ','
- name: " "
- uid: TinyLife.Emotions.IEmotionSource
name: IEmotionSource
href: TinyLife.Emotions.IEmotionSource.html
- name: ','
- name: " "
- uid: System.Boolean
name: bool
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.boolean
- name: )
spec.vb:
- uid: TinyLife.Skills.SkillType.GetRandomQuality(TinyLife.Objects.Person,System.Random,TinyLife.Actions.ActionInfo,System.Boolean,TinyLife.Emotions.IEmotionSource,System.Boolean)
name: GetRandomQuality
href: TinyLife.Skills.SkillType.html#TinyLife_Skills_SkillType_GetRandomQuality_TinyLife_Objects_Person_System_Random_TinyLife_Actions_ActionInfo_System_Boolean_TinyLife_Emotions_IEmotionSource_System_Boolean_
- name: (
- uid: TinyLife.Objects.Person
name: Person
href: TinyLife.Objects.Person.html
- name: ','
- name: " "
- uid: System.Random
name: Random
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.random
- name: ','
- name: " "
- uid: TinyLife.Actions.ActionInfo
name: ActionInfo
href: TinyLife.Actions.ActionInfo.html
- name: ','
- name: " "
- uid: System.Boolean
name: Boolean
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.boolean
- name: ','
- name: " "
- uid: TinyLife.Emotions.IEmotionSource
name: IEmotionSource
href: TinyLife.Emotions.IEmotionSource.html
- name: ','
- name: " "
- uid: System.Boolean
name: Boolean
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.boolean
- name: )
- uid: TinyLife.Skills.Quality.Average
commentId: F:TinyLife.Skills.Quality.Average
href: TinyLife.Skills.Quality.html#TinyLife_Skills_Quality_Average
name: Average
nameWithType: Quality.Average
fullName: TinyLife.Skills.Quality.Average
- uid: TinyLife.Skills.Quality
commentId: T:TinyLife.Skills.Quality
parent: TinyLife.Skills
href: TinyLife.Skills.Quality.html
name: Quality
nameWithType: Quality
fullName: TinyLife.Skills.Quality
- uid: TinyLife.Objects.MapObject.OnRandomQuality(TinyLife.Objects.Person,TinyLife.Actions.ActionInfo,System.Boolean,TinyLife.Skills.SkillType,System.Random,System.Boolean,System.Collections.Generic.Dictionary{TinyLife.Skills.Quality,System.Single})
commentId: M:TinyLife.Objects.MapObject.OnRandomQuality(TinyLife.Objects.Person,TinyLife.Actions.ActionInfo,System.Boolean,TinyLife.Skills.SkillType,System.Random,System.Boolean,System.Collections.Generic.Dictionary{TinyLife.Skills.Quality,System.Single})
parent: TinyLife.Objects.MapObject
@ -8726,13 +8512,12 @@ references:
name: Roof
href: TinyLife.World.Roof.html
- name: )
- uid: TinyLife.Objects.AppliedUpgrade
commentId: T:TinyLife.Objects.AppliedUpgrade
parent: TinyLife.Objects
href: TinyLife.Objects.AppliedUpgrade.html
name: AppliedUpgrade
nameWithType: AppliedUpgrade
fullName: TinyLife.Objects.AppliedUpgrade
- uid: TinyLife.Objects.Furniture.GetAppliedUpgrade*
commentId: Overload:TinyLife.Objects.Furniture.GetAppliedUpgrade
href: TinyLife.Objects.Furniture.html#TinyLife_Objects_Furniture_GetAppliedUpgrade_TinyLife_Objects_Upgrade_
name: GetAppliedUpgrade
nameWithType: Furniture.GetAppliedUpgrade
fullName: TinyLife.Objects.Furniture.GetAppliedUpgrade
- uid: TinyLife.Objects.Upgrade
commentId: T:TinyLife.Objects.Upgrade
parent: TinyLife.Objects
@ -8740,26 +8525,13 @@ references:
name: Upgrade
nameWithType: Upgrade
fullName: TinyLife.Objects.Upgrade
- uid: TinyLife.Objects.Furniture.GetAppliedUpgrade*
commentId: Overload:TinyLife.Objects.Furniture.GetAppliedUpgrade
href: TinyLife.Objects.Furniture.html#TinyLife_Objects_Furniture_GetAppliedUpgrade_TinyLife_Objects_Upgrade_
name: GetAppliedUpgrade
nameWithType: Furniture.GetAppliedUpgrade
fullName: TinyLife.Objects.Furniture.GetAppliedUpgrade
- uid: TinyLife.Objects.Furniture.AppliedUpgrades
commentId: F:TinyLife.Objects.Furniture.AppliedUpgrades
parent: TinyLife.Objects.Furniture
href: TinyLife.Objects.Furniture.html#TinyLife_Objects_Furniture_AppliedUpgrades
name: AppliedUpgrades
nameWithType: Furniture.AppliedUpgrades
fullName: TinyLife.Objects.Furniture.AppliedUpgrades
- uid: TinyLife.Objects.Furniture.OnAppliedUpgrade
commentId: E:TinyLife.Objects.Furniture.OnAppliedUpgrade
parent: TinyLife.Objects.Furniture
href: TinyLife.Objects.Furniture.html#TinyLife_Objects_Furniture_OnAppliedUpgrade
name: OnAppliedUpgrade
nameWithType: Furniture.OnAppliedUpgrade
fullName: TinyLife.Objects.Furniture.OnAppliedUpgrade
- uid: TinyLife.Objects.AppliedUpgrade
commentId: T:TinyLife.Objects.AppliedUpgrade
parent: TinyLife.Objects
href: TinyLife.Objects.AppliedUpgrade.html
name: AppliedUpgrade
nameWithType: AppliedUpgrade
fullName: TinyLife.Objects.AppliedUpgrade
- uid: TinyLife.Objects.Furniture.ApplyUpgrade*
commentId: Overload:TinyLife.Objects.Furniture.ApplyUpgrade
href: TinyLife.Objects.Furniture.html#TinyLife_Objects_Furniture_ApplyUpgrade_TinyLife_Objects_AppliedUpgrade_

View file

@ -25,7 +25,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: LifeSpan
path: ../TinyLife/Objects/Person.cs
startLine: 3667
startLine: 3653
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -59,7 +59,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: VeryShort
path: ../TinyLife/Objects/Person.cs
startLine: 3670
startLine: 3656
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -85,7 +85,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Short
path: ../TinyLife/Objects/Person.cs
startLine: 3671
startLine: 3657
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -111,7 +111,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Normal
path: ../TinyLife/Objects/Person.cs
startLine: 3672
startLine: 3658
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -137,7 +137,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Long
path: ../TinyLife/Objects/Person.cs
startLine: 3673
startLine: 3659
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -163,7 +163,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: VeryLong
path: ../TinyLife/Objects/Person.cs
startLine: 3674
startLine: 3660
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -189,7 +189,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Infinite
path: ../TinyLife/Objects/Person.cs
startLine: 3675
startLine: 3661
assemblies:
- Tiny Life
namespace: TinyLife.Objects

View file

@ -261,15 +261,10 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ScreenPosOffset
path: ../TinyLife/Objects/Light.cs
startLine: 58
startLine: 54
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: >-
An offset from this light's screen-space draw position, also in screen space.
This is added to the final draw position in <xref href="TinyLife.Objects.Light.Draw(Microsoft.Xna.Framework.GameTime%2cMicrosoft.Xna.Framework.Graphics.SpriteBatch)" data-throw-if-not-resolved="false"></xref>, after <xref href="TinyLife.Utilities.Extensions.ToScreenPos(Microsoft.Xna.Framework.Vector2%2cSystem.Single%2cSystem.Boolean%2cSystem.Boolean%2cSystem.Boolean)" data-throw-if-not-resolved="false"></xref> has already been called.
example: []
syntax:
content: public Vector2 ScreenPosOffset
return:
@ -293,15 +288,10 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: VisualWorldOffset
path: ../TinyLife/Objects/Light.cs
startLine: 63
startLine: 55
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: >-
An offset from this light's world-space draw position, also in world space.
This is translated to screen space using <xref href="TinyLife.Utilities.Extensions.ToScreenPos(Microsoft.Xna.Framework.Vector2%2cSystem.Single%2cSystem.Boolean%2cSystem.Boolean%2cSystem.Boolean)" data-throw-if-not-resolved="false"></xref> and added to the final draw position in <xref href="TinyLife.Objects.Light.Draw(Microsoft.Xna.Framework.GameTime%2cMicrosoft.Xna.Framework.Graphics.SpriteBatch)" data-throw-if-not-resolved="false"></xref>.
example: []
syntax:
content: public Vector2 VisualWorldOffset
return:
@ -325,14 +315,14 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Size
path: ../TinyLife/Objects/Light.cs
startLine: 68
startLine: 60
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: >-
The size, in world space, of this light, centered on its <xref href="TinyLife.Objects.Light.Position" data-throw-if-not-resolved="false"></xref>.
This value is multiplied with <xref href="TinyLife.Utilities.TextureHandler.TileWidth" data-throw-if-not-resolved="false"></xref> and <xref href="TinyLife.Utilities.TextureHandler.TileHeight" data-throw-if-not-resolved="false"></xref>.
This value is multiplied with Tile.Width and Tile.Height.
example: []
syntax:
content: public Vector2 Size
@ -357,7 +347,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Rotation
path: ../TinyLife/Objects/Light.cs
startLine: 73
startLine: 65
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -389,7 +379,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Color
path: ../TinyLife/Objects/Light.cs
startLine: 78
startLine: 70
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -421,7 +411,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: IsDisabled
path: ../TinyLife/Objects/Light.cs
startLine: 83
startLine: 75
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -453,7 +443,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Scale
path: ../TinyLife/Objects/Light.cs
startLine: 87
startLine: 79
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -482,7 +472,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Objects/Light.cs
startLine: 100
startLine: 92
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -532,7 +522,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Draw
path: ../TinyLife/Objects/Light.cs
startLine: 114
startLine: 106
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1147,53 +1137,6 @@ references:
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.boolean
- name: )
- uid: TinyLife.Objects.Light.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch)
commentId: M:TinyLife.Objects.Light.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch)
isExternal: true
href: TinyLife.Objects.Light.html#TinyLife_Objects_Light_Draw_Microsoft_Xna_Framework_GameTime_Microsoft_Xna_Framework_Graphics_SpriteBatch_
name: Draw(GameTime, SpriteBatch)
nameWithType: Light.Draw(GameTime, SpriteBatch)
fullName: TinyLife.Objects.Light.Draw(Microsoft.Xna.Framework.GameTime, Microsoft.Xna.Framework.Graphics.SpriteBatch)
spec.csharp:
- uid: TinyLife.Objects.Light.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch)
name: Draw
href: TinyLife.Objects.Light.html#TinyLife_Objects_Light_Draw_Microsoft_Xna_Framework_GameTime_Microsoft_Xna_Framework_Graphics_SpriteBatch_
- name: (
- uid: Microsoft.Xna.Framework.GameTime
name: GameTime
isExternal: true
- name: ','
- name: " "
- uid: Microsoft.Xna.Framework.Graphics.SpriteBatch
name: SpriteBatch
isExternal: true
- name: )
spec.vb:
- uid: TinyLife.Objects.Light.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch)
name: Draw
href: TinyLife.Objects.Light.html#TinyLife_Objects_Light_Draw_Microsoft_Xna_Framework_GameTime_Microsoft_Xna_Framework_Graphics_SpriteBatch_
- name: (
- uid: Microsoft.Xna.Framework.GameTime
name: GameTime
isExternal: true
- name: ','
- name: " "
- uid: Microsoft.Xna.Framework.Graphics.SpriteBatch
name: SpriteBatch
isExternal: true
- name: )
- uid: TinyLife.Utilities.TextureHandler.TileWidth
commentId: P:TinyLife.Utilities.TextureHandler.TileWidth
href: TinyLife.Utilities.TextureHandler.html#TinyLife_Utilities_TextureHandler_TileWidth
name: TileWidth
nameWithType: TextureHandler.TileWidth
fullName: TinyLife.Utilities.TextureHandler.TileWidth
- uid: TinyLife.Utilities.TextureHandler.TileHeight
commentId: P:TinyLife.Utilities.TextureHandler.TileHeight
href: TinyLife.Utilities.TextureHandler.html#TinyLife_Utilities_TextureHandler_TileHeight
name: TileHeight
nameWithType: TextureHandler.TileHeight
fullName: TinyLife.Utilities.TextureHandler.TileHeight
- uid: MLEM.Extensions.ColorExtensions.Invert(Microsoft.Xna.Framework.Color)
commentId: M:MLEM.Extensions.ColorExtensions.Invert(Microsoft.Xna.Framework.Color)
isExternal: true

View file

@ -1559,39 +1559,27 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnRandomQuality
path: ../TinyLife/Objects/MapObject.cs
startLine: 411
startLine: 400
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: >-
A method that is invoked when a random quality is determined based on an action and skill in <xref href="TinyLife.Skills.SkillType.GetRandomQuality(TinyLife.Objects.Person%2cSystem.Random%2cTinyLife.Actions.ActionInfo%2cSystem.Boolean%2cTinyLife.Emotions.IEmotionSource%2cSystem.Boolean)" data-throw-if-not-resolved="false"></xref>.
This method is invoked for all <xref href="TinyLife.Actions.ActionInfo.GetInvolvedObjects%60%601(TinyLife.Objects.ObjectCategory%2cSystem.Boolean%2cSystem.Boolean)" data-throw-if-not-resolved="false"></xref> of the passed <xref href="TinyLife.Actions.ActionInfo" data-throw-if-not-resolved="false"></xref>.
example: []
syntax:
content: public virtual void OnRandomQuality(Person person, ActionInfo info, bool isAuxiliary, SkillType skill, Random random, bool alwaysAllowAverage, Dictionary<Quality, float> weights)
parameters:
- id: person
type: TinyLife.Objects.Person
description: The person.
- id: info
type: TinyLife.Actions.ActionInfo
description: The action info.
- id: isAuxiliary
type: System.Boolean
description: Whether this object is auxiliary (or the main action object).
- id: skill
type: TinyLife.Skills.SkillType
description: The skill.
- id: random
type: System.Random
description: The <xref href="System.Random" data-throw-if-not-resolved="false"></xref> instance used for determining the quality.
- id: alwaysAllowAverage
type: System.Boolean
description: Whether the <xref href="TinyLife.Skills.Quality.Average" data-throw-if-not-resolved="false"></xref> quality should always be available as an option.
- id: weights
type: System.Collections.Generic.Dictionary{TinyLife.Skills.Quality,System.Single}
description: The weights for each quality. This collection contains keys for all <xref href="TinyLife.Skills.Quality" data-throw-if-not-resolved="false"></xref> values, and entries should not be removed, only modified.
content.vb: Public Overridable Sub OnRandomQuality(person As Person, info As ActionInfo, isAuxiliary As Boolean, skill As SkillType, random As Random, alwaysAllowAverage As Boolean, weights As Dictionary(Of Quality, Single))
overload: TinyLife.Objects.MapObject.OnRandomQuality*
nameWithType.vb: MapObject.OnRandomQuality(Person, ActionInfo, Boolean, SkillType, Random, Boolean, Dictionary(Of Quality, Single))
@ -1615,7 +1603,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetRestoreNeedModifier
path: ../TinyLife/Objects/MapObject.cs
startLine: 424
startLine: 413
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1669,7 +1657,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: IsFreeSpot
path: ../TinyLife/Objects/MapObject.cs
startLine: 435
startLine: 424
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1709,7 +1697,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CanCrossBetween
path: ../TinyLife/Objects/MapObject.cs
startLine: 446
startLine: 435
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1750,7 +1738,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetPathCostModifier
path: ../TinyLife/Objects/MapObject.cs
startLine: 458
startLine: 447
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1792,7 +1780,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ResetToStatic
path: ../TinyLife/Objects/MapObject.cs
startLine: 468
startLine: 457
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1833,7 +1821,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: MoveToMap
path: ../TinyLife/Objects/MapObject.cs
startLine: 480
startLine: 469
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1877,7 +1865,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnPositionChanged
path: ../TinyLife/Objects/MapObject.cs
startLine: 499
startLine: 488
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1920,7 +1908,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DoDraw
path: ../TinyLife/Objects/MapObject.cs
startLine: 509
startLine: 498
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1967,7 +1955,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DoUpdate
path: ../TinyLife/Objects/MapObject.cs
startLine: 526
startLine: 515
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2008,7 +1996,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DrawColumns
path: ../TinyLife/Objects/MapObject.cs
startLine: 554
startLine: 543
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2090,7 +2078,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetModCategory
path: ../TinyLife/Objects/MapObject.cs
startLine: 620
startLine: 609
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -4337,90 +4325,12 @@ references:
- uid: TinyLife.Skills
name: Skills
href: TinyLife.Skills.html
- uid: TinyLife.Skills.SkillType.GetRandomQuality(TinyLife.Objects.Person,System.Random,TinyLife.Actions.ActionInfo,System.Boolean,TinyLife.Emotions.IEmotionSource,System.Boolean)
commentId: M:TinyLife.Skills.SkillType.GetRandomQuality(TinyLife.Objects.Person,System.Random,TinyLife.Actions.ActionInfo,System.Boolean,TinyLife.Emotions.IEmotionSource,System.Boolean)
isExternal: true
href: TinyLife.Skills.SkillType.html#TinyLife_Skills_SkillType_GetRandomQuality_TinyLife_Objects_Person_System_Random_TinyLife_Actions_ActionInfo_System_Boolean_TinyLife_Emotions_IEmotionSource_System_Boolean_
name: GetRandomQuality(Person, Random, ActionInfo, bool, IEmotionSource, bool)
nameWithType: SkillType.GetRandomQuality(Person, Random, ActionInfo, bool, IEmotionSource, bool)
fullName: TinyLife.Skills.SkillType.GetRandomQuality(TinyLife.Objects.Person, System.Random, TinyLife.Actions.ActionInfo, bool, TinyLife.Emotions.IEmotionSource, bool)
nameWithType.vb: SkillType.GetRandomQuality(Person, Random, ActionInfo, Boolean, IEmotionSource, Boolean)
fullName.vb: TinyLife.Skills.SkillType.GetRandomQuality(TinyLife.Objects.Person, System.Random, TinyLife.Actions.ActionInfo, Boolean, TinyLife.Emotions.IEmotionSource, Boolean)
name.vb: GetRandomQuality(Person, Random, ActionInfo, Boolean, IEmotionSource, Boolean)
spec.csharp:
- uid: TinyLife.Skills.SkillType.GetRandomQuality(TinyLife.Objects.Person,System.Random,TinyLife.Actions.ActionInfo,System.Boolean,TinyLife.Emotions.IEmotionSource,System.Boolean)
name: GetRandomQuality
href: TinyLife.Skills.SkillType.html#TinyLife_Skills_SkillType_GetRandomQuality_TinyLife_Objects_Person_System_Random_TinyLife_Actions_ActionInfo_System_Boolean_TinyLife_Emotions_IEmotionSource_System_Boolean_
- name: (
- uid: TinyLife.Objects.Person
name: Person
href: TinyLife.Objects.Person.html
- name: ','
- name: " "
- uid: System.Random
name: Random
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.random
- name: ','
- name: " "
- uid: TinyLife.Actions.ActionInfo
name: ActionInfo
href: TinyLife.Actions.ActionInfo.html
- name: ','
- name: " "
- uid: System.Boolean
name: bool
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.boolean
- name: ','
- name: " "
- uid: TinyLife.Emotions.IEmotionSource
name: IEmotionSource
href: TinyLife.Emotions.IEmotionSource.html
- name: ','
- name: " "
- uid: System.Boolean
name: bool
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.boolean
- name: )
spec.vb:
- uid: TinyLife.Skills.SkillType.GetRandomQuality(TinyLife.Objects.Person,System.Random,TinyLife.Actions.ActionInfo,System.Boolean,TinyLife.Emotions.IEmotionSource,System.Boolean)
name: GetRandomQuality
href: TinyLife.Skills.SkillType.html#TinyLife_Skills_SkillType_GetRandomQuality_TinyLife_Objects_Person_System_Random_TinyLife_Actions_ActionInfo_System_Boolean_TinyLife_Emotions_IEmotionSource_System_Boolean_
- name: (
- uid: TinyLife.Objects.Person
name: Person
href: TinyLife.Objects.Person.html
- name: ','
- name: " "
- uid: System.Random
name: Random
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.random
- name: ','
- name: " "
- uid: TinyLife.Actions.ActionInfo
name: ActionInfo
href: TinyLife.Actions.ActionInfo.html
- name: ','
- name: " "
- uid: System.Boolean
name: Boolean
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.boolean
- name: ','
- name: " "
- uid: TinyLife.Emotions.IEmotionSource
name: IEmotionSource
href: TinyLife.Emotions.IEmotionSource.html
- name: ','
- name: " "
- uid: System.Boolean
name: Boolean
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.boolean
- name: )
- uid: TinyLife.Objects.MapObject.OnRandomQuality*
commentId: Overload:TinyLife.Objects.MapObject.OnRandomQuality
href: TinyLife.Objects.MapObject.html#TinyLife_Objects_MapObject_OnRandomQuality_TinyLife_Objects_Person_TinyLife_Actions_ActionInfo_System_Boolean_TinyLife_Skills_SkillType_System_Random_System_Boolean_System_Collections_Generic_Dictionary_TinyLife_Skills_Quality_System_Single__
name: OnRandomQuality
nameWithType: MapObject.OnRandomQuality
fullName: TinyLife.Objects.MapObject.OnRandomQuality
- uid: System.Random
commentId: T:System.Random
parent: System
@ -4429,25 +4339,6 @@ references:
name: Random
nameWithType: Random
fullName: System.Random
- uid: TinyLife.Skills.Quality.Average
commentId: F:TinyLife.Skills.Quality.Average
href: TinyLife.Skills.Quality.html#TinyLife_Skills_Quality_Average
name: Average
nameWithType: Quality.Average
fullName: TinyLife.Skills.Quality.Average
- uid: TinyLife.Skills.Quality
commentId: T:TinyLife.Skills.Quality
parent: TinyLife.Skills
href: TinyLife.Skills.Quality.html
name: Quality
nameWithType: Quality
fullName: TinyLife.Skills.Quality
- uid: TinyLife.Objects.MapObject.OnRandomQuality*
commentId: Overload:TinyLife.Objects.MapObject.OnRandomQuality
href: TinyLife.Objects.MapObject.html#TinyLife_Objects_MapObject_OnRandomQuality_TinyLife_Objects_Person_TinyLife_Actions_ActionInfo_System_Boolean_TinyLife_Skills_SkillType_System_Random_System_Boolean_System_Collections_Generic_Dictionary_TinyLife_Skills_Quality_System_Single__
name: OnRandomQuality
nameWithType: MapObject.OnRandomQuality
fullName: TinyLife.Objects.MapObject.OnRandomQuality
- uid: System.Collections.Generic.Dictionary{TinyLife.Skills.Quality,System.Single}
commentId: T:System.Collections.Generic.Dictionary{TinyLife.Skills.Quality,System.Single}
parent: System.Collections.Generic

View file

@ -5,7 +5,7 @@ items:
id: ObjectCategory
parent: TinyLife.Objects
children:
- TinyLife.Objects.ObjectCategory.#ctor(System.String,System.Numerics.BigInteger,System.Boolean)
- TinyLife.Objects.ObjectCategory.#ctor(System.String,System.Numerics.BigInteger)
- TinyLife.Objects.ObjectCategory.AllowedOnWater
- TinyLife.Objects.ObjectCategory.BabyBathtub
- TinyLife.Objects.ObjectCategory.BabySittable
@ -102,7 +102,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ObjectCategory
path: ../TinyLife/Objects/MapObject.cs
startLine: 648
startLine: 637
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -169,7 +169,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Nothing
path: ../TinyLife/Objects/MapObject.cs
startLine: 651
startLine: 640
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -198,7 +198,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Ground
path: ../TinyLife/Objects/MapObject.cs
startLine: 653
startLine: 642
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -227,7 +227,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Chair
path: ../TinyLife/Objects/MapObject.cs
startLine: 655
startLine: 644
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -256,12 +256,10 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Sofa
path: ../TinyLife/Objects/MapObject.cs
startLine: 657
startLine: 645
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: An object category that represents living room-style sittable surfaces.
example: []
syntax:
content: public static readonly ObjectCategory Sofa
return:
@ -285,7 +283,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: BabySittable
path: ../TinyLife/Objects/MapObject.cs
startLine: 659
startLine: 647
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -314,7 +312,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Toilet
path: ../TinyLife/Objects/MapObject.cs
startLine: 661
startLine: 649
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -343,7 +341,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SingleBed
path: ../TinyLife/Objects/MapObject.cs
startLine: 663
startLine: 651
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -372,7 +370,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DoubleBed
path: ../TinyLife/Objects/MapObject.cs
startLine: 665
startLine: 653
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -401,7 +399,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Fridge
path: ../TinyLife/Objects/MapObject.cs
startLine: 667
startLine: 655
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -430,7 +428,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Shower
path: ../TinyLife/Objects/MapObject.cs
startLine: 669
startLine: 657
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -459,7 +457,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Counter
path: ../TinyLife/Objects/MapObject.cs
startLine: 671
startLine: 659
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -488,7 +486,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Stove
path: ../TinyLife/Objects/MapObject.cs
startLine: 673
startLine: 661
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -517,7 +515,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Oven
path: ../TinyLife/Objects/MapObject.cs
startLine: 675
startLine: 663
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -546,7 +544,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SmallObject
path: ../TinyLife/Objects/MapObject.cs
startLine: 677
startLine: 665
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -575,7 +573,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: NonBuyable
path: ../TinyLife/Objects/MapObject.cs
startLine: 679
startLine: 667
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -604,7 +602,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Table
path: ../TinyLife/Objects/MapObject.cs
startLine: 681
startLine: 669
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -633,7 +631,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Holdable
path: ../TinyLife/Objects/MapObject.cs
startLine: 683
startLine: 671
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -662,7 +660,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DeskObject
path: ../TinyLife/Objects/MapObject.cs
startLine: 685
startLine: 673
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -691,7 +689,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DisallowedOnGround
path: ../TinyLife/Objects/MapObject.cs
startLine: 687
startLine: 675
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -720,7 +718,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Computer
path: ../TinyLife/Objects/MapObject.cs
startLine: 689
startLine: 677
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -749,7 +747,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Sink
path: ../TinyLife/Objects/MapObject.cs
startLine: 691
startLine: 679
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -778,7 +776,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CounterObject
path: ../TinyLife/Objects/MapObject.cs
startLine: 693
startLine: 681
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -807,7 +805,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Cleanable
path: ../TinyLife/Objects/MapObject.cs
startLine: 695
startLine: 683
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -836,7 +834,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: People
path: ../TinyLife/Objects/MapObject.cs
startLine: 697
startLine: 685
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -865,7 +863,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Mailbox
path: ../TinyLife/Objects/MapObject.cs
startLine: 699
startLine: 687
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -894,7 +892,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Wardrobe
path: ../TinyLife/Objects/MapObject.cs
startLine: 701
startLine: 689
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -923,7 +921,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: NaturalGroundRequired
path: ../TinyLife/Objects/MapObject.cs
startLine: 703
startLine: 691
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -952,7 +950,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: WaterRequired
path: ../TinyLife/Objects/MapObject.cs
startLine: 705
startLine: 693
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -981,7 +979,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AllowedOnWater
path: ../TinyLife/Objects/MapObject.cs
startLine: 707
startLine: 695
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1010,7 +1008,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Self
path: ../TinyLife/Objects/MapObject.cs
startLine: 709
startLine: 697
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1039,7 +1037,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: WallHanging
path: ../TinyLife/Objects/MapObject.cs
startLine: 711
startLine: 699
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1068,7 +1066,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ForceGridPlacement
path: ../TinyLife/Objects/MapObject.cs
startLine: 713
startLine: 701
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1097,7 +1095,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Easel
path: ../TinyLife/Objects/MapObject.cs
startLine: 715
startLine: 703
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1126,7 +1124,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Mirror
path: ../TinyLife/Objects/MapObject.cs
startLine: 717
startLine: 705
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1155,7 +1153,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Bookshelf
path: ../TinyLife/Objects/MapObject.cs
startLine: 719
startLine: 707
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1184,7 +1182,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: NonColliding
path: ../TinyLife/Objects/MapObject.cs
startLine: 721
startLine: 709
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1213,7 +1211,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Gravestone
path: ../TinyLife/Objects/MapObject.cs
startLine: 723
startLine: 711
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1242,7 +1240,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: NonSellable
path: ../TinyLife/Objects/MapObject.cs
startLine: 725
startLine: 713
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1271,7 +1269,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: NonMovable
path: ../TinyLife/Objects/MapObject.cs
startLine: 727
startLine: 715
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1300,7 +1298,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Tree
path: ../TinyLife/Objects/MapObject.cs
startLine: 729
startLine: 717
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1329,7 +1327,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Television
path: ../TinyLife/Objects/MapObject.cs
startLine: 731
startLine: 719
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1358,7 +1356,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: BartendingObject
path: ../TinyLife/Objects/MapObject.cs
startLine: 733
startLine: 721
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1387,7 +1385,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Walls
path: ../TinyLife/Objects/MapObject.cs
startLine: 735
startLine: 723
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1416,7 +1414,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: LargeSurfaceObject
path: ../TinyLife/Objects/MapObject.cs
startLine: 737
startLine: 725
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1445,7 +1443,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: StandingDesk
path: ../TinyLife/Objects/MapObject.cs
startLine: 739
startLine: 727
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1474,7 +1472,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Lamp
path: ../TinyLife/Objects/MapObject.cs
startLine: 741
startLine: 729
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1503,7 +1501,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CeilingHanging
path: ../TinyLife/Objects/MapObject.cs
startLine: 743
startLine: 731
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1532,7 +1530,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CanCoverWindow
path: ../TinyLife/Objects/MapObject.cs
startLine: 745
startLine: 733
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1561,7 +1559,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CanCoverDoor
path: ../TinyLife/Objects/MapObject.cs
startLine: 747
startLine: 735
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1590,7 +1588,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Barbecue
path: ../TinyLife/Objects/MapObject.cs
startLine: 749
startLine: 737
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1619,7 +1617,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: TrashCan
path: ../TinyLife/Objects/MapObject.cs
startLine: 751
startLine: 739
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1648,7 +1646,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CanBeThrownAway
path: ../TinyLife/Objects/MapObject.cs
startLine: 753
startLine: 741
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1677,7 +1675,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CanBeScrapped
path: ../TinyLife/Objects/MapObject.cs
startLine: 755
startLine: 743
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1706,7 +1704,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ObstructedByRoofs
path: ../TinyLife/Objects/MapObject.cs
startLine: 757
startLine: 745
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1735,7 +1733,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: RoofAttached
path: ../TinyLife/Objects/MapObject.cs
startLine: 759
startLine: 747
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1764,7 +1762,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FireLight
path: ../TinyLife/Objects/MapObject.cs
startLine: 761
startLine: 749
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1793,7 +1791,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ToyBox
path: ../TinyLife/Objects/MapObject.cs
startLine: 763
startLine: 751
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1822,7 +1820,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ChildStove
path: ../TinyLife/Objects/MapObject.cs
startLine: 765
startLine: 753
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1851,7 +1849,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Sandbox
path: ../TinyLife/Objects/MapObject.cs
startLine: 767
startLine: 755
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1880,7 +1878,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: JungleGym
path: ../TinyLife/Objects/MapObject.cs
startLine: 769
startLine: 757
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1909,7 +1907,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Newspaper
path: ../TinyLife/Objects/MapObject.cs
startLine: 771
startLine: 759
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1938,7 +1936,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CoffeeMachine
path: ../TinyLife/Objects/MapObject.cs
startLine: 773
startLine: 761
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1967,7 +1965,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CafeDisplayCase
path: ../TinyLife/Objects/MapObject.cs
startLine: 775
startLine: 763
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1996,7 +1994,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GroundItem
path: ../TinyLife/Objects/MapObject.cs
startLine: 777
startLine: 765
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2025,7 +2023,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: TreeDecor
path: ../TinyLife/Objects/MapObject.cs
startLine: 779
startLine: 767
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2054,7 +2052,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OpeningHoursSign
path: ../TinyLife/Objects/MapObject.cs
startLine: 781
startLine: 769
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2083,7 +2081,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: TeaKit
path: ../TinyLife/Objects/MapObject.cs
startLine: 783
startLine: 771
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2112,7 +2110,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: LandlinePhone
path: ../TinyLife/Objects/MapObject.cs
startLine: 785
startLine: 773
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2141,7 +2139,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Potty
path: ../TinyLife/Objects/MapObject.cs
startLine: 789
startLine: 777
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2170,7 +2168,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Treadmill
path: ../TinyLife/Objects/MapObject.cs
startLine: 791
startLine: 779
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2199,7 +2197,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DumbbellHolder
path: ../TinyLife/Objects/MapObject.cs
startLine: 793
startLine: 781
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2228,7 +2226,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: WoodworkingItem
path: ../TinyLife/Objects/MapObject.cs
startLine: 795
startLine: 783
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2257,7 +2255,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ChangingStation
path: ../TinyLife/Objects/MapObject.cs
startLine: 797
startLine: 785
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2286,7 +2284,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Crib
path: ../TinyLife/Objects/MapObject.cs
startLine: 799
startLine: 787
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2315,7 +2313,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: BabyBathtub
path: ../TinyLife/Objects/MapObject.cs
startLine: 801
startLine: 789
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2344,27 +2342,25 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ProteinShakeMaker
path: ../TinyLife/Objects/MapObject.cs
startLine: 803
startLine: 790
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: An object category that represents objects where protein shakes can be made.
example: []
syntax:
content: public static readonly ObjectCategory ProteinShakeMaker
return:
type: TinyLife.Objects.ObjectCategory
content.vb: Public Shared ReadOnly ProteinShakeMaker As ObjectCategory
- uid: TinyLife.Objects.ObjectCategory.#ctor(System.String,System.Numerics.BigInteger,System.Boolean)
commentId: M:TinyLife.Objects.ObjectCategory.#ctor(System.String,System.Numerics.BigInteger,System.Boolean)
id: '#ctor(System.String,System.Numerics.BigInteger,System.Boolean)'
- uid: TinyLife.Objects.ObjectCategory.#ctor(System.String,System.Numerics.BigInteger)
commentId: M:TinyLife.Objects.ObjectCategory.#ctor(System.String,System.Numerics.BigInteger)
id: '#ctor(System.String,System.Numerics.BigInteger)'
parent: TinyLife.Objects.ObjectCategory
langs:
- csharp
- vb
name: ObjectCategory(string, BigInteger, bool)
nameWithType: ObjectCategory.ObjectCategory(string, BigInteger, bool)
fullName: TinyLife.Objects.ObjectCategory.ObjectCategory(string, System.Numerics.BigInteger, bool)
name: ObjectCategory(string, BigInteger)
nameWithType: ObjectCategory.ObjectCategory(string, BigInteger)
fullName: TinyLife.Objects.ObjectCategory.ObjectCategory(string, System.Numerics.BigInteger)
type: Constructor
source:
remote:
@ -2373,7 +2369,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Objects/MapObject.cs
startLine: 807
startLine: 794
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2383,7 +2379,7 @@ items:
This constructor is protected as it is only invoked via reflection.
example: []
syntax:
content: protected ObjectCategory(string name, BigInteger value, bool defined)
content: protected ObjectCategory(string name, BigInteger value)
parameters:
- id: name
type: System.String
@ -2391,14 +2387,11 @@ items:
- id: value
type: System.Numerics.BigInteger
description: The value
- id: defined
type: System.Boolean
description: Whether this enum value <xref href="DynamicEnums.DynamicEnum.IsDefined(DynamicEnums.DynamicEnum)" data-throw-if-not-resolved="false"></xref>, and thus, not a combined flag.
content.vb: Protected Sub New(name As String, value As BigInteger, defined As Boolean)
content.vb: Protected Sub New(name As String, value As BigInteger)
overload: TinyLife.Objects.ObjectCategory.#ctor*
nameWithType.vb: ObjectCategory.New(String, BigInteger, Boolean)
fullName.vb: TinyLife.Objects.ObjectCategory.New(String, System.Numerics.BigInteger, Boolean)
name.vb: New(String, BigInteger, Boolean)
nameWithType.vb: ObjectCategory.New(String, BigInteger)
fullName.vb: TinyLife.Objects.ObjectCategory.New(String, System.Numerics.BigInteger)
name.vb: New(String, BigInteger)
- uid: TinyLife.Objects.ObjectCategory.op_Implicit(TinyLife.Objects.ObjectCategory)~System.Numerics.BigInteger
commentId: M:TinyLife.Objects.ObjectCategory.op_Implicit(TinyLife.Objects.ObjectCategory)~System.Numerics.BigInteger
id: op_Implicit(TinyLife.Objects.ObjectCategory)~System.Numerics.BigInteger
@ -2417,7 +2410,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: op_Implicit
path: ../TinyLife/Objects/MapObject.cs
startLine: 810
startLine: 797
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2454,7 +2447,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: op_Implicit
path: ../TinyLife/Objects/MapObject.cs
startLine: 815
startLine: 802
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2492,7 +2485,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: op_BitwiseOr
path: ../TinyLife/Objects/MapObject.cs
startLine: 820
startLine: 807
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2533,7 +2526,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: op_BitwiseAnd
path: ../TinyLife/Objects/MapObject.cs
startLine: 825
startLine: 812
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2574,7 +2567,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: op_ExclusiveOr
path: ../TinyLife/Objects/MapObject.cs
startLine: 830
startLine: 817
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -2615,7 +2608,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: op_OnesComplement
path: ../TinyLife/Objects/MapObject.cs
startLine: 835
startLine: 822
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -4410,7 +4403,7 @@ references:
fullName: TinyLife.Actions.Behaviors.PhoneBehavior
- uid: TinyLife.Objects.ObjectCategory.#ctor*
commentId: Overload:TinyLife.Objects.ObjectCategory.#ctor
href: TinyLife.Objects.ObjectCategory.html#TinyLife_Objects_ObjectCategory__ctor_System_String_System_Numerics_BigInteger_System_Boolean_
href: TinyLife.Objects.ObjectCategory.html#TinyLife_Objects_ObjectCategory__ctor_System_String_System_Numerics_BigInteger_
name: ObjectCategory
nameWithType: ObjectCategory.ObjectCategory
fullName: TinyLife.Objects.ObjectCategory.ObjectCategory
@ -4436,17 +4429,6 @@ references:
name: BigInteger
nameWithType: BigInteger
fullName: System.Numerics.BigInteger
- uid: System.Boolean
commentId: T:System.Boolean
parent: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.boolean
name: bool
nameWithType: bool
fullName: bool
nameWithType.vb: Boolean
fullName.vb: Boolean
name.vb: Boolean
- uid: System.Numerics
commentId: N:System.Numerics
isExternal: true

View file

@ -28,7 +28,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AttachmentType
path: ../TinyLife/Objects/MapObject.cs
startLine: 1108
startLine: 1085
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -57,7 +57,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: None
path: ../TinyLife/Objects/MapObject.cs
startLine: 1111
startLine: 1088
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -83,7 +83,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Furniture
path: ../TinyLife/Objects/MapObject.cs
startLine: 1112
startLine: 1089
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -109,7 +109,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Person
path: ../TinyLife/Objects/MapObject.cs
startLine: 1113
startLine: 1090
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -135,7 +135,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Wall
path: ../TinyLife/Objects/MapObject.cs
startLine: 1114
startLine: 1091
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -161,7 +161,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Roof
path: ../TinyLife/Objects/MapObject.cs
startLine: 1115
startLine: 1092
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -187,7 +187,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Stairs
path: ../TinyLife/Objects/MapObject.cs
startLine: 1116
startLine: 1093
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -213,7 +213,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Ceiling
path: ../TinyLife/Objects/MapObject.cs
startLine: 1117
startLine: 1094
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -239,7 +239,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Ground
path: ../TinyLife/Objects/MapObject.cs
startLine: 1118
startLine: 1095
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -265,7 +265,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Ui
path: ../TinyLife/Objects/MapObject.cs
startLine: 1119
startLine: 1096
assemblies:
- Tiny Life
namespace: TinyLife.Objects

View file

@ -30,7 +30,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ParentInfo
path: ../TinyLife/Objects/MapObject.cs
startLine: 870
startLine: 857
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -69,7 +69,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Type
path: ../TinyLife/Objects/MapObject.cs
startLine: 875
startLine: 862
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -98,7 +98,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: LayerDepth
path: ../TinyLife/Objects/MapObject.cs
startLine: 881
startLine: 868
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -132,7 +132,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ShouldDraw
path: ../TinyLife/Objects/MapObject.cs
startLine: 885
startLine: 872
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -163,7 +163,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Objects/MapObject.cs
startLine: 899
startLine: 886
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -201,7 +201,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Objects/MapObject.cs
startLine: 909
startLine: 896
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -236,7 +236,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Objects/MapObject.cs
startLine: 918
startLine: 905
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -271,7 +271,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Objects/MapObject.cs
startLine: 927
startLine: 914
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -306,7 +306,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Objects/MapObject.cs
startLine: 936
startLine: 923
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -341,7 +341,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Objects/MapObject.cs
startLine: 947
startLine: 934
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -383,21 +383,17 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetDrawOffset
path: ../TinyLife/Objects/MapObject.cs
startLine: 958
startLine: 940
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: Returns the draw offset for an object that has this <xref href="TinyLife.Objects.ParentInfo" data-throw-if-not-resolved="false"></xref>.
example: []
syntax:
content: public Vector2 GetDrawOffset(Vector2 position)
parameters:
- id: position
type: Microsoft.Xna.Framework.Vector2
description: The object's position, which should be the same as the depth position passed to <xref href="TinyLife.Objects.MapObject.DrawColumns(TinyLife.World.Map%2cMicrosoft.Xna.Framework.Vector2%2cSystem.Single%2cSystem.Object%2cMicrosoft.Xna.Framework.Vector2%2cMLEM.Textures.TextureRegion%2cMicrosoft.Xna.Framework.Color%2cSystem.Single%2cMicrosoft.Xna.Framework.Point%2cSystem.Collections.Generic.List%7bMLEM.Graphics.StaticSpriteBatch.Item%7d%2cSystem.Boolean%2cTinyLife.Objects.ParentInfo%2cSystem.Single%2cMicrosoft.Xna.Framework.Graphics.SpriteEffects%2cSystem.Boolean)" data-throw-if-not-resolved="false"></xref>.
return:
type: Microsoft.Xna.Framework.Vector2
description: The draw offset.
content.vb: Public Function GetDrawOffset(position As Vector2) As Vector2
overload: TinyLife.Objects.ParentInfo.GetDrawOffset*
- uid: TinyLife.Objects.ParentInfo.GetDepthOffset(Microsoft.Xna.Framework.Vector2)
@ -418,21 +414,17 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetDepthOffset
path: ../TinyLife/Objects/MapObject.cs
startLine: 977
startLine: 954
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: Returns the depth offset for an object that has this <xref href="TinyLife.Objects.ParentInfo" data-throw-if-not-resolved="false"></xref>.
example: []
syntax:
content: public float GetDepthOffset(Vector2 position)
parameters:
- id: position
type: Microsoft.Xna.Framework.Vector2
description: The object's position, which should be the same as the depth position passed to <xref href="TinyLife.Objects.MapObject.DrawColumns(TinyLife.World.Map%2cMicrosoft.Xna.Framework.Vector2%2cSystem.Single%2cSystem.Object%2cMicrosoft.Xna.Framework.Vector2%2cMLEM.Textures.TextureRegion%2cMicrosoft.Xna.Framework.Color%2cSystem.Single%2cMicrosoft.Xna.Framework.Point%2cSystem.Collections.Generic.List%7bMLEM.Graphics.StaticSpriteBatch.Item%7d%2cSystem.Boolean%2cTinyLife.Objects.ParentInfo%2cSystem.Single%2cMicrosoft.Xna.Framework.Graphics.SpriteEffects%2cSystem.Boolean)" data-throw-if-not-resolved="false"></xref>.
return:
type: System.Single
description: The depth offset.
content.vb: Public Function GetDepthOffset(position As Vector2) As Single
overload: TinyLife.Objects.ParentInfo.GetDepthOffset*
references:

View file

@ -103,7 +103,7 @@ items:
summary: >-
A set of conditions for <xref href="TinyLife.Objects.FurnitureType" data-throw-if-not-resolved="false"></xref> instances that should optionally display the falling leaves particles that default trees do.
The minimum and maximum spawn heights and horizontal coordinates are in relation to the furniture's position in the world, with all offsets being multiplied by <xref href="TinyLife.Utilities.TextureHandler.TileWidth" data-throw-if-not-resolved="false"></xref> or <xref href="TinyLife.Utilities.TextureHandler.TileHeight" data-throw-if-not-resolved="false"></xref>.
The minimum and maximum spawn heights and horizontal coordinates are in relation to the furniture's position in the world, with all offsets being multiplied by Tile.Width or Tile.Height.
To add additional furniture that displays falling leaves, simply add to this collection.
example: []
@ -407,38 +407,6 @@ items:
return:
type: Microsoft.Xna.Framework.Vector2
content.vb: Public VisualMotion As Vector2
- uid: TinyLife.Objects.Particle.ScreenPosOffset
commentId: F:TinyLife.Objects.Particle.ScreenPosOffset
id: ScreenPosOffset
parent: TinyLife.Objects.Particle
langs:
- csharp
- vb
name: ScreenPosOffset
nameWithType: Particle.ScreenPosOffset
fullName: TinyLife.Objects.Particle.ScreenPosOffset
type: Field
source:
remote:
path: TinyLife/Objects/Particle.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ScreenPosOffset
path: ../TinyLife/Objects/Particle.cs
startLine: 86
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: >-
An offset from this particle's screen-space draw position, also in screen space.
This is added to the final draw position in <xref href="TinyLife.Objects.Particle.Draw(Microsoft.Xna.Framework.GameTime%2cMicrosoft.Xna.Framework.Graphics.SpriteBatch)" data-throw-if-not-resolved="false"></xref>, after <xref href="TinyLife.Utilities.Extensions.ToScreenPos(Microsoft.Xna.Framework.Vector2%2cSystem.Single%2cSystem.Boolean%2cSystem.Boolean%2cSystem.Boolean)" data-throw-if-not-resolved="false"></xref> has already been called.
example: []
syntax:
content: public Vector2 ScreenPosOffset
return:
type: Microsoft.Xna.Framework.Vector2
content.vb: Public ScreenPosOffset As Vector2
- uid: TinyLife.Objects.Particle.VisualWorldOffset
commentId: F:TinyLife.Objects.Particle.VisualWorldOffset
id: VisualWorldOffset
@ -457,20 +425,42 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: VisualWorldOffset
path: ../TinyLife/Objects/Particle.cs
startLine: 91
startLine: 82
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: >-
An offset from this particle's world-space draw position, also in world space.
This is translated to screen space using <xref href="TinyLife.Utilities.Extensions.ToScreenPos(Microsoft.Xna.Framework.Vector2%2cSystem.Single%2cSystem.Boolean%2cSystem.Boolean%2cSystem.Boolean)" data-throw-if-not-resolved="false"></xref> and added to the final draw position in <xref href="TinyLife.Objects.Particle.Draw(Microsoft.Xna.Framework.GameTime%2cMicrosoft.Xna.Framework.Graphics.SpriteBatch)" data-throw-if-not-resolved="false"></xref>.
example: []
syntax:
content: public Vector2 VisualWorldOffset
return:
type: Microsoft.Xna.Framework.Vector2
content.vb: Public VisualWorldOffset As Vector2
- uid: TinyLife.Objects.Particle.ScreenPosOffset
commentId: F:TinyLife.Objects.Particle.ScreenPosOffset
id: ScreenPosOffset
parent: TinyLife.Objects.Particle
langs:
- csharp
- vb
name: ScreenPosOffset
nameWithType: Particle.ScreenPosOffset
fullName: TinyLife.Objects.Particle.ScreenPosOffset
type: Field
source:
remote:
path: TinyLife/Objects/Particle.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ScreenPosOffset
path: ../TinyLife/Objects/Particle.cs
startLine: 83
assemblies:
- Tiny Life
namespace: TinyLife.Objects
syntax:
content: public Vector2 ScreenPosOffset
return:
type: Microsoft.Xna.Framework.Vector2
content.vb: Public ScreenPosOffset As Vector2
- uid: TinyLife.Objects.Particle.DepthPosOffset
commentId: F:TinyLife.Objects.Particle.DepthPosOffset
id: DepthPosOffset
@ -489,12 +479,10 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DepthPosOffset
path: ../TinyLife/Objects/Particle.cs
startLine: 95
startLine: 84
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: An offset that is applied to this particle's <xref href="TinyLife.Objects.Particle.Position" data-throw-if-not-resolved="false"></xref>, in world space, for depth calculations.
example: []
syntax:
content: public Vector2 DepthPosOffset
return:
@ -518,7 +506,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ParentInfo
path: ../TinyLife/Objects/Particle.cs
startLine: 99
startLine: 88
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -547,7 +535,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: IgnoreParentDrawPos
path: ../TinyLife/Objects/Particle.cs
startLine: 103
startLine: 92
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -576,7 +564,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: UpdateWhenPaused
path: ../TinyLife/Objects/Particle.cs
startLine: 108
startLine: 97
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -608,7 +596,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Color
path: ../TinyLife/Objects/Particle.cs
startLine: 112
startLine: 101
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -637,7 +625,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SpriteEffects
path: ../TinyLife/Objects/Particle.cs
startLine: 116
startLine: 105
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -666,7 +654,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ForceOutside
path: ../TinyLife/Objects/Particle.cs
startLine: 121
startLine: 110
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -698,7 +686,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnUpdate
path: ../TinyLife/Objects/Particle.cs
startLine: 126
startLine: 115
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -730,7 +718,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Light
path: ../TinyLife/Objects/Particle.cs
startLine: 131
startLine: 120
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -762,7 +750,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Scale
path: ../TinyLife/Objects/Particle.cs
startLine: 135
startLine: 124
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -793,7 +781,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Animation
path: ../TinyLife/Objects/Particle.cs
startLine: 140
startLine: 129
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -822,7 +810,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: TimeLived
path: ../TinyLife/Objects/Particle.cs
startLine: 145
startLine: 134
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -854,7 +842,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Objects/Particle.cs
startLine: 154
startLine: 143
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -898,7 +886,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Objects/Particle.cs
startLine: 164
startLine: 153
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -942,7 +930,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Update
path: ../TinyLife/Objects/Particle.cs
startLine: 177
startLine: 166
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -983,7 +971,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Draw
path: ../TinyLife/Objects/Particle.cs
startLine: 215
startLine: 204
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1018,7 +1006,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Remove
path: ../TinyLife/Objects/Particle.cs
startLine: 239
startLine: 215
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1046,7 +1034,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnRemoved
path: ../TinyLife/Objects/Particle.cs
startLine: 247
startLine: 223
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1074,7 +1062,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnAdded
path: ../TinyLife/Objects/Particle.cs
startLine: 254
startLine: 230
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1102,7 +1090,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Spawn
path: ../TinyLife/Objects/Particle.cs
startLine: 265
startLine: 241
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -1604,18 +1592,6 @@ references:
name: FurnitureType
nameWithType: FurnitureType
fullName: TinyLife.Objects.FurnitureType
- uid: TinyLife.Utilities.TextureHandler.TileWidth
commentId: P:TinyLife.Utilities.TextureHandler.TileWidth
href: TinyLife.Utilities.TextureHandler.html#TinyLife_Utilities_TextureHandler_TileWidth
name: TileWidth
nameWithType: TextureHandler.TileWidth
fullName: TinyLife.Utilities.TextureHandler.TileWidth
- uid: TinyLife.Utilities.TextureHandler.TileHeight
commentId: P:TinyLife.Utilities.TextureHandler.TileHeight
href: TinyLife.Utilities.TextureHandler.html#TinyLife_Utilities_TextureHandler_TileHeight
name: TileHeight
nameWithType: TextureHandler.TileHeight
fullName: TinyLife.Utilities.TextureHandler.TileHeight
- uid: System.Collections.Generic.Dictionary{TinyLife.Objects.FurnitureType,System.ValueTuple{System.Single,System.Single,System.Single,System.Single,System.Single}}
commentId: T:System.Collections.Generic.Dictionary{TinyLife.Objects.FurnitureType,System.ValueTuple{System.Single,System.Single,System.Single,System.Single,System.Single}}
parent: System.Collections.Generic
@ -2201,117 +2177,6 @@ references:
name: Friction
nameWithType: Particle.Friction
fullName: TinyLife.Objects.Particle.Friction
- uid: TinyLife.Objects.Particle.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch)
commentId: M:TinyLife.Objects.Particle.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch)
isExternal: true
href: TinyLife.Objects.Particle.html#TinyLife_Objects_Particle_Draw_Microsoft_Xna_Framework_GameTime_Microsoft_Xna_Framework_Graphics_SpriteBatch_
name: Draw(GameTime, SpriteBatch)
nameWithType: Particle.Draw(GameTime, SpriteBatch)
fullName: TinyLife.Objects.Particle.Draw(Microsoft.Xna.Framework.GameTime, Microsoft.Xna.Framework.Graphics.SpriteBatch)
spec.csharp:
- uid: TinyLife.Objects.Particle.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch)
name: Draw
href: TinyLife.Objects.Particle.html#TinyLife_Objects_Particle_Draw_Microsoft_Xna_Framework_GameTime_Microsoft_Xna_Framework_Graphics_SpriteBatch_
- name: (
- uid: Microsoft.Xna.Framework.GameTime
name: GameTime
isExternal: true
- name: ','
- name: " "
- uid: Microsoft.Xna.Framework.Graphics.SpriteBatch
name: SpriteBatch
isExternal: true
- name: )
spec.vb:
- uid: TinyLife.Objects.Particle.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch)
name: Draw
href: TinyLife.Objects.Particle.html#TinyLife_Objects_Particle_Draw_Microsoft_Xna_Framework_GameTime_Microsoft_Xna_Framework_Graphics_SpriteBatch_
- name: (
- uid: Microsoft.Xna.Framework.GameTime
name: GameTime
isExternal: true
- name: ','
- name: " "
- uid: Microsoft.Xna.Framework.Graphics.SpriteBatch
name: SpriteBatch
isExternal: true
- name: )
- uid: TinyLife.Utilities.Extensions.ToScreenPos(Microsoft.Xna.Framework.Vector2,System.Single,System.Boolean,System.Boolean,System.Boolean)
commentId: M:TinyLife.Utilities.Extensions.ToScreenPos(Microsoft.Xna.Framework.Vector2,System.Single,System.Boolean,System.Boolean,System.Boolean)
isExternal: true
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_ToScreenPos_Microsoft_Xna_Framework_Vector2_System_Single_System_Boolean_System_Boolean_System_Boolean_
name: ToScreenPos(Vector2, float, bool, bool, bool)
nameWithType: Extensions.ToScreenPos(Vector2, float, bool, bool, bool)
fullName: TinyLife.Utilities.Extensions.ToScreenPos(Microsoft.Xna.Framework.Vector2, float, bool, bool, bool)
nameWithType.vb: Extensions.ToScreenPos(Vector2, Single, Boolean, Boolean, Boolean)
fullName.vb: TinyLife.Utilities.Extensions.ToScreenPos(Microsoft.Xna.Framework.Vector2, Single, Boolean, Boolean, Boolean)
name.vb: ToScreenPos(Vector2, Single, Boolean, Boolean, Boolean)
spec.csharp:
- uid: TinyLife.Utilities.Extensions.ToScreenPos(Microsoft.Xna.Framework.Vector2,System.Single,System.Boolean,System.Boolean,System.Boolean)
name: ToScreenPos
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_ToScreenPos_Microsoft_Xna_Framework_Vector2_System_Single_System_Boolean_System_Boolean_System_Boolean_
- name: (
- uid: Microsoft.Xna.Framework.Vector2
name: Vector2
isExternal: true
- name: ','
- name: " "
- uid: System.Single
name: float
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.single
- name: ','
- name: " "
- uid: System.Boolean
name: bool
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.boolean
- name: ','
- name: " "
- uid: System.Boolean
name: bool
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.boolean
- name: ','
- name: " "
- uid: System.Boolean
name: bool
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.boolean
- name: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.ToScreenPos(Microsoft.Xna.Framework.Vector2,System.Single,System.Boolean,System.Boolean,System.Boolean)
name: ToScreenPos
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_ToScreenPos_Microsoft_Xna_Framework_Vector2_System_Single_System_Boolean_System_Boolean_System_Boolean_
- name: (
- uid: Microsoft.Xna.Framework.Vector2
name: Vector2
isExternal: true
- name: ','
- name: " "
- uid: System.Single
name: Single
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.single
- name: ','
- name: " "
- uid: System.Boolean
name: Boolean
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.boolean
- name: ','
- name: " "
- uid: System.Boolean
name: Boolean
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.boolean
- name: ','
- name: " "
- uid: System.Boolean
name: Boolean
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.boolean
- name: )
- uid: TinyLife.Objects.Particle.ParentInfo
commentId: F:TinyLife.Objects.Particle.ParentInfo
href: TinyLife.Objects.Particle.html#TinyLife_Objects_Particle_ParentInfo

View file

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

View file

@ -19,7 +19,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: EmotionModifiersChangedDelegate
path: ../TinyLife/Objects/Person.cs
startLine: 3497
startLine: 3483
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: 3487
startLine: 3473
assemblies:
- Tiny Life
namespace: TinyLife.Objects

View file

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

View file

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

View file

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

View file

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

File diff suppressed because it is too large Load diff

View file

@ -30,7 +30,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Pose
path: ../TinyLife/Objects/Person.cs
startLine: 3554
startLine: 3540
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -60,7 +60,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Standing
path: ../TinyLife/Objects/Person.cs
startLine: 3559
startLine: 3545
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -88,7 +88,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Walking
path: ../TinyLife/Objects/Person.cs
startLine: 3563
startLine: 3549
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -116,7 +116,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Sitting
path: ../TinyLife/Objects/Person.cs
startLine: 3567
startLine: 3553
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -144,7 +144,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Laying
path: ../TinyLife/Objects/Person.cs
startLine: 3572
startLine: 3558
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -175,7 +175,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SittingGround
path: ../TinyLife/Objects/Person.cs
startLine: 3577
startLine: 3563
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -206,7 +206,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: WorkingStanding
path: ../TinyLife/Objects/Person.cs
startLine: 3581
startLine: 3567
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -234,7 +234,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: WorkingSitting
path: ../TinyLife/Objects/Person.cs
startLine: 3585
startLine: 3571
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -262,7 +262,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: WorkingSittingGround
path: ../TinyLife/Objects/Person.cs
startLine: 3589
startLine: 3575
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -290,7 +290,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Running
path: ../TinyLife/Objects/Person.cs
startLine: 3593
startLine: 3579
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -318,7 +318,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: StandingArmsOut
path: ../TinyLife/Objects/Person.cs
startLine: 3597
startLine: 3583
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -346,7 +346,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: WalkingArmsOut
path: ../TinyLife/Objects/Person.cs
startLine: 3601
startLine: 3587
assemblies:
- Tiny Life
namespace: TinyLife.Objects

View file

@ -22,7 +22,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: PregnancyAbility
path: ../TinyLife/Objects/Person.cs
startLine: 3729
startLine: 3715
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -52,7 +52,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Neither
path: ../TinyLife/Objects/Person.cs
startLine: 3734
startLine: 3720
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -80,7 +80,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetOthersPregnant
path: ../TinyLife/Objects/Person.cs
startLine: 3738
startLine: 3724
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -108,7 +108,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetPregnant
path: ../TinyLife/Objects/Person.cs
startLine: 3742
startLine: 3728
assemblies:
- Tiny Life
namespace: TinyLife.Objects

View file

@ -35,7 +35,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SpeakStyle
path: ../TinyLife/Objects/Person.cs
startLine: 3685
startLine: 3671
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -79,7 +79,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Affirmative
path: ../TinyLife/Objects/Person.cs
startLine: 3689
startLine: 3675
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -105,7 +105,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Angry
path: ../TinyLife/Objects/Person.cs
startLine: 3690
startLine: 3676
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -131,7 +131,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Annoyed
path: ../TinyLife/Objects/Person.cs
startLine: 3691
startLine: 3677
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -157,7 +157,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Bored
path: ../TinyLife/Objects/Person.cs
startLine: 3692
startLine: 3678
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -183,7 +183,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Childish
path: ../TinyLife/Objects/Person.cs
startLine: 3693
startLine: 3679
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -209,7 +209,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Confident
path: ../TinyLife/Objects/Person.cs
startLine: 3694
startLine: 3680
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -235,7 +235,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Confused
path: ../TinyLife/Objects/Person.cs
startLine: 3695
startLine: 3681
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -261,7 +261,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Disagreeing
path: ../TinyLife/Objects/Person.cs
startLine: 3696
startLine: 3682
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -287,7 +287,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Excited
path: ../TinyLife/Objects/Person.cs
startLine: 3697
startLine: 3683
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -313,7 +313,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Happy
path: ../TinyLife/Objects/Person.cs
startLine: 3698
startLine: 3684
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -339,7 +339,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Neutral
path: ../TinyLife/Objects/Person.cs
startLine: 3699
startLine: 3685
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -365,7 +365,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Questioning
path: ../TinyLife/Objects/Person.cs
startLine: 3700
startLine: 3686
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -391,7 +391,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Sad
path: ../TinyLife/Objects/Person.cs
startLine: 3701
startLine: 3687
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -417,7 +417,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Scared
path: ../TinyLife/Objects/Person.cs
startLine: 3702
startLine: 3688
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -443,7 +443,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Shocked
path: ../TinyLife/Objects/Person.cs
startLine: 3703
startLine: 3689
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -469,7 +469,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Thinking
path: ../TinyLife/Objects/Person.cs
startLine: 3704
startLine: 3690
assemblies:
- Tiny Life
namespace: TinyLife.Objects

View file

@ -22,7 +22,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: StylePreference
path: ../TinyLife/Objects/Clothes.cs
startLine: 526
startLine: 523
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -56,7 +56,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Neutral
path: ../TinyLife/Objects/Clothes.cs
startLine: 529
startLine: 526
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -82,7 +82,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Masculine
path: ../TinyLife/Objects/Clothes.cs
startLine: 530
startLine: 527
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -108,7 +108,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Feminine
path: ../TinyLife/Objects/Clothes.cs
startLine: 531
startLine: 528
assemblies:
- Tiny Life
namespace: TinyLife.Objects

View file

@ -44,15 +44,10 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Upgrade
path: ../TinyLife/Objects/Upgrade.cs
startLine: 20
startLine: 16
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: >-
An upgrade is a modification that can be applied to <xref href="TinyLife.Objects.Furniture" data-throw-if-not-resolved="false"></xref> to change the way it behaves.
New upgrades can be registered using <xref href="TinyLife.Objects.Upgrade.Register(TinyLife.Objects.Upgrade)" data-throw-if-not-resolved="false"></xref>, and upgrades can be queried for a <xref href="TinyLife.Objects.Furniture" data-throw-if-not-resolved="false"></xref> object using <xref href="TinyLife.Objects.Furniture.HasFullUpgrade(TinyLife.Objects.Upgrade)" data-throw-if-not-resolved="false"></xref> and <xref href="TinyLife.Objects.Furniture.GetAppliedUpgrade(TinyLife.Objects.Upgrade)" data-throw-if-not-resolved="false"></xref>.
example: []
syntax:
content: >-
[JsonConverter(typeof(StaticJsonConverter<Upgrade>), new object[] { typeof(Upgrade), "PrivateUpgrades" })]
@ -94,15 +89,10 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Upgrades
path: ../TinyLife/Objects/Upgrade.cs
startLine: 28
startLine: 20
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: >-
The collection of all registered upgrades.
New upgrades can be registered using <xref href="TinyLife.Objects.Upgrade.Register(TinyLife.Objects.Upgrade)" data-throw-if-not-resolved="false"></xref>.
example: []
syntax:
content: public static readonly ReadOnlyDictionary<string, Upgrade> Upgrades
return:
@ -126,7 +116,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ProtectiveCoating
path: ../TinyLife/Objects/Upgrade.cs
startLine: 31
startLine: 22
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -153,7 +143,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SofterCushioning
path: ../TinyLife/Objects/Upgrade.cs
startLine: 32
startLine: 23
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -180,7 +170,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SwivelFaucet
path: ../TinyLife/Objects/Upgrade.cs
startLine: 33
startLine: 24
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -207,7 +197,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Bidet
path: ../TinyLife/Objects/Upgrade.cs
startLine: 34
startLine: 25
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -234,7 +224,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: BetterPressure
path: ../TinyLife/Objects/Upgrade.cs
startLine: 35
startLine: 26
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -261,7 +251,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ConfigurableShowerHead
path: ../TinyLife/Objects/Upgrade.cs
startLine: 36
startLine: 27
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -288,7 +278,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: RgbLights
path: ../TinyLife/Objects/Upgrade.cs
startLine: 37
startLine: 28
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -315,7 +305,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: TemperatureGauge
path: ../TinyLife/Objects/Upgrade.cs
startLine: 38
startLine: 29
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -342,7 +332,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: BetterMemory
path: ../TinyLife/Objects/Upgrade.cs
startLine: 39
startLine: 30
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -369,7 +359,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FridgeTemperatureControl
path: ../TinyLife/Objects/Upgrade.cs
startLine: 40
startLine: 31
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -396,7 +386,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: WaterPurifier
path: ../TinyLife/Objects/Upgrade.cs
startLine: 41
startLine: 32
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -423,12 +413,10 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Name
path: ../TinyLife/Objects/Upgrade.cs
startLine: 47
startLine: 34
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: The name of this upgrade, which should be unique.
example: []
syntax:
content: public readonly string Name
return:
@ -452,12 +440,10 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Icon
path: ../TinyLife/Objects/Upgrade.cs
startLine: 51
startLine: 35
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: The icon of this upgrade.
example: []
syntax:
content: public readonly TextureRegion Icon
return:
@ -481,12 +467,10 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: RequiredSkillLevel
path: ../TinyLife/Objects/Upgrade.cs
startLine: 55
startLine: 36
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: The skill level that is required to be able to apply this upgrade.
example: []
syntax:
content: public readonly int RequiredSkillLevel
return:
@ -510,12 +494,10 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Price
path: ../TinyLife/Objects/Upgrade.cs
startLine: 59
startLine: 37
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: The price for applying this upgrade.
example: []
syntax:
content: public readonly int Price
return:
@ -539,12 +521,10 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ValidObjects
path: ../TinyLife/Objects/Upgrade.cs
startLine: 63
startLine: 38
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: A combined flag of <xref href="TinyLife.Objects.ObjectCategory" data-throw-if-not-resolved="false"></xref> flags that determine which objects this upgrade can be applied on.
example: []
syntax:
content: public readonly ObjectCategory ValidObjects
return:
@ -568,15 +548,10 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: HasToLearn
path: ../TinyLife/Objects/Upgrade.cs
startLine: 69
startLine: 40
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: >-
Whether this upgrade has to be discovered, or learned.
If this is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>, the <xref href="TinyLife.Objects.Upgrade.Memory" data-throw-if-not-resolved="false"></xref> will be <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a>.
example: []
syntax:
content: public bool HasToLearn { get; init; }
parameters: []
@ -602,12 +577,10 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Requirements
path: ../TinyLife/Objects/Upgrade.cs
startLine: 73
startLine: 41
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: A set of <xref href="TinyLife.Objects.Upgrade.Upgrades" data-throw-if-not-resolved="false"></xref> that optionally need to be applied first before this upgrade can be applied.
example: []
syntax:
content: public Func<Upgrade[]> Requirements { get; init; }
parameters: []
@ -633,15 +606,10 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Memory
path: ../TinyLife/Objects/Upgrade.cs
startLine: 79
startLine: 43
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: >-
The memory for this upgrade, which is stored in <xref href="TinyLife.Goals.MemoryType.UpgradeLearned" data-throw-if-not-resolved="false"></xref>. An upgrade can only be applied by a <xref href="TinyLife.Objects.Person" data-throw-if-not-resolved="false"></xref> if they have this memory.
Note that, if <xref href="TinyLife.Objects.Upgrade.HasToLearn" data-throw-if-not-resolved="false"></xref> is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>, this will return <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a>.
example: []
syntax:
content: public MemoryType Memory { get; }
parameters: []
@ -667,7 +635,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SourceString
path: ../TinyLife/Objects/Upgrade.cs
startLine: 81
startLine: 44
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -700,30 +668,23 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: ../TinyLife/Objects/Upgrade.cs
startLine: 91
startLine: 46
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: Creates a new upgrade with the given settings.
example: []
syntax:
content: public Upgrade(string name, TextureRegion icon, int requiredSkillLevel, int price, ObjectCategory validObjects)
parameters:
- id: name
type: System.String
description: The name of this upgrade, which should be unique.
- id: icon
type: MLEM.Textures.TextureRegion
description: The icon of this upgrade.
- id: requiredSkillLevel
type: System.Int32
description: The skill level that is required to be able to apply this upgrade.
- id: price
type: System.Int32
description: The price for applying this upgrade.
- id: validObjects
type: TinyLife.Objects.ObjectCategory
description: A combined flag of <xref href="TinyLife.Objects.ObjectCategory" data-throw-if-not-resolved="false"></xref> flags that determine which objects this upgrade can be applied on.
content.vb: Public Sub New(name As String, icon As TextureRegion, requiredSkillLevel As Integer, price As Integer, validObjects As ObjectCategory)
overload: TinyLife.Objects.Upgrade.#ctor*
nameWithType.vb: Upgrade.New(String, TextureRegion, Integer, Integer, ObjectCategory)
@ -747,21 +708,17 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Knows
path: ../TinyLife/Objects/Upgrade.cs
startLine: 104
startLine: 54
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: Returns whether the given <xref href="TinyLife.Objects.Person" data-throw-if-not-resolved="false"></xref> knows this upgrade. If <xref href="TinyLife.Objects.Upgrade.HasToLearn" data-throw-if-not-resolved="false"></xref> is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>, this method always returns <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a>.
example: []
syntax:
content: public bool Knows(Person person)
parameters:
- id: person
type: TinyLife.Objects.Person
description: The person.
return:
type: System.Boolean
description: Whether the person knows this upgrade.
content.vb: Public Function Knows(person As Person) As Boolean
overload: TinyLife.Objects.Upgrade.Knows*
- uid: TinyLife.Objects.Upgrade.Learn(TinyLife.Objects.Person)
@ -782,18 +739,15 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Learn
path: ../TinyLife/Objects/Upgrade.cs
startLine: 112
startLine: 58
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: Causes the given <xref href="TinyLife.Objects.Person" data-throw-if-not-resolved="false"></xref> to learn this upgrade, adding the appropriate <xref href="TinyLife.Objects.Upgrade.Memory" data-throw-if-not-resolved="false"></xref> to them and optionally displaying a notification.
example: []
syntax:
content: public void Learn(Person person)
parameters:
- id: person
type: TinyLife.Objects.Person
description: The person who should learn this upgrade.
content.vb: Public Sub Learn(person As Person)
overload: TinyLife.Objects.Upgrade.Learn*
- uid: TinyLife.Objects.Upgrade.Register(TinyLife.Objects.Upgrade)
@ -814,105 +768,20 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Register
path: ../TinyLife/Objects/Upgrade.cs
startLine: 125
startLine: 66
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: Registers the given <xref href="TinyLife.Objects.Upgrade" data-throw-if-not-resolved="false"></xref> to the <xref href="TinyLife.Objects.Upgrade.Upgrades" data-throw-if-not-resolved="false"></xref> collection.
example: []
syntax:
content: public static Upgrade Register(Upgrade upgrade)
parameters:
- id: upgrade
type: TinyLife.Objects.Upgrade
description: The upgrade to register.
return:
type: TinyLife.Objects.Upgrade
description: The <code class="paramref">upgrade</code>, for chaining.
content.vb: Public Shared Function Register(upgrade As Upgrade) As Upgrade
overload: TinyLife.Objects.Upgrade.Register*
references:
- uid: TinyLife.Objects.Furniture
commentId: T:TinyLife.Objects.Furniture
parent: TinyLife.Objects
href: TinyLife.Objects.Furniture.html
name: Furniture
nameWithType: Furniture
fullName: TinyLife.Objects.Furniture
- uid: TinyLife.Objects.Upgrade.Register(TinyLife.Objects.Upgrade)
commentId: M:TinyLife.Objects.Upgrade.Register(TinyLife.Objects.Upgrade)
href: TinyLife.Objects.Upgrade.html#TinyLife_Objects_Upgrade_Register_TinyLife_Objects_Upgrade_
name: Register(Upgrade)
nameWithType: Upgrade.Register(Upgrade)
fullName: TinyLife.Objects.Upgrade.Register(TinyLife.Objects.Upgrade)
spec.csharp:
- uid: TinyLife.Objects.Upgrade.Register(TinyLife.Objects.Upgrade)
name: Register
href: TinyLife.Objects.Upgrade.html#TinyLife_Objects_Upgrade_Register_TinyLife_Objects_Upgrade_
- name: (
- uid: TinyLife.Objects.Upgrade
name: Upgrade
href: TinyLife.Objects.Upgrade.html
- name: )
spec.vb:
- uid: TinyLife.Objects.Upgrade.Register(TinyLife.Objects.Upgrade)
name: Register
href: TinyLife.Objects.Upgrade.html#TinyLife_Objects_Upgrade_Register_TinyLife_Objects_Upgrade_
- name: (
- uid: TinyLife.Objects.Upgrade
name: Upgrade
href: TinyLife.Objects.Upgrade.html
- name: )
- uid: TinyLife.Objects.Furniture.HasFullUpgrade(TinyLife.Objects.Upgrade)
commentId: M:TinyLife.Objects.Furniture.HasFullUpgrade(TinyLife.Objects.Upgrade)
parent: TinyLife.Objects.Furniture
href: TinyLife.Objects.Furniture.html#TinyLife_Objects_Furniture_HasFullUpgrade_TinyLife_Objects_Upgrade_
name: HasFullUpgrade(Upgrade)
nameWithType: Furniture.HasFullUpgrade(Upgrade)
fullName: TinyLife.Objects.Furniture.HasFullUpgrade(TinyLife.Objects.Upgrade)
spec.csharp:
- uid: TinyLife.Objects.Furniture.HasFullUpgrade(TinyLife.Objects.Upgrade)
name: HasFullUpgrade
href: TinyLife.Objects.Furniture.html#TinyLife_Objects_Furniture_HasFullUpgrade_TinyLife_Objects_Upgrade_
- name: (
- uid: TinyLife.Objects.Upgrade
name: Upgrade
href: TinyLife.Objects.Upgrade.html
- name: )
spec.vb:
- uid: TinyLife.Objects.Furniture.HasFullUpgrade(TinyLife.Objects.Upgrade)
name: HasFullUpgrade
href: TinyLife.Objects.Furniture.html#TinyLife_Objects_Furniture_HasFullUpgrade_TinyLife_Objects_Upgrade_
- name: (
- uid: TinyLife.Objects.Upgrade
name: Upgrade
href: TinyLife.Objects.Upgrade.html
- name: )
- uid: TinyLife.Objects.Furniture.GetAppliedUpgrade(TinyLife.Objects.Upgrade)
commentId: M:TinyLife.Objects.Furniture.GetAppliedUpgrade(TinyLife.Objects.Upgrade)
parent: TinyLife.Objects.Furniture
href: TinyLife.Objects.Furniture.html#TinyLife_Objects_Furniture_GetAppliedUpgrade_TinyLife_Objects_Upgrade_
name: GetAppliedUpgrade(Upgrade)
nameWithType: Furniture.GetAppliedUpgrade(Upgrade)
fullName: TinyLife.Objects.Furniture.GetAppliedUpgrade(TinyLife.Objects.Upgrade)
spec.csharp:
- uid: TinyLife.Objects.Furniture.GetAppliedUpgrade(TinyLife.Objects.Upgrade)
name: GetAppliedUpgrade
href: TinyLife.Objects.Furniture.html#TinyLife_Objects_Furniture_GetAppliedUpgrade_TinyLife_Objects_Upgrade_
- name: (
- uid: TinyLife.Objects.Upgrade
name: Upgrade
href: TinyLife.Objects.Upgrade.html
- name: )
spec.vb:
- uid: TinyLife.Objects.Furniture.GetAppliedUpgrade(TinyLife.Objects.Upgrade)
name: GetAppliedUpgrade
href: TinyLife.Objects.Furniture.html#TinyLife_Objects_Furniture_GetAppliedUpgrade_TinyLife_Objects_Upgrade_
- name: (
- uid: TinyLife.Objects.Upgrade
name: Upgrade
href: TinyLife.Objects.Upgrade.html
- name: )
- uid: TinyLife.Objects
commentId: N:TinyLife.Objects
href: TinyLife.html
@ -1483,12 +1352,6 @@ references:
name: ObjectCategory
nameWithType: ObjectCategory
fullName: TinyLife.Objects.ObjectCategory
- uid: TinyLife.Objects.Upgrade.Memory
commentId: P:TinyLife.Objects.Upgrade.Memory
href: TinyLife.Objects.Upgrade.html#TinyLife_Objects_Upgrade_Memory
name: Memory
nameWithType: Upgrade.Memory
fullName: TinyLife.Objects.Upgrade.Memory
- uid: TinyLife.Objects.Upgrade.HasToLearn*
commentId: Overload:TinyLife.Objects.Upgrade.HasToLearn
href: TinyLife.Objects.Upgrade.html#TinyLife_Objects_Upgrade_HasToLearn
@ -1506,12 +1369,6 @@ references:
nameWithType.vb: Boolean
fullName.vb: Boolean
name.vb: Boolean
- uid: TinyLife.Objects.Upgrade.Upgrades
commentId: F:TinyLife.Objects.Upgrade.Upgrades
href: TinyLife.Objects.Upgrade.html#TinyLife_Objects_Upgrade_Upgrades
name: Upgrades
nameWithType: Upgrade.Upgrades
fullName: TinyLife.Objects.Upgrade.Upgrades
- uid: TinyLife.Objects.Upgrade.Requirements*
commentId: Overload:TinyLife.Objects.Upgrade.Requirements
href: TinyLife.Objects.Upgrade.html#TinyLife_Objects_Upgrade_Requirements
@ -1583,25 +1440,6 @@ references:
- name: " "
- name: TResult
- name: )
- uid: TinyLife.Goals.MemoryType.UpgradeLearned
commentId: F:TinyLife.Goals.MemoryType.UpgradeLearned
href: TinyLife.Goals.MemoryType.html#TinyLife_Goals_MemoryType_UpgradeLearned
name: UpgradeLearned
nameWithType: MemoryType.UpgradeLearned
fullName: TinyLife.Goals.MemoryType.UpgradeLearned
- uid: TinyLife.Objects.Person
commentId: T:TinyLife.Objects.Person
parent: TinyLife.Objects
href: TinyLife.Objects.Person.html
name: Person
nameWithType: Person
fullName: TinyLife.Objects.Person
- uid: TinyLife.Objects.Upgrade.HasToLearn
commentId: P:TinyLife.Objects.Upgrade.HasToLearn
href: TinyLife.Objects.Upgrade.html#TinyLife_Objects_Upgrade_HasToLearn
name: HasToLearn
nameWithType: Upgrade.HasToLearn
fullName: TinyLife.Objects.Upgrade.HasToLearn
- uid: TinyLife.Objects.Upgrade.Memory*
commentId: Overload:TinyLife.Objects.Upgrade.Memory
href: TinyLife.Objects.Upgrade.html#TinyLife_Objects_Upgrade_Memory
@ -1672,6 +1510,13 @@ references:
name: Knows
nameWithType: Upgrade.Knows
fullName: TinyLife.Objects.Upgrade.Knows
- uid: TinyLife.Objects.Person
commentId: T:TinyLife.Objects.Person
parent: TinyLife.Objects
href: TinyLife.Objects.Person.html
name: Person
nameWithType: Person
fullName: TinyLife.Objects.Person
- uid: TinyLife.Objects.Upgrade.Learn*
commentId: Overload:TinyLife.Objects.Upgrade.Learn
href: TinyLife.Objects.Upgrade.html#TinyLife_Objects_Upgrade_Learn_TinyLife_Objects_Person_

View file

@ -23,7 +23,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Visibility
path: ../TinyLife/Objects/MapObject.cs
startLine: 844
startLine: 831
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -52,7 +52,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: WhenVisible
path: ../TinyLife/Objects/MapObject.cs
startLine: 849
startLine: 836
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -80,7 +80,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: WhenVisibleExt
path: ../TinyLife/Objects/MapObject.cs
startLine: 853
startLine: 840
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -108,7 +108,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: HideZoomedOut
path: ../TinyLife/Objects/MapObject.cs
startLine: 857
startLine: 844
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -136,7 +136,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Static
path: ../TinyLife/Objects/MapObject.cs
startLine: 862
startLine: 849
assemblies:
- Tiny Life
namespace: TinyLife.Objects

View file

@ -23,7 +23,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: VoiceStyle
path: ../TinyLife/Objects/Person.cs
startLine: 3713
startLine: 3699
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -56,7 +56,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Low
path: ../TinyLife/Objects/Person.cs
startLine: 3716
startLine: 3702
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -82,7 +82,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: High
path: ../TinyLife/Objects/Person.cs
startLine: 3717
startLine: 3703
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -108,7 +108,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Child
path: ../TinyLife/Objects/Person.cs
startLine: 3718
startLine: 3704
assemblies:
- Tiny Life
namespace: TinyLife.Objects
@ -134,7 +134,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Baby
path: ../TinyLife/Objects/Person.cs
startLine: 3720
startLine: 3706
assemblies:
- Tiny Life
namespace: TinyLife.Objects

View file

@ -169,7 +169,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Equals
path: ../TinyLife/Options.cs
startLine: 592
startLine: 591
assemblies:
- Tiny Life
namespace: TinyLife
@ -206,7 +206,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Equals
path: ../TinyLife/Options.cs
startLine: 599
startLine: 597
assemblies:
- Tiny Life
namespace: TinyLife
@ -245,7 +245,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetHashCode
path: ../TinyLife/Options.cs
startLine: 604
startLine: 601
assemblies:
- Tiny Life
namespace: TinyLife

View file

@ -23,7 +23,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Set
path: ../TinyLife/GameImpl.cs
startLine: 1238
startLine: 1286
assemblies:
- Tiny Life
namespace: TinyLife
@ -55,7 +55,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Woodworking
path: ../TinyLife/GameImpl.cs
startLine: 1244
startLine: 1292
assemblies:
- Tiny Life
namespace: TinyLife
@ -83,7 +83,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Workout
path: ../TinyLife/GameImpl.cs
startLine: 1248
startLine: 1296
assemblies:
- Tiny Life
namespace: TinyLife
@ -111,7 +111,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ChildClothes
path: ../TinyLife/GameImpl.cs
startLine: 1252
startLine: 1300
assemblies:
- Tiny Life
namespace: TinyLife
@ -139,7 +139,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: RetroFurniture
path: ../TinyLife/GameImpl.cs
startLine: 1256
startLine: 1304
assemblies:
- Tiny Life
namespace: TinyLife

View file

@ -25,7 +25,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Quality
path: ../TinyLife/Skills/Skill.cs
startLine: 373
startLine: 372
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -61,7 +61,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Terrible
path: ../TinyLife/Skills/Skill.cs
startLine: 378
startLine: 377
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -89,7 +89,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Average
path: ../TinyLife/Skills/Skill.cs
startLine: 382
startLine: 381
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -117,7 +117,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Good
path: ../TinyLife/Skills/Skill.cs
startLine: 386
startLine: 385
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -145,7 +145,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Great
path: ../TinyLife/Skills/Skill.cs
startLine: 390
startLine: 389
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -173,7 +173,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Perfect
path: ../TinyLife/Skills/Skill.cs
startLine: 394
startLine: 393
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -201,7 +201,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Masterpiece
path: ../TinyLife/Skills/Skill.cs
startLine: 399
startLine: 398
assemblies:
- Tiny Life
namespace: TinyLife.Skills

View file

@ -23,7 +23,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SkillCategory
path: ../TinyLife/Skills/Skill.cs
startLine: 344
startLine: 343
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -62,7 +62,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Creative
path: ../TinyLife/Skills/Skill.cs
startLine: 351
startLine: 350
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -93,7 +93,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Logical
path: ../TinyLife/Skills/Skill.cs
startLine: 355
startLine: 354
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -121,7 +121,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Social
path: ../TinyLife/Skills/Skill.cs
startLine: 360
startLine: 359
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -152,7 +152,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Physical
path: ../TinyLife/Skills/Skill.cs
startLine: 365
startLine: 364
assemblies:
- Tiny Life
namespace: TinyLife.Skills

View file

@ -1034,7 +1034,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetRandomQuality
path: ../TinyLife/Skills/Skill.cs
startLine: 270
startLine: 269
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -1054,7 +1054,6 @@ items:
description: The random that should be used for calculation
- id: info
type: TinyLife.Actions.ActionInfo
description: The action info to use for determining the random quality. If this is set, <xref href="TinyLife.Objects.MapObject.OnRandomQuality(TinyLife.Objects.Person%2cTinyLife.Actions.ActionInfo%2cSystem.Boolean%2cTinyLife.Skills.SkillType%2cSystem.Random%2cSystem.Boolean%2cSystem.Collections.Generic.Dictionary%7bTinyLife.Skills.Quality%2cSystem.Single%7d)" data-throw-if-not-resolved="false"></xref> will be invoked for all involved objects.
- id: modifyEmotions
type: System.Boolean
description: Whether the given person should receive emotions based on the quality, defaults to true
@ -1090,7 +1089,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetMaxLevel
path: ../TinyLife/Skills/Skill.cs
startLine: 324
startLine: 323
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -1125,7 +1124,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Register
path: ../TinyLife/Skills/Skill.cs
startLine: 333
startLine: 332
assemblies:
- Tiny Life
namespace: TinyLife.Skills
@ -2773,127 +2772,6 @@ references:
name: Quality
nameWithType: Quality
fullName: TinyLife.Skills.Quality
- uid: TinyLife.Objects.MapObject.OnRandomQuality(TinyLife.Objects.Person,TinyLife.Actions.ActionInfo,System.Boolean,TinyLife.Skills.SkillType,System.Random,System.Boolean,System.Collections.Generic.Dictionary{TinyLife.Skills.Quality,System.Single})
commentId: M:TinyLife.Objects.MapObject.OnRandomQuality(TinyLife.Objects.Person,TinyLife.Actions.ActionInfo,System.Boolean,TinyLife.Skills.SkillType,System.Random,System.Boolean,System.Collections.Generic.Dictionary{TinyLife.Skills.Quality,System.Single})
parent: TinyLife.Objects.MapObject
isExternal: true
href: TinyLife.Objects.MapObject.html#TinyLife_Objects_MapObject_OnRandomQuality_TinyLife_Objects_Person_TinyLife_Actions_ActionInfo_System_Boolean_TinyLife_Skills_SkillType_System_Random_System_Boolean_System_Collections_Generic_Dictionary_TinyLife_Skills_Quality_System_Single__
name: OnRandomQuality(Person, ActionInfo, bool, SkillType, Random, bool, Dictionary<Quality, float>)
nameWithType: MapObject.OnRandomQuality(Person, ActionInfo, bool, SkillType, Random, bool, Dictionary<Quality, float>)
fullName: TinyLife.Objects.MapObject.OnRandomQuality(TinyLife.Objects.Person, TinyLife.Actions.ActionInfo, bool, TinyLife.Skills.SkillType, System.Random, bool, System.Collections.Generic.Dictionary<TinyLife.Skills.Quality, float>)
nameWithType.vb: MapObject.OnRandomQuality(Person, ActionInfo, Boolean, SkillType, Random, Boolean, Dictionary(Of Quality, Single))
fullName.vb: TinyLife.Objects.MapObject.OnRandomQuality(TinyLife.Objects.Person, TinyLife.Actions.ActionInfo, Boolean, TinyLife.Skills.SkillType, System.Random, Boolean, System.Collections.Generic.Dictionary(Of TinyLife.Skills.Quality, Single))
name.vb: OnRandomQuality(Person, ActionInfo, Boolean, SkillType, Random, Boolean, Dictionary(Of Quality, Single))
spec.csharp:
- uid: TinyLife.Objects.MapObject.OnRandomQuality(TinyLife.Objects.Person,TinyLife.Actions.ActionInfo,System.Boolean,TinyLife.Skills.SkillType,System.Random,System.Boolean,System.Collections.Generic.Dictionary{TinyLife.Skills.Quality,System.Single})
name: OnRandomQuality
href: TinyLife.Objects.MapObject.html#TinyLife_Objects_MapObject_OnRandomQuality_TinyLife_Objects_Person_TinyLife_Actions_ActionInfo_System_Boolean_TinyLife_Skills_SkillType_System_Random_System_Boolean_System_Collections_Generic_Dictionary_TinyLife_Skills_Quality_System_Single__
- name: (
- uid: TinyLife.Objects.Person
name: Person
href: TinyLife.Objects.Person.html
- name: ','
- name: " "
- uid: TinyLife.Actions.ActionInfo
name: ActionInfo
href: TinyLife.Actions.ActionInfo.html
- name: ','
- name: " "
- uid: System.Boolean
name: bool
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.boolean
- name: ','
- name: " "
- uid: TinyLife.Skills.SkillType
name: SkillType
href: TinyLife.Skills.SkillType.html
- name: ','
- name: " "
- uid: System.Random
name: Random
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.random
- name: ','
- name: " "
- uid: System.Boolean
name: bool
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.boolean
- name: ','
- name: " "
- uid: System.Collections.Generic.Dictionary`2
name: Dictionary
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2
- name: <
- uid: TinyLife.Skills.Quality
name: Quality
href: TinyLife.Skills.Quality.html
- name: ','
- name: " "
- uid: System.Single
name: float
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.single
- name: '>'
- name: )
spec.vb:
- uid: TinyLife.Objects.MapObject.OnRandomQuality(TinyLife.Objects.Person,TinyLife.Actions.ActionInfo,System.Boolean,TinyLife.Skills.SkillType,System.Random,System.Boolean,System.Collections.Generic.Dictionary{TinyLife.Skills.Quality,System.Single})
name: OnRandomQuality
href: TinyLife.Objects.MapObject.html#TinyLife_Objects_MapObject_OnRandomQuality_TinyLife_Objects_Person_TinyLife_Actions_ActionInfo_System_Boolean_TinyLife_Skills_SkillType_System_Random_System_Boolean_System_Collections_Generic_Dictionary_TinyLife_Skills_Quality_System_Single__
- name: (
- uid: TinyLife.Objects.Person
name: Person
href: TinyLife.Objects.Person.html
- name: ','
- name: " "
- uid: TinyLife.Actions.ActionInfo
name: ActionInfo
href: TinyLife.Actions.ActionInfo.html
- name: ','
- name: " "
- uid: System.Boolean
name: Boolean
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.boolean
- name: ','
- name: " "
- uid: TinyLife.Skills.SkillType
name: SkillType
href: TinyLife.Skills.SkillType.html
- name: ','
- name: " "
- uid: System.Random
name: Random
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.random
- name: ','
- name: " "
- uid: System.Boolean
name: Boolean
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.boolean
- name: ','
- name: " "
- uid: System.Collections.Generic.Dictionary`2
name: Dictionary
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2
- name: (
- name: Of
- name: " "
- uid: TinyLife.Skills.Quality
name: Quality
href: TinyLife.Skills.Quality.html
- name: ','
- name: " "
- uid: System.Single
name: Single
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.single
- name: )
- name: )
- uid: TinyLife.Skills.Quality.Average
commentId: F:TinyLife.Skills.Quality.Average
href: TinyLife.Skills.Quality.html#TinyLife_Skills_Quality_Average
@ -2939,13 +2817,6 @@ references:
name: IEmotionSource
nameWithType: IEmotionSource
fullName: TinyLife.Emotions.IEmotionSource
- uid: TinyLife.Objects.MapObject
commentId: T:TinyLife.Objects.MapObject
parent: TinyLife.Objects
href: TinyLife.Objects.MapObject.html
name: MapObject
nameWithType: MapObject
fullName: TinyLife.Objects.MapObject
- uid: TinyLife.Actions
commentId: N:TinyLife.Actions
href: TinyLife.html

View file

@ -21,12 +21,10 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: MapSelectUi
path: ../TinyLife/Uis/MapSelectUi.cs
startLine: 21
startLine: 18
assemblies:
- Tiny Life
namespace: TinyLife.Uis
summary: A class that stores information about the map selection ui, which is called "household selection area" in-game.
example: []
syntax:
content: public static class MapSelectUi
content.vb: Public Module MapSelectUi
@ -58,17 +56,14 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetHoveredLot
path: ../TinyLife/Uis/MapSelectUi.cs
startLine: 86
startLine: 79
assemblies:
- Tiny Life
namespace: TinyLife.Uis
summary: Returns the lot that is currently being hovered by the mouse.
example: []
syntax:
content: public static Lot GetHoveredLot()
return:
type: TinyLife.World.Lot
description: The hovered lot.
content.vb: Public Shared Function GetHoveredLot() As Lot
overload: TinyLife.Uis.MapSelectUi.GetHoveredLot*
- uid: TinyLife.Uis.MapSelectUi.OpenSplitMenu(TinyLife.World.Household,TinyLife.World.Lot,System.Action{TinyLife.Uis.CoveringGroup})
@ -89,24 +84,19 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OpenSplitMenu
path: ../TinyLife/Uis/MapSelectUi.cs
startLine: 97
startLine: 84
assemblies:
- Tiny Life
namespace: TinyLife.Uis
summary: Opens a menu that can be used to split a household into two, optionally adding the split household to a new lot with or without a household.
example: []
syntax:
content: public static void OpenSplitMenu(Household household, Lot newLot = null, Action<CoveringGroup> onDone = null)
parameters:
- id: household
type: TinyLife.World.Household
description: The household to split.
- id: newLot
type: TinyLife.World.Lot
description: A new lot for the split household to occupy. If this is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a>, the split household will be exported instead.
- id: onDone
type: System.Action{TinyLife.Uis.CoveringGroup}
description: An action that is invoked when the Done button is pressed successfully.
content.vb: Public Shared Sub OpenSplitMenu(household As Household, newLot As Lot = Nothing, onDone As Action(Of CoveringGroup) = Nothing)
overload: TinyLife.Uis.MapSelectUi.OpenSplitMenu*
nameWithType.vb: MapSelectUi.OpenSplitMenu(Household, Lot, Action(Of CoveringGroup))

View file

@ -22,7 +22,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: WallDisplay
path: ../TinyLife/Options.cs
startLine: 646
startLine: 643
assemblies:
- Tiny Life
namespace: TinyLife
@ -54,7 +54,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Up
path: ../TinyLife/Options.cs
startLine: 651
startLine: 648
assemblies:
- Tiny Life
namespace: TinyLife
@ -82,7 +82,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Auto
path: ../TinyLife/Options.cs
startLine: 655
startLine: 652
assemblies:
- Tiny Life
namespace: TinyLife
@ -110,7 +110,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Down
path: ../TinyLife/Options.cs
startLine: 659
startLine: 656
assemblies:
- Tiny Life
namespace: TinyLife

View file

@ -124,6 +124,8 @@ items:
name: PathfindToPersonAction
- uid: TinyLife.Actions.PutAwayAction
name: PutAwayAction
- uid: TinyLife.Actions.ResearchUpgradesAction
name: ResearchUpgradesAction
- uid: TinyLife.Actions.SellAction
name: SellAction
- uid: TinyLife.Actions.SitAction
@ -144,6 +146,8 @@ items:
name: TellPeopleToLeaveRoomAction
- uid: TinyLife.Actions.TryGoHereAction
name: TryGoHereAction
- uid: TinyLife.Actions.UpgradeFurnitureAction
name: UpgradeFurnitureAction
- uid: TinyLife.Actions.WalkAction
name: WalkAction
- uid: TinyLife.Actions.WatchTvAction