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

Upstream sync #4355

Closed
wants to merge 212 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
212 commits
Select commit Hold shift + click to select a range
5ec0626
2 отряда вместо 4 (Дельта-Чарли)
Fray2 Aug 5, 2023
5fb3c68
Fix ru in IC chat
Dedlain Aug 5, 2023
34fb331
Xenobots base
Polion1232 Aug 5, 2023
debdcbe
Some basic defines
Polion1232 Aug 5, 2023
562defb
Ability to dig burrows of xenobots
Polion1232 Aug 5, 2023
c1339c5
Dig Burrow ability for castes
Polion1232 Aug 5, 2023
bdab02f
colonialmarines.dme
Polion1232 Aug 5, 2023
03675a4
add tearer
Polion1232 Aug 5, 2023
a0a000f
big icons
Polion1232 Aug 5, 2023
349b580
Adjustments for code
Polion1232 Aug 5, 2023
644a46c
Add tearers to burrow list
Polion1232 Aug 5, 2023
f0e8540
Merge pull request #1 from DeadLineSS13/master
Fray2 Aug 6, 2023
da37eae
Merge branch 'cmss13-devs:master' into master
Fray2 Aug 6, 2023
1305f6f
Fixes
Dedlain Aug 8, 2023
2d3fae7
Merge pull request #2 from DeadLineSS13/master
DeadLineSS13 Aug 8, 2023
95dc3ec
Almayer rework
Aug 10, 2023
3649f22
Speed and priority changes
Polion1232 Aug 10, 2023
f8d328d
Better time show for lessers burrow
Polion1232 Aug 10, 2023
6cab5e1
Merge branch 'cmss13-devs:master' into master
Fray2 Aug 10, 2023
4e7a264
Merge pull request #4 from poleno1232/master
Fray2 Aug 10, 2023
b5491a6
Merge branch 'cmss13-devs:master' into master
Fray2 Aug 11, 2023
19d63c4
Merge branch 'pr/3'
Fray2 Aug 11, 2023
a31caee
Возвращение отрядов альфа-дельта
Fray2 Aug 11, 2023
9615681
Снова фиксы позиций отрядов до стандартных значений.
Fray2 Aug 12, 2023
48e3041
Ландмарка для ACO (Новый офицер снабжения)
Fray2 Aug 12, 2023
75fea9c
Forbid attacking infected humans and fire death
Polion1232 Aug 13, 2023
6e76219
Update .gitignore
Fray2 Aug 18, 2023
c68c5a2
Фикс отрядов и скейлинга специалистов
Fray2 Aug 18, 2023
3550ab5
Merge pull request #1 from Fray2/master
poleno1232 Aug 18, 2023
d81b4a4
Фикс дверей в дельта препах (очередной)
Fray2 Aug 19, 2023
91289f3
Merge upstream
Fray2 Aug 19, 2023
1cd9edf
Automatic changelog for PR #8 [ci skip]
github-actions[bot] Aug 19, 2023
366e6ae
Ещё один фикс алмаера.
Fray2 Aug 20, 2023
028d0f7
Эксперимент со скейлингом
Fray2 Aug 22, 2023
cef3121
Change xenobots' sprites
Polion1232 Aug 22, 2023
cfdadbd
Sunken Colony
Polion1232 Aug 22, 2023
5215fdc
Update dme
Polion1232 Aug 22, 2023
9f0ca3b
Upgrades for xenobot AI and minor fix
Polion1232 Aug 22, 2023
22cdea3
Телефон в каждый дом
Rocky0558 Aug 23, 2023
6090f98
Merge pull request #9 from Rocky0558/Rocky
Fray2 Aug 23, 2023
46ada31
Merge branch 'Fray2:master' into master
poleno1232 Aug 23, 2023
209eacc
Revert "Vehicles are removed. (No longer spawnable unless via admin v…
4310V343k Aug 23, 2023
2b1b6cb
fixes off-cm tiny brains
4310V343k Aug 23, 2023
795c1ce
half-revert the revert
4310V343k Aug 23, 2023
6eeb0b4
Merge pull request #10 from poleno1232/master
Fray2 Aug 24, 2023
8073b20
Automatic changelog for PR #10 [ci skip]
github-actions[bot] Aug 24, 2023
08e90e6
Merge pull request #11 from 4310V343k/tank!1
Fray2 Aug 24, 2023
cf4413f
Automatic changelog for PR #11 [ci skip]
github-actions[bot] Aug 24, 2023
9e3f8f6
Merge remote-tracking branch 'upstream/master'
Fray2 Aug 24, 2023
4827474
Merge branch 'master' of https://github.com/Fray2/RU-CMSS13
Fray2 Aug 24, 2023
e69fae3
Дофиксы алмаера
Fray2 Aug 24, 2023
88eff94
master
Rocky0558 Aug 24, 2023
8fe6725
master
Rocky0558 Aug 24, 2023
de28121
we've got tanks!1
4310V343k Aug 24, 2023
22719a6
tank by default
4310V343k Aug 24, 2023
edb07f0
Merge pull request #12 from Rocky0558/master
Fray2 Aug 24, 2023
c00a624
cmss13-devs#441 is so cool
4310V343k Aug 24, 2023
b9976f1
пиздец что с ~~лицом~~ кодом
4310V343k Aug 24, 2023
ef77c48
map fixes
4310V343k Aug 24, 2023
13c2438
uhh
4310V343k Aug 24, 2023
a6bd337
Merge pull request #13 from 4310V343k/tank!1
Fray2 Aug 24, 2023
f39fba3
Automatic changelog for PR #13 [ci skip]
github-actions[bot] Aug 24, 2023
d0bffdf
Automatic changelog compile [ci skip]
actions-user Aug 24, 2023
84d2457
Automatic changelog compile [ci skip]
actions-user Aug 25, 2023
b78b5da
Комплексные фиксы алмаера
Fray2 Aug 25, 2023
502ddb0
Merge branch 'master' of https://github.com/Fray2/RU-CMSS13
Fray2 Aug 25, 2023
3065bed
Очередные фиксы алмаера (да сколько же можно?)
Fray2 Aug 25, 2023
aaccc89
Запоздатый Патч первого дня.
XDinka Aug 26, 2023
79761eb
Update USS_Almayer.dmm
XDinka Aug 26, 2023
8a31cff
Merge branch 'master' of https://github.com/XDinka/RU-CMSS13
XDinka Aug 26, 2023
cc2e556
Update USS_Almayer.dmm
XDinka Aug 26, 2023
5535398
Снова трогается Алмайер
XDinka Aug 26, 2023
706b0dd
Конфликты?
XDinka Aug 26, 2023
c98e4ca
Уа, ремонт поломочек
XDinka Aug 26, 2023
76da50e
Финал фикс
XDinka Aug 26, 2023
e5388b2
Fix layers tonk
Dedlain Aug 26, 2023
9927f64
Merge pull request #15 from DeadLineSS13/master
DeadLineSS13 Aug 26, 2023
0efaede
ошибка не критична...
XDinka Aug 26, 2023
9f144a6
Mech incoming
Dedlain Aug 26, 2023
6d34e61
Merge pull request #16 from DeadLineSS13/master
DeadLineSS13 Aug 26, 2023
9258ded
Add tank points in tier 2 defcon
Dedlain Aug 26, 2023
af7f508
Merge pull request #17 from DeadLineSS13/master
DeadLineSS13 Aug 26, 2023
0904f1e
Merge pull request #14 from XDinka/master
Fray2 Aug 26, 2023
db38fcb
Automatic changelog for PR #14 [ci skip]
github-actions[bot] Aug 26, 2023
9e0b89b
Automatic changelog compile [ci skip]
actions-user Aug 26, 2023
399c87c
Merge remote-tracking branch 'upstream/master'
Fray2 Aug 26, 2023
3d59787
Merge branch 'master' of https://github.com/Fray2/RU-CMSS13
Fray2 Aug 26, 2023
1a7f285
Automatic changelog for PR #18 [ci skip]
github-actions[bot] Aug 26, 2023
a7ecda5
Automatic changelog compile [ci skip]
actions-user Aug 26, 2023
c812184
Фикс таблицы в преференсах
Fray2 Aug 26, 2023
6292179
Automatic changelog compile [ci skip]
actions-user Aug 26, 2023
12342e5
Вайтлист на оператора мехи.
Fray2 Aug 27, 2023
cf7e619
Очередной фикс алмаера: альфа смартганнер наконец с трусами
Fray2 Aug 27, 2023
3db657d
Фикс (Ы18)
Fray2 Aug 27, 2023
8ee9488
hotfix: Автодок может чинить органы в общем режиме
Rocky0558 Aug 27, 2023
986029f
Papers, please!
Rocky0558 Aug 27, 2023
7e451c0
Исправление очепятки в автодоке
Rocky0558 Aug 28, 2023
de01335
Merge pull request #19 from Rocky0558/StormTrooper-Revive
Fray2 Aug 28, 2023
6e1095b
Knock-knock, bitches! Breacher is here!
Rocky0558 Aug 30, 2023
9d9bde1
Merge pull request #20 from Rocky0558/StormTrooper-Revive
Fray2 Aug 30, 2023
4e60d94
Merge remote-tracking branch 'upstream/master'
Fray2 Sep 1, 2023
0bcf779
Automatic changelog for PR #21 [ci skip]
github-actions[bot] Sep 1, 2023
f218d1f
Automatic changelog compile [ci skip]
actions-user Sep 1, 2023
9128cc2
Automatic changelog compile [ci skip]
actions-user Sep 1, 2023
b20a6df
Фиксы
Wyderar Sep 1, 2023
7077cbd
Update .tgs.yml
Wyderar Sep 1, 2023
7cc294f
Updated sprites
Polion1232 Sep 1, 2023
6d3172b
Фиксы спрайтов
Rocky0558 Sep 1, 2023
bc5a02e
Merge pull request #23 from Rocky0558/hotfix
Wyderar Sep 1, 2023
523977a
Ржачные альфа смартганнер препы
Wyderar Sep 1, 2023
9bc6b99
Merge branch 'master' of https://github.com/fray2/RU-CMSS13
Wyderar Sep 1, 2023
0a4affc
Merge branch 'master' of https://github.com/poleno1232/RU-CMSS13 into…
Polion1232 Sep 1, 2023
71ac8fd
Ещё фиксы доступов
Wyderar Sep 1, 2023
da24c18
Merge pull request #24 from poleno1232/master
Wyderar Sep 1, 2023
0201565
Automatic changelog for PR #24 [ci skip]
github-actions[bot] Sep 1, 2023
3b63053
Automatic changelog compile [ci skip]
actions-user Sep 1, 2023
e221f82
Automatic changelog compile [ci skip]
actions-user Sep 2, 2023
a329042
Поправки в конституции СТ
Rocky0558 Sep 2, 2023
c6103e8
Increase max per xeno for Sunken
Polion1232 Sep 2, 2023
fec4147
Merge pull request #25 from Rocky0558/hotfix
Fray2 Sep 2, 2023
1655f2e
Map fixes
Wyderar Sep 2, 2023
070f6da
Merge pull request #26 from Wyderar/mapfixes
Wyderar Sep 2, 2023
158d92e
Automatic changelog for PR #26 [ci skip]
github-actions[bot] Sep 2, 2023
07937bb
Automatic changelog compile [ci skip]
actions-user Sep 2, 2023
8191c3c
Вторые правки в конституцию СТшника
Rocky0558 Sep 2, 2023
b9b6527
Merge pull request #27 from Rocky0558/hotfix
Wyderar Sep 2, 2023
6e60839
Automatic changelog compile [ci skip]
actions-user Sep 2, 2023
32b844f
Обновление конфига мапы
Fray2 Sep 2, 2023
00e7215
Лобби музыка
Fray2 Sep 2, 2023
ab92d92
Merge branch 'master' of https://github.com/Fray2/RU-CMSS13
Fray2 Sep 2, 2023
5b27660
Добавление музыки к Ходящий Мужчина
Rocky0558 Sep 3, 2023
f7a975c
Merge pull request #28 from Rocky0558/hotfix
Wyderar Sep 3, 2023
4de313a
танк фанни
xDanilcusx Sep 4, 2023
f79465e
Merge pull request #30 from xDanilcusx/master
Fray2 Sep 5, 2023
1ec778b
Merge remote-tracking branch 'upstream/master'
Fray2 Sep 5, 2023
054599f
Automatic changelog for PR #31 [ci skip]
github-actions[bot] Sep 5, 2023
ad58a51
Automatic changelog compile [ci skip]
actions-user Sep 5, 2023
a738b25
Вернул в мап пулл школярис
Fray2 Sep 5, 2023
b967097
Merge branch 'master' of https://github.com/Fray2/RU-CMSS13
Fray2 Sep 5, 2023
4c266f7
Automatic changelog compile [ci skip]
actions-user Sep 5, 2023
dd23c19
Update autoreply.dm
xDanilcusx Sep 5, 2023
f64c0bc
Merge pull request #32 from xDanilcusx/Regurgitate
Fray2 Sep 5, 2023
fde3c48
Tweaks to Sunken
poleno1232 Sep 5, 2023
f61a993
русское радио
carrotman2013 Sep 6, 2023
32ab8af
говорит
carrotman2013 Sep 6, 2023
f5eadf2
Update hear_say.dm
carrotman2013 Sep 6, 2023
1f11e18
Update hear_say.dm
carrotman2013 Sep 6, 2023
74f95dd
Merge pull request #33 from poleno1232/master
Fray2 Sep 6, 2023
3bd407b
Automatic changelog for PR #33 [ci skip]
github-actions[bot] Sep 6, 2023
4060ca7
Automatic changelog compile [ci skip]
actions-user Sep 6, 2023
ae2830f
Merge pull request #34 from carrotman2013/master
Fray2 Sep 6, 2023
ffc348a
Automatic changelog compile [ci skip]
actions-user Sep 6, 2023
2983c70
ксеноту на черный рынок
carrotman2013 Sep 6, 2023
43f25ac
Merge remote-tracking branch 'origin/master'
carrotman2013 Sep 6, 2023
f9d5460
Merge pull request #35 from carrotman2013/master
Fray2 Sep 6, 2023
da5726e
Merge remote-tracking branch 'upstream/master'
Fray2 Sep 6, 2023
60dccbb
Automatic changelog for PR #36 [ci skip]
github-actions[bot] Sep 6, 2023
65a777c
Automatic changelog compile [ci skip]
actions-user Sep 6, 2023
6bf8a27
Changes to sunken
poleno1232 Sep 6, 2023
9da4589
Merge branch 'Fray2:master' into master
poleno1232 Sep 6, 2023
7802097
Merge pull request #37 from poleno1232/master
Wyderar Sep 6, 2023
c8cee8b
Merge branch 'cmss13-devs:master' into master
Wyderar Sep 6, 2023
479ca5b
Automatic changelog compile [ci skip]
actions-user Sep 6, 2023
d3ff87b
Replace non-existent icon with placeholder
Wyderar Sep 6, 2023
c0d0ee4
Deleting tags from map
Wyderar Sep 6, 2023
26c34d3
Map fixes v2
Wyderar Sep 6, 2023
b4bf027
Merge pull request #38 from Wyderar/tempfixtest
Wyderar Sep 6, 2023
ebec079
Automatic changelog for PR #38 [ci skip]
github-actions[bot] Sep 6, 2023
be8a11b
Automatic changelog compile [ci skip]
actions-user Sep 6, 2023
ab927e9
Weaken Sunken Colony
poleno1232 Sep 6, 2023
a2bafe8
Make cooldown slightly higher
poleno1232 Sep 6, 2023
add401f
Timelocks change
Wyderar Sep 6, 2023
62e7026
Sunken only on hive weed
poleno1232 Sep 6, 2023
dec3b52
Return old min distance
poleno1232 Sep 6, 2023
12ae237
Return destruction of a sunken
poleno1232 Sep 6, 2023
1d90bf1
эти КСЕНОМОРФЫ просто МАЛЫШИ
xDanilcusx Sep 6, 2023
e40de82
Automatic changelog compile [ci skip]
actions-user Sep 7, 2023
0f38956
Cman
carrotman2013 Sep 7, 2023
c23a6fc
Merge remote-tracking branch 'origin/master'
carrotman2013 Sep 7, 2023
e49be69
Delete html/changelogs/Carrotman2013-PR-34.yml
carrotman2013 Sep 7, 2023
eea71ae
changelog
carrotman2013 Sep 7, 2023
23abfc2
переводим переводим
carrotman2013 Sep 7, 2023
7d9bd3a
Merge branch 'master' of https://github.com/cmss13-devs/cmss13 into c…
Wyderar Sep 7, 2023
90704c3
Merge branch 'cmss13-devs-master'
Wyderar Sep 7, 2023
85441c0
Merge pull request #40 from Wyderar/timelocks
Fray2 Sep 7, 2023
c5d317a
Automatic changelog for PR #40 [ci skip]
github-actions[bot] Sep 7, 2023
15661cc
Merge pull request #43 from carrotman2013/perevod
Fray2 Sep 7, 2023
ea57929
Automatic changelog for PR #42 [ci skip]
github-actions[bot] Sep 7, 2023
f5a4716
Merge pull request #39 from poleno1232/master
Fray2 Sep 7, 2023
5c87ab4
Automatic changelog for PR #39 [ci skip]
github-actions[bot] Sep 7, 2023
84ccd19
Automatic changelog compile [ci skip]
actions-user Sep 7, 2023
3b40b7f
Merge pull request #41 from xDanilcusx/хаха-молоток
Fray2 Sep 7, 2023
ddff68c
Automatic changelog for PR #41 [ci skip]
github-actions[bot] Sep 7, 2023
c522c23
Automatic changelog compile [ci skip]
actions-user Sep 7, 2023
771ba13
виу виу виу срочный фикс света на танке
xDanilcusx Sep 7, 2023
3692476
а ещё лучше будет оформить вот так
xDanilcusx Sep 7, 2023
7ef41b2
Update kit_boxes.dm
xDanilcusx Sep 7, 2023
c14af1e
Merge pull request #46 from xDanilcusx/кит-молотоспека
Fray2 Sep 7, 2023
0996818
Automatic changelog for PR #46 [ci skip]
github-actions[bot] Sep 7, 2023
ca7f9fe
Automatic changelog compile [ci skip]
actions-user Sep 7, 2023
547125e
фикс переводов
carrotman2013 Sep 7, 2023
cdb5c54
Merge branch 'Fray2:master' into master
xDanilcusx Sep 7, 2023
fd4c813
Automatic changelog compile [ci skip]
actions-user Sep 8, 2023
59ef979
перевод ЕРТ и эвак
carrotman2013 Sep 8, 2023
e3995b1
а
carrotman2013 Sep 8, 2023
5d864cd
Merge pull request #45 from xDanilcusx/master
Fray2 Sep 8, 2023
ed9ad4e
Automatic changelog for PR #45 [ci skip]
github-actions[bot] Sep 8, 2023
b32fced
Merge pull request #47 from carrotman2013/master
Fray2 Sep 8, 2023
faf3ab3
Automatic changelog for PR #47 [ci skip]
github-actions[bot] Sep 8, 2023
6da1056
Automatic changelog compile [ci skip]
actions-user Sep 8, 2023
f5ff1aa
Upstream sync
Wyderar Sep 8, 2023
0f3f121
Automatic changelog compile [ci skip]
actions-user Sep 8, 2023
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,5 @@ test_environment.txt
# byond-tracy backend, not shipped with the codebase so it shouldn't be maintained
prof.dll
libprof.so

