Skip to content

Commit 6bc3749

Browse files
committed
Add roles
Add roles for post office and fun park.
1 parent aec9579 commit 6bc3749

2 files changed

Lines changed: 17 additions & 2 deletions

File tree

api/db/seed_data/roles_data.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,14 @@
291291
},
292292
{
293293
"name": "Post Office Manager",
294-
"income_xp": 20,
294+
"required_xp": "200",
295+
"income_xp": 24,
296+
"income_cc": 280
297+
},
298+
{
299+
"name": "Post Office Deputy",
300+
"required_xp": "200",
301+
"income_xp": 21,
295302
"income_cc": 250
296303
},
297304
{

api/src/services/place/place.service.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ export class PlaceService {
286286
owner: this.roleRepository.roleMap.BankManager,
287287
deputy: this.roleRepository.roleMap.BankCashier,
288288
},
289-
clubs: {
289+
clubdir: {
290290
owner: this.roleRepository.roleMap.ClubsChief,
291291
deputy: this.roleRepository.roleMap.ClubsDeputy,
292292
},
@@ -345,6 +345,14 @@ export class PlaceService {
345345
owner: this.roleRepository.roleMap.ClubOwner,
346346
deputy: this.roleRepository.roleMap.ClubAssistant,
347347
},
348+
newcomers: {
349+
owner: this.roleRepository.roleMap.SeniorCityGuide,
350+
deputy: this.roleRepository.roleMap.CityGuide,
351+
},
352+
funpark: {
353+
owner: this.roleRepository.roleMap.FunParkChief,
354+
deputy: this.roleRepository.roleMap.FunParkDeputy,
355+
},
348356
cityhall: {
349357
owner: this.roleRepository.roleMap.CityCouncil,
350358
},

0 commit comments

Comments
 (0)