@Override public void generateName(final Location l) { if (i.issue(Issue.CORPORATECULTURE).law() == Alignment.ARCHCONSERVATIVE && i.issue(Issue.TAX).law() == Alignment.ARCHCONSERVATIVE) { l.setName("CEO Castle"); } else { l.setName("CEO Residence"); } }
private Location workLocation() { if (ccs) { updateCcsLocations(); } if (workLocation.size() == 0) { return Location.none(); } return i.rng.randFromSet(workLocation).getLocation(); }
private boolean verifyworklocation(@Nullable final Location location) { if (location == null) { return false; } if (ccs) { updateCcsLocations(); } return workLocation.contains(location.type()); }