forked from ParadiseSS13/Paradise
-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
<!-- Пишите **НИЖЕ** заголовков и **ВЫШЕ** комментариев, иначе что то может пойти не так. --> <!-- Вы можете прочитать Contributing.MD, если хотите узнать больше. --> ## Что этот PR делает Добавляет 5 ТИРов профессий по запросам и с одобрения стримеров. Принцип работы Заключается в том, что у игроков на каждый ТИР будет выделена отдельная кнопка, где они могут выбрать 1 специальную должность наподобии ассистентской в каждом ТИРе и от этого выставить свой приоритет. Данные должности предназначены для расширения игрового опыта, минимизации ожидания в очереди ХОП’а, когда ХОП находится в ССД, отсутствует или его забрал Капитан, а также для создания интересных ивентовых ситуаций не нацеленных на резню, а только на выполнение должностных обязанностей и отыгрыша на космической станции за определенную профессию. Так как на станции могут присутствовать различные туристы, а Космический Закон на них по прежнему распространяется, то любая роль подчиняется текущему КЗ и не дает право нарушать правила, логику персонажей, РП отыгрыш и сам КЗ. Каждая профессия получает справку о своей роли, униформу, профессиональный хлам и необходимые минимальные доступы. 4-5 должности в связи с имением небольших "преимуществ" - не имеют возможности стать антагонистом. Данные должности нельзя получить через консоль ГП, только через ЦК. ![image](https://github.com/ss220club/Paradise-SS220/assets/41479614/4e9b1c0d-f79e-41de-94ec-e5934af3e8db) ## Почему это хорошо для игры Поощрение донатеров, возможность жития проекта. ## Изображения изменений ![image](https://github.com/ss220club/Paradise-SS220/assets/41479614/6d32fe00-d861-48f6-be0a-b4755110682a) ![image](https://github.com/ss220club/Paradise-SS220/assets/41479614/729bc2c8-37ff-4325-abce-30832ab4a744) ![image](https://github.com/ss220club/Paradise-SS220/assets/41479614/a09cb831-1ed1-477d-af32-1c5463444474) ## Тестирование Долго и муторно ![image](https://github.com/ss220club/Paradise-SS220/assets/41479614/3ad60305-28b6-467d-ad9c-b5048a5f2ce9) ![image](https://github.com/ss220club/Paradise-SS220/assets/41479614/e8f10ad0-7511-4f9d-a142-f2b067d453dd) ![image](https://github.com/ss220club/Paradise-SS220/assets/41479614/0fc4372a-baac-4541-a7c8-e140082a5324) ## Changelog :cl: add: Добавлены РП-профессии для донатеров. tweak: Рефактор кода модульных профессий /:cl: --------- Co-authored-by: dj-34 <[email protected]> Co-authored-by: Legendaxe <[email protected]>
- Loading branch information
1 parent
7f6d681
commit dc54c29
Showing
38 changed files
with
2,957 additions
and
168 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,141 @@ | ||
#define NOVICE_JOB_MINUTES 120 | ||
#define NOVICE_CADET_JOB_MINUTES 300 | ||
|
||
// Если ОФФы добавят новую должность в отдел, то потребуется смещение (╯°□°)╯︵ ┻━┻ | ||
// Но так как они больше не планируют и выступают против добавления новых профессий, скорее всего ничего и не изменится. | ||
|
||
// JOBCAT_"отдел"_LAST - нужен для корректного вывода из БД, иначе чуда не будет. | ||
// Максимальный сдвиг (1<<22), Последний сдвиг (1<<23) | ||
// Он должен быть всегда как минимум на 1 больше последнего, по дефолту у ОФФов (1<<16) | ||
|
||
|
||
// ==================================== | ||
// JOBCAT_ENGSEC | ||
// Начинаются с JOB_NANO (1<<14) | ||
#define JOB_TRAINEE (1<<15) | ||
#define JOB_CADET (1<<16) | ||
//#define JOB_PILOT (1<<17) | ||
|
||
#define JOB_REPRESENTATIVE_TSF (1<<17) | ||
#define JOB_REPRESENTATIVE_USSP (1<<18) | ||
#define JOB_DEALER (1<<19) | ||
#define JOB_VIP_GUEST (1<<20) | ||
#define JOB_BANKER (1<<21) | ||
#define JOB_SECURITY_CLOWN (1<<22) | ||
|
||
#define JOBCAT_LAST_ENGSEC (1<<23) | ||
|
||
|
||
// ==================================== | ||
// JOBCAT_MEDSCI | ||
// Начинаются с JOB_CORONER (1<<10) | ||
#define JOB_INTERN (1<<11) | ||
#define JOB_STUDENT (1<<12) | ||
#define JOB_MECHANIC (1<<13) | ||
|
||
#define JOB_ADMINISTRATOR (1<<14) | ||
#define JOB_TOURIST_TSF (1<<15) | ||
#define JOB_TOURIST_USSP (1<<16) | ||
#define JOB_MANAGER_JANITOR (1<<17) | ||
#define JOB_ACTOR (1<<18) | ||
//#define JOB_APPRENTICE (1<<18) | ||
#define JOB_GUARD (1<<19) | ||
#define JOB_MIGRANT (1<<20) | ||
#define JOB_UNCERTAIN (1<<21) | ||
#define JOB_ADJUTANT (1<<22) | ||
//#define JOB_MAID (1<<23) | ||
//#define JOB_BUTLER (1<<24) | ||
|
||
#define JOBCAT_LAST_MEDSCI (1<<23) | ||
|
||
|
||
// ==================================== | ||
// JOBCAT_SUPPORT | ||
// Начинаются с JOB_EXPLORER (1<<14) | ||
#define JOB_PRISON (1<<15) | ||
#define JOB_BARBER (1<<16) | ||
#define JOB_BATH (1<<17) | ||
#define JOB_CASINO (1<<18) | ||
#define JOB_WAITER (1<<19) | ||
#define JOB_ACOLYTE (1<<20) | ||
//#define JOB_DELIVERER (1<<21) | ||
#define JOB_BOXER (1<<21) | ||
#define JOB_MUSICIAN (1<<22) | ||
//#define JOB_PAINTER (1<<24) | ||
|
||
#define JOBCAT_LAST_SUPPORT (1<<23) | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
// В ЭТОМ ФАЙЛЕ МЫ [B]ВРЕМЕННО[/B] ЗАСОВЫВАЕМ | ||
// НАШИ ДЕФАЙНЫ ПОД КАТЕГОРИИ РАЗНЫХ ОТДЕЛОВ! | ||
// ПРАВИЛЬНАЯ РАСФАСОВКА НИЖЕ | ||
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
|
||
/* | ||
// ==================================== | ||
// JOBCAT_ENGSEC | ||
// Начинаются с JOB_NANO (1<<14) | ||
#define JOB_TRAINEE (1<<15) | ||
#define JOB_CADET (1<<16) | ||
#define JOBCAT_LAST_ENGSEC (1<<17) | ||
// ==================================== | ||
// JOBCAT_MEDSCI | ||
// Начинаются с JOB_CORONER (1<<10) | ||
#define JOB_INTERN (1<<11) | ||
#define JOB_STUDENT (1<<12) | ||
#define JOBCAT_LAST_MEDSCI (1<<16) | ||
// ==================================== | ||
// JOBCAT_SUPPORT | ||
// Начинаются с JOB_EXPLORER (1<<14) | ||
// TIER 1 | ||
#define JOB_PRISON (1<<15) | ||
// TIER 2 | ||
#define JOB_BARBER (1<<16) | ||
#define JOB_BATH (1<<17) | ||
#define JOB_CASINO (1<<18) | ||
#define JOB_WAITER (1<<19) | ||
#define JOB_ACOLYTE (1<<20) | ||
#define JOB_DELIVERER (1<<21) | ||
#define JOB_BOXER (1<<22) | ||
#define JOB_PAINTER (1<<23) | ||
#define JOB_MUSICIAN (1<<24) | ||
#define JOB_DONOR (1<<24) // Свободная роль, можно переименовать | ||
#define JOB_ACTOR (1<<26) | ||
// TIER 3 | ||
#define JOB_ADMINISTRATOR (1<<27) | ||
#define JOB_TOURIST_TSF (1<<28) | ||
#define JOB_TOURIST_USSP (1<<29) | ||
#define JOB_MANAGER_JANITOR (1<<30) | ||
#define JOB_APPRENTICE (1<<31) | ||
#define JOB_GUARD (1<<32) | ||
#define JOB_MIGRANT (1<<33) | ||
#define JOB_UNCERTAIN (1<<34) | ||
// TIER 4 | ||
#define JOB_ADJUTANT (1<<35) | ||
#define JOB_BUTLER (1<<36) | ||
#define JOB_MAID (1<<37) | ||
#define JOB_REPRESENTATIVE_TSF (1<<38) | ||
#define JOB_REPRESENTATIVE_USSP (1<<39) | ||
#define JOB_DEALER (1<<40) | ||
// TIER 5 | ||
#define JOB_VIP_GUEST (1<<41) | ||
#define JOB_BANKER (1<<42) | ||
#define JOB_SECURITY_CLOWN (1<<43) | ||
#define JOBCAT_LAST_SUPPORT (1<<44) | ||
*/ |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.