public void setToSociety(Society soc) { state = uiState.SOCIETY; uiMainMenu.gameObject.SetActive(false); uiLeftPrimary.gameObject.SetActive(true); uiScrollables.gameObject.SetActive(true); uiMidTop.gameObject.SetActive(true); uiVoting.gameObject.SetActive(false); uIMidLower.gameObject.SetActive(false); hexSelector.SetActive(false); uiTopLight.gameObject.SetActive(true); uiScrollables.viewSocButtonText.text = "View World"; GraphicalSociety.purge(); GraphicalMap.purge(); GraphicalSociety.setup(soc); uiLeftPrimary.maskTitle.text = "Neighbor Liking View"; GraphicalSociety.refreshNeighbor(GraphicalSociety.focus); checkData(); }
public void bShowNeighbor() { master.world.audioStore.playClick(); GraphicalSociety.offX = 0; GraphicalSociety.offY = 0; maskTitle.text = "Neighbor Liking View"; GraphicalSociety.refreshNeighbor(GraphicalSociety.focus); }
public void bViewEnthralled() { world.audioStore.playClick(); if (world.map.overmind.enthralled == null) { world.prefabStore.popMsg("You have no enthralled currently\n\nYou may enthrall a low-prestige noble (highlighted with flashing purple background) using the \"Enthrall\" power"); return; } if (state == uiState.SOCIETY) { if (GraphicalSociety.focus.society != world.map.overmind.enthralled.society) { world.prefabStore.popMsg("Your enthralled does not belong to this society"); return; } GraphicalSociety.refreshNeighbor(world.map.overmind.enthralled); } else { GraphicalSociety.focus = world.map.overmind.enthralled; setToSociety(world.map.overmind.enthralled.society); } }
public void bViewEnthralled() { world.audioStore.playClick(); if (world.map.overmind.enthralled == null) { world.prefabStore.popMsg("You have no enthralled noble currently\n\nInfiltrate a location using your agents (merchants and vampires excell at this) and enthrall the noble using a Heirophant, or, if playing a political game," + " you may enthrall a low-prestige noble (highlighted with flashing purple background) using the \"Enthrall\" power"); return; } if (state == uiState.SOCIETY) { if (GraphicalSociety.focus.society != world.map.overmind.enthralled.society) { world.prefabStore.popMsg("Your enthralled does not belong to this society"); return; } GraphicalSociety.refreshNeighbor(world.map.overmind.enthralled); } else { GraphicalSociety.focus = world.map.overmind.enthralled; setToSociety(world.map.overmind.enthralled.society); } }