Skip to content

Commit

Permalink
fix: update gun appearance flags, set default mob gliding to 8 (atom …
Browse files Browse the repository at this point in the history
…movable's value) (#112)

## Что этот PR делает

Update gun appearance flags, set default mob gliding to 8 (atom
movable's value)

## Changelog

:cl:
fix: делает перемещение мобов, управляемыми игроком плавнее
fix: весь спрайт оружия трансформируется как одно целое (все оверлеи
считаются частью спрайта)
/:cl:
  • Loading branch information
Gaxeer authored Jul 31, 2023
1 parent f1fd77d commit f936a91
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion code/modules/mob/mob_vars.dm
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/mob
density = TRUE
layer = MOB_LAYER
glide_size = 1.5
animate_movement = 2
pressure_resistance = 8
throwforce = 10
Expand Down
1 change: 1 addition & 0 deletions code/modules/projectiles/gun.dm
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
origin_tech = "combat=1"
needs_permit = TRUE
attack_verb = list("struck", "hit", "bashed")
appearance_flags = TILE_BOUND|PIXEL_SCALE|LONG_GLIDE|KEEP_TOGETHER

var/fire_sound = "gunshot"
var/magin_sound = 'sound/weapons/gun_interactions/smg_magin.ogg'
Expand Down

0 comments on commit f936a91

Please sign in to comment.