code\__DEFINES\__rust_g.dm
1 change: 1 addition & 0 deletions .tgs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ byond: "514.1588"
static_files:
- name: config
- name: data
- name: local.db
linux_scripts:
PreCompile.sh: tools/tgs_scripts/PreCompile.sh
WatchdogLaunch.sh: tools/tgs_scripts/WatchdogLaunch.sh
Expand Down
1 change: 1 addition & 0 deletions code/__DEFINES/access.dm
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ most of them are tied into map-placed objects. This should be reworked in the fu
#define ACCESS_MARINE_KITCHEN 30
#define ACCESS_MARINE_CO 31
#define ACCESS_MARINE_TL_PREP 32
#define ACCESS_MARINE_WALKER 33

#define ACCESS_MARINE_MAINT 34
#define ACCESS_MARINE_OT 35
Expand Down
2 changes: 1 addition & 1 deletion code/__DEFINES/conflict.dm
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#define AMMO_IGNORE_RESIST (1<<10)
#define AMMO_BALLISTIC (1<<11)
#define AMMO_IGNORE_COVER (1<<12)
// (1<<13) unused, previously was AMMO_SCANS_NEARBY
#define AMMO_ANTIVEHICLE (1<<13)
#define AMMO_STOPPED_BY_COVER (1<<14)
#define AMMO_SPECIAL_EMBED (1<<15)
/// If the projectile hits a dense turf it'll do on_hit_turf on the turf just in front of the turf instead of on the turf itself
Expand Down
6 changes: 6 additions & 0 deletions code/__DEFINES/dcs/signals/atom/mob/signals_mob.dm
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,9 @@
#define COMSIG_MOB_MOUSEDRAG "mob_mousedrag" //from /client/MouseDrag(): (atom/src_object, atom/over_object, turf/src_location, turf/over_location, src_control, over_control, params)
#define COMSIG_MOB_CLICK_CANCELED (1<<0)
#define COMSIG_MOB_CLICK_HANDLED (1<<1)

