Skip to content

Commit 4dae1e7

Browse files
add unavailable labels for restricting roamers
1 parent a34393a commit 4dae1e7

File tree

4 files changed

+14
-2
lines changed

4 files changed

+14
-2
lines changed

Assemblies/Manager.dll

0 Bytes
Binary file not shown.

Readme.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ All original content (e.g. text, imagery, sounds) in this mod is licensed under
7777

7878
Parts of the code in this mod, and some of the content may be licensed by their original authors. If this is the case, the original author & license will either be given in the source code, or be in a LICENSE file next to the content. Please do not decompile my mods, but use the original source code available on [GitHub](https://github.com/fluffy-mods/ColonyManager/), so license information in the source code is preserved.
7979

80+
Parts of this mod were created by, or derived from works created by;
81+
- DinosoftLabs: mustache icon ([BY-NC](https://www.flaticon.com/authors/dinosoftlabs))
82+
- Smashicons: top hat icon ([BY-NC](https://www.flaticon.com/authors/smashicons))
8083

8184

8285
![Are you enjoying my mods?](https://banners.karel-kroeze.nl/title/Are%20you%20enjoying%20my%20mods%3F.png)

Source/ManagerTabs/ManagerTab_Livestock.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ private float DrawAreaRestrictionsSection(Vector2 pos, float width)
469469
{
470470
var unavailableLabelRect = new Rect(pos.x, pos.y, width, ListEntryHeight);
471471
unavailableLabelRect.xMin += Margin;
472-
Label(unavailableLabelRect, "FM.Livestock.DisabledBecauseRoamingAnimal".Translate(), "FM.Livestock.DisabledBecauseRoamingAnimalTip".Translate(), TextAnchor.MiddleLeft,
472+
Label(unavailableLabelRect, "FM.Livestock.DisabledBecauseRoamingAnimal".Translate(_selectedCurrent.Trigger.pawnKind.GetLabelPlural()), "FM.Livestock.DisabledBecauseRoamingAnimalTip".Translate(_selectedCurrent.Trigger.pawnKind.GetLabelPlural()), TextAnchor.MiddleLeft,
473473
color: Color.grey);
474474
return ListEntryHeight;
475475
}

modinfo.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"version": {
77
"major": 5,
88
"minor": 0,
9-
"build": 663
9+
"build": 664
1010
},
1111
"author": {
1212
"name": "Fluffy",
@@ -19,6 +19,15 @@
1919
"url": "https://github.com/fluffy-mods/ColonyManager"
2020
},
2121
"changelog": [
22+
{
23+
"date": "2021-07-27T16:08:10.000Z",
24+
"message": "update preview image",
25+
"author": {
26+
"name": "Fluffy",
27+
"email": "fluffy.l2032@gmail.com"
28+
},
29+
"hash": "a34393ab46feb6d6bea24c3c9d0d0ed1a0cf3954"
30+
},
2231
{
2332
"date": "2021-07-27T15:15:06.000Z",
2433
"message": "remove area management for roaming animals",

0 commit comments

Comments
 (0)