-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconstants.ts
More file actions
1095 lines (1079 loc) · 31.7 KB
/
Copy pathconstants.ts
File metadata and controls
1095 lines (1079 loc) · 31.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
import { Property, GameState, GameEvent, District, Skill, AIPlayer, NewsItem, Achievement } from './types';
import { calculateNetWorth } from './utils';
export const DISTRICTS: District[] = [
{
id: 'gangbuk_old',
name: '강북 구도심',
description: '오랜 역사를 간직한 지역. 가격은 저렴하지만 성장 가능성은 낮습니다.',
marketValueMultiplier: 0.8,
rentMultiplier: 0.9,
growthRate: 0.0005,
icon: '🏛️',
},
{
id: 'university_town',
name: '대학가',
description: '젊음과 활기가 넘치는 곳. 꾸준한 임대 수요가 있지만, 건물 관리가 중요합니다.',
marketValueMultiplier: 1.0,
rentMultiplier: 1.15,
growthRate: 0.001,
icon: '🎓',
},
{
id: 'gangnam_rich',
name: '강남 부촌',
description: '대한민국 부의 상징. 매우 비싸지만 높은 수익과 시세 차익을 기대할 수 있습니다.',
marketValueMultiplier: 1.5,
rentMultiplier: 1.4,
growthRate: 0.0015,
icon: '💎',
},
{
id: 'new_development',
name: '신개발지구',
description: '새롭게 떠오르는 신도시. 미래 가치는 높지만, 시장 변동성이 큽니다.',
marketValueMultiplier: 0.9,
rentMultiplier: 0.8,
growthRate: 0.0025,
icon: '🏗️',
},
{
id: 'yeouido_financial',
name: '여의도 금융지구',
description: '한국의 월스트리트. 금융 기관이 밀집해 있으며, 상업용 건물의 가치가 매우 높습니다.',
marketValueMultiplier: 1.8,
rentMultiplier: 1.7,
growthRate: 0.0020,
icon: '💼',
},
{
id: 'seongsu_hotplace',
name: '성수동 핫플레이스',
description: '낡은 공장들이 트렌디한 카페와 팝업스토어로 변신한 곳. 젊은 유동인구가 많고 성장 잠재력이 높습니다.',
marketValueMultiplier: 1.2,
rentMultiplier: 1.3,
growthRate: 0.0030,
icon: '☕',
},
{
id: 'pangyo_techno',
name: '판교 테크노밸리',
description: '대한민국 IT의 심장. 첨단 기술 기업들이 모여있어 오피스 수요가 끊이지 않습니다.',
marketValueMultiplier: 1.6,
rentMultiplier: 1.5,
growthRate: 0.0028,
icon: '💻',
},
];
export const INITIAL_PROPERTIES_FOR_SALE: Property[] = [
// 강북 구도심
{
id: 1,
name: '낡은 단독주택',
type: '주거',
purchasePrice: 65000000,
marketValue: 65000000,
marketValueHistory: [65000000],
rent: 280000,
maintenanceCost: 60000,
status: '매물',
tenant: null,
image: 'https://images.unsplash.com/photo-1576941089067-2de3c901e126?q=80&w=400&h=300&fit=crop',
level: 1,
upgradeCost: 15000000,
districtId: 'gangbuk_old',
category: '일반',
},
{
id: 4,
name: '오래된 빌라',
type: '주거',
purchasePrice: 150000000,
marketValue: 150000000,
marketValueHistory: [150000000],
rent: 750000,
maintenanceCost: 110000,
status: '매물',
tenant: null,
image: 'https://images.unsplash.com/photo-1512917774080-9991f1c4c750?q=80&w=400&h=300&fit=crop',
level: 2,
upgradeCost: 40000000,
districtId: 'gangbuk_old',
category: '일반',
},
{
id: 15,
name: '재개발 예정 연립주택',
type: '주거',
purchasePrice: 180000000,
marketValue: 180000000,
marketValueHistory: [180000000],
rent: 600000,
maintenanceCost: 150000,
status: '매물',
tenant: null,
image: 'https://images.unsplash.com/photo-1505873242700-f289a29e1e0f?q=80&w=400&h=300&fit=crop',
level: 1,
upgradeCost: 50000000,
districtId: 'gangbuk_old',
category: '일반',
},
{
id: 16,
name: '골목길 구멍가게',
type: '상업',
purchasePrice: 95000000,
marketValue: 95000000,
marketValueHistory: [95000000],
rent: 450000,
maintenanceCost: 80000,
status: '매물',
tenant: null,
image: 'https://images.unsplash.com/photo-1505873242700-f289a29e1e0f?q=80&w=400&h=300&fit=crop',
level: 1,
upgradeCost: 20000000,
districtId: 'gangbuk_old',
category: '일반',
},
{
id: 17,
name: '옥탑방',
type: '주거',
purchasePrice: 45000000,
marketValue: 45000000,
marketValueHistory: [45000000],
rent: 200000,
maintenanceCost: 40000,
status: '매물',
tenant: null,
image: 'https://images.unsplash.com/photo-1505873242700-f289a29e1e0f?q=80&w=400&h=300&fit=crop',
level: 1,
upgradeCost: 10000000,
districtId: 'gangbuk_old',
category: '일반',
},
// 대학가
{
id: 2,
name: '작은 원룸',
type: '주거',
purchasePrice: 130000000,
marketValue: 130000000,
marketValueHistory: [130000000],
rent: 700000,
maintenanceCost: 90000,
status: '매물',
tenant: null,
image: 'https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?q=80&w=400&h=300&fit=crop',
level: 1,
upgradeCost: 28000000,
districtId: 'university_town',
category: '일반',
},
{
id: 3,
name: '동네 상가',
type: '상업',
purchasePrice: 260000000,
marketValue: 260000000,
marketValueHistory: [260000000],
rent: 1800000,
maintenanceCost: 220000,
status: '매물',
tenant: null,
image: 'https://images.unsplash.com/photo-1570129477492-45c003edd2be?q=80&w=400&h=300&fit=crop',
level: 2,
upgradeCost: 55000000,
districtId: 'university_town',
category: '일반',
},
{
id: 18,
name: '학생용 하숙집',
type: '주거',
purchasePrice: 210000000,
marketValue: 210000000,
marketValueHistory: [210000000],
rent: 1500000,
maintenanceCost: 180000,
status: '매물',
tenant: null,
image: 'https://images.unsplash.com/photo-1493663284031-b7e3aefcae8e?q=80&w=400&h=300&fit=crop',
level: 2,
upgradeCost: 60000000,
districtId: 'university_town',
category: '일반',
},
{
id: 19,
name: 'PC방 상가',
type: '상업',
purchasePrice: 320000000,
marketValue: 320000000,
marketValueHistory: [320000000],
rent: 2200000,
maintenanceCost: 250000,
status: '매물',
tenant: null,
image: 'https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?q=80&w=400&h=300&fit=crop',
level: 2,
upgradeCost: 70000000,
districtId: 'university_town',
category: '일반',
},
{
id: 20,
name: '복사집 점포',
type: '상업',
purchasePrice: 150000000,
marketValue: 150000000,
marketValueHistory: [150000000],
rent: 900000,
maintenanceCost: 100000,
status: '매물',
tenant: null,
image: 'https://images.unsplash.com/photo-1493663284031-b7e3aefcae8e?q=80&w=400&h=300&fit=crop',
level: 1,
upgradeCost: 40000000,
districtId: 'university_town',
category: '일반',
},
// 강남 부촌
{
id: 5,
name: '도심 아파트',
type: '주거',
purchasePrice: 500000000,
marketValue: 500000000,
marketValueHistory: [500000000],
rent: 2500000,
maintenanceCost: 300000,
status: '매물',
tenant: null,
image: 'https://images.unsplash.com/photo-1600585154340-be6161a56a0c?q=80&w=400&h=300&fit=crop',
level: 3,
upgradeCost: 90000000,
districtId: 'gangnam_rich',
category: '일반',
},
{
id: 6,
name: '번화가 오피스텔',
type: '상업',
purchasePrice: 650000000,
marketValue: 650000000,
marketValueHistory: [650000000],
rent: 4500000,
maintenanceCost: 500000,
status: '매물',
tenant: null,
image: 'https://images.unsplash.com/photo-1522708323590-d24dbb6b0267?q=80&w=400&h=300&fit=crop',
level: 4,
upgradeCost: 120000000,
districtId: 'gangnam_rich',
category: '일반',
},
{
id: 21,
name: '고급 빌라',
type: '주거',
purchasePrice: 800000000,
marketValue: 800000000,
marketValueHistory: [800000000],
rent: 3800000,
maintenanceCost: 450000,
status: '매물',
tenant: null,
image: 'https://images.unsplash.com/photo-1600585152220-90363fe7e115?q=80&w=400&h=300&fit=crop',
level: 4,
upgradeCost: 150000000,
districtId: 'gangnam_rich',
category: '일반',
},
{
id: 22,
name: '명품 편집샵 상가',
type: '상업',
purchasePrice: 1100000000,
marketValue: 1100000000,
marketValueHistory: [1100000000],
rent: 6000000,
maintenanceCost: 700000,
status: '매물',
tenant: null,
image: 'https://images.unsplash.com/photo-1472851294608-062f824d29cc?q=80&w=400&h=300&fit=crop',
level: 5,
upgradeCost: 200000000,
districtId: 'gangnam_rich',
category: '일반',
},
{
id: 23,
name: '성형외과 건물',
type: '상업',
purchasePrice: 1500000000,
marketValue: 1500000000,
marketValueHistory: [1500000000],
rent: 8000000,
maintenanceCost: 900000,
status: '매물',
tenant: null,
image: 'https://images.unsplash.com/photo-1616391182219-e080b4d1043a?q=80&w=400&h=300&fit=crop',
level: 5,
upgradeCost: 300000000,
districtId: 'gangnam_rich',
category: '일반',
},
// 신개발지구
{
id: 7,
name: '텅 빈 상가 부지',
type: '상업',
purchasePrice: 90000000,
marketValue: 90000000,
marketValueHistory: [90000000],
rent: 100000,
maintenanceCost: 20000,
status: '매물',
tenant: null,
image: 'https://images.unsplash.com/photo-1582268611958-ebfd161ef9cf?q=80&w=400&h=300&fit=crop',
level: 1,
upgradeCost: 30000000,
districtId: 'new_development',
category: '일반',
},
{
id: 8,
name: '신축 빌라 단지',
type: '주거',
purchasePrice: 220000000,
marketValue: 220000000,
marketValueHistory: [220000000],
rent: 800000,
maintenanceCost: 100000,
status: '매물',
tenant: null,
image: 'https://images.unsplash.com/photo-1580587771525-78b9dba3b914?q=80&w=400&h=300&fit=crop',
level: 1,
upgradeCost: 50000000,
districtId: 'new_development',
category: '일반',
},
{
id: 24,
name: '대형 아파트 단지',
type: '주거',
purchasePrice: 350000000,
marketValue: 350000000,
marketValueHistory: [350000000],
rent: 1200000,
maintenanceCost: 150000,
status: '매물',
tenant: null,
image: 'https://images.unsplash.com/photo-1522708323590-d24dbb6b0267?q=80&w=400&h=300&fit=crop',
level: 2,
upgradeCost: 80000000,
districtId: 'new_development',
category: '일반',
},
{
id: 25,
name: '신도시 학원 상가',
type: '상업',
purchasePrice: 280000000,
marketValue: 280000000,
marketValueHistory: [280000000],
rent: 1500000,
maintenanceCost: 200000,
status: '매물',
tenant: null,
image: 'https://images.unsplash.com/photo-1604014237800-1c9102c219da?q=80&w=400&h=300&fit=crop',
level: 1,
upgradeCost: 60000000,
districtId: 'new_development',
category: '일반',
},
{
id: 26,
name: '모델하우스 부지',
type: '상업',
purchasePrice: 120000000,
marketValue: 120000000,
marketValueHistory: [120000000],
rent: 150000,
maintenanceCost: 30000,
status: '매물',
tenant: null,
image: 'https://images.unsplash.com/photo-1600585152220-90363fe7e115?q=80&w=400&h=300&fit=crop',
level: 1,
upgradeCost: 40000000,
districtId: 'new_development',
category: '일반',
},
// 여의도 금융지구
{
id: 9,
name: '증권사 오피스',
type: '상업',
purchasePrice: 1200000000,
marketValue: 1200000000,
marketValueHistory: [1200000000],
rent: 7500000,
maintenanceCost: 900000,
status: '매물',
tenant: null,
image: 'https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?q=80&w=400&h=300&fit=crop',
level: 5,
upgradeCost: 250000000,
districtId: 'yeouido_financial',
category: '일반',
},
{
id: 10,
name: '금융가 주상복합',
type: '주거',
purchasePrice: 900000000,
marketValue: 900000000,
marketValueHistory: [900000000],
rent: 4200000,
maintenanceCost: 550000,
status: '매물',
tenant: null,
image: 'https://images.unsplash.com/photo-1616391182219-e080b4d1043a?q=80&w=400&h=300&fit=crop',
level: 4,
upgradeCost: 180000000,
districtId: 'yeouido_financial',
category: '일반',
},
{
id: 27,
name: '은행 본점 빌딩',
type: '상업',
purchasePrice: 2500000000,
marketValue: 2500000000,
marketValueHistory: [2500000000],
rent: 15000000,
maintenanceCost: 2000000,
status: '매물',
tenant: null,
image: 'https://images.unsplash.com/photo-1505873242700-f289a29e1e0f?q=80&w=400&h=300&fit=crop',
level: 7,
upgradeCost: 500000000,
districtId: 'yeouido_financial',
category: '일반',
},
{
id: 28,
name: '방송국 스튜디오',
type: '상업',
purchasePrice: 1800000000,
marketValue: 1800000000,
marketValueHistory: [1800000000],
rent: 9500000,
maintenanceCost: 1200000,
status: '매물',
tenant: null,
image: 'https://images.unsplash.com/photo-1582268611958-ebfd161ef9cf?q=80&w=400&h=300&fit=crop',
level: 6,
upgradeCost: 350000000,
districtId: 'yeouido_financial',
category: '일반',
},
{
id: 29,
name: '국회의사당 근처 빌라',
type: '주거',
purchasePrice: 1100000000,
marketValue: 1100000000,
marketValueHistory: [1100000000],
rent: 4800000,
maintenanceCost: 600000,
status: '매물',
tenant: null,
image: 'https://images.unsplash.com/photo-1580587771525-78b9dba3b914?q=80&w=400&h=300&fit=crop',
level: 4,
upgradeCost: 200000000,
districtId: 'yeouido_financial',
category: '일반',
},
// 성수동 핫플레이스
{
id: 11,
name: '개조된 공장형 카페',
type: '상업',
purchasePrice: 350000000,
marketValue: 350000000,
marketValueHistory: [350000000],
rent: 2400000,
maintenanceCost: 320000,
status: '매물',
tenant: null,
image: 'https://images.unsplash.com/photo-1554118811-1e0d58224f24?q=80&w=400&h=300&fit=crop',
level: 2,
upgradeCost: 70000000,
districtId: 'seongsu_hotplace',
category: '일반',
},
{
id: 12,
name: '디자이너 편집샵',
type: '상업',
purchasePrice: 420000000,
marketValue: 420000000,
marketValueHistory: [420000000],
rent: 3100000,
maintenanceCost: 380000,
status: '매물',
tenant: null,
image: 'https://images.unsplash.com/photo-1441986300917-64674bd600d8?q=80&w=400&h=300&fit=crop',
level: 2,
upgradeCost: 85000000,
districtId: 'seongsu_hotplace',
category: '일반',
},
{
id: 30,
name: '팝업 스토어 공간',
type: '상업',
purchasePrice: 280000000,
marketValue: 280000000,
marketValueHistory: [280000000],
rent: 2000000,
maintenanceCost: 250000,
status: '매물',
tenant: null,
image: 'https://images.unsplash.com/photo-1441986300917-64674bd600d8?q=80&w=400&h=300&fit=crop',
level: 1,
upgradeCost: 65000000,
districtId: 'seongsu_hotplace',
category: '일반',
},
{
id: 31,
name: '갤러리 빌딩',
type: '상업',
purchasePrice: 500000000,
marketValue: 500000000,
marketValueHistory: [500000000],
rent: 3500000,
maintenanceCost: 400000,
status: '매물',
tenant: null,
image: 'https://images.unsplash.com/photo-1604014237800-1c9102c219da?q=80&w=400&h=300&fit=crop',
level: 3,
upgradeCost: 100000000,
districtId: 'seongsu_hotplace',
category: '일반',
},
{
id: 32,
name: '수제화 공방',
type: '상업',
purchasePrice: 190000000,
marketValue: 190000000,
marketValueHistory: [190000000],
rent: 1200000,
maintenanceCost: 150000,
status: '매물',
tenant: null,
image: 'https://images.unsplash.com/photo-1554118811-1e0d58224f24?q=80&w=400&h=300&fit=crop',
level: 2,
upgradeCost: 50000000,
districtId: 'seongsu_hotplace',
category: '일반',
},
// 판교 테크노밸리
{
id: 13,
name: 'IT 기업 사옥',
type: '상업',
purchasePrice: 2000000000,
marketValue: 2000000000,
marketValueHistory: [2000000000],
rent: 11000000,
maintenanceCost: 1300000,
status: '매물',
tenant: null,
image: 'https://images.unsplash.com/photo-1556761175-b413da4baf72?q=80&w=400&h=300&fit=crop',
level: 6,
upgradeCost: 400000000,
districtId: 'pangyo_techno',
category: '일반',
},
{
id: 14,
name: '개발자용 오피스텔',
type: '주거',
purchasePrice: 480000000,
marketValue: 480000000,
marketValueHistory: [480000000],
rent: 2800000,
maintenanceCost: 350000,
status: '매물',
tenant: null,
image: 'https://images.unsplash.com/photo-1556761175-b413da4baf72?q=80&w=400&h=300&fit=crop',
level: 3,
upgradeCost: 95000000,
districtId: 'pangyo_techno',
category: '일반',
},
{
id: 33,
name: '데이터 센터',
type: '상업',
purchasePrice: 3000000000,
marketValue: 3000000000,
marketValueHistory: [3000000000],
rent: 18000000,
maintenanceCost: 2500000,
status: '매물',
tenant: null,
image: 'https://images.unsplash.com/photo-1520333789090-1afc82db536a?q=80&w=400&h=300&fit=crop',
level: 8,
upgradeCost: 600000000,
districtId: 'pangyo_techno',
category: '일반',
},
{
id: 34,
name: '코워킹 스페이스',
type: '상업',
purchasePrice: 700000000,
marketValue: 700000000,
marketValueHistory: [700000000],
rent: 4000000,
maintenanceCost: 500000,
status: '매물',
tenant: null,
image: 'https://images.unsplash.com/photo-1543269865-cbf427effbad?q=80&w=400&h=300&fit=crop',
level: 4,
upgradeCost: 130000000,
districtId: 'pangyo_techno',
category: '일반',
},
{
id: 35,
name: '판교역 주상복합 아파트',
type: '주거',
purchasePrice: 1300000000,
marketValue: 1300000000,
marketValueHistory: [1300000000],
rent: 5500000,
maintenanceCost: 700000,
status: '매물',
tenant: null,
image: 'https://images.unsplash.com/photo-1556761175-b413da4baf72?q=80&w=400&h=300&fit=crop',
level: 5,
upgradeCost: 250000000,
districtId: 'pangyo_techno',
category: '일반',
},
];
export const LANDMARKS: Property[] = [
{
id: 101,
name: 'N서울타워',
type: '상업',
purchasePrice: 4500000000,
marketValue: 4500000000,
marketValueHistory: [4500000000],
rent: 25000000,
maintenanceCost: 3000000,
status: '매물',
tenant: null,
image: 'https://images.unsplash.com/photo-1556761175-b413da4baf72?q=80&w=400&h=300&fit=crop',
level: 10,
upgradeCost: 1000000000,
districtId: 'gangbuk_old',
category: '랜드마크',
buff: {
type: 'rent',
scope: '주거',
value: 1.10, // +10%
description: '보유 효과: 모든 주거용 건물의 월 임대료 +10%',
},
},
{
id: 102,
name: '63빌딩',
type: '상업',
purchasePrice: 7000000000,
marketValue: 7000000000,
marketValueHistory: [7000000000],
rent: 40000000,
maintenanceCost: 5500000,
status: '매물',
tenant: null,
image: 'https://images.unsplash.com/photo-1472851294608-062f824d29cc?q=80&w=400&h=300&fit=crop',
level: 10,
upgradeCost: 1500000000,
districtId: 'yeouido_financial',
category: '랜드마크',
buff: {
type: 'rent',
scope: '상업',
value: 1.15, // +15%
description: '보유 효과: 모든 상업용 건물의 월 임대료 +15%',
},
},
{
id: 103,
name: '판교 테크 캠퍼스',
type: '상업',
purchasePrice: 8500000000,
marketValue: 8500000000,
marketValueHistory: [8500000000],
rent: 55000000,
maintenanceCost: 6000000,
status: '매물',
tenant: null,
image: 'https://images.unsplash.com/photo-1556761175-b413da4baf72?q=80&w=400&h=300&fit=crop',
level: 10,
upgradeCost: 2000000000,
districtId: 'pangyo_techno',
category: '랜드마크',
buff: {
type: 'rent',
scope: '상업',
value: 1.10,
description: '보유 효과: 모든 상업용 건물의 월 임대료 +10%',
},
},
{
id: 104,
name: '성수 연방',
type: '상업',
purchasePrice: 3800000000,
marketValue: 3800000000,
marketValueHistory: [3800000000],
rent: 22000000,
maintenanceCost: 2500000,
status: '매물',
tenant: null,
image: 'https://images.unsplash.com/photo-1556761175-b413da4baf72?q=80&w=400&h=300&fit=crop',
level: 10,
upgradeCost: 900000000,
districtId: 'seongsu_hotplace',
category: '랜드마크',
buff: {
type: 'maintenanceCost',
scope: '주거',
value: 0.85,
description: '보유 효과: 모든 주거용 건물의 월 유지비 -15%',
},
},
];
export const INITIAL_AI_PLAYERS: AIPlayer[] = [
{
id: 'ai_1',
name: '부동산 재벌',
money: 300000000,
ownedProperties: [],
personality: 'aggressive',
color: 'bg-red-500',
},
{
id: 'ai_2',
name: '신중한 투자자',
money: 150000000,
ownedProperties: [],
personality: 'cautious',
color: 'bg-blue-500',
},
{
id: 'ai_3',
name: '균형잡힌 사업가',
money: 200000000,
ownedProperties: [],
personality: 'balanced',
color: 'bg-purple-500',
},
{
id: 'ai_4',
name: '떠오르는 샛별',
money: 180000000,
ownedProperties: [],
personality: 'aggressive',
color: 'bg-pink-500',
},
];
export const NEWS_TEMPLATES = {
market: [
"한국은행, 기준 금리 동결... 시장 안정세 유지",
"정부, 부동산 공급 확대 정책 발표... 시장 영향은?",
"코스피 지수 3000선 돌파, 경제 회복 기대감 상승",
"글로벌 인플레이션 우려, 자산 시장에 불안감 고조",
"신규 DSR 규제 시행, 대출 문턱 높아져",
],
district: [
"{districtName}, 대규모 재개발 사업 착수... 미래 가치 급등 기대",
"{districtName}에 신규 지하철 노선 개통 확정... 교통 혁명 예고",
"{districtName}, 유명 맛집 거리로 부상하며 상권 활성화",
"정부, {districtName}를 스마트 시티 시범 지구로 선정",
],
rival: [
"공격적 투자자 {rivalName}, 단기간에 자산 5개 이상 확보",
"신중한 투자로 유명한 {rivalName}, 알짜배기 매물 매입 성공",
],
flavor: [
"올해 여름, 기록적인 폭염 예보... 건물 냉방비 부담 증가 전망",
"유명 연예인, {districtName} 부동산 매입 소식에 화제",
"MZ세대 사이에서 '내 집 마련' 열풍... 소형 주택 인기",
"인기 드라마 촬영지로 알려진 {districtName}, 방문객 급증",
]
};
export const SKILLS: Skill[] = [
{
id: 'negotiation',
name: '협상 전문가',
description: '부동산 구매 시 가격을 할인받습니다.',
maxLevel: 10,
icon: '🤝',
baseCost: 3,
effectPerLevel: 0.01, // 1%
effectUnit: 'percent',
},
{
id: 'management',
name: '관리의 달인',
description: '모든 보유 건물의 월 유지비를 절감합니다.',
maxLevel: 10,
icon: '🛠️',
baseCost: 3,
effectPerLevel: 0.02, // 2%
effectUnit: 'percent',
},
{
id: 'marketing',
name: '마케팅 전문가',
description: '모든 임대 건물의 월 임대료 수입이 증가합니다.',
maxLevel: 10,
icon: '📈',
baseCost: 5,
effectPerLevel: 0.02, // 2%
effectUnit: 'percent',
},
{
id: 'construction',
name: '건설 전문가',
description: '건물 업그레이드 비용이 감소합니다.',
maxLevel: 10,
icon: '🏗️',
baseCost: 4,
effectPerLevel: 0.02, // 2%
effectUnit: 'percent',
},
{
id: 'finance',
name: '금융 전문가',
description: '은행 대출 시 적용되는 이자율이 감소합니다.',
maxLevel: 10,
icon: '🏦',
baseCost: 5,
effectPerLevel: 0.0025, // 0.25%p
effectUnit: 'point',
},
{
id: 'legal',
name: '법률 전문가',
description: '법률 지식을 활용하여 세금 등 추가 유지비를 절감합니다.',
maxLevel: 5,
icon: '⚖️',
baseCost: 6,
effectPerLevel: 0.015, // 1.5%
effectUnit: 'percent',
},
{
id: 'urban_dev',
name: '도시 개발자',
description: '효율적인 도시 계획으로 월별 획득하는 경영 포인트(MP)가 증가합니다.',
maxLevel: 5,
icon: '🏙️',
baseCost: 8,
effectPerLevel: 0.2, // +0.2 per month
effectUnit: 'point',
},
];
export const ACHIEVEMENTS: Achievement[] = [
{
id: 'first_property',
name: '첫걸음',
description: '첫 번째 부동산을 구매했습니다.',
icon: '🏡',
isUnlocked: (prev, next) => prev.ownedProperties.length === 0 && next.ownedProperties.length > 0,
},
{
id: 'net_worth_1b',
name: '10억 클럽',
description: '총 자산 10억 원을 달성했습니다.',
icon: '💰',
isUnlocked: (prev, next) => calculateNetWorth(prev) < 1_000_000_000 && calculateNetWorth(next) >= 1_000_000_000,
},
{
id: 'landmark_owner',
name: '도시의 상징',
description: '랜드마크를 구매했습니다.',
icon: '✨',
isUnlocked: (prev, next) => !prev.ownedProperties.some(p => p.category === '랜드마크') && next.ownedProperties.some(p => p.category === '랜드마크'),
},
{
id: 'skill_master',
name: '연구의 대가',
description: '하나의 스킬을 마스터했습니다.',
icon: '🧠',
isUnlocked: (prev, next) => {
const nextMaxedOutSkill = SKILLS.find(s => (next.skills[s.id] || 0) === s.maxLevel);
if (!nextMaxedOutSkill) return false;
return (prev.skills[nextMaxedOutSkill.id] || 0) < nextMaxedOutSkill.maxLevel;
},
},
{
id: 'debt_free',
name: '완벽한 상환',
description: '대출을 전액 상환했습니다.',
icon: ' освобождение', // "freedom" in Russian, looks cool
isUnlocked: (prev, next) => prev.loan !== null && next.loan === null,
},
{
id: 'gangnam_lord',
name: '강남의 지배자',
description: '강남 부촌에 3개 이상의 부동산을 소유했습니다.',
icon: '💎',
isUnlocked: (prev, next) => next.ownedProperties.filter(p => p.districtId === 'gangnam_rich').length >= 3 && prev.ownedProperties.filter(p => p.districtId === 'gangnam_rich').length < 3,
},
{
id: 'full_house',
name: '만실의 기쁨',
description: '5개 이상의 부동산을 모두 임대하는 데 성공했습니다.',
icon: '🤝',
isUnlocked: (prev, next) => {
const prevRented = prev.ownedProperties.filter(p => p.status === '임대중').length;
const nextRented = next.ownedProperties.filter(p => p.status === '임대중').length;
if (next.ownedProperties.length < 5 || nextRented !== next.ownedProperties.length) return false;
const prevWasFullHouse = prev.ownedProperties.length >= 5 && prevRented === prev.ownedProperties.length;
return !prevWasFullHouse;
},
},
{
id: 'cautious_investor',
name: '현금 부자',
description: '현금을 50억 원 이상 보유했습니다.',
icon: '🏦',
isUnlocked: (prev, next) => prev.money < 5_000_000_000 && next.money >= 5_000_000_000,
},
{
id: 'top_rival',
name: '최고의 라이벌',
description: '라이벌 순위에서 1위를 달성했습니다.',
icon: '🏆',
isUnlocked: (prev, next) => {
const getRank = (state: GameState) => {
const playerNetWorth = calculateNetWorth(state);
const higherRankedRivals = state.aiPlayers.filter(ai => {
const aiNetWorth = ai.money + ai.ownedProperties.reduce((sum, p) => sum + p.marketValue, 0);
return aiNetWorth > playerNetWorth;
});
return higherRankedRivals.length + 1;
};
return getRank(prev) > 1 && getRank(next) === 1;
}
},
{
id: 'secret_cheater',
name: '신의 손',
description: '보이지 않는 손의 도움을 받았습니다.',
icon: '🤫',
isSecret: true,
isUnlocked: (prev, next) => {
const moneyCheatUsed = next.money >= prev.money + 1_000_000_000;
const mpCheatUsed = next.managementPoints >= prev.managementPoints + 100;
return moneyCheatUsed || mpCheatUsed;