mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-07-20 20:52:52 +01:00
Added grafadreka.
More work on drakes. Added grafadreka den site. Working on refining drake AI. Fixing drake languages.
This commit is contained in:
@@ -23,4 +23,5 @@ var/global/list/_default_mob_emotes = list(
|
||||
/decl/emote/audible/choke,
|
||||
/decl/emote/audible/moan,
|
||||
/decl/emote/audible/gnarl,
|
||||
/decl/emote/audible/snarl
|
||||
)
|
||||
|
||||
@@ -33,6 +33,10 @@
|
||||
emote_message_3p = "chokes."
|
||||
conscious = FALSE
|
||||
|
||||
/decl/emote/audible/snarl
|
||||
key = "snarl"
|
||||
emote_message_3p = "snarls menacingly."
|
||||
|
||||
/decl/emote/audible/gnarl
|
||||
key = "gnarl"
|
||||
emote_message_3p = "gnarls and shows USER_THEIR teeth."
|
||||
|
||||
@@ -29,8 +29,8 @@ var/global/list/emotes_by_key
|
||||
var/emote_message_radio_synthetic // As above, but for synthetics.
|
||||
var/emote_message_muffled // A message to show if the emote is audible and the user is muzzled.
|
||||
|
||||
var/list/emote_sound // A sound for the emote to play.
|
||||
// Can either be a single sound, a list of sounds to pick from, or an
|
||||
var/list/emote_sound // A sound for the emote to play.
|
||||
// Can either be a single sound, a list of sounds to pick from, or an
|
||||
// associative array of gender to single sounds/a list of sounds.
|
||||
var/list/emote_sound_synthetic // As above, but used when check_synthetic() is true.
|
||||
var/emote_volume = 50 // Volume of sound to play.
|
||||
@@ -83,7 +83,7 @@ var/global/list/emotes_by_key
|
||||
var/mob/M = user
|
||||
if(M.restrained())
|
||||
to_chat(user, SPAN_WARNING("You are restrained and cannot do that."))
|
||||
return
|
||||
return FALSE
|
||||
|
||||
var/atom/target
|
||||
if(can_target() && extra_params)
|
||||
@@ -104,7 +104,7 @@ var/global/list/emotes_by_key
|
||||
|
||||
if(!target)
|
||||
to_chat(user, SPAN_WARNING("You cannot see a '[extra_params]' within range."))
|
||||
return
|
||||
return FALSE
|
||||
|
||||
var/use_1p = get_emote_message_1p(user, target, extra_params)
|
||||
if(use_1p)
|
||||
@@ -136,7 +136,7 @@ var/global/list/emotes_by_key
|
||||
var/mob/living/L = user
|
||||
if(L.silent)
|
||||
M.visible_message(message = "[user] opens their mouth silently!", self_message = "You cannot say anything!", blind_message = emote_message_impaired, runemessage = "opens their mouth silently!")
|
||||
return
|
||||
return FALSE
|
||||
else
|
||||
M.audible_message(message = use_3p, self_message = use_1p, deaf_message = emote_message_impaired, hearing_distance = use_range, radio_message = use_radio, runemessage = prefinal_3p)
|
||||
else
|
||||
@@ -144,6 +144,7 @@ var/global/list/emotes_by_key
|
||||
|
||||
do_extra(user, target)
|
||||
do_sound(user)
|
||||
return TRUE
|
||||
|
||||
/decl/emote/proc/replace_target_tokens(var/msg, var/atom/target)
|
||||
. = msg
|
||||
|
||||
Reference in New Issue
Block a user