mirror of
https://github.com/Ellpeck/TinyLifeExampleMod.git
synced 2024-06-20 10:49:10 +02:00
added the ability for modded localization
This commit is contained in:
parent
684071697f
commit
3ecf8efd60
|
@ -1,3 +1,3 @@
|
|||
CustomTableUp
|
||||
ExampleMod.CustomTableUp
|
||||
loc 0 0 32 32
|
||||
piv 16 16
|
5
Content/ExampleMod/Localization/En.json
Normal file
5
Content/ExampleMod/Localization/En.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"BuildMode": {
|
||||
"ExampleMod.CustomTable": "Custom Table"
|
||||
}
|
||||
}
|
|
@ -24,7 +24,7 @@ namespace ExampleMod {
|
|||
|
||||
public override void AddGameContent(GameImpl game) {
|
||||
// adding a custom furniture item
|
||||
FurnitureType.Register(new FurnitureType.TypeSettings("CustomTable", new Point(1, 1), ObjectCategory.Table, 150, ColorScheme.SimpleWood) {
|
||||
FurnitureType.Register(new FurnitureType.TypeSettings("ExampleMod.CustomTable", new Point(1, 1), ObjectCategory.Table, 150, ColorScheme.SimpleWood) {
|
||||
Construct = (i, t, c, m, p) => new CustomTable(i, t, c, m, p)
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue