-
-
Notifications
You must be signed in to change notification settings - Fork 444
/
Copy pathclown.dm
92 lines (70 loc) · 2.92 KB
/
clown.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
/datum/job/clown
title = "Clown"
description = "Entertain the crew, make bad jokes, go on a holy quest to find bananium, HONK!"
orbit_icon = "face-grin-tears"
department_head = list("Head of Personnel")
faction = "Station"
total_positions = 1
spawn_positions = 1
supervisors = "the head of personnel"
outfit = /datum/outfit/job/clown
alt_titles = list("Entertainer", "Comedian", "Jester", "Improv Artist")
base_access = list(ACCESS_SERVICE, ACCESS_THEATRE, ACCESS_MAINT_TUNNELS)
paycheck = PAYCHECK_MINIMAL
paycheck_department = ACCOUNT_SRV
display_order = JOB_DISPLAY_ORDER_CLOWN
minimal_character_age = 18 //Honk
departments_list = list(
/datum/job_department/service,
)
mail_goodies = list(
/obj/item/reagent_containers/food/snacks/grown/banana = 100,
/obj/item/reagent_containers/food/snacks/pie/cream = 50,
/obj/item/reagent_containers/spray/waterflower/lube = 20, // lube
/obj/item/clothing/shoes/clown_shoes/combat = 10
///obj/item/reagent_containers/spray/waterflower/superlube = 1 // Superlube, good lord.
)
minimal_lightup_areas = list(/area/crew_quarters/theatre)
smells_like = "kinda funny"
/datum/job/clown/after_spawn(mob/living/carbon/human/H, mob/M)
. = ..()
H.apply_pref_name(/datum/preference/name/clown, M.client)
/datum/outfit/job/clown
name = "Clown"
jobtype = /datum/job/clown
pda_type = /obj/item/modular_computer/tablet/pda/preset/clown
ears = /obj/item/radio/headset/headset_srv
uniform = /obj/item/clothing/under/rank/civilian/clown
shoes = /obj/item/clothing/shoes/clown_shoes
mask = /obj/item/clothing/mask/gas/clown_hat
l_pocket = /obj/item/bikehorn
backpack_contents = list(
/obj/item/stamp/clown = 1,
/obj/item/reagent_containers/spray/waterflower = 1,
/obj/item/reagent_containers/food/snacks/grown/banana = 1,
/obj/item/instrument/bikehorn = 1,
)
implants = list(/obj/item/implant/sad_trombone)
backpack = /obj/item/storage/backpack/clown
satchel = /obj/item/storage/backpack/clown
duffelbag = /obj/item/storage/backpack/duffelbag/clown //strangely has a duffel
box = /obj/item/storage/box/survival/hug
chameleon_extras = /obj/item/stamp/clown
/datum/outfit/job/clown/pre_equip(mob/living/carbon/human/H, visualsOnly)
. = ..()
if(HAS_TRAIT(SSstation, STATION_TRAIT_BANANIUM_SHIPMENTS))
backpack_contents[/obj/item/stack/sheet/mineral/bananium/five] = 1
/datum/outfit/job/clown/get_types_to_preload()
. = ..()
if(HAS_TRAIT(SSstation, STATION_TRAIT_BANANIUM_SHIPMENTS))
. += /obj/item/stack/sheet/mineral/bananium/five
/datum/outfit/job/clown/post_equip(mob/living/carbon/human/H, visualsOnly = FALSE)
..()
if(visualsOnly)
return
if(H.mind)
H.mind.teach_crafting_recipe(/datum/crafting_recipe/woodenducky)
H.fully_replace_character_name(H.real_name, pick(GLOB.clown_names)) //rename the mob AFTER they're equipped so their ID gets updated properly.
H.dna.add_mutation(CLOWNMUT)
for(var/datum/mutation/human/clumsy/M in H.dna.mutations)
M.mutadone_proof = TRUE