mirror of
https://github.com/Ellpeck/TinyLifeExampleMod.git
synced 2024-06-01 20:33:38 +02:00
2.3 KiB
2.3 KiB
PaintingType
Namespace: TinyLife > Skills
Assembly: Tiny Life.dll
Summary
This class represents a type of TinyLife.Objects.Painting
that can be created using the TinyLife.Skills.SkillType.Painting
. Painting types are registered using TinyLife.Skills.PaintingType.Register(TinyLife.Skills.PaintingType)
.
Constructors
Name | Summary |
---|---|
PaintingType ( String , Range <Int32 >, Single ) |
Creates a new painting type with the given settings |
Fields
Type | Name | Summary |
---|---|---|
Single | BaseMarkup | The multiplier with which the created TinyLife.Objects.Painting 's price will be marked up. Before this multiplier is applied, the level and quality modifiers are also applied. |
Range<Int32> | LevelRange | The MonoGame.Extended.Range 1of levels of the TinyLife.Skills.SkillType.Painting` skill that allows creating this painting |
String | Name | The name of this painting type |
TextureRegion | Texture | The texture that this painting uses. The texture is loaded from the TinyLife.Mods.Mod.GetCustomFurnitureTextures as "PaintingTinyLife.Skills.PaintingType.Name " Note that this texture is just an overlay; the frame and white background are automatically drawn. |
Static Fields
Type | Name | Summary |
---|---|---|
IDictionary<String, PaintingType> | Types | All registered TinyLife.Skills.PaintingType instances in the game and in active mods |
Static Methods
Return | Name | Summary |
---|---|---|
void | Register ( PaintingType ) |
Registers a painting type with the given settings to the TinyLife.Skills.PaintingType.Types registry |