#define COMSIG_MOB_DEPLOYED_BIPOD "mob_deployed_bipod"
#define COMSIG_MOB_UNDEPLOYED_BIPOD "mob_undeployed_bipod"

/// From /obj/item/proc/pickup() : (obj/item/picked_up)
#define COMSIG_MOB_PICKUP_ITEM "mob_pickup_item"
5 changes: 5 additions & 0 deletions code/__DEFINES/dcs/signals/atom/signals_item.dm
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@
#define COMSIG_GUN_BURST_SHOTS_TO_FIRE_MODIFIED "gun_burst_shots_to_fire_modified"
#define COMSIG_GUN_BURST_SHOT_DELAY_MODIFIED "gun_burst_shot_delay_modified"

#define COMSIG_GUN_VULTURE_FIRED_ONEHAND "gun_vulture_fired_onehand"
#define COMSIG_VULTURE_SCOPE_MOVED "vulture_scope_moved"
#define COMSIG_VULTURE_SCOPE_SCOPED "vulture_scope_scoped"
#define COMSIG_VULTURE_SCOPE_UNSCOPED "vulture_scope_unscoped"

/// from /obj/item/weapon/gun/proc/recalculate_attachment_bonuses() : ()
#define COMSIG_GUN_RECALCULATE_ATTACHMENT_BONUSES "gun_recalculate_attachment_bonuses"

