Skip to content

. #2558

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 73 commits into from
Jul 25, 2024
Merged

. #2558

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
2629ca7
moves disease code into subfiles for easier management
dwasint May 24, 2024
7f53def
redoes incubation adds dormant diseases
dwasint May 24, 2024
c1c8b65
Update _stage_mutations.dm
dwasint May 24, 2024
ae17328
changes
dwasint May 25, 2024
c35b750
whoops
dwasint May 26, 2024
32fe082
Update _job.dm
dwasint May 26, 2024
2fe4d0b
guh
dwasint May 27, 2024
c77ef7f
Update loadout.dm
dwasint Jun 20, 2024
09e4a13
Merge branch 'master' of https://github.com/dwasint/Monkestation2.0
dwasint Jun 21, 2024
778a977
Merge branch 'master' of https://github.com/dwasint/Monkestation2.0
dwasint Jun 21, 2024
c91d094
Merge branch 'master' of https://github.com/dwasint/Monkestation2.0
dwasint Jun 24, 2024
e43cba8
Merge branch 'master' of https://github.com/dwasint/Monkestation2.0
dwasint Jun 26, 2024
cdaeba5
Merge branch 'master' into isthisapathology_pr_not_fucked
dwasint Jul 6, 2024
70353bc
meh
dwasint Jul 6, 2024
299964c
woah
dwasint Jul 7, 2024
ce52069
adds restricted tb symptom
dwasint Jul 7, 2024
b92f23c
Update _disease.dm
dwasint Jul 7, 2024
dc8bf20
adds stage carry changes disease type to basic
dwasint Jul 7, 2024
6f6819c
double fix
dwasint Jul 7, 2024
9793860
Update spread_disease.dm
dwasint Jul 7, 2024
89eee21
improvements
dwasint Jul 7, 2024
2c1c050
exotic blood works for diseases
dwasint Jul 7, 2024
6c29e50
start of cracker
dwasint Jul 10, 2024
18580f9
new thing
dwasint Jul 11, 2024
7963a24
Merge branch 'master' of https://github.com/dwasint/Monkestation2.0
dwasint Jul 11, 2024
7d008a8
Merge branch 'master' into isthisapathology_pr_not_fucked
dwasint Jul 11, 2024
94fe8ae
fixes
dwasint Jul 11, 2024
e379eaf
more stuff
dwasint Jul 11, 2024
04dae90
adds all the healing symptoms I forgot to before
dwasint Jul 12, 2024
982e35c
adds skeleton of new antag
dwasint Jul 12, 2024
42588d3
admin retirement home
dwasint Jul 12, 2024
90d63df
Update CentCom.dmm
dwasint Jul 12, 2024
d658009
Revert "admin retirement home"
dwasint Jul 12, 2024
4af70c4
new store and loadout ui
dwasint Jul 14, 2024
e579785
reflexive and bluespace varients
dwasint Jul 15, 2024
abdcd14
fixes store items sometimes removing coins and not being added by ref…
dwasint Jul 15, 2024
eee7e37
replaces reflexive with carbon_take_brute
dwasint Jul 15, 2024
0d27662
new splicer icon
dwasint Jul 16, 2024
971f6bf
new analyzer icon
dwasint Jul 16, 2024
441e3d6
Update splicer.dm
dwasint Jul 16, 2024
413d307
the incubator sprites
dwasint Jul 16, 2024
950ca25
extrapolator sprite
dwasint Jul 16, 2024
064f778
new medical holobarriers
dwasint Jul 16, 2024
0900707
re-adds shuttle votes at 90 minutes
dwasint Jul 16, 2024
112dc95
makes ghost roles run after 85 minutes regardless
dwasint Jul 16, 2024
67c01c4
Update _symptom.dm
dwasint Jul 17, 2024
8597962
recursive
dwasint Jul 17, 2024
43cf8bc
floor health scanners
dwasint Jul 17, 2024
11a7a4c
Update floor_health_scanner.dm
dwasint Jul 17, 2024
491a541
Update extrapolator.dm
dwasint Jul 17, 2024
645e4f6
Update others.dm
dwasint Jul 17, 2024
ba13788
more stuff
dwasint Jul 19, 2024
6a29255
new patches
dwasint Jul 19, 2024
6326af5
start of it working
dwasint Jul 19, 2024
f26c2c1
good changes
dwasint Jul 19, 2024
a178e2d
Merge branch 'master' into isthisapathology_pr_not_fucked
dwasint Jul 21, 2024
f8a6a3c
Update tgstation.dme
dwasint Jul 21, 2024
476bc5d
new things
dwasint Jul 22, 2024
c97d677
fixes
dwasint Jul 24, 2024
a9bec4f
new viro on meta
dwasint Jul 24, 2024
a4e485d
Update MetaStation.dmm
dwasint Jul 24, 2024
936b990
removes patch test as it behaves differently to other exposures now
dwasint Jul 24, 2024
835ab0f
Update symptom_component.dm
dwasint Jul 24, 2024
389e537
fixes pirates
dwasint Jul 24, 2024
61f7141
Update nuclear_operative_ghost.dm
dwasint Jul 24, 2024
309cd3f
Update science_goggles.dm
dwasint Jul 25, 2024
97964f6
Update MetaStation.dmm
dwasint Jul 25, 2024
0911ed8
adds the event
dwasint Jul 25, 2024
796ccff
Update team.dm
dwasint Jul 25, 2024
362c410
Update team.dm
dwasint Jul 25, 2024
c04472e
Update cult_comms.dm
dwasint Jul 25, 2024
99af7bb
makes it call start_poll_cultist_for_leader instead of poll for leade…
dwasint Jul 25, 2024
53e7351
removes toggling from goggles
dwasint Jul 25, 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
1,672 changes: 912 additions & 760 deletions _maps/map_files/MetaStation/MetaStation.dmm

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions code/__DEFINES/diseases.dm
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,5 @@
#define DISEASE_SEVERITY_DANGEROUS "Dangerous"
/// Diseases that can quickly kill an unprepared victim (fungal tb, gbs)
#define DISEASE_SEVERITY_BIOHAZARD "BIOHAZARD"

