forked from Drymouth-Gulch/Drymouth-Gulch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
interaction_definitions.dm
72 lines (63 loc) · 1.83 KB
/
interaction_definitions.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
/datum/interaction/bow
command = "bow"
description = "Bow to them."
max_distance = 25
simple_message = "USER bows to TARGET."
/datum/interaction/smile
command = "smile"
description = "Smile at them."
simple_message = "USER smiles at TARGET."
require_user_mouth = 1
max_distance = 25
/datum/interaction/wave
command = "wave"
description = "Wave to them."
simple_message = "USER waves to TARGET."
require_user_hands = 1
max_distance = 25
/datum/interaction/handshake
command = "handshake"
description = "Shake their hand."
simple_message = "USER shakes the hand of TARGET."
require_user_hands = 1
needs_physical_contact = 1
/datum/interaction/pat
command = "pat"
description = "Pat their shoulder."
simple_message = "USER pats TARGET's shoulder."
require_user_hands = 1
needs_physical_contact = 1
/datum/interaction/kiss
command = "kiss"
description = "Kiss them, you fool."
require_user_mouth = 1
simple_message = "USER kisses TARGET."
write_log_user = "kissed"
write_log_target = "was kissed by"
needs_physical_contact = 1
/datum/interaction/kiss/evaluate_user(var/mob/user, var/silent=1)
if(..())
if(!user.has_lips())
if(!silent) user << "<span class='warning'>You don't have any lips.</span>"
return 0
return 1
return 0
/datum/interaction/hug
command = "hug"
description = "Hug them."
require_user_mouth = 1
simple_message = "USER hugs TARGET."
interaction_sound = 'honk/sound/interactions/hug.ogg'
needs_physical_contact = 1
/datum/interaction/cheer
command = "cheer"
description = "Cheer them on."
require_user_mouth = 1
simple_message = "USER cheers TARGET on!"
/datum/interaction/highfive
command = "highfive"
description = "Give them a high-five."
require_user_mouth = 1
simple_message = "USER high fives TARGET!"
interaction_sound = 'honk/sound/interactions/slap.ogg'
needs_physical_contact = 1