Skip to content

Commit

Permalink
add unavailable labels for restricting roamers
Browse files Browse the repository at this point in the history
  • Loading branch information
FluffierThanThou committed Jul 27, 2021
1 parent a34393a commit 4dae1e7
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
Binary file modified Assemblies/Manager.dll
Binary file not shown.
3 changes: 3 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ All original content (e.g. text, imagery, sounds) in this mod is licensed under

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.

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


![Are you enjoying my mods?](https://banners.karel-kroeze.nl/title/Are%20you%20enjoying%20my%20mods%3F.png)
Expand Down
2 changes: 1 addition & 1 deletion Source/ManagerTabs/ManagerTab_Livestock.cs
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ private float DrawAreaRestrictionsSection(Vector2 pos, float width)
{
var unavailableLabelRect = new Rect(pos.x, pos.y, width, ListEntryHeight);
unavailableLabelRect.xMin += Margin;
Label(unavailableLabelRect, "FM.Livestock.DisabledBecauseRoamingAnimal".Translate(), "FM.Livestock.DisabledBecauseRoamingAnimalTip".Translate(), TextAnchor.MiddleLeft,
Label(unavailableLabelRect, "FM.Livestock.DisabledBecauseRoamingAnimal".Translate(_selectedCurrent.Trigger.pawnKind.GetLabelPlural()), "FM.Livestock.DisabledBecauseRoamingAnimalTip".Translate(_selectedCurrent.Trigger.pawnKind.GetLabelPlural()), TextAnchor.MiddleLeft,
color: Color.grey);
return ListEntryHeight;
}
Expand Down
11 changes: 10 additions & 1 deletion modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"version": {
"major": 5,
"minor": 0,
"build": 663
"build": 664
},
"author": {
"name": "Fluffy",
Expand All @@ -19,6 +19,15 @@
"url": "https://github.com/fluffy-mods/ColonyManager"
},
"changelog": [
{
"date": "2021-07-27T16:08:10.000Z",
"message": "update preview image",
"author": {
"name": "Fluffy",
"email": "[email protected]"
},
"hash": "a34393ab46feb6d6bea24c3c9d0d0ed1a0cf3954"
},
{
"date": "2021-07-27T15:15:06.000Z",
"message": "remove area management for roaming animals",
Expand Down

0 comments on commit 4dae1e7

Please sign in to comment.