mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +01:00
basic mobs use their disarm response when shoved by humans (#79441)
## About The Pull Request So basic mobs have variables which can change what message is displayed when they are shoved. But right now these are only used if they are shoved by aliens. This PR changes it so that they're also used when they're shoved by humans.  ## Why It's Good For The Game It seems a bit weird for these to only show up when aliens are involved. It seems more appropriate to shoo a tiny creature away compared to shoving it. ## Changelog 🆑 spellcheck: basic mobs getting shoved by humans now display the mob's disarm response /🆑
This commit is contained in:
@@ -11,13 +11,13 @@
|
||||
var/shove_dir = get_dir(user, src)
|
||||
if(!Move(get_step(src, shove_dir), shove_dir))
|
||||
log_combat(user, src, "shoved", "failing to move it")
|
||||
user.visible_message(span_danger("[user.name] shoves [src]!"),
|
||||
span_danger("You shove [src]!"), span_hear("You hear aggressive shuffling!"), COMBAT_MESSAGE_RANGE, list(src))
|
||||
user.visible_message(span_danger("[user.name] [response_disarm_continuous] [src]!"),
|
||||
span_danger("You [response_disarm_simple] [src]!"), span_hear("You hear aggressive shuffling!"), COMBAT_MESSAGE_RANGE, list(src))
|
||||
to_chat(src, span_userdanger("You're shoved by [user.name]!"))
|
||||
return TRUE
|
||||
log_combat(user, src, "shoved", "pushing it")
|
||||
user.visible_message(span_danger("[user.name] shoves [src], pushing [p_them()]!"),
|
||||
span_danger("You shove [src], pushing [p_them()]!"), span_hear("You hear aggressive shuffling!"), COMBAT_MESSAGE_RANGE, list(src))
|
||||
user.visible_message(span_danger("[user.name] [response_disarm_continuous] [src], pushing [p_them()]!"),
|
||||
span_danger("You [response_disarm_simple] [src], pushing [p_them()]!"), span_hear("You hear aggressive shuffling!"), COMBAT_MESSAGE_RANGE, list(src))
|
||||
to_chat(src, span_userdanger("You're pushed by [user.name]!"))
|
||||
return TRUE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user