Expand Down
2 changes: 2 additions & 0 deletions code/__DEFINES/equipment.dm
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,8 @@
#define SLOT_LEGS (1<<13)
#define SLOT_ACCESSORY (1<<14)
#define SLOT_SUIT_STORE (1<<15) //this allows items to be stored in the suit slot regardless of suit
/// Anything with this flag cannot be worn in suit storage, period.
#define SLOT_BLOCK_SUIT_STORE (1<<16)
//=================================================

//slots
Expand Down
3 changes: 2 additions & 1 deletion code/__DEFINES/job.dm
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,10 @@ var/global/list/job_command_roles = JOB_COMMAND_ROLES_LIST
#define JOB_PILOT "Pilot Officer"
#define JOB_DROPSHIP_CREW_CHIEF "Dropship Crew Chief"
#define JOB_CREWMAN "Vehicle Crewman"
#define JOB_WALKER "Mech Operator"
#define JOB_INTEL "Intelligence Officer"
#define JOB_AUXILIARY_ROLES /datum/timelock/auxiliary
#define JOB_AUXILIARY_ROLES_LIST list(JOB_PILOT, JOB_DROPSHIP_CREW_CHIEF, JOB_CREWMAN, JOB_INTEL)
#define JOB_AUXILIARY_ROLES_LIST list(JOB_PILOT, JOB_DROPSHIP_CREW_CHIEF, JOB_CREWMAN, JOB_WALKER, JOB_INTEL)

