public override void ShowLexicon(PanelBuilder panel) { base.ShowLexicon(panel); panel.AddImageLabel(S.T("spellCost", cost), "ap"); req.BuildPanel(panel); reqTarget.BuildPanel(panel); var ah = new ActionDisplaySettings(panel, null); action.BuildPanelT(ah, "spellPerformSuccess"); actionFail.BuildPanelT(ah, "spellPerformFail"); }
public override void ShowLexicon(PanelBuilder panel) { base.ShowLexicon(panel); L.b.res[C.BuildRes].AddSubLabel(panel, buildTime, "round"); L.b.modifiers[C.ViewModi].AddSubLabel(panel, visibilityRange, "field"); ShowWorker(panel); panel.AddResT("constructionCost", cost); req.BuildPanel(panel, S.T("constructionReq")); panel.AddModi(modi); ActionDisplaySettings sett = new ActionDisplaySettings(panel, null); sett.compact = true; action.BuildPanelT(sett); }
public void ShowInfo(PanelBuilder panel, Player player = null) { AddImageLabel(panel); panel.RichText(desc); panel.AddSubLabel("Status", (IsFinish() ? "Finish":"In Progress"), IsFinish() ?"yes":"round"); reqs.BuildPanel(panel, player); actions.BuildPanelT(new ActionDisplaySettings(panel, null)); }
public override void ShowLexicon(PanelBuilder panel) { base.ShowLexicon(panel); req.BuildPanel(panel); action.BuildPanelT(new ActionDisplaySettings(panel, null)); }