forked from Baystation12/Baystation12
-
Notifications
You must be signed in to change notification settings - Fork 79
Псионика #2780
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Псионика #2780
Changes from all commits
Commits
Show all changes
82 commits
Select commit
Hold shift + click to select a range
ffb49e0
Писоника
Rochehendson df864ee
pisonika2
Rochehendson e4999e1
Писоника 3
Rochehendson 9a40388
Писоника 4?
Rochehendson 8295cc4
Merge branch 'dev-sierra' into dev-sierra
Rochehendson a488d82
Merge branch 'dev-sierra' into dev-sierra
Lexanx 2305891
vrode fix рантаймов
Lexanx 52a7f1e
Смена названия
Rochehendson ceffacb
Привязка к вайтлисту
Rochehendson fd2db65
Update psipower_orbs.dm
Rochehendson 9f34af0
Merge branch 'SierraBay:dev-sierra' into dev-sierra
Rochehendson 59edf6f
Update energistics.dm
Rochehendson 2556a88
Merge branch 'dev-sierra' of https://github.com/Rochehendson/SierraBa…
Rochehendson 6f6aa4d
.len на LISTRESIZE
Rochehendson 5fc1cb2
Merge branch 'SierraBay:dev-sierra' into dev-sierra
Rochehendson 2c403a4
Псоник
Rochehendson 274cfc6
Merge branch 'SierraBay:dev-sierra' into dev-sierra
Rochehendson 18f067a
Пометил немодульные изменения
Rochehendson 47c5911
Update using.dm
Rochehendson ef908c8
Update job.dm
Rochehendson 712c945
Небольшой фикс
Rochehendson 9f4b2b8
Merge branch 'dev-sierra' of https://github.com/Rochehendson/SierraBa…
Rochehendson cb35cc4
Update psionics.dm
Rochehendson d38e64f
Псипомпа
Rochehendson 4e148e0
Merge branch 'dev-sierra' into dev-sierra
Rochehendson 1d5f868
Псипомпу в СБ
Rochehendson bc8655d
Необязательный имплант
Rochehendson 710040b
Rename psionics.dme to psionics_includes.dm
Rochehendson f3809a3
Merge branch 'dev-sierra' into dev-sierra
Rochehendson e676f77
Merge branch 'dev-sierra' of https://github.com/Rochehendson/SierraBa…
Rochehendson 5b941cf
5х30
Rochehendson 70ac16d
Merge branch 'SierraBay:dev-sierra' into dev-sierra
Rochehendson 440e625
Create README.md
Rochehendson fb66f44
Update redaction.dm
Rochehendson ac563a9
resolve map conflict
Rochehendson 7db872a
Delete maps/sierra/_references/z1-z5_sierra.dmm
Rochehendson 860e780
Merge branch 'SierraBay:dev-sierra' into dev-sierra
Rochehendson cd1c54f
Merge branch 'dev-sierra' into dev-sierra
Rochehendson d224adf
Update job.dm
LordNest 2b84383
Merge branch 'dev-sierra' of https://github.com/Rochehendson/SierraBa…
LordNest 78b2e8d
Починка ввиду GLOBAL_LIST_INIT
Rochehendson 2f38bda
Ставим на костыли
Rochehendson 9f7331a
Дефайны
Rochehendson 12efa9e
Merge branch 'dev-sierra' into dev-sierra
Rochehendson a6c75b3
modular 1
nasendd 1ed001a
Merge remote-tracking branch 'upstream/dev-sierra' into pr/2780
nasendd a3d0164
modular 2
nasendd 14785d7
Update baystation12.dme
nasendd 84ebe67
Update psi.dm
nasendd a29f779
modular 3
nasendd 08b35ad
Merge branch 'dev-sierra' of https://github.com/Rochehendson/SierraBa…
nasendd d2bcb0e
Update psi.dm
nasendd e200a8f
Update psi.dm
nasendd 2bb7e24
Update psi.dm
nasendd da93a22
psi defines
nasendd 62b34c5
Update psionics_includes.dm
nasendd 2f79b58
modular 4
nasendd eb1b2fc
modular 5
nasendd 8ceb00b
Update job.dm
nasendd 50b2e54
Update job.dm
nasendd 81a527d
Merge branch 'dev-sierra' of https://github.com/Rochehendson/SierraBa…
nasendd e9a1959
Update job.dm
nasendd 1b16b04
modular 6
nasendd e50b188
modular 10
nasendd 210b1f5
Update preference_setup.dm
nasendd 3e60acf
modular 11
nasendd 465fa88
Update jobs_medical.dm
nasendd 99051da
modular 12
nasendd 7be0270
modular final
nasendd 1c08154
Psi pump and psi damp craft
Rochehendson 5079298
Раскидал по ревью
Rochehendson 9d3529e
Merge branch 'dev-sierra' into dev-sierra
Rochehendson d110045
Update using.dm
Rochehendson 985d12a
Update global_modpacks.dm
Rochehendson a771e46
Merge branch 'dev-sierra' into dev-sierra
Rochehendson d493232
Runtest fix
Rochehendson 96bc6ef
Update jobs_medical.dm
Rochehendson dc80a77
Работа по ревью
Rochehendson e7fedef
Merge branch 'dev-sierra' into dev-sierra
Rochehendson 74a84a6
Фикс рантестов
Rochehendson 39e904e
Merge branch 'dev-sierra' of https://github.com/Rochehendson/SierraBa…
Rochehendson 8bbd5d4
Быстрофикс абуза сознания
Rochehendson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,36 @@ | ||
GLOBAL_LIST_AS(psychic_ranks_to_strings, list("Latent", "Apprentice", "Operant", "Masterclass", "Grandmasterclass")) | ||
|
||
PROCESSING_SUBSYSTEM_DEF(psi) | ||
name = "Psychics" | ||
priority = SS_PRIORITY_PSYCHICS | ||
flags = SS_POST_FIRE_TIMING | SS_BACKGROUND | ||
|
||
var/list/faculties_by_id = list() | ||
var/list/faculties_by_name = list() | ||
var/list/faculties_by_name_new = list() | ||
var/list/all_aura_images = list() | ||
var/list/all_psi_complexes = list() | ||
var/list/psi_dampeners = list() | ||
var/list/psi_monitors = list() | ||
var/list/armour_faculty_by_type = list() | ||
var/list/faculties_by_intent = list() | ||
|
||
/datum/controller/subsystem/processing/psi/proc/get_faculty(faculty) | ||
return faculties_by_name[faculty] || faculties_by_id[faculty] | ||
|
||
/datum/controller/subsystem/processing/psi/Initialize(start_uptime) | ||
var/list/faculties = GET_SINGLETON_SUBTYPE_MAP(/singleton/psionic_faculty) | ||
for(var/ftype in faculties) | ||
var/singleton/psionic_faculty/faculty = faculties[ftype] | ||
faculties_by_id[faculty.id] = faculty | ||
faculties_by_name[faculty.name] = faculty | ||
faculties_by_intent[faculty.associated_intent] = faculty.id | ||
faculties_by_name_new[faculty.name] = faculty.id | ||
|
||
var/list/powers = GET_SINGLETON_SUBTYPE_MAP(/singleton/psionic_power) | ||
for(var/ptype in powers) | ||
var/singleton/psionic_power/power = powers[ptype] | ||
if(!is_abstract(power) && power.faculty) | ||
var/singleton/psionic_faculty/faculty = get_faculty(power.faculty) | ||
if(faculty) | ||
faculty.powers |= power |
This file contains hidden or 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 hidden or 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 hidden or 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,70 @@ | ||
|
||
#### Список PRов: | ||
|
||
- https://github.com/SierraBay/SierraBay12/pull/2780 | ||
<!-- | ||
Ссылки на PRы, связанные с модом: | ||
- Создание | ||
- Большие изменения | ||
--> | ||
|
||
<!-- Название мода. Не важно на русском или на английском. --> | ||
## Псионика | ||
|
||
ID мода: PSIONICS | ||
<!-- | ||
Название модпака прописными буквами, СОЕДИНЁННЫМИ_ПОДЧЁРКИВАНИЕМ, | ||
которое ты будешь использовать для обозначения файлов. | ||
--> | ||
|
||
### Описание мода | ||
|
||
Порт псионики с Final Destination, добавляет ВЛьный выбор псионики из лодаута и ограничивает псионику под вайтлист | ||
<!-- | ||
Что он делает, что добавляет: что, куда, зачем и почему - всё здесь. | ||
А также любая полезная информация. | ||
--> | ||
|
||
### Изменения *кор кода* | ||
|
||
- `test/check-paths.sh` : `+1 к uses of examine()` | ||
<!-- | ||
Если вы редактировали какие-либо процедуры или переменные в кор коде, | ||
они должны быть указаны здесь. | ||
Нужно указать и файл, и процедуры/переменные. | ||
|
||
Изменений нет - напиши "Отсутствуют" | ||
--> | ||
|
||
### Оверрайды | ||
|
||
- `Отсутствуют` | ||
<!-- | ||
Если ты добавлял новый модульный оверрайд, его нужно указать здесь. | ||
Здесь указываются оверрайды в твоём моде и папке `_master_files` | ||
|
||
Изменений нет - напиши "Отсутствуют" | ||
--> | ||
|
||
### Дефайны | ||
|
||
- `code/__defines/mobs.dm`: `SPECIES_PSI` | ||
- `code/__defines/~mods/~master_defines.dm` : `PSI_COERCION`, `PSI_CONSCIOUSNESS`, `PSI_PSYCHOKINESIS`, `PSI_MANIFESTATION`, `PSI_METAKINESIS`, `PSI_ENERGISTICS`, `PSI_REDACTION`, `PSI_RANK_BLUNT`, `PSI_RANK_LATENT`, `PSI_RANK_APPRENTICE`, `PSI_RANK_OPERANT`, `PSI_RANK_MASTER`, `PSI_RANK_GRANDMASTER`, `PSI_IMPLANT_AUTOMATIC`, `PSI_IMPLANT_SHOCK`, `PSI_IMPLANT_WARN`, `PSI_IMPLANT_LOG`, `PSI_IMPLANT_DISABLED` | ||
|
||
<!-- | ||
Если требовалось добавить какие-либо дефайны, укажи файлы, | ||
в которые ты их добавил, а также перечисли имена. | ||
И то же самое, если ты используешь дефайны, определённые другим модом. | ||
|
||
Не используешь - напиши "Отсутствуют" | ||
--> | ||
|
||
### Авторы: | ||
|
||
Roche Hendson, nasend_ | ||
[final-destination.space](https://github.com/RepoStash/FD-NewBay) - источник | ||
<!-- | ||
Здесь находится твой никнейм | ||
Если работал совместно - никнеймы тех, кто помогал. | ||
В случае порта чего-либо должна быть ссылка на источник. | ||
--> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.