/
infuser_entry.dm
42 lines (39 loc) · 1.97 KB
/
infuser_entry.dm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/// A list of all infuser entries
GLOBAL_LIST_INIT(infuser_entries, prepare_infuser_entries())
/// Global proc that sets up each [/datum/infuser_entry] sub-type as singleton instances in a list, and returns it.
/proc/prepare_infuser_entries()
var/list/entries = list()
for(var/datum/infuser_entry/entry_type as anything in subtypesof(/datum/infuser_entry))
var/datum/infuser_entry/entry = new entry_type()
entries[entry_type] = entry
return entries
/datum/infuser_entry
//-- Vars for DNA Infusion Book --//
/// name of the mutant you become
var/name = "Mutant"
/// what you have to infuse to become it
var/infuse_mob_name = "some kind of mutant"
/// general desc
var/desc = "The ignorants call you a mutant. I prefer to think of mutants as the future of mankind! They could use a guy like you on their team."
/// desc of what passing the threshold gets you. if this is empty, there is no threshold, so this is also really a tally of whether this is a "meme" mutant or not
var/threshold_desc = "the DNA mess takes over, and you turn into a mutant freak!"
/// List of personal attributes added by the mutation.
var/list/qualities = list(
"override this",
"puts pineapple on pizza",
"inspiration for birth control",
"just a weird guy",
)
/// status effect type of the corresponding bonus, if it has one. tier zero won't ever set this.
var/status_effect_type
/// essentially how difficult it is to get this infusion, and if it will be locked behind some progression. see defines for more info
/// ...overwrite this, please
var/tier = DNA_MUTANT_UNOBTAINABLE
//-- Vars for DNA Infuser Machine --//
/// List of objects, mobs, and/or items, the machine will infuse to make output organs.
/// Rejected creatures, of course, are anything not covered by other recipes. This is a special case
var/list/input_obj_or_mob
/// List of organs that the machine could spit out in relation
var/list/output_organs
///message the target gets while being infused
var/infusion_desc = "mutant-like"