Commit 7dbd6176 authored by Adam Leyshon's avatar Adam Leyshon
Browse files

Minor textual changes

parent 5a65f486
......@@ -406,8 +406,7 @@ namespace Glitterworld_Prime
// We'll never deal with corpses so don't show them.
if (!def.LabelCap.ToLower().Contains("corpse"))
list.Add(new FloatMenuOption(def.LabelCap, delegate { filterSetter(def); },
MenuOptionPriority.Default, null, null, 0f, null, null));
list.Add(new FloatMenuOption(def.LabelCap, delegate { filterSetter(def); }));
}
Find.WindowStack.Add(new FloatMenu(list));
......@@ -420,8 +419,7 @@ namespace Glitterworld_Prime
for (var i = 0; i < allDefsListForReading.Count; i++)
{
var def = allDefsListForReading[i];
list.Add(new FloatMenuOption(def.LabelCap, delegate { sorterSetter(def); }, MenuOptionPriority.Default,
null, null, 0f, null, null));
list.Add(new FloatMenuOption(def.LabelCap, delegate { sorterSetter(def); }));
}
Find.WindowStack.Add(new FloatMenu(list));
......
......@@ -168,7 +168,7 @@ namespace Glitterworld_Prime.Tools
t.LocalizedName = t.LocalizedName.ToLowerInvariant();
});
var path = Path.Combine(GenFilePaths.SaveDataFolderPath, "GWP-MarketDataDump.json");
var path = Path.Combine(GenFilePaths.SaveDataFolderPath, $"{languageName}_thing_data.json");
var jsonString = RestSharp.SimpleJson.SerializeObject(data);
File.WriteAllText(path, jsonString);
Messages.Message($"{data.Count()} objects dumped to {path}", MessageTypeDefOf.TaskCompletion);
......
......@@ -185,7 +185,7 @@ namespace Glitterworld_Prime
var hasQuality = false;
var qc = QualityCategory.Normal;
LogWriter.WriteMessage($"Getting give {countToGive} x {toGive.def.defName} from player");
LogWriter.WriteMessage($"Getting {countToGive} x {toGive.def.defName} from player");
var thing = toGive.SplitOff(countToGive);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment