Skip to content
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

ГБС #1592

Merged
merged 199 commits into from
Jan 20, 2025
Merged

ГБС #1592

Show file tree
Hide file tree
Changes from 170 commits
Commits
Show all changes
199 commits
Select commit Hold shift + click to select a range
e7e08da
Первая версия
msw7007 Sep 24, 2024
9de4e40
Merge branch 'ss220club:master' into giant_armored_seprentids
msw7007 Sep 25, 2024
2435aca
Доработки
msw7007 Sep 25, 2024
0873266
Фикс после забывчивости
msw7007 Sep 25, 2024
e305c60
Merge branch 'giant_armored_seprentids' of https://github.com/msw7007…
msw7007 Sep 25, 2024
806bcb5
Подготовка к финишу
msw7007 Sep 25, 2024
980623f
Баланс-твики
msw7007 Sep 25, 2024
88d344b
Обновление хирургии карапаса, блокировка проф
msw7007 Sep 27, 2024
47676fa
Механика увеличения веса моба (не пулится)
msw7007 Sep 27, 2024
dbc4d8f
Причесон
msw7007 Sep 27, 2024
de77266
Отказ от толкания (так будет лучше)
msw7007 Sep 27, 2024
4eecd42
Ну теперь-то точно все?
msw7007 Sep 27, 2024
ac40b5e
Я точно закончил (правда же?)
msw7007 Sep 27, 2024
be6b26a
Фикс органов
msw7007 Sep 27, 2024
f934778
Реворк органов ГБСа
msw7007 Sep 29, 2024
b8edf07
Мелкие правки
msw7007 Sep 29, 2024
2b564a1
Крупный реворк и попытка разгребсти все в кучу файлов
msw7007 Oct 4, 2024
7716b82
Переброс датумов операции в файл карапаса
msw7007 Oct 4, 2024
55ea840
Передислокация файлов и изменения ГБС
msw7007 Oct 4, 2024
bf49f3a
Фикс приколов после переноса
msw7007 Oct 4, 2024
ca516be
Фиксы и изменения под новую модель
msw7007 Oct 6, 2024
fdbc516
Звуки и правки (ожидание доп спрайтов)
msw7007 Oct 7, 2024
c9c593a
Легкое обновление в предверии спрайтов
msw7007 Oct 9, 2024
023b89f
Обновление спрайтов ГБС ч1.
msw7007 Oct 9, 2024
69e0e81
Предотгруженный фикс
msw7007 Oct 10, 2024
a5789af
Разнос по файлам и чат
msw7007 Oct 11, 2024
b0ad4b4
Правка языков
msw7007 Oct 11, 2024
45978ad
Доработка языка
msw7007 Oct 11, 2024
1462340
Merge branch 'ss220club:master' into giant_armored_seprentids
msw7007 Oct 11, 2024
b31efca
Обновление струкутуры файлов, чистка по линтеру
msw7007 Oct 11, 2024
e68a84d
Чистка, обновление механики клинков
msw7007 Oct 11, 2024
f883af5
А вернуть нормально прок на вытащенные "клинки" забы
msw7007 Oct 11, 2024
c201bb4
Отработука по линтеру
msw7007 Oct 11, 2024
7bb898e
Доработка по проверкам
msw7007 Oct 11, 2024
16a105c
Снятие макроса, блокирующего задержки для работы компонентов
msw7007 Oct 11, 2024
a04e4c0
Фикс переноса
msw7007 Oct 11, 2024
52948af
фикс ифа
msw7007 Oct 11, 2024
87872f5
Чистка мусора
msw7007 Oct 12, 2024
c5d5908
Дроп не хватов из левой руки при агрессии
msw7007 Oct 12, 2024
97df910
Фикс
msw7007 Oct 12, 2024
a338182
Откуда ты взялся, демон?!
msw7007 Oct 12, 2024
a9c38a8
Отработки по ревью
msw7007 Oct 13, 2024
99da820
Фиксы (включая уменьшеие прока задницы)
msw7007 Oct 13, 2024
d9b157f
Доработка по идеям
msw7007 Oct 13, 2024
4942431
Ужатие лишнего из ревью
msw7007 Oct 13, 2024
fef99c2
Linters...
msw7007 Oct 13, 2024
fb7a11c
Merge branch 'master' into giant_armored_seprentids
msw7007 Oct 14, 2024
4d80a03
Доработочки + баланс
msw7007 Oct 14, 2024
0e42c5f
Ребеланс урона от токсинов и разложения (органы)
msw7007 Oct 14, 2024
28b9b29
Перенастройка органов, допилка модуля радиального меню
msw7007 Oct 14, 2024
4c13f24
Твик баллона
msw7007 Oct 14, 2024
e9e7913
Линтер...
msw7007 Oct 14, 2024
1064e18
Доработка эмоутов
msw7007 Oct 14, 2024
8802f7f
Откат эмоута
msw7007 Oct 15, 2024
6b4ed15
Ревью и твик рахода вещества
msw7007 Oct 15, 2024
e2b387d
Отработки по ревью
msw7007 Oct 15, 2024
58dbe39
Чистка
msw7007 Oct 15, 2024
7f7452b
Изменине структуры папки видов
msw7007 Oct 15, 2024
83729cc
Вынос видов
msw7007 Oct 15, 2024
a9ac709
Маленький ребаланс под токсины
msw7007 Oct 16, 2024
4a198be
Линтер + добаланс
msw7007 Oct 16, 2024
073c559
Я тя сломал, хирургия, я тя и починю
msw7007 Oct 16, 2024
cebf819
Действия в интентах выводят ГБСа из режима стелса, ремонт актвиации д…
msw7007 Oct 16, 2024
8b0ad7b
Фикс эмоутов
msw7007 Oct 16, 2024
5ca0d0e
Фикс по костям
msw7007 Oct 16, 2024
c3cc050
Рефакторы, переброс файлов. Переименование сигналов не закончено.
msw7007 Oct 17, 2024
eab58aa
Сломал реагенты... умник
msw7007 Oct 17, 2024
99feabc
Изменение компонентов
msw7007 Oct 17, 2024
28c8c4f
Линтер
msw7007 Oct 17, 2024
6ed004c
Merge branch 'master' into giant_armored_seprentids
msw7007 Oct 17, 2024
cb49e14
Я ж тя сносил, урод
msw7007 Oct 17, 2024
b70fbc3
Обновленный иконки + перестройка кнопок органов
msw7007 Oct 19, 2024
7d9031f
Изменение компонента органов
msw7007 Oct 19, 2024
8543688
*вздох*
msw7007 Oct 19, 2024
47af130
Merge branch 'master' into giant_armored_seprentids
msw7007 Oct 19, 2024
5c8f02f
Чиним, ломаем, ломаем, чиним
msw7007 Oct 19, 2024
7f41907
Линтер
msw7007 Oct 19, 2024
81262b4
Рефактор карапаса по ревью
msw7007 Oct 19, 2024
70e6513
Фикс работы органов
msw7007 Oct 19, 2024
d3f9b1b
Отработка оп багам, рефактор хватов. На очереди - перенастройка спрайтов
msw7007 Oct 20, 2024
08530a8
Отработка по багам и компонентам
msw7007 Oct 20, 2024
8d23718
Доработки по алертам
msw7007 Oct 20, 2024
00cdc58
Отработка по ревью
msw7007 Oct 21, 2024
a60be5a
Чистка легких от неиспользуемого сигнала
msw7007 Oct 22, 2024
4acd1f0
Ввод отдельно переменной под выработку сальбы
msw7007 Oct 22, 2024
514b13a
Merge branch 'master' into giant_armored_seprentids
msw7007 Oct 22, 2024
516ffce
Merge branch 'master' into giant_armored_seprentids
msw7007 Oct 23, 2024
bfbeb22
Merge branch 'master' into giant_armored_seprentids
msw7007 Oct 24, 2024
96295fa
Фикс описания реагента
msw7007 Oct 24, 2024
9c64540
Линтер?
msw7007 Oct 24, 2024
3501f1b
Подготовка к изменнеию ТТСа
msw7007 Oct 24, 2024
50265c0
Отработка по ревью
msw7007 Oct 27, 2024
29d1a5f
Линтер
msw7007 Oct 27, 2024
8369116
Линтер 2
msw7007 Oct 27, 2024
5429159
Полу-отработка по ревью, нужны ответы на вопросы
msw7007 Oct 27, 2024
8e085d0
Фикс языка киданов
msw7007 Oct 28, 2024
082fcf7
Merge branch 'master' into giant_armored_seprentids
msw7007 Oct 28, 2024
62cd576
Сердечко чиним
msw7007 Oct 28, 2024
1cf5f70
Совместимость с админ-инвизом
msw7007 Oct 28, 2024
b2fe914
Фикс расположения предметов
msw7007 Oct 28, 2024
12c425c
Фикс алертов
msw7007 Oct 28, 2024
81bb676
Обновление звуков и эмоутов
msw7007 Oct 28, 2024
b199b38
Отработка по ревью + линтер
msw7007 Oct 29, 2024
9808452
Ввод серпадрона в список недоступных для семян веществ
msw7007 Oct 29, 2024
946c013
Merge remote-tracking branch 'upstream/master' into giant_armored_sep…
msw7007 Oct 30, 2024
06828de
Merge branch 'master' into giant_armored_seprentids
msw7007 Oct 30, 2024
ad04fb4
Фикс глаз Серпов
msw7007 Oct 30, 2024
e75aa12
Merge branch 'master' into giant_armored_seprentids
msw7007 Oct 31, 2024
fac1e2c
Перевод органов с химикатов на уровень голода
msw7007 Oct 31, 2024
1269f46
Линтер
msw7007 Oct 31, 2024
27d0356
Изменине глаз и импланта
msw7007 Oct 31, 2024
9e384ee
Чистка и фикс импланта
msw7007 Oct 31, 2024
c8a5bd8
Merge branch 'master' into giant_armored_seprentids
msw7007 Nov 1, 2024
3dbd3b3
Merge branch 'master' into giant_armored_seprentids
msw7007 Nov 1, 2024
e41560d
Добавление прерывание ТТСа
msw7007 Nov 2, 2024
f041afd
Фикс карапаса и полиморфа
msw7007 Nov 3, 2024
ab09332
описание серпентидов
msw7007 Nov 3, 2024
805ae3f
Разложение не работает при наличии в организме формальдегида
msw7007 Nov 3, 2024
a33fd5f
Баги потребления веществ
msw7007 Nov 3, 2024
ee1324a
Отработка по ревью
msw7007 Nov 6, 2024
dc37c3a
Merge branch 'master' into giant_armored_seprentids
msw7007 Nov 6, 2024
d36f0c0
Merge branch 'master' into giant_armored_seprentids
msw7007 Nov 6, 2024
f2fdb2c
Merge branch 'giant_armored_seprentids' of https://github.com/msw7007…
msw7007 Nov 6, 2024
d4c8367
Линтер и рантаймы
msw7007 Nov 6, 2024
3fd51d9
Merge remote-tracking branch 'upstream/master' into giant_armored_sep…
msw7007 Nov 7, 2024
e713e73
Merge remote-tracking branch 'upstream/master' into giant_armored_sep…
msw7007 Nov 23, 2024
53329e7
Послемерджевые приколы
msw7007 Nov 23, 2024
48088ca
Create SIERRA BABY
Kar4es Dec 3, 2024
a34f542
Merge branch 'master' into giant_armored_seprentids
msw7007 Dec 3, 2024
f11aa2e
эээ
Kar4es Dec 3, 2024
20f27de
:(
Kar4es Dec 7, 2024
4b8f409
Merge remote-tracking branch 'upstream/master' into giant_armored_sep…
msw7007 Dec 7, 2024
3b2d470
braindamage
Kar4es Dec 8, 2024
c423e80
ТЭЭК
Kar4es Dec 8, 2024
754ad66
Merge branch 'master' into giant_armored_seprentids
msw7007 Dec 9, 2024
192098f
yew
Kar4es Dec 9, 2024
216c4a0
Update config.toml
Kar4es Dec 9, 2024
8f2b769
увырге
Kar4es Dec 9, 2024
e1ce9d6
suka
Kar4es Dec 9, 2024
1d60aee
чтоб ты сука за раз все высрал
Kar4es Dec 9, 2024
81e31d6
да йобаный
Kar4es Dec 9, 2024
9181d1b
final?
Kar4es Dec 9, 2024
052f55c
vse
Kar4es Dec 9, 2024
d06f32e
Merge branch 'master' into giant_armored_seprentids
msw7007 Dec 15, 2024
fb0b44b
Линтер после мерджа
msw7007 Dec 15, 2024
89a1cba
Линтер V2?
msw7007 Dec 15, 2024
af38637
Merge branch 'master' into giant_armored_seprentids
msw7007 Dec 19, 2024
6b3d5be
Merge branch 'master' into giant_armored_seprentids
msw7007 Dec 19, 2024
4952d0c
Фикс сиерры
msw7007 Dec 19, 2024
480c073
Фикс Сиерры 2
msw7007 Dec 19, 2024
f2d6f55
Merge branch 'master' into giant_armored_seprentids
msw7007 Dec 20, 2024
581e9e1
Merge branch 'master' into giant_armored_seprentids
msw7007 Dec 23, 2024
f9818d8
Merge branch 'master' into giant_armored_seprentids
msw7007 Dec 25, 2024
51f02df
Отработк по ревью
msw7007 Dec 25, 2024
73bb506
Merge branch 'master' into giant_armored_seprentids
msw7007 Dec 25, 2024
c367d41
Перенос дефайнов
msw7007 Dec 25, 2024
1dcca5b
Merge branch 'giant_armored_seprentids' of https://github.com/msw7007…
msw7007 Dec 25, 2024
6ae4c89
Небольшое дополнение для ивента (органы через хим-реакцию)
msw7007 Dec 25, 2024
fe61919
Поднастройка для ивента. Реворк системы легких. Корректировка цвета к…
msw7007 Dec 26, 2024
8b9fd91
Линтер...
msw7007 Dec 26, 2024
5146f88
Merge branch 'master' into giant_armored_seprentids
msw7007 Dec 26, 2024
76a9156
Легкий твик сердца
msw7007 Dec 26, 2024
34f607f
Merge branch 'giant_armored_seprentids' of https://github.com/msw7007…
msw7007 Dec 26, 2024
fd54356
Merge branch 'master' into giant_armored_seprentids
msw7007 Dec 27, 2024
1fc24c3
Пометки для сноса после ивента
msw7007 Dec 28, 2024
81ba9b2
Линтер, мета?
msw7007 Dec 28, 2024
af33a7f
Не мета, но ошибка найдена
msw7007 Dec 28, 2024
2445c20
Небольшое обновление пометок для ивента
msw7007 Dec 28, 2024
8a1ca08
Merge branch 'master' into giant_armored_seprentids
msw7007 Dec 28, 2024
4c03169
Merge branch 'master' into giant_armored_seprentids
msw7007 Dec 29, 2024
5370aa2
Дополнительные проверки ГБС
msw7007 Dec 30, 2024
6af3940
Перенастройка эмоутов, корректировка голода у легких
msw7007 Jan 2, 2025
6f59636
Merge branch 'master' into giant_armored_seprentids
msw7007 Jan 2, 2025
d39a732
Доработка матрицы зрения
msw7007 Jan 3, 2025
efdb1d2
Чистка после изменений
msw7007 Jan 3, 2025
9c886d7
Merge branch 'master' into giant_armored_seprentids
msw7007 Jan 4, 2025
eec1e11
Спрайты урона
msw7007 Jan 5, 2025
cbd8940
Merge branch 'master' into giant_armored_seprentids
msw7007 Jan 5, 2025
3321c70
Правка Сьерры
msw7007 Jan 5, 2025
4846bd1
Merge branch 'master' into giant_armored_seprentids
msw7007 Jan 5, 2025
b15172a
Накрутка веса появления сьерры
msw7007 Jan 5, 2025
8a0ff61
Изменения для ивента
msw7007 Jan 5, 2025
9c5ec4d
Откат ивента, фикс багов
msw7007 Jan 6, 2025
fa52366
Фикс логики сердца
msw7007 Jan 6, 2025
9aa89d9
Фикс линтера
msw7007 Jan 6, 2025
7f094c4
Фикс неотключения легких в ручном режиме
msw7007 Jan 6, 2025
6b8c282
Фикс капусты
msw7007 Jan 6, 2025
ad9c084
Микрофиксы и рантаймы
msw7007 Jan 6, 2025
5588404
Merge branch 'master' into giant_armored_seprentids
msw7007 Jan 6, 2025
b2bac48
Добавление текста к способностям
msw7007 Jan 7, 2025
fc768a0
Merge branch 'giant_armored_seprentids' of https://github.com/msw7007…
msw7007 Jan 7, 2025
8f22b3a
Фикс иконки сердца
msw7007 Jan 7, 2025
6a1e530
Merge branch 'master' into giant_armored_seprentids
msw7007 Jan 11, 2025
0900092
Обновление сердца
msw7007 Jan 11, 2025
242c5cd
Merge branch 'giant_armored_seprentids' of https://github.com/msw7007…
msw7007 Jan 11, 2025
bc3c613
Merge branch 'master' into giant_armored_seprentids
msw7007 Jan 11, 2025
c32186d
Обновление клинков под оффы (ЛИНТЕР!!!)
msw7007 Jan 11, 2025
5536559
Merge branch 'master' into giant_armored_seprentids
msw7007 Jan 16, 2025
a2e5367
Merge branch 'master' into giant_armored_seprentids
msw7007 Jan 20, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16,884 changes: 16,884 additions & 0 deletions _maps/map_files220/RandomRuins/SpaceRuins/sierra_1_4.dmm

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions code/__DEFINES/modular_ss220/_ss220.dm
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@
// TODO: someday preferences will use TGUI and you will probably be able to move it to modular_ss220\_defines220\code\preferences_defines.dm
/// Interacts with the toggles220 bitflag
#define PREFTOGGLE_TOGGLE220 220

/// called by /datum/component/mob_overlay_shift/proc/get_list(mob/component_holder, overlay, list/info_data) : (/datum/component/mob_overlay_shift)
#define COMSIG_MOB_GET_OVERLAY_SHIFTS_LIST "mob_get_overlay_shifts_list" // SS220 EDIT
2 changes: 1 addition & 1 deletion code/datums/chatmessage.dm
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@
message.plane = GAME_PLANE
message.appearance_flags = APPEARANCE_UI_IGNORE_ALPHA | KEEP_APART
message.alpha = 0
message.pixel_y = owner.bound_height * 0.95
message.pixel_y = owner.bound_height * 0.95 + owner.chat_message_y_offset // SS220 EDIT
msw7007 marked this conversation as resolved.
Show resolved Hide resolved
message.maptext_width = CHAT_MESSAGE_WIDTH
message.maptext_height = mheight
message.maptext_x = (CHAT_MESSAGE_WIDTH - owner.bound_width) * -0.5
Expand Down
2 changes: 1 addition & 1 deletion code/modules/mob/living/carbon/human/human_mob.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1338,7 +1338,7 @@
if(eyes)
eyes_icon = eyes.generate_icon()
else //Error 404: Eyes not found!
eyes_icon = new('icons/mob/human_face.dmi', dna.species.eyes)
eyes_icon = new(dna.species.eyes_icon, dna.species.eyes) // SS220 EDIT
eyes_icon.Blend("#800000", ICON_ADD)

return eyes_icon
Expand Down
91 changes: 86 additions & 5 deletions code/modules/mob/living/carbon/human/human_update_icons.dm
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,14 @@ GLOBAL_LIST_EMPTY(damage_icon_parts)
else
new_glasses = mutable_appearance('icons/mob/clothing/eyes.dmi', "[glasses.icon_state]", layer = -GLASSES_LAYER)

// SS220 EDIT START - Species overlay shift
. = list()
SEND_SIGNAL(src, COMSIG_MOB_GET_OVERLAY_SHIFTS_LIST, "head", .)
if(length(.) > 0)
new_glasses.pixel_x += .["shift_x"]
new_glasses.pixel_y += .["shift_y"]
// SS220 EDIT END

var/datum/sprite_accessory/hair/hair_style = GLOB.hair_styles_full_list[head_organ.h_style]
var/obj/item/clothing/glasses/G = glasses
if(istype(G) && G.over_mask) //If the user's used the 'wear over mask' verb on the glasses.
Expand Down Expand Up @@ -770,7 +778,15 @@ GLOBAL_LIST_EMPTY(damage_icon_parts)
left_ear_item_state = "[left_ear_item_state]_l"
left_ear_icon = l_ear.icon_override

overlays_standing[LEFT_EAR_LAYER] = mutable_appearance(left_ear_icon, left_ear_item_state, layer = -LEFT_EAR_LAYER)
// SS220 EDIT START - Species overlay shift
var/mutable_appearance/standing = mutable_appearance(left_ear_icon, left_ear_item_state, layer = -LEFT_EAR_LAYER)
. = list()
SEND_SIGNAL(src, COMSIG_MOB_GET_OVERLAY_SHIFTS_LIST, "head", .)
if(length(.) > 0)
standing.pixel_x += .["shift_x"]
standing.pixel_y += .["shift_y"]
overlays_standing[LEFT_EAR_LAYER] = standing
// SS220 EDIT END

if(r_ear)
update_hud_r_ear(r_ear)
Expand All @@ -785,7 +801,15 @@ GLOBAL_LIST_EMPTY(damage_icon_parts)
right_ear_icon = "[right_ear_item_state]_l"
right_ear_icon = r_ear.icon_override

overlays_standing[RIGHT_EAR_LAYER] = mutable_appearance(right_ear_icon, right_ear_item_state, layer = -RIGHT_EAR_LAYER)
// SS220 EDIT START - Species overlay shift
var/mutable_appearance/standing = mutable_appearance(right_ear_icon, right_ear_item_state, layer = -RIGHT_EAR_LAYER)
. = list()
SEND_SIGNAL(src, COMSIG_MOB_GET_OVERLAY_SHIFTS_LIST, "head", .)
if(length(.) > 0)
standing.pixel_x += .["shift_x"]
standing.pixel_y += .["shift_y"]
overlays_standing[RIGHT_EAR_LAYER] = standing
// SS220 EDIT END

apply_overlay(LEFT_EAR_LAYER)
apply_overlay(RIGHT_EAR_LAYER)
Expand Down Expand Up @@ -888,6 +912,15 @@ GLOBAL_LIST_EMPTY(damage_icon_parts)
standing.overlays += bloodsies
standing.alpha = head.alpha
standing.color = head.color

// SS220 EDIT START - Species overlay shift
. = list()
SEND_SIGNAL(src, COMSIG_MOB_GET_OVERLAY_SHIFTS_LIST, "head", .)
if(length(.) > 0)
standing.pixel_x += .["shift_x"]
standing.pixel_y += .["shift_y"]
// SS220 EDIT END

overlays_standing[HEAD_LAYER] = standing
apply_overlay(HEAD_LAYER)

Expand Down Expand Up @@ -934,13 +967,25 @@ GLOBAL_LIST_EMPTY(damage_icon_parts)
if(!t_state)
t_state = belt.icon_state

// SS220 EDIT START создание единой переменной и ее изменения через логические проверки
var/mutable_appearance/standing
if(belt.icon_override)
t_state = "[t_state]_be"
overlays_standing[overlay_layer] = mutable_appearance(belt.icon_override, "[t_state]", layer = -overlay_layer)
standing = mutable_appearance(belt.icon_override, "[t_state]", layer = -overlay_layer)
else if(belt.sprite_sheets && belt.sprite_sheets[dna.species.sprite_sheet_name])
overlays_standing[overlay_layer] = mutable_appearance(belt.sprite_sheets[dna.species.sprite_sheet_name], "[t_state]", layer = -overlay_layer)
standing = mutable_appearance(belt.sprite_sheets[dna.species.sprite_sheet_name], "[t_state]", layer = -overlay_layer)
else
overlays_standing[overlay_layer] = mutable_appearance('icons/mob/clothing/belt.dmi', "[t_state]", layer = -overlay_layer)
standing = mutable_appearance('icons/mob/clothing/belt.dmi', "[t_state]", layer = -overlay_layer)
msw7007 marked this conversation as resolved.
Show resolved Hide resolved

// SS220 EDIT - вызов сдвигов
. = list()
SEND_SIGNAL(src, COMSIG_MOB_GET_OVERLAY_SHIFTS_LIST, "belt", .)
if(length(.) > 0)
standing.pixel_x += .["shift_x"]
standing.pixel_y += .["shift_y"]

overlays_standing[overlay_layer] = standing
// SS220 EDIT END

apply_overlay(BELT_LAYER)
apply_overlay(SPECIAL_BELT_LAYER)
Expand Down Expand Up @@ -1057,6 +1102,15 @@ GLOBAL_LIST_EMPTY(damage_icon_parts)

standing.alpha = wear_mask.alpha
standing.color = wear_mask.color

// SS220 EDIT START - Species overlay shift
. = list()
SEND_SIGNAL(src, COMSIG_MOB_GET_OVERLAY_SHIFTS_LIST, "head", .)
msw7007 marked this conversation as resolved.
Show resolved Hide resolved
if(length(.) > 0)
standing.pixel_x += .["shift_x"]
standing.pixel_y += .["shift_y"]
// SS220 EDIT END

overlays_standing[FACEMASK_LAYER] = standing
apply_overlay(FACEMASK_LAYER)

Expand Down Expand Up @@ -1097,6 +1151,15 @@ GLOBAL_LIST_EMPTY(damage_icon_parts)
//create the image
standing.alpha = back.alpha
standing.color = back.color

// SS220 EDIT START - Species overlay shift
. = list()
SEND_SIGNAL(src, COMSIG_MOB_GET_OVERLAY_SHIFTS_LIST, "back", .)
if(length(.) > 0)
standing.pixel_x += .["shift_x"]
standing.pixel_y += .["shift_y"]
// SS220 EDIT END

overlays_standing[BACK_LAYER] = standing
apply_overlay(BACK_LAYER)

Expand Down Expand Up @@ -1130,6 +1193,15 @@ GLOBAL_LIST_EMPTY(damage_icon_parts)
else
standing = mutable_appearance(r_hand.righthand_file, "[t_state]", layer = -R_HAND_LAYER, color = r_hand.color)
standing = center_image(standing, r_hand.inhand_x_dimension, r_hand.inhand_y_dimension)

// SS220 EDIT START - Species overlay shift
. = list()
SEND_SIGNAL(src, COMSIG_MOB_GET_OVERLAY_SHIFTS_LIST, "inhand", .)
if(length(.) > 0)
standing.pixel_x += .["shift_x"]
standing.pixel_y += .["shift_y"]
// SS220 EDIT END

overlays_standing[R_HAND_LAYER] = standing
apply_overlay(R_HAND_LAYER)

Expand All @@ -1150,6 +1222,15 @@ GLOBAL_LIST_EMPTY(damage_icon_parts)
else
standing = mutable_appearance(l_hand.lefthand_file, "[t_state]", layer = -L_HAND_LAYER, color = l_hand.color)
standing = center_image(standing, l_hand.inhand_x_dimension, l_hand.inhand_y_dimension)

// SS220 EDIT START - Species overlay shift
. = list()
SEND_SIGNAL(src, COMSIG_MOB_GET_OVERLAY_SHIFTS_LIST, "inhand", .)
if(length(.) > 0)
standing.pixel_x += .["shift_x"]
standing.pixel_y += .["shift_y"]
// SS220 EDIT END

overlays_standing[L_HAND_LAYER] = standing
apply_overlay(L_HAND_LAYER)

Expand Down
2 changes: 1 addition & 1 deletion code/modules/paperwork/photocopier.dm
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
to_chat(copymob, "<span class='notice'>Something smells toasty...</span>")
if(ishuman(copymob)) //Suit checks are in check_mob
var/mob/living/carbon/human/H = copymob
temp_img = icon('icons/obj/butts.dmi', H.dna.species.butt_sprite)
temp_img = icon(H.dna.species.butt_sprite_icon, H.dna.species.butt_sprite) // SS220 EDIT. Original: temp_img = icon('icons/obj/butts.dmi', H.dna.species.butt_sprite)
else if(isdrone(copymob))
temp_img = icon('icons/obj/butts.dmi', "drone")
else if(isnymph(copymob))
Expand Down
1 change: 1 addition & 0 deletions config/example/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -724,6 +724,7 @@ active_space_ruins = [
"_maps/map_files220/RandomRuins/SpaceRuins/convoy_ambush.dmm",
"_maps/map_files220/RandomRuins/SpaceRuins/voxraiders_1.dmm",
"_maps/map_files220/RandomRuins/SpaceRuins/spacehotel.dmm",
"_maps/map_files220/RandomRuins/SpaceRuins/sierra_1_4.dmm",

### The following ruins are based from past pre-spawned Zlevel content ###
"_maps/map_files/RandomRuins/SpaceRuins/abandonedtele.dmm",
Expand Down
7 changes: 7 additions & 0 deletions modular_ss220/_defines220/code/signals_atom.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,10 @@
#define COMSIG_CLIMBED_ON "climb_on"
/// called by /datum/emote/living/dance/run_emote() : (/datum/component/clumsy_climb)
#define COMSIG_DANCED_ON "dance_on"
/// called by /datum/species/spec_attack_hand() : (/datum/component/gadom_cargo) (/datum/component/gadom_living)
#define COMSIG_GADOM_UNLOAD "gadom_unload"
/// called by /datum/surgery_step/finish_carapace/end_step() : (/datum/component/carapace_shell)
#define COMSIG_SURGERY_REPAIR "surgery_repair"
/// called by /datum/surgery/bone_repair/carapace_shell/can_start() : (/datum/component/carapace_shell)
#define COMSIG_SURGERY_STOP "surgery_stop"
#define SURGERY_STOP (1<<0)
13 changes: 13 additions & 0 deletions modular_ss220/_defines220/code/signals_mob/signals_mob_carbon.dm
Original file line number Diff line number Diff line change
@@ -1 +1,14 @@
// Signals for /mob/living/carbon
/// called by /mob/equip_to_slot() : (/datum/component/mob_overlay_shift)
#define COMSIG_MOB_ON_EQUIP "mob_on_equip"

/// called by /mob/ClickOn() : (/datum/component/mob_overlay_shift)
#define COMSIG_MOB_ON_CLICK "mob_on_click"

/// called by /datum/species/spec_attack_hand() /mob/living/carbon/human/MouseDrop_T() /mob/MouseDrop() : (/datum/component/gadom_cargo) (/datum/component/gadom_living)
#define COMSIG_GADOM_CAN_GRAB "gadom_can_grab"
#define GADOM_CAN_GRAB (1 << 0)

/// called by datum/component/gadom_living/proc/try_load_mob() : (/datum/component/gadom_cargo)
/// called by datum/component/gadom_cargo/proc/try_load_cargo() : (/datum/component/gadom_living)
#define COMSIG_GADOM_LOAD "gadom_load"
19 changes: 19 additions & 0 deletions modular_ss220/_defines220/code/signals_obj.dm
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,22 @@

/// from base of /obj/item/card/id: (list/access)
#define COMSIG_ID_GET_ACCESS "id_get_access"

/// called by /obj/item/organ/external/receive_damage() : (/datum/component/carapace)
#define COMSIG_LIMB_RECEIVE_DAMAGE "limb_receive_damage"
/// called by /obj/item/organ/external/heal_damage() : (/datum/component/carapace)
#define COMSIG_LIMB_HEAL_DAMAGE "limb_heal_damage"
/// called by /obj/item/organ/internal/cyberimp/arm/Extend() /obj/item/organ/internal/cyberimp/arm/Retract() : (/datum/element/paired_implants)
#define COMSIG_DOUBLEIMP_SYNCHONIZE "doubleimp_synchonize"
/// called by /obj/item/organ/internal/remove() /obj/item/organ/internal/insert() : (/datum/element/paired_implants)
#define COMSIG_DOUBLEIMP_ACTION_REBUILD "doubleimp_action_rebuild"
/// called by /obj/item/organ/internal/ui_action_click() : (/datum/component/organ_action)
#define COMSIG_ORGAN_GROUP_ACTION_CALL "organ_group_action_call"
/// called by /obj/item/organ/internal/remove() /obj/item/organ/internal/insert() : (/datum/component/organ_action)
#define COMSIG_ORGAN_GROUP_ACTION_RESORT "organ_group_action_resort"
/// called by /obj/item/organ/internal/process() : (/datum/component/organ_toxin_damage)
#define COMSIG_ORGAN_TOX_HANDLE "organ_tox_handle"
/// called by /obj/item/organ/internal/process() : (/datum/component/chemistry_organ)
#define COMSIG_ORGAN_ON_LIFE "organ_on_life"
/// called by /obj/item/organ/internal/ears/serpentid/switch_mode() /obj/item/organ/internal/eyes/serpentid/switch_mode() /obj/item/organ/internal/kidneys/serpentid/switch_mode() : (/datum/component/chemistry_organ)
#define COMSIG_ORGAN_CHANGE_CHEM_CONSUPTION "organ_change_chem_consumption"
8 changes: 8 additions & 0 deletions modular_ss220/_defines220/code/species.dm
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,11 @@
#define MATERIAL_CLASS_SOAP 3
#define MATERIAL_CLASS_RAD 4
#define MATERIAL_CLASS_PLASMA 5

/// Базовое время погрузки ящиков/мобов на куклу
#define GADOM_BASIC_LOAD_TIMER 2 SECONDS

#define isserpentid(A) (is_species(A, /datum/species/serpentid))

/// Трейт ТТСа для робо рас
#define TTS_TRAIT_ROBOTIZE "tts_trait_robotize"
1 change: 1 addition & 0 deletions modular_ss220/_misc/code/ss220_general_config.dm
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@
. = ..()
ss220_misc = new()
safe_load(ss220_misc, "ss220_misc_configuration")
GLOB.blocked_chems += list("serpadrone")
1 change: 1 addition & 0 deletions modular_ss220/_signals220/_signals220.dme
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
#include "code/signals_mob/signals_mob_silicon.dm"
#include "code/signals_mob/signals_mob_simple.dm"
#include "code/signals_obj.dm"
#include "code/species.dm"
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
// Signals for /mob/living/carbon
// Расширение прока для переноса ящика на моба
/mob/living/carbon/human/MouseDrop_T(atom/movable/AM, mob/user)
if(SEND_SIGNAL(usr, COMSIG_GADOM_CAN_GRAB) & GADOM_CAN_GRAB)
SEND_SIGNAL(usr, COMSIG_GADOM_LOAD, user, AM)
. = .. ()
31 changes: 31 additions & 0 deletions modular_ss220/_signals220/code/signals_mob/signals_mob_main.dm
Original file line number Diff line number Diff line change
@@ -1 +1,32 @@
// Signals for /mob
// Вызов сигнала при экипировке любой вещи
/mob/equip_to_slot(obj/item/W, slot, initial = FALSE)
. = ..()
SEND_SIGNAL(src, COMSIG_MOB_ON_EQUIP, W, slot, initial)

// Вызов сигнала при повоторе через ctrl+wasd
/mob/facedir(ndir)
. = ..()
SEND_SIGNAL(src, COMSIG_ATOM_DIR_CHANGE, ndir)

// Вызов сигнала при повороте через ЛКМы
/mob/ClickOn(atom/A, params)
. = ..()
SEND_SIGNAL(src, COMSIG_MOB_ON_CLICK, A, params)

// Расширение для пристегивания моба
/mob/MouseDrop(mob/M as mob, src_location, over_location, src_control, over_control, params)
if((M != usr) || !istype(M))
..()
return
if(usr == src)
return
if(!Adjacent(usr))
return
if(IsFrozen(src) && !is_admin(usr))
to_chat(usr, span_boldannounce("Interacting with admin-frozen players is not permitted."))
return
if((SEND_SIGNAL(usr, COMSIG_GADOM_CAN_GRAB) & GADOM_CAN_GRAB))
SEND_SIGNAL(usr, COMSIG_GADOM_LOAD, usr, src)
return
. = ..()
43 changes: 43 additions & 0 deletions modular_ss220/_signals220/code/signals_obj.dm
Original file line number Diff line number Diff line change
@@ -1,3 +1,46 @@
/obj/obj_destruction(damage_flag)
SEND_SIGNAL(src, COMSIG_OBJ_DESTRUCTION, damage_flag)
. = ..()

/obj/item/attack(mob/living/M, mob/living/user, def_zone)
. = .. ()
SEND_SIGNAL(src, COMSIG_MOB_ITEM_ATTACK, M, user, def_zone)

/obj/item/organ/external/receive_damage(brute, burn, sharp, used_weapon = null, list/forbidden_limbs = list(), ignore_resists = FALSE, updating_health = TRUE)
. = ..()
SEND_SIGNAL(src, COMSIG_LIMB_RECEIVE_DAMAGE, brute, burn, sharp, used_weapon, forbidden_limbs, ignore_resists, updating_health)

/obj/item/organ/external/heal_damage(brute, burn, internal = 0, robo_repair = 0, updating_health = TRUE)
. = ..()
SEND_SIGNAL(src, COMSIG_LIMB_HEAL_DAMAGE, brute, burn, internal, robo_repair, updating_health)

/obj/item/organ/internal/cyberimp/arm/Retract()
. = .. ()
SEND_SIGNAL(src, COMSIG_DOUBLEIMP_SYNCHONIZE)

/obj/item/organ/internal/cyberimp/arm/Extend()
. = .. ()
SEND_SIGNAL(src, COMSIG_DOUBLEIMP_SYNCHONIZE)

/obj/item/organ/internal/insert(mob/living/carbon/M, special = 0, dont_remove_slot = 0)
. = .. ()
SEND_SIGNAL(src, COMSIG_ORGAN_GROUP_ACTION_RESORT)
SEND_SIGNAL(src, COMSIG_DOUBLEIMP_ACTION_REBUILD)

/obj/item/organ/internal/remove(mob/living/carbon/M, special = 0)
. = .. ()
SEND_SIGNAL(src, COMSIG_ORGAN_GROUP_ACTION_RESORT)
SEND_SIGNAL(src, COMSIG_DOUBLEIMP_ACTION_REBUILD)

/obj/item/organ/internal/ui_action_click()
SEND_SIGNAL(src, COMSIG_ORGAN_GROUP_ACTION_CALL, user = owner)

/obj/item/organ/internal/process()
SEND_SIGNAL(src, COMSIG_ORGAN_TOX_HANDLE)
SEND_SIGNAL(src, COMSIG_ORGAN_ON_LIFE)
. = .. ()

/atom/movable/screen/alert/Click()
if(isliving(usr) && ..())
SEND_SIGNAL(usr, COMSIG_GADOM_UNLOAD)
. = ..()
5 changes: 5 additions & 0 deletions modular_ss220/_signals220/code/species.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// Расширение прока на отстегивание ящика
/datum/species/spec_attack_hand(mob/living/carbon/human/M, mob/living/carbon/human/H, datum/martial_art/attacker_style)
if((SEND_SIGNAL(H, COMSIG_GADOM_CAN_GRAB) & GADOM_CAN_GRAB) && H.loaded)
SEND_SIGNAL(H, COMSIG_GADOM_UNLOAD)
. = .. ()
Loading
Loading