#define JOB_POLICE "Military Police"
#define JOB_WARDEN "Military Warden"
Expand Down
2 changes: 2 additions & 0 deletions code/__DEFINES/layers.dm
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@
#define FULLSCREEN_BLIND_LAYER 17.15
/// pain flashes
#define FULLSCREEN_PAIN_LAYER 17.2
/// Vulture sniper/spotter scope
#define FULLSCREEN_VULTURE_SCOPE_LAYER 17.21
/// in critical
#define FULLSCREEN_CRIT_LAYER 17.25

Expand Down
12 changes: 6 additions & 6 deletions code/__DEFINES/mode.dm
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#define SHUTTLE_LOCK_COOLDOWN 10 MINUTES
#define MONORAIL_LOCK_COOLDOWN 3 MINUTES
#define SHUTTLE_LOCK_TIME_LOCK 1 MINUTES
#define EVACUATION_AUTOMATIC_DEPARTURE 10 MINUTES //All pods automatically depart in 10 minutes, unless they are full or unable to launch for some reason.
#define EVACUATION_AUTOMATIC_DEPARTURE (10 MINUTES) //All pods automatically depart in 10 minutes, unless they are full or unable to launch for some reason.
#define EVACUATION_ESTIMATE_DEPARTURE ((evac_time + EVACUATION_AUTOMATIC_DEPARTURE - world.time) * 0.1)

#define EVACUATION_STATUS_STANDING_BY 0
Expand Down Expand Up @@ -109,12 +109,12 @@
//=================================================

//Role defines, specifically lists of roles for job bans, crew manifests and the like.
var/global/list/ROLES_COMMAND = list(JOB_CO, JOB_XO, JOB_SO, JOB_AUXILIARY_OFFICER, JOB_INTEL, JOB_PILOT, JOB_DROPSHIP_CREW_CHIEF, JOB_CREWMAN, JOB_POLICE, JOB_CORPORATE_LIAISON, JOB_COMBAT_REPORTER, JOB_CHIEF_REQUISITION, JOB_CHIEF_ENGINEER, JOB_CMO, JOB_CHIEF_POLICE, JOB_SEA, JOB_SYNTH, JOB_WARDEN)
var/global/list/ROLES_COMMAND = list(JOB_CO, JOB_XO, JOB_SO, JOB_AUXILIARY_OFFICER, JOB_INTEL, JOB_PILOT, JOB_DROPSHIP_CREW_CHIEF, JOB_CREWMAN, JOB_WALKER, JOB_POLICE, JOB_CORPORATE_LIAISON, JOB_COMBAT_REPORTER, JOB_CHIEF_REQUISITION, JOB_CHIEF_ENGINEER, JOB_CMO, JOB_CHIEF_POLICE, JOB_SEA, JOB_SYNTH, JOB_WARDEN)

