コード例 #1
0
 public bool GetEnabledHere(GameLocation location, bool isWinter)
 {
     return(!ObjectPatch.CantProduceToday(isWinter, location));
 }
コード例 #2
0
 public bool GetEnabledHere(GameLocation location)
 {
     return(!ObjectPatch.CantProduceToday(location.GetSeasonForLocation() == "Winter", location));
 }