mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 21:48:39 +01:00
[MIRROR] Fixes Russian Roulette [MDB IGNORE] (#10396)
* Fixes Russian Roulette (#63636) * Cheater. * Fixes Russian Roulette Co-authored-by: SarmentiCampbell <61919894+SarmentiCampbell@users.noreply.github.com>
This commit is contained in:
co-authored by
SarmentiCampbell
parent
db36cadb23
commit
ed3d50871a
@@ -89,6 +89,8 @@
|
||||
var/flip_cooldown = 0
|
||||
var/suppressor_x_offset ///pixel offset for the suppressor overlay on the x axis.
|
||||
var/suppressor_y_offset ///pixel offset for the suppressor overlay on the y axis.
|
||||
/// Check if you are able to see if a weapon has a bullet loaded in or not.
|
||||
var/hidden_chambered = FALSE
|
||||
|
||||
///Gun internal magazine modification and misfiring
|
||||
|
||||
@@ -494,7 +496,7 @@
|
||||
var/count_chambered = !(bolt_type == BOLT_TYPE_NO_BOLT || bolt_type == BOLT_TYPE_OPEN)
|
||||
. += "It has [get_ammo(count_chambered)] round\s remaining."
|
||||
|
||||
if (!chambered)
|
||||
if (!chambered && !hidden_chambered)
|
||||
. += "It does not seem to have a round chambered."
|
||||
if (bolt_locked)
|
||||
. += "The [bolt_wording] is locked back and needs to be released before firing or de-fouling."
|
||||
|
||||
@@ -188,6 +188,7 @@
|
||||
icon_state = "russianrevolver"
|
||||
mag_type = /obj/item/ammo_box/magazine/internal/cylinder/rus357
|
||||
var/spun = FALSE
|
||||
hidden_chambered = TRUE //Cheater.
|
||||
|
||||
/obj/item/gun/ballistic/revolver/russian/do_spin()
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user