|
52 | 52 | if(isobj(storage?.holder)) |
53 | 53 | var/obj/obj_holder = storage.holder |
54 | 54 | obj_holder.w_class = max(obj_holder.w_class, holstered.w_class) |
55 | | - user.visible_message("<span class='notice'>\The [user] holsters \the [holstered].</span>", "<span class='notice'>You holster \the [holstered].</span>") |
| 55 | + user.visible_action_message("holster", "\the [holstered].") |
56 | 56 | atom_holder.SetName("occupied [initial(atom_holder.name)]") |
57 | 57 | atom_holder.update_icon() |
58 | 58 | events_repository.register(/decl/observ/moved, holstered, src, PROC_REF(check_holster)) |
|
82 | 82 | G.check_accidents(user) |
83 | 83 | if(G.safety() && !user.skill_fail_prob(SKILL_WEAPONS, 100, SKILL_EXPERT, 0.5)) //Experienced shooter will disable safety before shooting. |
84 | 84 | G.toggle_safety(user) |
85 | | - user.visible_message( |
86 | | - "<span class='danger'>\The [user] draws \the [holstered], ready to go!</span>", |
87 | | - "<span class='warning'>You draw \the [holstered], ready to go!</span>" |
88 | | - ) |
| 85 | + user.visible_action_message("draw", "\the [holstered], ready to go!", dangerous = ACTION_DANGER_OTHERS) |
89 | 86 | else |
90 | | - user.visible_message( |
91 | | - "<span class='notice'>\The [user] draws \the [holstered], pointing it at the ground.</span>", |
92 | | - "<span class='notice'>You draw \the [holstered], pointing it at the ground.</span>" |
93 | | - ) |
| 87 | + user.visible_action_message("draw", "\the [holstered], pointing it at the ground.") |
94 | 88 | if(sound_out) |
95 | 89 | playsound(get_turf(atom_holder), sound_out, sound_vol) |
96 | 90 | holstered.add_fingerprint(user) |
|
0 commit comments