Actual consumers of this symbol are listed first, then all current palette/hex assignments. Editor-only palettes do not control the runtime. Preserve state/goal contrast and rebuild after accepting a change.
| Source | Exact current code |
|---|
PrecinctGame.Hud.cs:78 / void BuildHud() | var p = HzUI.Panel(name, parent, NavyA, 50); |
PrecinctGame.Hud.cs:117 / void BuildTopBar() | var set = HzIcons.IconButton(_hud, Ic.Settings, NavyA, OpenSettings, 100); |
PrecinctGame.Hud.cs:119 / void BuildTopBar() | _soundBtn = HzIcons.IconButton(_hud, HzAudio.Muted ? HzIcons.SoundOff : HzIcons.SoundOn, NavyA, () => |
PrecinctGame.Hud.cs:171 / void BuildObjective() | var sq = HzUI.Panel("IconBg", card.transform, Navy, 22); |
PrecinctGame.Hud.cs:182 / void BuildObjective() | _skipBtn = HzUI.Button("Skip", _hud, "Skip guide", NavyA, White, () => { DebugCommand("skiptut"); HzAudio.Play(Sfx.Select, 0.5f); }, 32, 20); |
PrecinctGame.Hud.cs:258 / void BuildMiniMap() | var frame = HzUI.Panel("MiniMap", _hud, Navy, 26); |
PrecinctGame.Hud.cs:267 / void BuildMiniMap() | var lbl = HzUI.Panel("Lbl", frame.transform, NavyA, 14); lbl.rectTransform.Place(new Vector2(0, 1), new Vector2(170, 44), new Vector2(18, -16), new Vector2(0, 1)); |
PrecinctGame.Hud.cs:269 / void BuildMiniMap() | var station = HzUI.Panel("Station", _mini, Navy, 18); station.sprite = HzUI.Circle(); station.raycastTarget = false; |
PrecinctGame.Hud.cs:324 / void UpdateMapPins(RectTransform layer, List<Image> pins, List<Image> cars, float pinSize, int selected) | p.color = ((int)(_worldT * 4) % 2 == 0) ? Blue : Navy; |
PrecinctGame.Hud.cs:447 / void BuildTags() | var wi = HzUI.Panel("Inner", wbg.transform, Navy, 30); wi.sprite = HzUI.Circle(); wi.raycastTarget = false; wi.rectTransform.Stretch(16); |
PrecinctGame.Hud.cs:750 / void CallBanner(Incident inc) | var bg = HzUI.Panel("Banner", _hud, Navy, 34); |
PrecinctGame.Hud.cs:759 / void CallBanner(Incident inc) | _bannerBg.color = inc.hot ? HzUI.Hex("#B8860B") : Navy; |
PrecinctGame.Hud.cs:815 / void BuildDispatchPanel() | var head = HzUI.Panel("Head", card.transform, Navy, 40); |
PrecinctGame.Hud.cs:845 / void BuildDispatchPanel() | var st = HzUI.Panel("Station", _dMap, Navy, 30); st.sprite = HzUI.Circle(); st.raycastTarget = false; |
PrecinctGame.Hud.cs:853 / void BuildDispatchPanel() | var chip = HzUI.Panel("L", leg, NavyA, 20); chip.rectTransform.Place(new Vector2(0, 0), new Vector2(140, 46), new Vector2(i * 148, 0), new Vector2(0, 0)); |
PrecinctGame.Hud.cs:1050 / void OpenManage() | var head = HzUI.Panel("Head", card.transform, Navy, 40); |
PrecinctGame.Hud.cs:1246 / void WelcomePopup(Action start, Action skip) | CardImage(c, PtArt.Get("emblem"), 170, Ic.Shield, Navy); |
PrecinctGame.Hud.cs:1256 / void ShiftCard(Action done) | var c = NewCard("Shift " + _shiftNo, Navy); |
PrecinctGame.Hud.cs:1301 / void HintPopup(string key, Action done) | CardImage(c, null, 150, h.icon, Navy); |
PrecinctGame.Hud.cs:1386 / void HowToPlay(bool wasPaused) | var c = NewCard("How to play", Navy, 980); |
PrecinctGame.World.cs:70 / void SetupLook() | public const string Brick = "#A85A40", BrickDark = "#8A4732", Wall = "#EEEAE2", WallTop = "#D8D2C6", Navy = "#18264A", Blue = "#2F7BFF", Yellow = "#FFD21F", |
PrecinctGame.World.cs:214 / void BuildWall(MB mb, Wall w) | var metal = M(C.Navy, 0.5f); |
PrecinctGame.World.cs:247 / void BuildWall(MB mb, Wall w) | var navy = M(C.Navy, 0.4f); |
PrecinctGame.World.cs:251 / void BuildWall(MB mb, Wall w) | mb.Cyl(c + dir * 1.3f + new Vector3(0, 0.7f, -0.25f), 0.06f, 1.4f, M(C.Navy), 8); |
PrecinctGame.World.cs:283 / void BuildProp(MB mb, Prop p) | var white = M(C.White, 0.3f); var navy = M(C.Navy, 0.3f); |
PrecinctGame.World.cs:370 / void BuildProp(MB mb, Prop p) | mb.Box(L(0, 0.45f, -0.85f), new Vector3(0.5f, 0.08f, 0.45f), M(C.Navy), q); |
PrecinctGame.World.cs:371 / void BuildProp(MB mb, Prop p) | mb.Box(L(0, 0.45f, 0.85f), new Vector3(0.5f, 0.08f, 0.45f), M(C.Navy), q); |
PrecinctGame.World.cs:402 / void BuildProp(MB mb, Prop p) | mb.Box(L(0, 0.45f, 0.75f), new Vector3(0.5f, 0.08f, 0.45f), M(C.Navy), q); // chair |
PrecinctGame.World.cs:403 / void BuildProp(MB mb, Prop p) | mb.Box(L(0, 0.75f, 0.98f), new Vector3(0.5f, 0.55f, 0.07f), M(C.Navy), q); |
PrecinctGame.World.cs:542 / void BuildPerson(MB mb, string role, int v) | string shirt, pants = C.Navy, hat = null; bool vest = false, cap = false; |
PrecinctGame.World.cs:545 / void BuildPerson(MB mb, string role, int v) | case "player": shirt = C.Navy; vest = true; cap = true; hat = C.Navy; break; |
PrecinctGame.World.cs:546 / void BuildPerson(MB mb, string role, int v) | case "officer": case "sergeant": shirt = C.Navy; vest = true; cap = true; hat = C.Navy; break; |
PrecinctGame.World.cs:547 / void BuildPerson(MB mb, string role, int v) | case "trafficop": shirt = C.Navy; vest = true; cap = true; hat = "#F4F5F7"; break; |
PrecinctGame.World.cs:549 / void BuildPerson(MB mb, string role, int v) | case "booking": shirt = "#DDE6F2"; pants = C.Navy; cap = true; hat = C.Navy; break; |
| Source | Exact current code |
|---|
PrecinctGame.cs:29 / class/static declarations | static readonly string[] BoostColor = { "#2F7BFF", "#A0673A", "#FF8A1F", "#3DBE6E" }; |
PrecinctGame.cs:221 / void LoseShift() | Toast("One more minute!", HzUI.Hex("#FFD21F"), 1.4f, 0.7f); |
PrecinctGame.cs:375 / void Interact(float dt) | else if (_padOn != on) Toast("Out of cash - empty the money boxes first!", HzUI.Hex("#FF5A5A"), 1.4f, 0.75f); |
PrecinctGame.cs:396 / void ProcessEvents() | FloatText(WorldOf("counter" + e.b) + Vector3.up * 2.4f, "+£" + (int)e.f, HzUI.Hex("#FFC83D")); |
PrecinctGame.cs:399 / void ProcessEvents() | case "gaveup": HzAudio.Play(Sfx.GaveUp, 0.5f); CitizenLeave(e.a, true); FloatTextScreen("Someone left the line -1 rep", HzUI.Hex("#FF8A8A")); break; |
PrecinctGame.cs:421 / void ProcessEvents() | FloatTextScreen(t + " resolved +£" + (int)e.f + extra, HzUI.Hex("#45D07A")); |
PrecinctGame.cs:430 / void ProcessEvents() | FloatTextScreen((inc != null ? PtData.Inc[inc.type].Short : "Case") + " unsolved +£" + (int)e.f, HzUI.Hex("#FFB070")); |
PrecinctGame.cs:439 / void ProcessEvents() | FloatTextScreen((inc != null ? PtData.Inc[inc.type].Short : "A case") + " timed out -2 rep", HzUI.Hex("#FF6B6B")); |
PrecinctGame.cs:445 / void ProcessEvents() | case "parked": CrewHome(e.a); RefreshDispatchLists(); if (e.b == 1) Toast("A new car just pulled in!", HzUI.Hex("#7FD1FF"), 1.3f, 0.7f); break; |
PrecinctGame.cs:447 / void ProcessEvents() | case "custodyFull": FloatTextScreen("No room inside - extras were let go with a warning", HzUI.Hex("#FFB070")); break; |
PrecinctGame.cs:450 / void ProcessEvents() | case "booked": HzAudio.Play(Sfx.Booked, 0.7f); HzAudio.Play(Sfx.CellDoor, 0.5f); FloatText(WorldOf("custodyDesk") + Vector3.up * 2.4f, "+£" + (int)e.f, HzUI.Hex("#FFC83D")); break; |
PrecinctGame.cs:452 / void ProcessEvents() | case "interviewed": FloatText(new Vector3(PtLayout.InterviewSeat.x, 2.4f, PtLayout.InterviewSeat.z), "+£" + (int)e.f, HzUI.Hex("#FFC83D")); break; |
PrecinctGame.cs:472 / void OnUnlocked(string id, int staffId, int vehId) | FloatTextScreen(u.Name + " built!", HzUI.Hex("#45D07A")); |
PrecinctGame.cs:478 / void OnUnlocked(string id, int staffId, int vehId) | Toast("You can now send cars from any spot. Try the AUTO switch too!", HzUI.Hex("#7FD1FF"), 2.6f, 0.72f); |
PrecinctGame.cs:495 / void FirstDetainee() | Toast("Someone is waiting to be processed! Go to the booking desk.", HzUI.Hex("#FFD21F"), 3f, 0.72f); |
PrecinctGame.cs:511 / public void UseBooster(int b) | HzPlatform.Rewarded(GameId, "booster_" + b, ok => { if (ok) { SetCharges(b, Charges(b) + 1); HzAudio.Play(Sfx.Cash, 0.6f); Toast("+1 " + BoostName[b], HzUI.Hex("#FFD21F"), 1.1f, 0.7f); } }); |
PrecinctGame.cs:516 / public void UseBooster(int b) | case BSiren: S.boostSiren = 30; HzAudio.Play(Sfx.Siren2, 0.8f); FloatTextScreen("Siren Rush! Cars and crews at 2x", HzUI.Hex("#7FB6FF")); break; |
PrecinctGame.cs:517 / public void UseBooster(int b) | case BCoffee: S.boostCoffee = 30; HzAudio.Play(Sfx.Coffee, 0.8f); FloatTextScreen("Coffee Round! Counters at 2x", HzUI.Hex("#FFD08A")); break; |
PrecinctGame.cs:518 / public void UseBooster(int b) | case BOver: S.shiftDur += 60; HzAudio.Play(Sfx.Overtime, 0.8f); FloatTextScreen("Overtime! +60 seconds", HzUI.Hex("#FFD21F")); break; |
PrecinctGame.cs:524 / public void UseBooster(int b) | FloatTextScreen(got > 0 ? "Cash Sweep! +£" + got : "Cash Sweep! (nothing in the boxes)", HzUI.Hex("#7CE0A0")); |
PrecinctGame.Hud.cs:12 / class/static declarations | static readonly Color Navy = HzUI.Hex("#18264A"), NavyA = new Color(0.094f, 0.149f, 0.29f, 0.92f), Yellow = HzUI.Hex("#FFD21F"), Orange = HzUI.Hex("#FF8A1F"), |
PrecinctGame.Hud.cs:13 / class/static declarations | Gold = HzUI.Hex("#FFC83D"), Green = HzUI.Hex("#45D07A"), Blue = HzUI.Hex("#2F7BFF"), Cream = HzUI.Hex("#FFF6D6"), Ink = HzUI.Hex("#1D2440"), Muted = HzUI.Hex("#5E6683"), |
PrecinctGame.Hud.cs:14 / class/static declarations | Red = HzUI.Hex("#FF5A5A"), White = Color.white, Paper = HzUI.Hex("#F3F5FA"); |
PrecinctGame.Hud.cs:169 / void BuildObjective() | var edge = card.gameObject.AddComponent<Outline>(); edge.effectColor = HzUI.Hex("#F2C94C"); edge.effectDistance = new Vector2(3, -3); |
PrecinctGame.Hud.cs:261 / void BuildMiniMap() | var inner = HzUI.Panel("Map", frame.transform, HzUI.Hex("#D9D4F0"), 20); |
PrecinctGame.Hud.cs:299 / static Color SevColor(Incident inc) | return s == 1 ? HzUI.Hex("#3DBE6E") : s == 2 ? HzUI.Hex("#F5A623") : HzUI.Hex("#E5484D"); |
PrecinctGame.Hud.cs:311 / void UpdateMapPins(RectTransform layer, List<Image> pins, List<Image> cars, float pinSize, int selected) | if (inc.status != "new") col = Color.Lerp(col, HzUI.Hex("#8A93A8"), 0.5f); |
PrecinctGame.Hud.cs:618 / void CashFly(string tray, int amount) | img.AddOutline(HzUI.Hex("#C98A12"), 3); |
PrecinctGame.Hud.cs:619 / void CashFly(string tray, int amount) | var t = Txt(img.transform, "£", 30, HzUI.Hex("#8A5A00"), TextAnchor.MiddleCenter); t.rectTransform.Stretch(); |
PrecinctGame.Hud.cs:759 / void CallBanner(Incident inc) | _bannerBg.color = inc.hot ? HzUI.Hex("#B8860B") : Navy; |
PrecinctGame.Hud.cs:824 / void BuildDispatchPanel() | _autoBtn = HzUI.Button("Auto", head.transform, "AUTO: OFF", HzUI.Hex("#3A4B7A"), White, () => |
PrecinctGame.Hud.cs:833 / void BuildDispatchPanel() | var mapFrame = HzUI.Panel("Map", card.transform, HzUI.Hex("#D9D4F0"), 28); |
PrecinctGame.Hud.cs:840 / void BuildDispatchPanel() | var dl = Txt(mapFrame.transform, d.Name.ToUpperInvariant(), P ? 30 : 34, HzUI.Hex("#4B3FA8"), TextAnchor.MiddleCenter); |
PrecinctGame.Hud.cs:850 / void BuildDispatchPanel() | string[] ln = { "Minor", "Serious", "Major", "Urgent" }; string[] lc = { "#3DBE6E", "#F5A623", "#E5484D", "#FFC83D" }; |
PrecinctGame.Hud.cs:906 / void BuildDispatchPanel() | var sbg = HzUI.Panel("State", b.transform, HzUI.Hex("#DDF5E6"), 20); sbg.rectTransform.Place(new Vector2(1, 0.5f), new Vector2(200, 46), new Vector2(-14, 0), new Vector2(1, 0.5f)); sbg.raycastTarget = false; |
PrecinctGame.Hud.cs:907 / void BuildDispatchPanel() | var stt = Txt(sbg.transform, "", 26, HzUI.Hex("#1F7A45"), TextAnchor.MiddleCenter); stt.rectTransform.Stretch(); |
PrecinctGame.Hud.cs:949 / void RefreshDispatchLists() | if (canAuto) { _autoBtn.SetText(S.autoDispatch ? "AUTO: ON" : "AUTO: OFF"); _autoBtn.GetComponent<Image>().color = S.autoDispatch ? Green : HzUI.Hex("#3A4B7A"); } |
PrecinctGame.Hud.cs:975 / void RefreshDispatchLists() | r.bg.color = inc.id == _selCall ? HzUI.Hex("#FFF1B8") : open ? Paper : HzUI.Hex("#E8EBF2"); |
PrecinctGame.Hud.cs:1000 / void RefreshDispatchLists() | case "parked": state = "Ready"; sc = HzUI.Hex("#DDF5E6"); tc = HzUI.Hex("#1F7A45"); break; |
PrecinctGame.Hud.cs:1001 / void RefreshDispatchLists() | case "boarding": state = "Crew boarding"; sc = HzUI.Hex("#FFF1B8"); tc = HzUI.Hex("#8A6A00"); break; |
PrecinctGame.Hud.cs:1002 / void RefreshDispatchLists() | case "leaving": case "enroute": state = "Driving"; sc = HzUI.Hex("#DCE8FF"); tc = Blue; break; |
PrecinctGame.Hud.cs:1003 / void RefreshDispatchLists() | case "onscene": state = "At the scene"; sc = HzUI.Hex("#FFE2CC"); tc = HzUI.Hex("#B45A10"); break; |
PrecinctGame.Hud.cs:1004 / void RefreshDispatchLists() | default: state = v.delivery ? "Pulling in" : "Heading back"; sc = HzUI.Hex("#E8EBF2"); tc = Muted; break; |
PrecinctGame.Hud.cs:1006 / void RefreshDispatchLists() | if (selInc != null && v.status == "parked" && !PtSim.CanDispatch(S, selInc, v, out var why)) { state = why; sc = HzUI.Hex("#FBE3E3"); tc = HzUI.Hex("#B23A3A"); } |
PrecinctGame.Hud.cs:1009 / void RefreshDispatchLists() | r.bg.color = sel ? HzUI.Hex("#DCE8FF") : Paper; |
PrecinctGame.Hud.cs:1015 / void RefreshDispatchLists() | _sendBg.color = can ? Yellow : HzUI.Hex("#D7DBE5"); |
PrecinctGame.Hud.cs:1086 / void BuildManageContent() | var row = HzUI.Panel("Goal", left, done ? HzUI.Hex("#DDF5E6") : White, 20); row.rectTransform.Place(new Vector2(0, 1), new Vector2(colW, 74), new Vector2(0, y), new Vector2(0, 1)); |
PrecinctGame.Hud.cs:1089 / void BuildManageContent() | var pr = Txt(row.transform, done ? "Done!" : g.k == "build" ? "" : Mathf.Min(have, need) + " / " + need, 32, done ? HzUI.Hex("#1F7A45") : Ink, TextAnchor.MiddleRight); pr.rectTransform.Place(new Vector2(1, 0.5f), new Vector2(180, 60), new Vector2(-20, 0), new Vector2(1, 0.5f)); |
PrecinctGame.Hud.cs:1131 / void BuildManageContent() | var c = HzUI.Panel("Cost", row.transform, afford ? Yellow : HzUI.Hex("#E8EBF2"), 18); c.rectTransform.Place(new Vector2(1, 0.5f), new Vector2(150, 56), new Vector2(-16, 0), new Vector2(1, 0.5f)); c.raycastTarget = false; |
PrecinctGame.Hud.cs:1170 / void DropCards() | var card = HzUI.Panel("Card", dim.transform, HzUI.Hex("#FFFBF2"), 48); |
PrecinctGame.Hud.cs:1204 / void CardRow(Card c, string icon, string text, string right, Color iconCol) | var row = HzUI.Panel("Row", c.card, HzUI.Hex("#F1EEE6"), 22); |
PrecinctGame.Hud.cs:1250 / void WelcomePopup(Action start, Action skip) | var sk = CardButton(c, "Skip the guide", HzUI.Hex("#E9E4D8"), Muted, skip, 80, 34); |
PrecinctGame.Hud.cs:1258 / void ShiftCard(Action done) | if (L.breather) CardText(c, "A slower shift - take it easy!", 30, HzUI.Hex("#1F7A45"), 44); |
PrecinctGame.Hud.cs:1276 / void UnlockPopup(int b, Action done) | CardText(c, "Here are " + BoostStart[b] + " on the house - give it a go!", 30, HzUI.Hex("#1F7A45"), 50); |
PrecinctGame.Hud.cs:1314 / void WinPopup(int stars, int wages, int grant, int bonus, Action next) | var bg = Icn(row, Ic.Star, i == 1 ? 170 : 130, HzUI.Hex("#E3DCCB")); bg.rectTransform.Place(new Vector2(0.5f, 0.5f), new Vector2(170, 170), new Vector2((i - 1) * 165, i == 1 ? 14 : -6)); |
PrecinctGame.Hud.cs:1318 / void WinPopup(int stars, int wages, int grant, int bonus, Action next) | s.AddOutline(HzUI.Hex("#C98A12"), 3); |
PrecinctGame.Hud.cs:1353 / void RankPopup(int r, int bonus) | var c = NewCard("Promoted!", HzUI.Hex("#7B61FF")); |
PrecinctGame.Hud.cs:1371 / void OpenSettings() | sound = CardButton(c, HzAudio.Muted ? "Sound: OFF" : "Sound: ON", HzUI.Hex("#4C9EEB"), White, null, 104, 46); |
PrecinctGame.Hud.cs:1374 / void OpenSettings() | music = CardButton(c, HzAudio.MusicMuted ? "Music: OFF" : "Music: ON", HzUI.Hex("#4C9EEB"), White, null, 104, 46); |
PrecinctGame.Hud.cs:1379 / void OpenSettings() | CardButton(c, "Close", HzUI.Hex("#8A93A8"), White, null, 104, 46); |
PrecinctGame.World.cs:23 / void SetupLook() | _cam.backgroundColor = HzUI.Hex("#BFD8C4"); |
PrecinctGame.World.cs:34 / void SetupLook() | _sun.color = HzUI.Hex("#FFF1DC"); _sun.intensity = 1.25f; |
PrecinctGame.World.cs:41 / void SetupLook() | fill.transform.rotation = Quaternion.Euler(35, 150, 0); fill.color = HzUI.Hex("#B9D2FF"); fill.intensity = 0.35f; |
PrecinctGame.World.cs:44 / void SetupLook() | RenderSettings.ambientSkyColor = HzUI.Hex("#C9D6E8"); |
PrecinctGame.World.cs:45 / void SetupLook() | RenderSettings.ambientEquatorColor = HzUI.Hex("#B6AFA4"); |
PrecinctGame.World.cs:46 / void SetupLook() | RenderSettings.ambientGroundColor = HzUI.Hex("#6B6460"); |
PrecinctGame.World.cs:55 / void SetupLook() | if (prof.TryGet<Vignette>(out var vg)) { vg.intensity.Override(0.18f); vg.smoothness.Override(0.5f); vg.color.Override(HzUI.Hex("#101830")); } |
PrecinctGame.World.cs:70 / void SetupLook() | public const string Brick = "#A85A40", BrickDark = "#8A4732", Wall = "#EEEAE2", WallTop = "#D8D2C6", Navy = "#18264A", Blue = "#2F7BFF", Yellow = "#FFD21F", |
PrecinctGame.World.cs:71 / void SetupLook() | Orange = "#FF8A1F", Gold = "#FFC83D", Green = "#45D07A", Wood = "#B98457", WoodDark = "#8C5F3C", Metal = "#9AA3AD", MetalDark = "#59616B", |
PrecinctGame.World.cs:72 / void SetupLook() | Glass = "#8EC9F0", Screen = "#2D3E66", Tile = "#C9CED2", Carpet = "#8FA3BC", Lino = "#D9D2C4", Cells = "#AEB4BA", Asphalt = "#7D838A", Road = "#5D636A", |
PrecinctGame.World.cs:73 / void SetupLook() | Pavement = "#CFCAC0", Grass = "#8CC27A", Plant = "#4FA35A", Pot = "#C46B4A", White = "#F4F5F7", Rubber = "#2A2D33", Line = "#F2F2EA", Fabric = "#4C7FC9"; |
PrecinctGame.World.cs:85 / void BuildStatic() | mb.Box(new Vector3(-2, 0.0f, -3.45f), new Vector3(110, 0.12f, 0.25f), M("#B5B0A6")); |
PrecinctGame.World.cs:89 / void BuildStatic() | string[] fronts = { "#E9C9A6", "#C9D8E6", "#E8B5A5", "#D9E3C3", "#F0D9A8", "#CBBFE0" }; |
PrecinctGame.World.cs:95 / void BuildStatic() | mb.Box(new Vector3(x, h + 0.2f, -15.5f), new Vector3(8.1f, 0.4f, 5.3f), M("#7B5D52")); |
PrecinctGame.World.cs:97 / void BuildStatic() | mb.Box(new Vector3(x, 1.1f, -12.98f), new Vector3(1.2f, 2.2f, 0.06f), M("#5E4A3E")); |
PrecinctGame.World.cs:102 / void BuildStatic() | for (int i = 0; i < 6; i++) { float x = -30 + i * 11; mb.Cyl(new Vector3(x, 1.8f, -3.0f), 0.07f, 3.6f, M(C.MetalDark), 8); mb.Sphere(new Vector3(x, 3.7f, -3.0f), new Vector3(0.22f, 0.18f, 0.22f), PtMats.Lit("#FFF4C9", 0.6f)); } |
PrecinctGame.World.cs:109 / static void Tree(MB mb, Vector3 p, float s) | mb.Sphere(p + new Vector3(0, 2.2f * s, 0), new Vector3(1.2f, 1.1f, 1.2f) * s, M("#5BAE5E", 0.1f), 10, 7); |
PrecinctGame.World.cs:110 / static void Tree(MB mb, Vector3 p, float s) | mb.Sphere(p + new Vector3(0.5f, 2.8f * s, 0.2f), new Vector3(0.8f, 0.75f, 0.8f) * s, M("#6DBE6A", 0.1f), 10, 7); |
PrecinctGame.World.cs:141 / void RefreshStation(bool anim, string newId = null) | glow.Box(new Vector3(9 + 1.3f, 1.55f, -0.25f), new Vector3(0.3f, 0.36f, 0.3f), PtMats.Unlit(HzUI.Hex("#6FA8FF") * 1.6f, "lamp")); |
PrecinctGame.World.cs:157 / void BuildFloors(MB mb) | if (!on) m = PtMats.Lit("#B8B2A8", 0.1f, PtTex.Paving); |
PrecinctGame.World.cs:180 / void BuildFloors(MB mb) | mb.Box(new Vector3(9, 0.02f, 0.9f), new Vector3(1.8f, 0.03f, 1.2f), M("#3D4B6B", 0.05f)); |
PrecinctGame.World.cs:181 / void BuildFloors(MB mb) | mb.Box(new Vector3(9, 0.03f, -0.5f), new Vector3(2.4f, 0.06f, 0.9f), M("#BDB7AC")); |
PrecinctGame.World.cs:210 / void BuildWall(MB mb, Wall w) | mb.Box(mid + Vector3.up * (w.H + 0.05f), new Vector3(sl + 0.04f, 0.1f, th + 0.08f), M("#E3DDD2"), rot); |
PrecinctGame.World.cs:231 / void BuildWall(MB mb, Wall w) | mb.Box(mid + Vector3.up * w.H / 2, new Vector3(sl, w.H, th), M("#C8CDD3", 0.2f), rot); |
PrecinctGame.World.cs:236 / void BuildWall(MB mb, Wall w) | mb.Box(mid + Vector3.up * 0.06f, new Vector3(sl, 0.12f, th + 0.02f), M("#5E6B80"), rot); |
PrecinctGame.World.cs:290 / void BuildProp(MB mb, Prop p) | for (int i = -2; i <= 2; i++) mb.Box(L(i * 1.75f, 1.45f, -0.05f), new Vector3(1.6f, 0.75f, 0.03f), PtMats.Lit("#CFE8F7", 0.9f), q); |
PrecinctGame.World.cs:308 / void BuildProp(MB mb, Prop p) | mb.Box(L(0, 1.0f, 0), new Vector3(1.6f, 0.9f, 0.05f), M("#C7A27A"), q); |
PrecinctGame.World.cs:309 / void BuildProp(MB mb, Prop p) | for (int i = 0; i < 5; i++) mb.Box(L(-0.6f + i * 0.3f, 1.0f + (i % 2) * 0.15f, -0.03f), new Vector3(0.22f, 0.28f, 0.01f), M(i % 2 == 0 ? "#FFFFFF" : "#FFE8A0"), q); |
PrecinctGame.World.cs:322 / void BuildProp(MB mb, Prop p) | mb.Cyl(L(0, 1.35f, 0), 0.2f, 0.5f, PtMats.Lit("#9FD3FF", 0.9f), 10); |
PrecinctGame.World.cs:334 / void BuildProp(MB mb, Prop p) | mb.Box(L(0, 1.15f, 0), new Vector3(0.55f, 0.5f, 0.45f), M("#2C2F35", 0.5f), q); |
PrecinctGame.World.cs:335 / void BuildProp(MB mb, Prop p) | mb.Box(L(0, 1.15f, -0.23f), new Vector3(0.3f, 0.2f, 0.02f), M("#D94B3B"), q); |
PrecinctGame.World.cs:341 / void BuildProp(MB mb, Prop p) | mb.Box(L(-0.9f + i * 0.6f, 0.95f, 0), new Vector3(0.56f, 1.9f, 0.5f), M(i % 2 == 0 ? "#8FA0B5" : "#7F91A7", 0.45f), q); |
PrecinctGame.World.cs:359 / void BuildProp(MB mb, Prop p) | mb.Box(L(0, 0.3f, 0), new Vector3(p.Hx * 2, 0.45f, p.Hz * 2), M("#9EA6AF"), q); |
PrecinctGame.World.cs:360 / void BuildProp(MB mb, Prop p) | mb.Box(L(0, 0.56f, 0), new Vector3(p.Hx * 2 - 0.1f, 0.08f, p.Hz * 2 - 0.1f), M("#5B7DB0"), q); |
PrecinctGame.World.cs:363 / void BuildProp(MB mb, Prop p) | mb.Box(L(0, 0.74f, 0), new Vector3(p.Hx * 2, 0.08f, p.Hz * 2 + 0.1f), M("#5C6676"), q); |
PrecinctGame.World.cs:368 / void BuildProp(MB mb, Prop p) | mb.Box(L(0, 0.74f, 0), new Vector3(p.Hx * 2, 0.07f, p.Hz * 2), M("#D9D5CC"), q); |
PrecinctGame.World.cs:375 / void BuildProp(MB mb, Prop p) | mb.Box(L(0, 0.25f, 0), new Vector3(p.Hx * 2, 0.5f, p.Hz * 2), M("#E07B5A", 0.1f), q); |
PrecinctGame.World.cs:376 / void BuildProp(MB mb, Prop p) | mb.Box(L(0, 0.65f, p.Hz - 0.12f), new Vector3(p.Hx * 2, 0.5f, 0.24f), M("#D06A4A", 0.1f), q); |
PrecinctGame.World.cs:380 / void BuildProp(MB mb, Prop p) | mb.Box(L(0, 0.74f, -0.3f), new Vector3(p.Hx * 2, 0.08f, 0.6f), M("#5C6676"), q); |
PrecinctGame.World.cs:392 / void BuildProp(MB mb, Prop p) | mb.Box(L(0, 0.08f, p.Hz - 0.35f), new Vector3(1.4f, 0.16f, 0.25f), M("#E3DDD2"), q); |
PrecinctGame.World.cs:414 / void BuildGlow(MB g, Prop p) | var scr = PtMats.Unlit(HzUI.Hex("#7FC2FF"), "scr"); |
PrecinctGame.World.cs:415 / void BuildGlow(MB g, Prop p) | var scr2 = PtMats.Unlit(HzUI.Hex("#9FF0C8"), "scr2"); |
PrecinctGame.World.cs:424 / void BuildGlow(MB g, Prop p) | case "scanner": g.Box(L(0, 1.39f, 0), new Vector3(0.2f, 0.01f, 0.15f), PtMats.Unlit(HzUI.Hex("#5BFF9A"), "scan"), q); break; |
PrecinctGame.World.cs:457 / void BuildTrays(Transform root) | mb.Box(new Vector3(0, 0.05f, 0), new Vector3(1.1f, 0.1f, 0.8f), M("#2F9E5B", 0.4f)); |
PrecinctGame.World.cs:458 / void BuildTrays(Transform root) | mb.Box(new Vector3(0, 0.12f, 0), new Vector3(1.0f, 0.05f, 0.7f), M("#3DBE6E", 0.3f)); |
PrecinctGame.World.cs:462 / void BuildTrays(Transform root) | var cash = M("#7ED67E", 0.2f); var band = M(C.Gold, 0.5f); |
PrecinctGame.World.cs:500 / void PunchRing(string at) => _ringPunch[at] = 0.35f; | static readonly string[] Skins = { "#F2C9A6", "#E0AC84", "#C68863", "#8D5A3B", "#F5D7BD", "#B07650" }; |
PrecinctGame.World.cs:501 / void PunchRing(string at) => _ringPunch[at] = 0.35f; | static readonly string[] Shirts = { "#E35D5D", "#4FA3E0", "#F2B33D", "#6DBE6A", "#A57BD6", "#F28CB0", "#4CC2B5", "#E0884F" }; |
PrecinctGame.World.cs:502 / void PunchRing(string at) => _ringPunch[at] = 0.35f; | static readonly string[] Hairs = { "#3B2A20", "#7A4A2A", "#D9B061", "#1E1E22", "#A33B2A", "#8C8C8C" }; |
PrecinctGame.World.cs:547 / void BuildPerson(MB mb, string role, int v) | case "trafficop": shirt = C.Navy; vest = true; cap = true; hat = "#F4F5F7"; break; |
PrecinctGame.World.cs:548 / void BuildPerson(MB mb, string role, int v) | case "clerk": shirt = "#F4F5F7"; pants = "#3A4256"; break; |
PrecinctGame.World.cs:549 / void BuildPerson(MB mb, string role, int v) | case "booking": shirt = "#DDE6F2"; pants = C.Navy; cap = true; hat = C.Navy; break; |
PrecinctGame.World.cs:550 / void BuildPerson(MB mb, string role, int v) | case "dispatcher": shirt = "#7FA6D9"; pants = "#3A4256"; break; |
PrecinctGame.World.cs:551 / void BuildPerson(MB mb, string role, int v) | case "detainee": shirt = "#8B8F96"; pants = "#4A4D55"; break; |
PrecinctGame.World.cs:552 / void BuildPerson(MB mb, string role, int v) | default: shirt = Shirts[v % Shirts.Length]; pants = (v % 3 == 0) ? "#4A5A7A" : (v % 3 == 1) ? "#5B4A3E" : "#2E3440"; break; |
PrecinctGame.World.cs:554 / void BuildPerson(MB mb, string role, int v) | var skinM = M(skin, 0.3f); var shirtM = M(shirt, 0.2f); var pantsM = M(pants, 0.2f); var shoe = M("#26282E", 0.4f); |
PrecinctGame.World.cs:563 / void BuildPerson(MB mb, string role, int v) | var vm = PtMats.Lit("#D7F23A", 0.4f); |
PrecinctGame.World.cs:565 / void BuildPerson(MB mb, string role, int v) | mb.Box(new Vector3(0, 0.64f, 0.27f), new Vector3(0.4f, 0.05f, 0.02f), M("#E6E6E6", 0.8f)); |
PrecinctGame.World.cs:574 / void BuildPerson(MB mb, string role, int v) | var eye = M("#1E1E24", 0.6f); |
PrecinctGame.World.cs:581 / void BuildPerson(MB mb, string role, int v) | mb.Box(new Vector3(0, 1.48f, 0.27f), new Vector3(0.42f, 0.03f, 0.2f), M("#111522", 0.6f)); |
PrecinctGame.World.cs:582 / void BuildPerson(MB mb, string role, int v) | mb.Cyl(new Vector3(0, 1.52f, 0), 0.318f, 0.06f, M("#E8E8E8"), 14, null, false); // hat band all round |
PrecinctGame.World.cs:596 / void BuildCar(MB mb, string type) | var body = M(d.Body, 0.6f); var acc = M(d.Accent, 0.5f); var glass = M("#2B3950", 0.85f); var tyre = M(C.Rubber, 0.2f); var hub = M(C.Metal, 0.7f); |
PrecinctGame.World.cs:625 / void BuildCar(MB mb, string type) | mb.Box(new Vector3(0, 0.42f, -len / 2 - 0.03f), new Vector3(w - 0.1f, 0.16f, 0.08f), M("#3A3D44")); |
PrecinctGame.World.cs:626 / void BuildCar(MB mb, string type) | mb.Box(new Vector3(0, 0.42f, len / 2 + 0.03f), new Vector3(w - 0.1f, 0.16f, 0.08f), M("#3A3D44")); |
PrecinctGame.World.cs:627 / void BuildCar(MB mb, string type) | mb.Box(new Vector3(-0.65f, 0.68f, len / 2 + 0.01f), new Vector3(0.35f, 0.14f, 0.04f), M("#FFF6CC", 0.9f)); |
PrecinctGame.World.cs:628 / void BuildCar(MB mb, string type) | mb.Box(new Vector3(0.65f, 0.68f, len / 2 + 0.01f), new Vector3(0.35f, 0.14f, 0.04f), M("#FFF6CC", 0.9f)); |
PrecinctGame.World.cs:629 / void BuildCar(MB mb, string type) | mb.Box(new Vector3(-0.65f, 0.68f, -len / 2 - 0.01f), new Vector3(0.3f, 0.14f, 0.04f), M("#E0453A", 0.6f)); |
PrecinctGame.World.cs:630 / void BuildCar(MB mb, string type) | mb.Box(new Vector3(0.65f, 0.68f, -len / 2 - 0.01f), new Vector3(0.3f, 0.14f, 0.04f), M("#E0453A", 0.6f)); |
PrecinctGame.World.cs:641 / void BuildCar(MB mb, string type) | mb.Box(new Vector3(0, top + 0.04f, -0.1f), new Vector3(1.1f, 0.08f, 0.28f), M("#2A2D33")); |
PrecinctGame.World.cs:661 / void AddLightBar(Transform car, string type) | a = Part("BlueOn", HzUI.Hex("#4F9BFF") * 2.2f, -0.28f, "lbOn"), |
PrecinctGame.World.cs:662 / void AddLightBar(Transform car, string type) | a2 = Part("BlueOff", HzUI.Hex("#1A3A7A"), -0.28f, "lbOff"), |
PrecinctGame.World.cs:663 / void AddLightBar(Transform car, string type) | b = Part("BlueOn2", HzUI.Hex("#4F9BFF") * 2.2f, 0.28f, "lbOn"), |
PrecinctGame.World.cs:664 / void AddLightBar(Transform car, string type) | b2 = Part("BlueOff2", HzUI.Hex("#1A3A7A"), 0.28f, "lbOff"), |
PrecinctGame.World.cs:1074 / void EnsureGuideObjects() | var y = PtMats.Unlit(HzUI.Hex("#FFD21F") * 1.1f, "arrow"); |
PtData.cs:104 / void I(IncDef d) { Inc[d.Id] = d; IncOrder.Add(d.Id); } | Veh["cruiser"] = new VehDef { Id = "cruiser", Name = "Patrol Car", Seats = 2, Cage = 1, Speed = 46, Body = "#F4F5F7", Accent = "#18264A" }; |
PtData.cs:105 / void I(IncDef d) { Inc[d.Id] = d; IncOrder.Add(d.Id); } | Veh["van"] = new VehDef { Id = "van", Name = "Transport Van", Seats = 3, Cage = 3, Speed = 38, Caps = new[] { "cordon" }, Body = "#F4F5F7", Accent = "#2F7BFF", Length = 4.9f }; |
PtData.cs:106 / void I(IncDef d) { Inc[d.Id] = d; IncOrder.Add(d.Id); } | Veh["suv"] = new VehDef { Id = "suv", Name = "Response SUV", Seats = 3, Cage = 1, Speed = 54, Caps = new[] { "cordon" }, Body = "#18264A", Accent = "#FFD21F", Length = 4.5f }; |
PtData.cs:107 / void I(IncDef d) { Inc[d.Id] = d; IncOrder.Add(d.Id); } | Veh["traffic"] = new VehDef { Id = "traffic", Name = "Road Unit Car", Seats = 2, Cage = 1, Speed = 60, Caps = new[] { "traffic" }, Body = "#F4F5F7", Accent = "#FFD21F" }; |