feat: implement monthly disaster event

This commit is contained in:
2026-07-25 16:39:33 +00:00
parent 3ea3d87b39
commit 1ae9ca6c1e
7 changed files with 628 additions and 11 deletions
+1 -1
View File
@@ -131,7 +131,7 @@ model City {
commerceMax Int @map("comm_max")
security Int @map("secu")
securityMax Int @map("secu_max")
trust Int @default(0)
trust Float @default(0) @db.Real
trade Int? @default(100)
defence Int @map("def")
defenceMax Int @map("def_max")
@@ -0,0 +1,3 @@
ALTER TABLE "city"
ALTER COLUMN "trust" TYPE REAL
USING "trust"::REAL;
+1
View File
@@ -36,6 +36,7 @@ export type GeneralStatName =
| 'dedication'
| 'sabotageDefence'
| 'sabotageAttack'
| 'injuryProb'
| 'addDex';
export type WarStatName =