Clan Cheats
Coins never drop, max relations, one-click max stats for clan/spouses/retainers/royals, regency portfolios, army recruiting with no unrest, one-click skip of battle reports. EN/VI.
| Date uploaded | 3 days ago |
| Version | 0.3.2 |
| Download link | Lousan114-Clan_Cheats-0.3.2.zip |
| Downloads | 5 |
| Dependency string | Lousan114-Clan_Cheats-0.3.2 |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2305README
Clan Cheats — VẠN NĂNG
Ten cheats for House of Legacy (吾今有世家), all in one F8 menu. Money, relations, character stats, and army recruiting.
Companion to Pregnancy Mods — they patch different things and run together.
Features
Money
- Coins never go down. Every payment the game makes on your behalf — building, wages, gifts, bribes, betrothal presents, tuition — is skipped. Income still arrives.
Relations (automatic, while you play)
- Talking to, visiting or dealing with anyone outside your house sets that person's relation with you to the maximum.
- The same contact sets their whole clan's standing with your house to the maximum.
- Dealing with your own people sets their mood to the maximum.
- A tick keeps this to friendly actions only, so an insult or a plot still costs you what it should. Turn it off to max the relation even after hostile moves.
- Funding a rebel king sets every rebel king's favour toward your house to the maximum.
- The court request that installs or removes a rebel king always succeeds. A stronger switch makes every request you put through a palace consort succeed.
One-click maximum stats
- A button per person and a MAX EVERYONE button for clan members, the spouses married in, and the retainers (門客) — three separate lists, because the game stores each of them in a different shape.
- Writes: Writing, Might, Business, Arts, Cunning, Charisma, Renown, Health, Mood, Stamina, skill level, talent value and luck.
- Age is optional and off by default (a tick plus a slider, default 18), because changing an age changes who is an adult, who can marry, and who is near death.
Army
- Private army in a fief: recruiting costs no happiness, and adds population instead of taking it (how many people per soldier is yours to set). Disbanding still returns happiness the normal way.
- City / province army (you must govern it): recruiting causes no discontent and adds population. Disbanding still removes discontent the normal way.
- Optional switches lift the recruiting caps in both places.
Battle reports
- The front-line battle report refuses to close until every entry has been dealt with. A small floating button appears while it is open — Ignore all (N) — and presses Ignore on every entry that still offers one. Entries that need a real decision (withdraw troops, and anything already handled) hide that button, so they are left for you.
- Also on F9, with optional "do it the moment the report opens" and "close the report too when nothing is left to decide".
Regency
- A royal holding a portfolio administers one of the six ministries every tick, each driven by a different one of their own stats. The Regency tab lists every royal and consort with the portfolio they hold, hands any of the six to anyone with one click, and can max a royal's stats so the ministry actually performs.
- Optional: a regent runs all six ministries instead of the one they hold — through the game's own regency routine, so each still rolls its own dice.
Vietnamese accents
The menu is written with real diacritics. At start-up the mod finds a font that can draw
them: one you name in FontName first, then a font the game has already loaded (it is
drawing your language pack, so it has them), then a system font. If nothing on the machine
can draw them it falls back to unaccented Vietnamese rather than empty boxes. The Settings
tab tells you which font it picked.
About the number 999
The game clamps a whole family of stats to 100 every time it changes them
(YiBaiNumChange in the game's own code): Writing, Might, Business, Arts, Cunning,
Charisma, Renown, Health and Mood. Writing 999 into those shows 999 in the panel until the
next time the game touches that stat, then it snaps back to 100. So the default here is
100 for those, and 999 for talent value, skill level and luck, which have no clamp.
Stamina has an age-based ceiling (GetTiliMax): at 30 and under it equals your age,
between 31 and 50 it is 60 minus your age, above 50 it is a small number. The mod fills
stamina to that ceiling by default, which is the value the game keeps.
You can set both targets to 999 in the menu if you would rather see the big number.
Installation
Mod manager (recommended): install with Thunderstore Mod Manager / r2modman — BepInExPack comes with it.
Manual: install BepInExPack,
then drop ClanCheats.dll into BepInEx/plugins/.
Press F8 in game.
Settings
In the F8 menu, or in BepInEx/config/com.lousan114.clan_cheats.cfg:
| Setting | Default | Effect |
|---|---|---|
| Enabled | true | Master switch |
| MenuKey | F8 | Menu hotkey |
| Language | VI | VI or EN |
| FontName | (empty) | Force a menu font by name; empty = pick one that can draw accents |
| UiScale | 1.3 | Widens every column/label/button - raise if text is clipped, lower for a tighter menu |
| MenuWidth | 1000 | Window width; also set by dragging the bottom-right grip |
| MenuHeight | 760 | Window height; also set by dragging the bottom-right grip |
| NoCoinLoss | true | Coins never decrease |
| MaxNpcRelation | true | Contact maxes that person's relation |
| MaxClanRelation | true | Contact maxes that clan's standing |
| MaxOwnMood | true | Contact maxes your own member's mood |
| RelationOnlyWhenFriendly | true | Only after non-hostile actions |
| MaxRebelRelation | true | Funding a rebel maxes rebel favour |
| RebelRecruitAlwaysSucceeds | true | The rebel-king court request always lands |
| AllCourtRequestsSucceed | false | Every consort request always lands |
| StatTarget | 100 | Value for the clamped stats |
| ExtraTarget | 999 | Value for talent / skill / luck |
| SetAge | false | Also write an age |
| AgeTarget | 18 | Age written when SetAge is on |
| StaminaToAgeMax | true | Fill stamina to its age ceiling |
| IncludeSpouses | true | Max buttons cover married-in spouses |
| SiBingNoHappinessLoss | true | Private army costs no happiness |
| SiBingAddPopulation | true | Private army adds population |
| SiBingPopGain | 1 | People added per private soldier |
| SiBingNoCap | false | Lift the fief recruiting cap |
| CityNoDiscontent | true | City/province army causes no discontent |
| CityAddPopulation | true | City/province army adds population |
| CityPopGain | 1 | People added per city soldier |
| CityNoCap | false | Lift the city/province recruiting cap |
| ReportButton | true | Floating "Ignore all" button while the battle report is open |
| ReportKey | F9 | Hotkey for the same |
| ReportAuto | false | Do it the moment the report opens |
| ReportAutoClose | false | Close the report when nothing is left to decide |
| RunAllMinistries | false | A regent runs all six ministries, not just the one held |
Safety
Every value this mod writes goes into a column the game itself writes, in the game's own format. No row is added to or removed from any list, and no save file is edited on disk — these are Harmony patches on the running game. Remove the mod and your save keeps working; the numbers simply stop being refreshed.
The column map was read out of the game's own info panels
(MemberNowInfoPanel, MemberQuInfoPanel, MenKeNowInfoPanel) and checked against a real
save, so a clan member, a married-in spouse and a retainer each get their own layout —
they are genuinely different and mixing them up would scramble a character.
Back up your save before the first run anyway.
Tiếng Việt
Mười tính năng, tất cả trong menu F8:
- Tiền không bao giờ giảm — mọi khoản chi đều được bỏ qua, tiền vào vẫn tính bình thường.
- Quan hệ với người gia tộc khác / hoàng cung lên tối đa khi bạn nói chuyện, thăm hỏi, giao thiệp.
- Quan hệ của cả gia tộc đó với nhà bạn cũng lên tối đa.
- Tài trợ phản vương → quan hệ với mọi phản vương lên tối đa.
- Thỉnh cầu lập / bỏ phản vương luôn thành công (có tuỳ chọn mạnh hơn: mọi thỉnh cầu qua phi tần đều thành công).
- Một nút max toàn bộ chỉ số thành viên gia tộc — Danh tiếng, Thể lực, Sức khỏe, Tâm trạng, Mị lực, Văn tài, Võ tài, Thương tài, Nghệ tài, Mưu lược, cấp kỹ năng, thiên phú, may mắn. Tuổi là tuỳ chọn (mặc định tắt, đặt 18 nếu bật).
- Một nút max toàn bộ môn khách (bảng dữ liệu khác hẳn thành viên gia tộc, mod xử lý riêng).
- Chiêu mộ tư binh ở phong địa: không mất hạnh phúc, và làm tăng dân số thay vì giảm.
- Chiêu quân ở quận / huyện (người nhà phải làm quan ở đó): không gây dân oán.
- Chiêu quân ở quận / huyện làm tăng dân số.
- Nhiếp chính — tab liệt kê mọi hoàng thân / phi tần và chức nhiếp chính họ đang giữ, giao bất kỳ bộ nào chỉ bằng một nút, max chỉ số hoàng thân, và tuỳ chọn cho nhiếp chính chạy cả sáu bộ. Mỗi bộ ăn theo một chỉ số khác nhau: Mưu lược (Lại/Công/Hình), Võ tài (Binh), Thương tài (Hộ), Văn tài (Lễ). Lưu ý Lễ bộ sẽ kéo tụt điểm Giáo hoá của quận nếu Văn tài thấp.
- Bỏ qua toàn bộ chiến báo bằng một nút. Bảng "Chiến báo tiền tuyến" không cho đóng cho tới khi xử lý hết từng mục. Khi bảng mở ra sẽ có một nút nổi Bỏ qua tất cả (N) — bấm một cái là bỏ qua mọi mục còn nút "Bỏ qua". Những mục cần bạn quyết định (thu quân, và mọi mục game ẩn nút Bỏ qua) vẫn giữ nguyên. Có phím tắt F9, tuỳ chọn tự động làm ngay khi bảng mở, và tuỳ chọn đóng luôn bảng khi không còn gì phải quyết định.
Về tiếng Việt có dấu: menu viết bằng tiếng Việt đầy đủ dấu. Mod tự tìm phông chữ hiển thị được dấu — ưu tiên phông bạn đặt trong FontName, rồi phông chính game đang dùng (đang hiển thị bản Việt hoá nên chắc chắn có dấu), rồi phông hệ thống (Segoe UI, Arial, Tahoma...). Nếu máy không có phông nào hiển thị được dấu thì mod tự bỏ dấu thay vì hiện ô vuông. Tab Cài đặt cho biết đã chọn phông nào.
Về con số 999: game tự ép các chỉ số Văn/Võ/Thương/Nghệ/Mưu lược/Mị lực/Danh tiếng/Sức khỏe/Tâm trạng về 100 mỗi lần nó thay đổi chúng. Ghi 999 sẽ hiện 999 cho tới lần sau game chạm vào chỉ số đó, rồi tự về 100. Vì vậy mặc định là 100 cho nhóm này và 999 cho thiên phú / cấp kỹ năng / may mắn (không bị chặn). Thể lực có trần theo tuổi (≤30 = bằng tuổi, 31–50 = 60 trừ tuổi, >50 = số nhỏ) — mod đổ đầy tới trần đó. Bạn vẫn có thể chỉnh cả hai về 999 trong menu nếu thích nhìn số to.
Cài qua Thunderstore Mod Manager là xong. Bấm F8 trong game. Nên sao lưu save trước lần chạy đầu.
Compatibility
Built and verified against the Steam build of House of Legacy (2026-04 update, Mono / BepInEx 5). If a future update renames an internal method, the affected feature disables itself and logs an error instead of crashing.
CHANGELOG
Changelog
0.4.1
- NEW: send every camp's whole garrison in one press. The game's "send private soldiers" panel raises each camp four men per click of
+, which is unusable once a camp holds thousands. A small floating button now appears while that panel is open - Điều động tối đa - and tops every camp row up to its full garrison, with a Send none button to put them all back to zero. Also on a hotkey (F10), with an option to do it the moment the panel opens.- It performs exactly the pair of steps the panel's own
+button performs when the next step would overshoot: set the row to its full garrison, then callSiBingNumShow(). That is what writes the number into the parent panel's dispatch list and hands it the delta, so the running total and the strength readout stay correct. Nothing is reimplemented, and confirming still deducts the men through the game's ownReduceNum. - Works in every panel that dispatches soldiers, not just the clan clash.
- It performs exactly the pair of steps the panel's own
0.4.0
- NEW: Private army tab. Lists every military camp you own with its men, fighting power, loyalty and the strength that adds up to, and fills any camp - or all of them - with one click. Weapon grades are set to 100 each because that is the game's own cap; anything higher is thrown away by its formula.
- The tab spells out how an armed clash is actually decided, straight from
FormulaData.HuoPin_SiBing: your men x power x (0.7 + loyalty/100) against their men x their power. Loyalty multiplies the whole army - 100 is x1.7, 0 is x0.7 - so it is worth as much as power, which the old panel never made obvious. - Under that, every rival clan is listed with its real strength (
ShiJia_Now[clan][11]), whether you would win, roughly how many men would survive, and if not, how many more men you need. Winning by a hair kills almost everyone, because the survivors are exactly the strength left over after cancelling their army out. - It will not invent a camp. The fief scene spawns a building for every camp row, so a row conjured by a mod would leave a structure the save carries forever. With no camp anywhere the tab says so and explains where to build one instead.
0.3.2
- FIX:
ArgumentException: Getting control N's position in a group with only N controls. Unity runs the interface twice per cycle - a Layout pass that counts the controls, then the real pass that must ask for exactly the same ones. Two things broke that count:- The hover tooltip and the toast were drawn with layout controls guarded by state that is different in the two passes (
GUI.tooltipis empty during Layout and filled during Repaint; a toast can start inside an event pass whose Layout has already run). Both now draw at a fixed rectangle, which never joins the count, and the layout reserves room for them unconditionally. - A tab or mode toolbar adopted the new selection immediately, so the rest of that pass drew a different set of controls than Layout had counted. Selections are now parked and adopted at the start of the next Layout pass - the highlight still moves at once, only the content behind it waits a frame.
- The hover tooltip and the toast were drawn with layout controls guarded by state that is different in the two passes (
- A build-time lint now rejects any layout control guarded by pass-dependent state, and any selection adopted straight out of its control.
0.3.1
- The menu's fixed widths now scale by one number, UiScale (default 1.3), so an accent-capable font - which is wider than the game's built-in one - no longer clips labels and buttons. The window starts bigger and its list area grows with it.
- The window can be resized. Drag the grip in the bottom-right corner; the size is saved to the config.
0.3.0
- NEW: Regency tab. A royal with a portfolio administers one of the six ministries every tick, and each ministry runs off a different one of that royal's stats. The tab lists every royal and consort with the portfolio they hold, hands any of the six (or none) to anyone with one click, and can max a royal's stats so their ministry actually performs.
- The portfolio is one column -
Member_King[i][28],Member_King_qu[i][25]- which is exactly what the game's own chooser writes, andMainUpdateruns the ministry for anyone whose column is not "none". Nothing else is needed to make it take effect. - Careful with Ritual Affairs: it moves a commandery's Order toward the regent's Writing, which means it pushes Order down when their Writing is low. The tab says so.
- Run all six ministries (off by default): after the game finishes the regent's own ministry, the mod swaps the column to each of the other five and calls the game's own regency routine again, then puts the real portfolio back - in a
finally, so it is restored even if a ministry throws. Each ministry still rolls its own dice, so this is five more attempts, not five guaranteed payouts. - A royal and a consort store their stats in different columns; the mod carries both maps and the tests check them separately against real save rows.
- The portfolio is one column -
- Ministry names come from the game's own
AllText.SheZheng_king, in the game's language.
0.2.0
- Vietnamese with proper accents. The menu now carries real diacritics. On start-up the mod looks for a font that can actually draw them: one you name in the config first, then a font the game has already loaded (it is drawing your language pack, so it has them), then a system font - Segoe UI, Arial, Tahoma and so on. If nothing on the machine can draw them, the text falls back to unaccented Vietnamese rather than a row of empty boxes. The Settings tab shows which font was picked and whether accents are available.
- NEW: Ignore every battle report with one press. The front-line battle report will not close until every entry has been dealt with, which means clicking "Ignore" over and over. A small floating button now appears while the report is open - Bỏ qua tất cả (N) - and presses Ignore on every entry that still offers one. Entries the game will not let you ignore (the withdraw-troops one, and anything already handled) hide that button, so they are left exactly where they are for you to decide. Also on a hotkey (F9), with optional "do it the moment the report opens" and "close the report too when nothing is left".
- It presses the game's own button -
PerZhanBao.ActABT- one row at a time, so every entry resolves exactly as if you had clicked it: the war event is removed, the row is tagged as handled, and the panel's counter is updated. Nothing is reimplemented. - A row whose war event has already gone is skipped rather than clicked, because the game's own handler would throw on it.
- The scene is scanned on a 0.25s timer, not once per interface pass, so the button costs nothing while you play.
- It presses the game's own button -
0.1.0
First release. Ten cheats in one F8 menu.
Money
- Coins never decrease — every negative coin change the game makes is skipped, income untouched (
FormulaData.ChangeCoins).
Relations
- Contact with anyone outside your house maxes that person's relation and their clan's standing with you; contact with your own people maxes their mood. All three hang off the game's own
RelaxChangeShiJia, so they fire exactly when the game itself would change a relation - talking, visiting, gifts, events. - A tick limits this to friendly actions, so hostile moves still cost what they should.
- Funding a rebel king maxes every rebel king's favour toward your house.
- The court request that installs or removes a rebel king always succeeds; an optional stronger switch makes every consort request succeed.
One-click maximum stats
- Per-person and MAX-EVERYONE buttons for clan members, married-in spouses and retainers, each with its own column layout - the three lists are genuinely different in the save, and the map came from the game's own info panels.
- Sets Writing, Might, Business, Arts, Cunning, Charisma, Renown, Health, Mood, Stamina, skill level, talent value and luck.
- Age is optional and off by default, because changing an age changes adulthood, marriage eligibility and how near death someone is.
- Two targets: 100 for the stats the game clamps to 100, 999 for talent / skill / luck which have no clamp. Both are adjustable - set them to 999 if you would rather see the big number, knowing the game will pull the clamped ones back.
- Stamina is filled to its age ceiling (
GetTiliMax) by default, which is the value the game keeps.
Army
- Private army in a fief: no happiness cost, and recruiting adds population instead of draining it (people-per-soldier is configurable). Disbanding still refunds happiness normally.
- City / province army: no discontent, and recruiting adds population. Disbanding still removes discontent normally.
- Optional switches lift the recruiting caps in both places; the temporary numbers used to lift them never survive the call.
Under the hood
- 47 static checks against the game assembly (every patched method, its signature and its parameter names) and 84 runtime tests, the latter run against rows exported from a real save so the column map is proved against live data rather than assumed.