//Marine roles
#define ROLES_OFFICERS list(JOB_CO, JOB_XO, JOB_SO, JOB_AUXILIARY_OFFICER, JOB_INTEL, JOB_PILOT, JOB_DROPSHIP_CREW_CHIEF, JOB_SEA, JOB_CORPORATE_LIAISON, JOB_COMBAT_REPORTER, JOB_SYNTH, JOB_CHIEF_POLICE, JOB_WARDEN, JOB_POLICE)
#define ROLES_OFFICERS list(JOB_CO, JOB_XO, JOB_SO, JOB_AUXILIARY_OFFICER, JOB_INTEL, JOB_PILOT, JOB_DROPSHIP_CREW_CHIEF, JOB_CREWMAN, JOB_WALKER, JOB_SEA, JOB_CORPORATE_LIAISON, JOB_COMBAT_REPORTER, JOB_SYNTH, JOB_CHIEF_POLICE, JOB_WARDEN, JOB_POLICE)
var/global/list/ROLES_CIC = list(JOB_CO, JOB_XO, JOB_SO, JOB_WO_CO, JOB_WO_XO)
var/global/list/ROLES_AUXIL_SUPPORT = list(JOB_AUXILIARY_OFFICER, JOB_INTEL, JOB_PILOT, JOB_DROPSHIP_CREW_CHIEF, JOB_WO_CHIEF_POLICE, JOB_WO_SO, JOB_WO_CREWMAN, JOB_WO_POLICE, JOB_WO_PILOT)
var/global/list/ROLES_AUXIL_SUPPORT = list(JOB_AUXILIARY_OFFICER, JOB_INTEL, JOB_PILOT, JOB_DROPSHIP_CREW_CHIEF, JOB_CREWMAN, JOB_WALKER, JOB_WO_CHIEF_POLICE, JOB_WO_SO, JOB_WO_CREWMAN, JOB_WO_POLICE, JOB_WO_PILOT)
var/global/list/ROLES_MISC = list(JOB_SYNTH, JOB_WORKING_JOE, JOB_SEA, JOB_CORPORATE_LIAISON, JOB_COMBAT_REPORTER, JOB_MESS_SERGEANT, JOB_WO_CORPORATE_LIAISON, JOB_WO_SYNTH)
var/global/list/ROLES_POLICE = list(JOB_CHIEF_POLICE, JOB_WARDEN, JOB_POLICE)
var/global/list/ROLES_ENGINEERING = list(JOB_CHIEF_ENGINEER, JOB_ORDNANCE_TECH, JOB_MAINT_TECH, JOB_WO_CHIEF_ENGINEER, JOB_WO_ORDNANCE_TECH)
Expand All @@ -125,7 +125,7 @@ var/global/list/ROLES_SQUAD_ALL = list(SQUAD_MARINE_1, SQUAD_MARINE_2, SQUAD_MAR

//Groundside roles
var/global/list/ROLES_XENO = list(JOB_XENOMORPH_QUEEN, JOB_XENOMORPH)
var/global/list/ROLES_WHITELISTED = list(JOB_SYNTH_SURVIVOR, JOB_CO_SURVIVOR, JOB_PREDATOR)
var/global/list/ROLES_WHITELISTED = list(JOB_SYNTH_SURVIVOR, JOB_CO_SURVIVOR, JOB_PREDATOR, JOB_WALKER)
var/global/list/ROLES_SPECIAL = list(JOB_SURVIVOR)

var/global/list/ROLES_USCM = ROLES_CIC + ROLES_POLICE + ROLES_AUXIL_SUPPORT + ROLES_MISC + ROLES_ENGINEERING + ROLES_REQUISITION + ROLES_MEDICAL + ROLES_MARINES - ROLES_WO
Expand All @@ -138,7 +138,7 @@ var/global/list/ROLES_FACTION_CLASH = ROLES_USCM + JOB_PREDATOR
var/global/list/ROLES_UNASSIGNED = list(JOB_SQUAD_MARINE)
var/global/list/ROLES_WO = list(JOB_WO_CO, JOB_WO_XO, JOB_WO_CORPORATE_LIAISON, JOB_WO_SYNTH, JOB_WO_CHIEF_POLICE, JOB_WO_SO, JOB_WO_CREWMAN, JOB_WO_POLICE, JOB_WO_PILOT, JOB_WO_CHIEF_ENGINEER, JOB_WO_ORDNANCE_TECH, JOB_WO_CHIEF_REQUISITION, JOB_WO_REQUISITION, JOB_WO_CMO, JOB_WO_DOCTOR, JOB_WO_RESEARCHER, JOB_WO_SQUAD_MARINE, JOB_WO_SQUAD_MEDIC, JOB_WO_SQUAD_ENGINEER, JOB_WO_SQUAD_SMARTGUNNER, JOB_WO_SQUAD_SPECIALIST, JOB_WO_SQUAD_LEADER)
//Role lists used for switch() checks in show_blurb_uscm(). Cosmetic, determines ex. "Engineering, USS Almayer", "2nd Bat. 'Falling Falcons'" etc.
#define BLURB_USCM_COMBAT JOB_CO, JOB_XO, JOB_SO, JOB_WO_CO, JOB_WO_XO, JOB_WO_CHIEF_POLICE, JOB_WO_SO, JOB_WO_CREWMAN, JOB_WO_POLICE, JOB_SEA,\
#define BLURB_USCM_COMBAT JOB_CO, JOB_XO, JOB_SO, JOB_WO_CO, JOB_WO_XO, JOB_CREWMAN, JOB_WALKER, JOB_WO_CHIEF_POLICE, JOB_WO_SO, JOB_WO_CREWMAN, JOB_WO_POLICE, JOB_SEA,\
JOB_SQUAD_LEADER, JOB_SQUAD_TEAM_LEADER, JOB_SQUAD_SPECIALIST, JOB_SQUAD_SMARTGUN, JOB_SQUAD_MEDIC, JOB_SQUAD_ENGI, JOB_SQUAD_MARINE
#define BLURB_USCM_FLIGHT JOB_PILOT, JOB_DROPSHIP_CREW_CHIEF
#define BLURB_USCM_MP JOB_CHIEF_POLICE, JOB_WARDEN, JOB_POLICE
Expand Down
8 changes: 5 additions & 3 deletions code/__DEFINES/skills.dm
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,14 @@
#define SKILL_SPEC_GRENADIER 5
/// Can use heavy flamers
#define SKILL_SPEC_PYRO 6
/// Can use Heavy-Shield and N45
#define SKILL_SPEC_ST 7
/// Can use smartguns
#define SKILL_SPEC_SMARTGUN 7
#define SKILL_SPEC_SMARTGUN 8
/// UPP special training
#define SKILL_SPEC_UPP 8
#define SKILL_SPEC_UPP 9
/// Can use ALL specialist weapons
#define SKILL_SPEC_ALL 9
#define SKILL_SPEC_ALL 10

//construction skill
#define SKILL_CONSTRUCTION_DEFAULT 0
Expand Down
10 changes: 9 additions & 1 deletion code/__DEFINES/traits.dm
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,8 @@
#define TRAIT_USING_WHEELCHAIR "t_using_wheelchair"
/// If the mob will instantly go permadead upon death
#define TRAIT_HARDCORE "t_hardcore"
/// If the mob is able to use the vulture rifle or spotting scope
#define TRAIT_VULTURE_USER "t_vulture_user"

// -- ability traits --
/// Xenos with this trait cannot have plasma transfered to them
Expand All @@ -203,6 +205,9 @@

// GUN TRAITS
#define TRAIT_GUN_SILENCED "t_gun_silenced"

#define TRAIT_GUN_BIPODDED "t_gun_bipodded"

#define TRAIT_GUN_LIGHT_DEACTIVATED "t_gun_light_deactivated"

// Miscellaneous item traits.
Expand Down Expand Up @@ -239,7 +244,8 @@ GLOBAL_LIST_INIT(mob_traits, list(
TRAIT_LEADERSHIP,
TRAIT_DEXTROUS,
TRAIT_REAGENT_SCANNER,
TRAIT_ABILITY_BURROWED
TRAIT_ABILITY_BURROWED,
TRAIT_VULTURE_USER,
))

/*
Expand Down Expand Up @@ -271,6 +277,7 @@ GLOBAL_LIST_INIT(traits_by_type, list(
"TRAIT_EMOTE_CD_EXEMPT" = TRAIT_EMOTE_CD_EXEMPT,
"TRAIT_LISPING" = TRAIT_LISPING,
"TRAIT_CANNOT_EAT" = TRAIT_CANNOT_EAT,
"TRAIT_VULTURE_USER" = TRAIT_VULTURE_USER,
),
/mob/living/carbon/xenomorph = list(
"TRAIT_ABILITY_NO_PLASMA_TRANSFER" = TRAIT_ABILITY_NO_PLASMA_TRANSFER,
Expand Down Expand Up @@ -299,6 +306,7 @@ GLOBAL_LIST_INIT(traits_by_type, list(
),
/obj/item/weapon/gun = list(
"TRAIT_GUN_SILENCED" = TRAIT_GUN_SILENCED,
"TRAIT_GUN_BIPODDED" = TRAIT_GUN_BIPODDED,
),
/obj/structure/surface/table = list(
"TRAIT_STRUCTURE_FLIPPING" = TRAIT_TABLE_FLIPPING,
Expand Down
2 changes: 2 additions & 0 deletions code/__DEFINES/urls.dm
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#define URL_WIKI_CONSTRUCTION "https://cm-ss13.com/wiki/Guide_to_construction"
#define URL_WIKI_ENGINEERING "https://cm-ss13.com/wiki/Guide_to_Engineering"
#define URL_WIKI_HACKING "https://cm-ss13.com/wiki/Guide_to_Engineering#Hacking"
#define URL_WIKI_APC "https://cm-ss13.com/wiki/Guide_to_Engineering#APC_Maintenance"
#define URL_WIKI_SURGERY "https://cm-ss13.com/wiki/Surgery"
#define URL_WIKI_MEDICAL "https://cm-ss13.com/wiki/Guide_to_Medicine"

Expand All @@ -37,6 +38,7 @@
#define URL_WIKI_ASO_GUIDE "https://cm-ss13.com/wiki/Auxiliary_Support_Officer" // Auxiliary Support
#define URL_WIKI_PO_GUIDE "https://cm-ss13.com/wiki/Pilot_Officer"
#define URL_WIKI_DCC_GUIDE "https://cm-ss13.com/wiki/Dropship_Crew_Chief"
#define URL_WIKI_VC_GUIDE "https://cm-ss13.com/wiki/Vehicle_Crewman"
#define URL_WIKI_IO_GUIDE "https://cm-ss13.com/wiki/Intelligence_Officer"
#define URL_WIKI_SYN_GUIDE "https://cm-ss13.com/wiki/Synthetic"
#define URL_WIKI_CE_GUIDE "https://cm-ss13.com/wiki/Chief_Engineer" // Engineering
Expand Down
4 changes: 3 additions & 1 deletion code/__DEFINES/vehicle.dm
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
#define HDPT_LAYER_SUPPORT 2
#define HDPT_LAYER_ARMOR 3
#define HDPT_LAYER_TURRET 4
#define HDPT_LAYER_MAX 4
#define HDPT_LAYER_SECONDARY_GUN 5
#define HDPT_LAYER_PRIMARY_GUN 6
#define HDPT_LAYER_MAX 6

#define VEHICLE_DRIVER "driver"
#define VEHICLE_GUNNER "primary gunner"
Expand Down
4 changes: 4 additions & 0 deletions code/__DEFINES/vendors.dm
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@

#define VEHICLE_ALL_AVAILABLE (VEHICLE_INTEGRAL_AVAILABLE|VEHICLE_PRIMARY_AVAILABLE|VEHICLE_SECONDARY_AVAILABLE|VEHICLE_SUPPORT_AVAILABLE|VEHICLE_ARMOR_AVAILABLE|VEHICLE_TREADS_AVAILABLE)

#define MECH_GUN "mech_gun"
#define MECH_ALL_AVAIBALE list(MECH_GUN = 2)


#define VENDOR_THEME_COMPANY 0
#define VENDOR_THEME_USCM 1
#define VENDOR_THEME_CLF 2
Expand Down
1 change: 1 addition & 0 deletions code/__DEFINES/weapon_stats.dm
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ As such, don't expect any values assigned to common firearms to even consider ho
//How many ticks you have to wait between firing. Burst delay uses the same variable!
*/

#define FIRE_DELAY_TIER_VULTURE 20
#define FIRE_DELAY_TIER_1 12
#define FIRE_DELAY_TIER_2 10
#define FIRE_DELAY_TIER_3 9
Expand Down
2 changes: 2 additions & 0 deletions code/__HELPERS/job.dm
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@
JOB_INTEL,
JOB_PILOT,
JOB_DROPSHIP_CREW_CHIEF,
JOB_CREWMAN,
JOB_WALKER,
JOB_CORPORATE_LIAISON,
JOB_COMBAT_REPORTER,
JOB_CHIEF_ENGINEER,
Expand Down
12 changes: 6 additions & 6 deletions code/__HELPERS/text.dm
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@
//Removes a few problematic characters
/proc/sanitize_simple(text, list/repl_chars = list("\n"=" ","\t"=" ","�"=" "))
for(var/char in repl_chars)
text = replacetext(text, char, repl_chars[char])
text = replacetext_char(text, char, repl_chars[char])
return text

/proc/readd_quotes(text)
var/list/repl_chars = list("&#34;" = "\"", "&#39;" = "'")
for(var/char in repl_chars)
text = replacetext(text, char, repl_chars[char])
text = replacetext_char(text, char, repl_chars[char])
return text

//Runs byond's sanitization proc along-side sanitize_simple
Expand All @@ -54,12 +54,12 @@
//Runs sanitize and strip_html_simple
//I believe strip_html_simple() is required to run first to prevent '<' from displaying as '&lt;' after sanitize() calls byond's html_encode()
/proc/strip_html(text, limit=MAX_MESSAGE_LEN)
return copytext((sanitize(strip_html_simple(text))), 1, limit)
return copytext_char((sanitize(strip_html_simple(text))), 1, limit)

//Runs byond's sanitization proc along-side strip_html_simple
//I believe strip_html_simple() is required to run first to prevent '<' from displaying as '&lt;' that html_encode() would cause
/proc/adminscrub(text, limit=MAX_MESSAGE_LEN)
return copytext((html_encode(strip_html_simple(text))), 1, limit)
return copytext_char((html_encode(strip_html_simple(text))), 1, limit)

//Returns null if there is any bad text in the string
/proc/reject_bad_text(text, max_length=512)
Expand Down Expand Up @@ -202,7 +202,7 @@

//Returns a string with the first element of the string capitalized.
/proc/capitalize(t as text)
return uppertext(copytext(t, 1, 2)) + copytext(t, 2)
return uppertext(copytext_char(t, 1, 2)) + copytext_char(t, 2)

/proc/stringpercent(text,character = "*")
//This proc returns the number of chars of the string that is the character
Expand Down Expand Up @@ -234,7 +234,7 @@
return "[copytext(string, 1, len - 3)]..."

/proc/strip_improper(input_text)
return replacetext(replacetext(input_text, "\proper", ""), "\improper", "")
return replacetext_char(replacetext_char(input_text, "\proper", ""), "\improper", "")

// Used to remove the string shortcuts for a clean transfer
/proc/sanitize_filename(t)
Expand Down
27 changes: 27 additions & 0 deletions code/__HELPERS/unsorted.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2066,3 +2066,30 @@ GLOBAL_LIST_INIT(duplicate_forbidden_vars,list(
if(stop_type && istype(turf_to_check, stop_type))
break
return turf_to_check

/// Given a direction, return the direction and the +-45 degree directions next to it
/proc/get_related_directions(direction = NORTH)
switch(direction)
if(NORTH)
return list(NORTH, NORTHEAST, NORTHWEST)

if(EAST)
return list(EAST, NORTHEAST, SOUTHEAST)

if(SOUTH)
return list(SOUTH, SOUTHEAST, SOUTHWEST)

if(WEST)
return list(WEST, NORTHWEST, SOUTHWEST)

if(NORTHEAST)
return list(NORTHEAST, NORTH, EAST)

if(SOUTHEAST)
return list(SOUTHEAST, EAST, SOUTH)

if(SOUTHWEST)
return list(SOUTHWEST, SOUTH, WEST)

if(NORTHWEST)
return list(NORTHWEST, NORTH, WEST)
1 change: 1 addition & 0 deletions code/_globalvars/bitfields.dm
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ DEFINE_BITFIELD(valid_equip_slots, list(
"SLOT_LEGS" = SLOT_LEGS,
"SLOT_ACCESSORY" = SLOT_ACCESSORY,
"SLOT_SUIT_STORE" = SLOT_SUIT_STORE,
"SLOT_BLOCK_SUIT_STORE" = SLOT_BLOCK_SUIT_STORE,
))

DEFINE_BITFIELD(flags_alarm_state, list(
Expand Down
7 changes: 5 additions & 2 deletions code/_globalvars/global_lists.dm
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ GLOBAL_LIST_INIT(resin_build_order_ovipositor, list(
/datum/resin_construction/resin_obj/acid_pillar,
/datum/resin_construction/resin_obj/sticky_resin,
/datum/resin_construction/resin_obj/fast_resin,
/datum/resin_construction/resin_obj/resin_spike
/datum/resin_construction/resin_obj/resin_spike,
/datum/resin_construction/resin_obj/sunken_colony
))

//Xeno Leader Mark Meanings
Expand Down Expand Up @@ -478,7 +479,8 @@ var/global/list/available_specialist_sets = list(
"Sniper Set",
"Demolitionist Set",
"Heavy Grenadier Set",
"Pyro Set"
"Pyro Set",
"Stormtrooper Set"
)

//Similar thing, but used in /obj/item/spec_kit
Expand All @@ -488,6 +490,7 @@ var/global/list/available_specialist_kit_boxes = list(
"Sniper" = 2,
"Scout" = 2,
"Demo" = 2,
"ST" = 2
)

/proc/init_global_referenced_datums()
Expand Down
12 changes: 11 additions & 1 deletion code/_onclick/hud/fullscreen.dm
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,11 @@
var/severity = 0
var/fs_view = 7
var/show_when_dead = FALSE
/// If this should try and resize if the user's view is bigger than the default
var/should_resize = TRUE

/atom/movable/screen/fullscreen/proc/update_for_view(client_view)
if (screen_loc == "CENTER-7,CENTER-7" && fs_view != client_view)
if (screen_loc == "CENTER-7,CENTER-7" && fs_view != client_view && should_resize)
var/list/actualview = getviewsize(client_view)
fs_view = client_view
transform = matrix(actualview[1]/FULLSCREEN_OVERLAY_RESOLUTION_X, 0, 0, 0, actualview[2]/FULLSCREEN_OVERLAY_RESOLUTION_Y, 0)
Expand Down Expand Up @@ -169,6 +171,14 @@
/atom/movable/screen/fullscreen/laser_blind
icon_state = "impairedoverlay1"

/atom/movable/screen/fullscreen/vulture
icon_state = "vulture_scope_overlay_sniper"
layer = FULLSCREEN_VULTURE_SCOPE_LAYER

/atom/movable/screen/fullscreen/vulture/spotter
icon_state = "vulture_scope_overlay_spotter"
should_resize = FALSE

//Weather overlays//

/atom/movable/screen/fullscreen/weather
Expand Down
4 changes: 4 additions & 0 deletions code/_onclick/hud/screen_objects.dm
Original file line number Diff line number Diff line change
Expand Up @@ -639,3 +639,7 @@
/atom/movable/screen/rotate/alt
dir = WEST
rotate_amount = -90

/atom/movable/screen/vulture_scope // The part of the vulture's scope that drifts over time
icon_state = "vulture_unsteady"
screen_loc = "CENTER,CENTER"
Loading