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

add: Syndicate affiliates 2.0 #5993

Open
wants to merge 194 commits into
base: master220
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
194 commits
Select commit Hold shift + click to select a range
a41f4a7
dsfsdf
Anorak2024 Sep 21, 2024
60d4947
fsfd
Anorak2024 Sep 23, 2024
2d8575a
sds
Anorak2024 Sep 23, 2024
1209717
fhfg
Anorak2024 Sep 23, 2024
0b68dc3
Invasive Beacon
Anorak2024 Sep 23, 2024
7b8bb4e
hfghd
Anorak2024 Sep 23, 2024
66982d4
ываыв
Anorak2024 Sep 23, 2024
6f61b4a
sdfs
Anorak2024 Sep 23, 2024
0aa4cb5
gorlex
Anorak2024 Sep 24, 2024
88d5082
fsdf
Anorak2024 Sep 24, 2024
3c077fa
hemophagus_extract
Anorak2024 Sep 24, 2024
92175b2
рвпав
Anorak2024 Sep 24, 2024
ce73e69
ssheya - nerd
Anorak2024 Sep 25, 2024
b1c5710
objective/new_mini_vampire
Anorak2024 Sep 25, 2024
4a0980a
objective/harvest_blood
Anorak2024 Sep 25, 2024
30a4ad8
ANTAG_HUD_AFFIL_GORLEX
Anorak2024 Sep 25, 2024
a10db5d
mi13
Anorak2024 Sep 25, 2024
ba3adef
mi13
Anorak2024 Sep 25, 2024
59c3346
self_emag
Anorak2024 Sep 26, 2024
76fc5ea
affiliate/tiger borers objective+eggs
Anorak2024 Sep 26, 2024
2b8db65
/objective/maroon/agent
Anorak2024 Sep 26, 2024
9faced3
fixes
Anorak2024 Sep 26, 2024
414dd1e
fixes + hij_descs
Anorak2024 Sep 27, 2024
feb4296
hijack objectives + malfofication item
Anorak2024 Sep 27, 2024
2ba3709
inhand sprites
Anorak2024 Sep 27, 2024
69ee642
a lot of fixes
Anorak2024 Sep 27, 2024
3bffb7b
fixes + uplink translation
Anorak2024 Sep 27, 2024
03c7b45
make it compilable
Anorak2024 Sep 27, 2024
a008b71
codestyle
Anorak2024 Sep 27, 2024
38df4de
codestyle
Anorak2024 Sep 27, 2024
b61c52a
dfs
Anorak2024 Sep 27, 2024
97368d1
sdfsfsd
Anorak2024 Sep 29, 2024
dfd3764
fixes
Anorak2024 Sep 30, 2024
81be8f2
a litlle bit of translation
Anorak2024 Oct 1, 2024
f9b37b9
some lore
Anorak2024 Oct 1, 2024
9c53300
techs for new items
Anorak2024 Oct 1, 2024
4d8c1b6
some stuff for hijack
Anorak2024 Oct 1, 2024
40f1901
hematogenic hijack
Anorak2024 Oct 2, 2024
10e97db
Update code/datums/uplink_item.dm
Anorak2024 Oct 2, 2024
cee6545
Update code/datums/uplink_item.dm
Anorak2024 Oct 2, 2024
1ab913f
fixes
Anorak2024 Oct 2, 2024
5c06d1a
Merge branch 'syndicate_affiliates_2.0' of https://github.com/Anorak2…
Anorak2024 Oct 2, 2024
8991da7
mo13 intel data
Anorak2024 Oct 2, 2024
4a844ae
аыва
Anorak2024 Oct 2, 2024
827567b
fixes
Anorak2024 Oct 2, 2024
26765e1
fixes
Anorak2024 Oct 2, 2024
c5bb6c6
tsf
Anorak2024 Oct 2, 2024
44c0762
Sol
Anorak2024 Oct 2, 2024
9b08ada
some translation
Anorak2024 Oct 2, 2024
4bd96d5
inhand sprites fix
Anorak2024 Oct 2, 2024
790f443
fdsfds
Anorak2024 Oct 3, 2024
df63cdb
borer_scanner
Anorak2024 Oct 3, 2024
88d75a4
borer farm kit
Anorak2024 Oct 3, 2024
84ebdd2
fixes
Anorak2024 Oct 3, 2024
3e38d23
fixes
Anorak2024 Oct 3, 2024
4e3088c
tweaks
Anorak2024 Oct 3, 2024
2a42818
tiger co implants
Anorak2024 Oct 4, 2024
f3dc44c
fixes
Anorak2024 Oct 4, 2024
cd50405
fixes
Anorak2024 Oct 4, 2024
65cf19f
mi13 sound_ring
Anorak2024 Oct 4, 2024
1db084b
fhgcghjhg
Anorak2024 Oct 5, 2024
2edcb92
mindslave reskin for s.e.l.f.
Anorak2024 Oct 7, 2024
610facb
some items for hematogenic
Anorak2024 Oct 7, 2024
b9d5927
something
Anorak2024 Oct 7, 2024
d3b556e
fixes
Anorak2024 Oct 7, 2024
64c4d71
may be it will work
Anorak2024 Oct 7, 2024
f6efa8b
sdfdsf
Anorak2024 Oct 7, 2024
93ed391
Merge branch 'syndicate_affiliates_2.0' of https://github.com/Anorak2…
Anorak2024 Oct 7, 2024
e2b2a25
mini fix
Anorak2024 Oct 8, 2024
026c244
if ( -> if( 2.0
Anorak2024 Oct 8, 2024
84191ad
2 more
Anorak2024 Oct 8, 2024
79a76b1
showing affiliates after gt
Anorak2024 Oct 8, 2024
1dcf1dc
wrong comment
Anorak2024 Oct 8, 2024
4090b01
hgdgh
Anorak2024 Oct 8, 2024
68411c5
tweak
Anorak2024 Oct 8, 2024
e752259
dfsfs
Anorak2024 Oct 8, 2024
18b5f19
(im)balance
Anorak2024 Oct 8, 2024
5210b25
mini fix
Anorak2024 Oct 8, 2024
7224028
to defines
Anorak2024 Oct 9, 2024
436c66f
fsdfsdfs + balance
Anorak2024 Oct 9, 2024
53bc5f3
dfsds
Anorak2024 Oct 10, 2024
d1570e1
аываы
Anorak2024 Oct 10, 2024
0e73308
Merge branch 'master220' into syndicate_affiliates_2.0
Anorak2024 Oct 10, 2024
3eff2e6
mi13 spy bug
Anorak2024 Oct 10, 2024
55cff6d
spy bugs
Anorak2024 Oct 11, 2024
2936141
cybersun marionette implants
Anorak2024 Oct 12, 2024
5ad4dd8
asdfsafd
Anorak2024 Oct 14, 2024
4b17363
Merge branch 'master220' into syndicate_affiliates_2.0
Anorak2024 Oct 14, 2024
63e5cbb
asdasdas
Anorak2024 Oct 14, 2024
f9d3531
Update code/game/machinery/camera/presets.dm
Anorak2024 Oct 14, 2024
c53c85a
Update code/game/objects/items/theft_items.dm
Anorak2024 Oct 14, 2024
3dffaa0
Update code/game/objects/items/theft_items.dm
Anorak2024 Oct 14, 2024
42a9d3c
Update code/modules/paperwork/paper.dm
Anorak2024 Oct 14, 2024
25038d8
Update code/modules/reagents/chemistry/reagents/alcohol.dm
Anorak2024 Oct 14, 2024
ef4063e
Update code/modules/reagents/chemistry/reagents/alcohol.dm
Anorak2024 Oct 14, 2024
d6fe8c2
Update code/game/objects/items/weapons/storage/uplink_kits.dm
Anorak2024 Oct 14, 2024
74e9b4c
Update code/modules/clothing/shoes/miscellaneous.dm
Anorak2024 Oct 14, 2024
1b32f18
Update code/modules/clothing/under/miscellaneous.dm
Anorak2024 Oct 14, 2024
157f4b7
Update code/modules/paperwork/paper.dm
Anorak2024 Oct 14, 2024
b6fdb94
dsfd
Anorak2024 Oct 14, 2024
bfc8c64
sdfaad
Anorak2024 Oct 14, 2024
04bfbab
авыфавфы
Anorak2024 Oct 14, 2024
0be9424
Откат пяти часов работы :3
Anorak2024 Oct 14, 2024
48af6c6
ываыв
Anorak2024 Oct 14, 2024
1505ebe
Откат перевода интерфейса аплинка
Anorak2024 Oct 14, 2024
c0ff22d
Забыл стэйджед чейнджс сделать
Anorak2024 Oct 14, 2024
88e3c8f
выфвфы
Anorak2024 Oct 14, 2024
12a470e
sdfsdfs
Anorak2024 Oct 14, 2024
43ae5f6
fdsfds
Anorak2024 Oct 16, 2024
05a346a
fsdafd
Anorak2024 Oct 16, 2024
44c4a3d
Merge branch 'master220' into syndicate_affiliates_2.0
Anorak2024 Oct 16, 2024
00455d1
Update code/datums/uplink_item.dm
Anorak2024 Oct 16, 2024
f550943
аываыва
Anorak2024 Oct 16, 2024
74975a2
Update code/modules/antagonists/traitor/affiliates/_affiliates.dm
Anorak2024 Oct 16, 2024
044a75c
Update code/modules/projectiles/projectile/bullets.dm
Anorak2024 Oct 16, 2024
96a0846
fsdfsadf
Anorak2024 Oct 16, 2024
e0b80e7
Merge branch 'syndicate_affiliates_2.0' of https://github.com/Anorak2…
Anorak2024 Oct 16, 2024
f1ab16b
Update code/modules/antagonists/traitor/affiliates/items/self/self_em…
Anorak2024 Oct 16, 2024
886b43c
Update code/modules/antagonists/traitor/affiliates/items/tiger/borer_…
Anorak2024 Oct 16, 2024
fa36587
аыва
Anorak2024 Oct 16, 2024
ed4c8cc
Merge branch 'syndicate_affiliates_2.0' of https://github.com/Anorak2…
Anorak2024 Oct 16, 2024
26c78ef
Merge branch 'master220' into syndicate_affiliates_2.0
Anorak2024 Oct 16, 2024
bddcf1b
fix
Anorak2024 Oct 16, 2024
fd9734c
fdsfsd
Anorak2024 Oct 17, 2024
e5f7997
fdsfsd
Anorak2024 Oct 17, 2024
3c52f7b
fsdfd
Anorak2024 Oct 17, 2024
7a5e46a
fix
Anorak2024 Oct 17, 2024
41adfc1
выфвыф
Anorak2024 Oct 17, 2024
e52dbe6
fdsdfds
Anorak2024 Oct 18, 2024
74fb492
hsfdg
Anorak2024 Oct 18, 2024
f6adaf1
авыавы
Anorak2024 Oct 18, 2024
e0d3d8f
авыавы
Anorak2024 Oct 19, 2024
37e3eda
Merge branch 'master220' into syndicate_affiliates_2.0
Anorak2024 Oct 20, 2024
9c778f3
Merge branch 'master220' into syndicate_affiliates_2.0
Anorak2024 Oct 21, 2024
9d7358e
выфафыв
Anorak2024 Oct 23, 2024
787e884
fsdfs
Anorak2024 Oct 23, 2024
98b3f50
Update code/datums/uplink_item.dm
Anorak2024 Oct 24, 2024
c6a1b53
dfgdsfgfd
Anorak2024 Oct 27, 2024
93845ec
Merge branch 'syndicate_affiliates_2.0' of https://github.com/Anorak2…
Anorak2024 Oct 27, 2024
b03bf20
Update watchers_look.dm
Anorak2024 Oct 27, 2024
876bc62
dsads
Anorak2024 Oct 27, 2024
3d8523b
Merge branch 'syndicate_affiliates_2.0' of https://github.com/Anorak2…
Anorak2024 Oct 27, 2024
0773289
Merge branch 'master220' into syndicate_affiliates_2.0
Anorak2024 Oct 27, 2024
9b26047
zxcvzxcvzxczvcxz
Anorak2024 Oct 27, 2024
411e0a8
Merge branch 'master220' into syndicate_affiliates_2.0
Anorak2024 Oct 28, 2024
e677523
забыл путь поменять
Anorak2024 Oct 28, 2024
9073488
Merge branch 'syndicate_affiliates_2.0' of https://github.com/Anorak2…
Anorak2024 Oct 28, 2024
0780885
Update code/modules/antagonists/traitor/affiliates/items/hematogenic/…
Anorak2024 Oct 28, 2024
12d11d5
Update code/modules/antagonists/traitor/affiliates/items/mi13/intel_d…
Anorak2024 Oct 28, 2024
5165b3c
Update code/modules/antagonists/traitor/affiliates/items/mi13/intel_d…
Anorak2024 Oct 28, 2024
11d0908
Update code/modules/antagonists/traitor/affiliates/items/hematogenic/…
Anorak2024 Oct 28, 2024
9d3e59f
Update code/modules/antagonists/traitor/affiliates/items/mi13/sound_r…
Anorak2024 Oct 28, 2024
714c97d
правки
Anorak2024 Oct 28, 2024
8ec029c
Merge branch 'syndicate_affiliates_2.0' of https://github.com/Anorak2…
Anorak2024 Oct 28, 2024
e402ef2
Update code/modules/antagonists/traitor/affiliates/items/mi13/sound_r…
Anorak2024 Oct 28, 2024
8761a98
Update code/modules/antagonists/traitor/affiliates/items/hematogenic/…
Anorak2024 Oct 28, 2024
e60c593
Update code/modules/antagonists/traitor/affiliates/items/mi13/spy_kit.dm
Anorak2024 Oct 28, 2024
4091a2e
Update code/modules/antagonists/traitor/affiliates/items/mi13/agent_i…
Anorak2024 Oct 28, 2024
04624d4
Update code/modules/antagonists/traitor/affiliates/items/mi13/agent_i…
Anorak2024 Oct 28, 2024
6c6fe22
Update code/modules/antagonists/traitor/affiliates/items/self/self_em…
Anorak2024 Oct 28, 2024
c4e4ab4
Update code/modules/antagonists/traitor/affiliates/items/tiger/borer_…
Anorak2024 Oct 28, 2024
ffc4db0
Update code/modules/antagonists/traitor/affiliates/items/tiger/borer_…
Anorak2024 Oct 28, 2024
212c35d
Update code/modules/antagonists/traitor/affiliates/items/tiger/borer_…
Anorak2024 Oct 28, 2024
34b1de4
Update code/modules/antagonists/traitor/affiliates/items/tiger/borer_…
Anorak2024 Oct 28, 2024
6cd4f1b
Update code/modules/antagonists/traitor/affiliates/items/cybersun/inv…
Anorak2024 Oct 28, 2024
601a6bc
Update code/modules/antagonists/traitor/affiliates/items/hematogenic/…
Anorak2024 Oct 28, 2024
bb6986d
правки
Anorak2024 Oct 28, 2024
0d15c20
Merge branch 'syndicate_affiliates_2.0' of https://github.com/Anorak2…
Anorak2024 Oct 28, 2024
180ffff
правки
Anorak2024 Oct 28, 2024
38e4166
Update code/modules/antagonists/traitor/affiliates/items/mi13/spy_kit.dm
Anorak2024 Oct 28, 2024
be41a66
Update code/modules/antagonists/traitor/affiliates/items/mi13/spy_kit.dm
Anorak2024 Oct 28, 2024
83b9425
делаю лучше
Anorak2024 Oct 28, 2024
28bf6f8
Merge branch 'syndicate_affiliates_2.0' of https://github.com/Anorak2…
Anorak2024 Oct 28, 2024
b0e20b5
Update code/datums/mind.dm
Anorak2024 Oct 29, 2024
a26fec6
чиселки
Anorak2024 Oct 29, 2024
2b68cd0
Merge branch 'syndicate_affiliates_2.0' of https://github.com/Anorak2…
Anorak2024 Oct 29, 2024
0a25dde
Настройка чиселок, добавление вкалывания блад харвестера, улшение тог…
Anorak2024 Oct 29, 2024
15b8b48
Merge branch 'master220' into syndicate_affiliates_2.0
Anorak2024 Oct 29, 2024
1f433c3
Поиграл, поисправлял не красивые моменты и баги.
Anorak2024 Oct 29, 2024
53fd3ae
Merge branch 'master220' into syndicate_affiliates_2.0
Anorak2024 Oct 29, 2024
23dc6b4
фиксы
Anorak2024 Oct 30, 2024
03b8b04
Merge branch 'syndicate_affiliates_2.0' of https://github.com/Anorak2…
Anorak2024 Oct 30, 2024
a2b97c1
Немного разная генерация целек на кражу у некоторых подрядчиков.
Anorak2024 Oct 30, 2024
86b5d1e
Балансировка, замена скидок для подрядчика на изменение цены для подр…
Anorak2024 Oct 30, 2024
ebeed80
Мини рескин инжекторов HI
Anorak2024 Oct 30, 2024
62b9488
Update code/game/gamemodes/objective.dm
Anorak2024 Oct 31, 2024
e3b1a23
Update code/modules/antagonists/traitor/affiliates/items/mi13/sound_r…
Anorak2024 Oct 31, 2024
90420c5
Update code/modules/antagonists/traitor/affiliates/items/mi13/sound_r…
Anorak2024 Oct 31, 2024
0930efb
Update code/modules/antagonists/traitor/affiliates/items/self/laws_im…
Anorak2024 Oct 31, 2024
0b1cef0
правки
Anorak2024 Oct 31, 2024
dbfe395
Немного кодстайла чтоб проверки перезапустились. Щас сломались на одн…
Anorak2024 Oct 31, 2024
8723a61
фонд помощи кодерам сказал сделать так
Anorak2024 Oct 31, 2024
54e7911
Багфикс неправильно чинящасего кабеля сатчели. Отдельный ПР делать ле…
Anorak2024 Oct 31, 2024
f26554a
нукли горлексам
Anorak2024 Oct 31, 2024
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
14 changes: 14 additions & 0 deletions code/__DEFINES/affiliates.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#define AFFIL_CYBERSUN "Cybersun Industries"
#define AFFIL_GORLEX "Gorlex Maraduers"
#define AFFIL_MI13 "MI13"
#define AFFIL_HEMATOGENIC "Hematogenic Industries"
#define AFFIL_SELF "SELF"
#define AFFIL_TIGER "Tiger Cooperative"
#define AFFIL_CHANG "Mr. Chang"
#define AFFIL_SHELLGUARD "Shellguard Amunitions"
#define AFFIL_DONK "Donk Corporation"
#define AFFIL_WAFFLE "Waffle Corporation"
#define AFFIL_BIOTECH "BioTech Solutions"
#define AFFIL_MIME "World Association of Mimes"
#define AFFIL_CLOWN "Honk Corporation"
#define AFFIL_SOL "Sol"
3 changes: 2 additions & 1 deletion code/__DEFINES/hud.dm
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,9 @@
#define TAIPAN_HUD 23
#define ANTAG_HUD_THIEF 24
#define THOUGHTS_HUD 25
#define ANTAG_HUD_AFFIL_GORLEX 26
//species hud
#define DATA_HUD_KIDAN_PHEROMONES 26
#define DATA_HUD_KIDAN_PHEROMONES 27

// Notification action types
#define NOTIFY_JUMP "jump"
Expand Down
2 changes: 2 additions & 0 deletions code/__DEFINES/mobs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,8 @@
#define isdemon(A) (istype((A), /mob/living/simple_animal/demon))
#define ismorph(A) (istype((A), /mob/living/simple_animal/hostile/morph))
#define isborer(A) (istype((A), /mob/living/simple_animal/borer))
#define isrevenant(A) (istype((A), /mob/living/simple_animal/revenant))
#define isshadowdemon(A) (istype((A), /mob/living/simple_animal/demon/shadow))

#define issilicon(A) (istype((A), /mob/living/silicon))
#define isAI(A) (istype((A), /mob/living/silicon/ai))
Expand Down
2 changes: 2 additions & 0 deletions code/__DEFINES/span.dm
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@
//#define span_hypnophrase(str) ("<span class='hypnophrase'>" + str + "</span>")
//#define span_icon(str) ("<span class='icon'>" + str + "</span>")
#define span_info(str) ("<span class='info'>" + str + "</span>")
#define tagB(str) ("<B>" + str + "</B>")
#define tagb(str) ("<b>" + str + "</b>")
//#define span_infoplain(str) ("<span class='infoplain'>" + str + "</span>")
#define span_interface(str) ("<span class='interface'>" + str + "</span>")
#define span_italics(str) ("<span class='italics'>" + str + "</span>")
Expand Down
2 changes: 2 additions & 0 deletions code/__DEFINES/traits/declarations.dm
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ Remember to update _globalvars/traits.dm if you're adding/removing/renaming trai
#define TRAIT_FORCE_DOORS "force_doors"
#define TRAIT_EMOTE_MUTE "emote_mute"
#define TRAIT_IGNORESLOWDOWN "ignoreslow"
#define TRAIT_IGNORECOLDSLOWDOWN "ignorecoldslow"
#define TRAIT_IGNOREDAMAGESLOWDOWN "ignoredamageslowdown"
#define TRAIT_IGNORECOLDDAMAGE "ignorecoldslow"
#define TRAIT_STRONG_GRABBER "strong_grabber"
#define TRAIT_PUSHIMMUNE "push_immunity"
#define TRAIT_AI_PAUSED "TRAIT_AI_PAUSED"
Expand Down
3 changes: 3 additions & 0 deletions code/__DEFINES/traits/sources.dm
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
#define CULT_EYES "cult_eyes"
#define CLOCK_HANDS "clock_hands"
#define PULSEDEMON_TRAIT "pulse_demon"
#define TIGER_TRAIT "tiger"
#define CHANGELING_TRAIT "changeling"
#define VAMPIRE_TRAIT "vampire"
#define NINJA_TRAIT "space-ninja"
Expand Down Expand Up @@ -157,3 +158,5 @@
#define BLOB_INFECTED_TRAIT "blob_infected"

#define VENDOR_FLATTENING_TRAIT "vendor_flattening"

#define BLUELAGOON_TRAIT "blue_lagoon"
2 changes: 2 additions & 0 deletions code/__DEFINES/vampire_defines.dm
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
#define SUBCLASS_DANTALION /datum/vampire_subclass/dantalion
#define SUBCLASS_BESTIA /datum/vampire_subclass/bestia
#define SUBCLASS_ANCIENT /datum/vampire_subclass/ancient
#define SUBCLASS_ADVANCED /datum/vampire_subclass/advanced

#define BESTIA_SUCK_RATE 3 SECONDS
#define ADVANCED_SUCK_RATE 3 SECONDS

#define BLOOD_DRAIN_LIMIT 200 // the amount of blood a vampire can drain from a person.
#define FULLPOWER_DRAINED_REQUIREMENT 8 // the number of people you need to suck to become full powered.
Expand Down
2 changes: 2 additions & 0 deletions code/_globalvars/traits.dm
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ GLOBAL_LIST_INIT(traits_by_type, list(
"TRAIT_HEALS_FROM_HOLY_PYLONS" = TRAIT_HEALS_FROM_HOLY_PYLONS,
"TRAIT_HULK" = TRAIT_HULK,
"TRAIT_HUSK" = TRAIT_HUSK,
"TRAIT_IGNORECOLDDAMAGE" = TRAIT_IGNORECOLDDAMAGE,
"TRAIT_IGNORECOLDSLOWDOWN" = TRAIT_IGNORECOLDSLOWDOWN,
"TRAIT_IGNOREDAMAGESLOWDOWN" = TRAIT_IGNOREDAMAGESLOWDOWN,
"TRAIT_IGNORESLOWDOWN" = TRAIT_IGNORESLOWDOWN,
"TRAIT_IGNORING_GRAVITY" = TRAIT_IGNORING_GRAVITY,
Expand Down
1 change: 1 addition & 0 deletions code/_onclick/ai.dm
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
ShiftClickOn(A)
return
if(modifiers["alt"]) // alt and alt-gr (rightalt)
SEND_SIGNAL(A, COMSIG_CLICK_ALT, src)
AltClickOn(A)
return
if(modifiers["ctrl"])
Expand Down
1 change: 1 addition & 0 deletions code/_onclick/click.dm
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
ShiftClickOn(A)
return
if(modifiers["alt"]) // alt and alt-gr (rightalt)
SEND_SIGNAL(A, COMSIG_CLICK_ALT, src)
AltClickOn(A)
return
if(modifiers["ctrl"])
Expand Down
1 change: 1 addition & 0 deletions code/_onclick/cogscarab.dm
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
ShiftClickOn(A)
return
if(modifiers["alt"]) // alt and alt-gr (rightalt)
SEND_SIGNAL(A, COMSIG_CLICK_ALT, src)
AltClickOn(A)
return
if(modifiers["ctrl"])
Expand Down
1 change: 1 addition & 0 deletions code/_onclick/cyborg.dm
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
ShiftClickOn(A)
return
if(modifiers["alt"]) // alt and alt-gr (rightalt)
SEND_SIGNAL(A, COMSIG_CLICK_ALT, src)
AltClickOn(A)
return
if(modifiers["ctrl"])
Expand Down
2 changes: 2 additions & 0 deletions code/_onclick/hud/action_button.dm
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,10 @@
for(var/datum/action/action as anything in user.actions)
var/atom/movable/screen/movable/action_button/our_button = action.button
our_button.moved = FALSE

if(moved)
moved = FALSE

user.update_action_buttons(reload_screen = TRUE)
to_chat(user, span_notice("Action button positions have been reset."))

Expand Down
4 changes: 3 additions & 1 deletion code/_onclick/hud/screen_objects.dm
Original file line number Diff line number Diff line change
Expand Up @@ -299,17 +299,19 @@
return set_selected_zone(choice)

/atom/movable/screen/zone_sel/AltClick(mob/user, choice)

if(user.next_click > world.time || user.next_move > world.time)
return FALSE

user.changeNext_click(1)

var/obj/item/holding_item = user.get_active_hand()
var/old_selecting = selecting
if(!istype(holding_item))
return FALSE

if(!set_selected_zone(choice, FALSE))
return FALSE

holding_item.melee_attack_chain(user, user)
set_selected_zone(old_selecting, FALSE)

Expand Down
1 change: 1 addition & 0 deletions code/_onclick/observer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
ShiftClickOn(A)
return
if(modifiers["alt"])
SEND_SIGNAL(A, COMSIG_CLICK_ALT, src)
AltClickOn(A)
return
// You are responsible for checking CONFIG_GET(flag/ghost_interaction) when you override this function
Expand Down
1 change: 1 addition & 0 deletions code/_onclick/overmind.dm
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
ShiftClickOn(A)
return
if(modifiers["alt"])
SEND_SIGNAL(A, COMSIG_CLICK_ALT, src)
AltClickOn(A)
return
if(modifiers["ctrl"])
Expand Down
1 change: 1 addition & 0 deletions code/_onclick/pai.dm
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
ShiftClickOn(A)
return
if(modifiers["alt"]) // alt and alt-gr (rightalt)
SEND_SIGNAL(A, COMSIG_CLICK_ALT, src)
AltClickOn(A)
return
if(modifiers["ctrl"])
Expand Down
3 changes: 3 additions & 0 deletions code/controllers/configuration/entries/config.dm
Original file line number Diff line number Diff line change
Expand Up @@ -834,3 +834,6 @@
protection = CONFIG_ENTRY_LOCKED | CONFIG_ENTRY_HIDDEN

/datum/config_entry/str_list/lobby_music

/datum/config_entry/flag/enable_syndicate_affiliates
default = FALSE
44 changes: 44 additions & 0 deletions code/datums/components/spy_bug.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
/datum/component/spy_bug
var/obj/item/spy_bug/bug

/datum/component/spy_bug/RegisterWithParent()
var/atom/par = parent
for (var/obj/item/spy_bug/spy_bug in par.contents)
bug = spy_bug

RegisterSignal(parent, COMSIG_PARENT_EXAMINE, PROC_REF(on_examine))
RegisterSignal(parent, COMSIG_CLICK_ALT, PROC_REF(on_altclick))
RegisterSignal(parent, COMSIG_PREQDELETED, PROC_REF(deleted_handler))

/datum/component/spy_bug/UnregisterFromParent()
UnregisterSignal(parent, COMSIG_PARENT_EXAMINE)
UnregisterSignal(parent, COMSIG_CLICK_ALT)
UnregisterSignal(parent, COMSIG_PREQDELETED)

/datum/component/spy_bug/proc/on_examine(datum/source, mob/living/carbon/human/user, list/examine_list)
SIGNAL_HANDLER

if(!istype(user))
return

examine_list += span_warning("Вы видите небольшое устройство с микрофоном и камерой.")

/datum/component/spy_bug/proc/on_altclick(datum/source, mob/living/carbon/human/user)
SIGNAL_HANDLER

if(!istype(user))
return

if(!user.Adjacent(parent))
return

if(user.stat)
return

if(HAS_TRAIT(user, TRAIT_HANDS_BLOCKED))
return

bug.unhook(user)

/datum/component/spy_bug/proc/deleted_handler()
bug.unhook()
5 changes: 3 additions & 2 deletions code/datums/elements/strippable.dm
Original file line number Diff line number Diff line change
Expand Up @@ -412,8 +412,8 @@
return

var/item = strippable_item.get_item(owner)
var/obj/item/held_item = user.get_active_hand()
if(isnull(item))
var/obj/item/held_item = user.get_active_hand()
if(isnull(held_item))
return

Expand Down Expand Up @@ -448,7 +448,8 @@

// Update just before the delay starts
SStgui.update_uis(src)
var/should_unequip = strippable_item.start_unequip(owner, user)

var/should_unequip = !held_item.strip_action(user, owner, item) && strippable_item.start_unequip(owner, user)

LAZYREMOVEASSOC(interactions, user, key)

Expand Down
1 change: 1 addition & 0 deletions code/datums/hud.dm
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ GLOBAL_LIST_INIT(huds, list( \
TAIPAN_HUD = new/datum/atom_hud/antag(),\
ANTAG_HUD_THIEF = new/datum/atom_hud/antag/hidden(),\
THOUGHTS_HUD = new/datum/atom_hud/thoughts(),\
ANTAG_HUD_AFFIL_GORLEX = new/datum/atom_hud/antag(),\
DATA_HUD_KIDAN_PHEROMONES = new/datum/atom_hud/kidan_pheromones()\
))

Expand Down
33 changes: 29 additions & 4 deletions code/datums/mind.dm
Original file line number Diff line number Diff line change
Expand Up @@ -553,11 +553,11 @@
. = _memory_edit_header("traitor", list("traitorchan", "traitorvamp", "traitorthief"))
var/datum/antagonist/traitor/traitor_datum = has_antag_datum(/datum/antagonist/traitor)
if(traitor_datum)
. += "<b><font color='red'>TRAITOR</font></b>|<a href='byond://?src=[UID()];traitor=clear'>no</a>"
. += "<b><font color='red'>TRAITOR" + (!traitor_datum.affiliate ? " without affiliate" : " from [traitor_datum.affiliate.name]") + "</font></b>|<a href='byond://?src=[UID()];traitor=clear'>no</a>"
if(!length(traitor_datum.objectives))
. += "<br>Objectives are empty! <a href='byond://?src=[UID()];traitor=autoobjectives'>Randomize!</a>"
else
. += "<a href='byond://?src=[UID()];traitor=traitor'>traitor</a>|<b>NO</b>"
. += "<a href='byond://?src=[UID()];traitor=traitor'>normal traitor</a>|<a href='byond://?src=[UID()];traitor=traitor_choose_affil'>traitor with affiliate</a>|<a href='byond://?src=[UID()];traitor=traitor_affil'>traitor with specific affiliate</a>|<b>NO</b>"

. += _memory_edit_role_enabled(ROLE_TRAITOR)
// Contractor
Expand Down Expand Up @@ -846,7 +846,7 @@
/datum/mind/Topic(href, href_list)
//проверяем на амбиции, после чего прерываем выполнение, иначе он залезет в админский антаг-панель
var/ambition_func = ambition_topic(href, href_list)
if (ambition_func)
if(ambition_func)
return

if(!check_rights(R_ADMIN))
Expand Down Expand Up @@ -1546,7 +1546,7 @@
log_admin("[key_name(usr)] has automatically forged wizard objectives for [key_name(current)]")
message_admins("[key_name_admin(usr)] has automatically forged wizard objectives for [key_name_admin(current)]")
else if(src in SSticker.mode.apprentices)
if (SSticker.mode.wizards.len)
if(SSticker.mode.wizards.len)
var/datum/mind/wizard = pick(SSticker.mode.wizards)
SSticker.mode.forge_wizard_apprentice_objectives(wizard, src)
else
Expand Down Expand Up @@ -1963,10 +1963,35 @@
var/datum/antagonist/traitor/traitor_datum = new()
traitor_datum.give_objectives = FALSE
traitor_datum.give_uplink = FALSE
traitor_datum.gen_affiliate = FALSE
add_antag_datum(traitor_datum)
log_admin("[key_name(usr)] has traitored [key_name(current)]")
message_admins("[key_name_admin(usr)] has traitored [key_name_admin(current)]")

if("traitor_choose_affil")
if(!(has_antag_datum(/datum/antagonist/traitor)))
var/datum/antagonist/traitor/traitor_datum = new()
traitor_datum.give_objectives = FALSE
traitor_datum.give_uplink = FALSE
traitor_datum.force_affiliate = TRUE
add_antag_datum(traitor_datum)
log_admin("[key_name(usr)] has traitored [key_name(current)]")
message_admins("[key_name_admin(usr)] has traitored [key_name_admin(current)]")

if("traitor_affil")
if(!(has_antag_datum(/datum/antagonist/traitor)))
var/type = input(usr, "Выберите подрядчика", "Выбор подрядчика") as null|anything in subtypesof(/datum/affiliate)

if(type)
var/datum/antagonist/traitor/traitor_datum = new()
traitor_datum.give_objectives = FALSE
traitor_datum.give_uplink = FALSE
traitor_datum.gen_affiliate = FALSE
add_antag_datum(traitor_datum)
log_admin("[key_name(usr)] has traitored [key_name(current)]")
message_admins("[key_name_admin(usr)] has traitored [key_name_admin(current)]")
traitor_datum.give_affiliate(src, type)

if("autoobjectives")
var/datum/antagonist/traitor/traitor_datum = has_antag_datum(/datum/antagonist/traitor)
if(!traitor_datum)
Expand Down
5 changes: 3 additions & 2 deletions code/datums/spell.dm
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,8 @@ GLOBAL_LIST_INIT(spells, typesof(/obj/effect/proc_holder/spell))
var/static/list/spell_handlers = list()
/// Handles a given spells cooldowns. Tracks the time until its off cooldown.
var/datum/spell_cooldown/cooldown_handler

/// If true, it will break remoteview when you'll try to cust it.
var/break_remoteview = TRUE

/**
* Checks if the user can cast the spell
Expand All @@ -209,7 +210,7 @@ GLOBAL_LIST_INIT(spells, typesof(/obj/effect/proc_holder/spell))

user.changeNext_click(CLICK_CD_CLICK_ABILITY)

if(ishuman(user))
if(ishuman(user) && break_remoteview)
var/mob/living/carbon/human/caster = user
if(caster.remoteview_target)
caster.remoteview_target = null
Expand Down
2 changes: 1 addition & 1 deletion code/datums/spells/bloodcrawl.dm
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@

/obj/effect/proc_holder/spell/bloodcrawl/shadow_crawl/post_phase_in(mob/living/user, obj/effect/dummy/slaughter/holder)
..()
if(!istype(user, /mob/living/simple_animal/demon/shadow))
if(!isshadowdemon(user))
return
var/mob/living/simple_animal/demon/shadow/demon = user
demon.RegisterSignal(holder, COMSIG_MOVABLE_MOVED, TYPE_PROC_REF(/mob/living/simple_animal/demon/shadow, check_darkness))
Expand Down
Loading