#define DISEASE_HOLOSIGN_BLOCK 6
2 changes: 2 additions & 0 deletions code/__DEFINES/role_preferences.dm
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
#define ROLE_SPIDER "Spider"
#define ROLE_WIZARD_MIDROUND "Wizard (Midround)"
// monke midrounds
#define ROLE_PLAGUERAT "Plague Rat"
#define ROLE_CORTICAL_BORER "Cortical Borer"
#define ROLE_DRIFTING_CONTRACTOR "Drifting Contractor"
#define ROLE_FLORIDA_MAN "Florida Man"
Expand Down Expand Up @@ -153,6 +154,7 @@ GLOBAL_LIST_INIT(special_roles, list(
ROLE_SPIDER = 0,
ROLE_WIZARD_MIDROUND = 14,
//monkestation edit start
ROLE_PLAGUERAT = 0,
ROLE_CORTICAL_BORER = 0, // Module ID: CORTICAL_BORERS
ROLE_DRIFTING_CONTRACTOR = 0,
ROLE_VAMPIRICACCIDENT = 0,
Expand Down
13 changes: 13 additions & 0 deletions code/__DEFINES/~monkestation/virology.dm
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,16 @@
#define DISEASE_TRAUMA "trauma"
#define DISEASE_DECLONING "decloning"
#define DISEASE_ANXIETY "anxiety"

#define DISEASE_DORMANT (1 << 3)
#define DISEASE_COPYSTAGE (1<<4)
#define DISEASE_ANALYZED (1<<5)

#define COMSIG_CRACKER_PUZZLE_FAILURE "cracker_puzzle_failure"
#define COMSIG_CRACKER_PUZZLE_SUCCESS "cracker_puzzle_success"

#define COMSIG_SYMPTOM_ATTACH "symptom_attach"
#define COMSIG_SYMPTOM_DETACH "symptom_detach"
#define COMSIG_SYMPTOM_TRIGGER "symptom_trigger"

#define COMSIG_CARBON_TAKE_BRUTE_DAMAGE "carbon_take_brute"
3 changes: 3 additions & 0 deletions code/_globalvars/bitfields.dm
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ DEFINE_BITFIELD(disease_flags, list(
"CAN_CARRY" = CAN_CARRY,
"CAN_RESIST" = CAN_RESIST,
"CURABLE" = CURABLE,
"DORMANT" = DISEASE_DORMANT,
"STAGE_COPY" = DISEASE_COPYSTAGE,
"ANALYZED" = DISEASE_ANALYZED,
))

DEFINE_BITFIELD(flags_1, list(
Expand Down
2 changes: 1 addition & 1 deletion code/controllers/subsystem/processing/fastprocess.dm
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ PROCESSING_SUBSYSTEM_DEF(actualfastprocess)
PROCESSING_SUBSYSTEM_DEF(pathogen_processing)
name = "Pathogen Cloud Processing"
wait = 1 SECONDS
stat_tag = "SP"
stat_tag = "PC"
9 changes: 0 additions & 9 deletions code/datums/components/infective.dm
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
RegisterSignal(parent, COMSIG_MOVABLE_BUCKLE, PROC_REF(try_infect_buckle))
RegisterSignal(parent, COMSIG_MOVABLE_BUMP, PROC_REF(try_infect_collide))
RegisterSignal(parent, COMSIG_MOVABLE_IMPACT_ZONE, PROC_REF(try_infect_impact_zone))
RegisterSignal(parent, COMSIG_ATOM_EXTRAPOLATOR_ACT, PROC_REF(extrapolation))
if(isitem(parent))
RegisterSignal(parent, COMSIG_ITEM_ATTACK_ZONE, PROC_REF(try_infect_attack_zone))
RegisterSignal(parent, COMSIG_ITEM_ATTACK, PROC_REF(try_infect_attack))
Expand Down Expand Up @@ -133,11 +132,3 @@
if(length(contact) && !block)
for(var/datum/disease/advanced/V as anything in contact)
living.try_contact_infect(V, note="(Skin Contact - (Infective Component), coming from [src.parent])")

/datum/component/infective/proc/extrapolation(datum/source, mob/user, obj/item/extrapolator/E, scan = TRUE)
SIGNAL_HANDLER

if(scan)
E.scan(source, diseases, user)
else
INVOKE_ASYNC(E, TYPE_PROC_REF(/obj/item/extrapolator, extrapolate), source, diseases, user)
15 changes: 13 additions & 2 deletions code/datums/diseases/_disease.dm
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ GLOBAL_LIST_INIT(inspectable_diseases, list())

//Other
var/list/viable_mobtypes = list() //typepaths of viable mobs
var/mob/living/carbon/affected_mob = null
var/mob/living/affected_mob = null
var/list/cures = list() //list of cures if the disease has the CURABLE flag, these are reagent ids
/// The probability of spreading through the air every second
var/infectivity = 41
Expand Down Expand Up @@ -186,18 +186,29 @@ GLOBAL_LIST_INIT(inspectable_diseases, list())
"subID",
"uniqueID",
"childID",
"symptoms",
"stageprob",
"antigen",
)

var/datum/disease/D = copy_type ? new copy_type() : new type()
if(disease_flags & DISEASE_COPYSTAGE)
D.stage = stage

for(var/V in copy_vars)
var/val = vars[V]
if(islist(val))
var/list/L = val
val = L.Copy()
D.vars[V] = val

var/list/new_symptoms = list()
for(var/datum/symptom/symptom as anything in symptoms)
var/datum/symptom/copied_symptom = symptom.Copy()
new_symptoms += copied_symptom
SEND_SIGNAL(copied_symptom, COMSIG_SYMPTOM_ATTACH, D)

D.symptoms = new_symptoms

return D

/datum/disease/proc/after_add()
Expand Down
Loading
Loading