Skip to content

Commit e401011

Browse files
martin509Cerebulon
andauthored
Vatborns port. (#87)
* Vatborns first pass. * Change vatborn blurb. * Remove extra icon state. * Fix vatborn codex runtime. * Add uid refactor * Add uid refactor, part 2 Co-authored-by: Cerebulon <[email protected]> * Vatborn cleanup --------- Co-authored-by: Cerebulon <[email protected]>
1 parent 38c7678 commit e401011

File tree

8 files changed

+96
-0
lines changed

8 files changed

+96
-0
lines changed

maps/exodus/exodus.dm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
#include "../../mods/species/tajaran/_tajaran.dme"
3939
#include "../../mods/species/unathi/_unathi.dme"
4040
#include "../../mods/species/teshari/_teshari.dme"
41+
#include "../../mods/species/vatborn/_vatborn.dme"
4142

4243
#include "../random_ruins/exoplanet_ruins/playablecolony/playablecolony.dm"
4344
#include "../random_ruins/exoplanet_ruins/crashed_pod/crashed_pod.dm"

mods/species/vatborn/_vatborn.dme

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#ifndef MODPACK_VATBORN
2+
#define MODPACK_VATBORN
3+
// BEGIN_INCLUDE
4+
#include "vatborn.dm"
5+
#include "datum\species.dm"
6+
#include "datum\species_bodytype.dm"
7+
8+
// END_INCLUDE
9+
#endif // MODPACK_VATBORN

mods/species/vatborn/datum/species.dm

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
/datum/appearance_descriptor/age/vatborn
2+
name = "age"
3+
chargen_max_index = 9
4+
5+
standalone_value_descriptors = list( //vatborns grow quickly and die young
6+
"an infant" = 1,
7+
"a toddler" = 2,
8+
"a child" = 3,
9+
"a teenager" = 4,
10+
"a young adult" = 6,
11+
"an adult" = 20,
12+
"middle-aged" = 35,
13+
"aging" = 50,
14+
"elderly" = 70,
15+
"ancient" = 91
16+
)
17+
18+
19+
/decl/species/human/vatborn
20+
uid = "species_vatborn"
21+
name = "Vatborn"
22+
name_plural = "Vatborns"
23+
24+
available_bodytypes = list(
25+
/decl/bodytype/human/vatborn,
26+
/decl/bodytype/human/vatborn/masculine,
27+
/decl/bodytype/prosthetic/basic_human
28+
)
29+
30+
31+
description = "With cloning on the forefront of human scientific advancement, cheap mass production \
32+
of bodies is a very real and rather ethically grey industry. Vat-grown or Vatborn humans tend to be \
33+
paler than baseline, with no appendix and fewer inherited genetic disabilities, but a more aggressive metabolism. \
34+
Most vatborn are engineered to experience rapid maturation, reaching approximately sixteen years of growth in only five \
35+
before slowing to normal growth rates."
36+
37+
preview_outfit = /decl/outfit/job/generic/assistant
38+
39+
toxins_mod = 1.1
40+
metabolism_mod = 1.15
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/decl/bodytype/human/vatborn
2+
name = "feminine"
3+
icon_base = 'mods/species/vatborn/icons/body/body_female.dmi'
4+
limb_icon_intensity = 0.7
5+
associated_gender = FEMALE
6+
onmob_state_modifiers = list((slot_w_uniform_str) = "f")
7+
uid = "bodytype_vatborn_fem"
8+
age_descriptor = /datum/appearance_descriptor/age/vatborn
9+
10+
has_organ = list(
11+
BP_HEART = /obj/item/organ/internal/heart,
12+
BP_STOMACH = /obj/item/organ/internal/stomach,
13+
BP_LUNGS = /obj/item/organ/internal/lungs,
14+
BP_LIVER = /obj/item/organ/internal/liver,
15+
BP_KIDNEYS = /obj/item/organ/internal/kidneys,
16+
BP_BRAIN = /obj/item/organ/internal/brain,
17+
BP_EYES = /obj/item/organ/internal/eyes
18+
)
19+
20+
/decl/bodytype/human/vatborn/masculine
21+
name = "masculine"
22+
icon_base = 'mods/species/vatborn/icons/body/body_male.dmi'
23+
icon_deformed = 'icons/mob/human_races/species/human/deformed_body_male.dmi'
24+
associated_gender = MALE
25+
uid = "bodytype_vatborn_masc"
26+
onmob_state_modifiers = null
27+
override_emote_sounds = list(
28+
"cough" = list(
29+
'sound/voice/emotes/m_cougha.ogg',
30+
'sound/voice/emotes/m_coughb.ogg',
31+
'sound/voice/emotes/m_coughc.ogg'
32+
),
33+
"sneeze" = list(
34+
'sound/voice/emotes/m_sneeze.ogg'
35+
)
36+
)
1.36 KB
Binary file not shown.
1.34 KB
Binary file not shown.
774 Bytes
Binary file not shown.

mods/species/vatborn/vatborn.dm

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/decl/modpack/vatborn
2+
name = "Vatborn"
3+
4+
/decl/modpack/vatborn/pre_initialize()
5+
..()
6+
SSmodpacks.default_submap_whitelisted_species |= /decl/species/human/vatborn::uid
7+
8+
/mob/living/human/vatborn/Initialize(mapload, species_uid, datum/mob_snapshot/supplied_appearance)
9+
species_uid = /decl/species/human/vatborn::uid
10+
. = ..()

0 commit comments

Comments
 (0)