mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 04:27:35 +01:00
Small fixes for foam force weapons
-Adds a new icon for the toy tommy gun with a blue muzzle, so it doesn't have to use the real tommy gun's icon or what is was using, nothing. -fixes the rounding on the toy smg so it now doesn't have an invisable magazine when loaded and displays the correct amount of ammo.
This commit is contained in:
@@ -378,7 +378,7 @@
|
||||
|
||||
/obj/item/ammo_box/magazine/toy/smg/update_icon()
|
||||
..()
|
||||
icon_state = "smg9mm-[round(ammo_count(),5)]"
|
||||
icon_state = "smg9mm-[round(ammo_count()+1,4)*6/4]"
|
||||
|
||||
/obj/item/ammo_box/magazine/toy/smg/riot
|
||||
ammo_type = /obj/item/ammo_casing/caseless/foam_dart/riot
|
||||
|
||||
@@ -92,8 +92,8 @@
|
||||
/obj/item/weapon/gun/projectile/shotgun/toy/tommygun
|
||||
name = "tommy gun"
|
||||
desc = "Looks almost like the real thing! Great for practicing Drive-bys. Ages 8 and up."
|
||||
icon = 'icons/obj/guns/projectile.dmi'
|
||||
icon_state = "tommy"
|
||||
icon = 'icons/obj/guns/toy.dmi'
|
||||
icon_state = "tommygun"
|
||||
item_state = "shotgun"
|
||||
mag_type = /obj/item/ammo_box/magazine/internal/shot/toy/tommygun
|
||||
w_class = 2
|
||||
|
||||
Reference in New Issue
Block a user