Cleaned up the functionality and prepared things for PR.

This commit is contained in:
Fayrik
2015-03-20 23:19:19 +00:00
parent 57f544ffdf
commit d3d491588e
4 changed files with 19 additions and 15 deletions
@@ -109,11 +109,7 @@
caliber = "foam_force"
max_ammo = 4
/obj/item/ammo_box/magazine/internal/cylinder/toy
name = "crossbow cylinder"
desc = "Oh god, this shouldn't be here"
ammo_type = /obj/item/ammo_casing/caseless/foam_dart
caliber = "foam_force"
/obj/item/ammo_box/magazine/internal/shot/toy/crossbow
max_ammo = 5
///////////EXTERNAL MAGAZINES////////////////
@@ -230,14 +226,20 @@ obj/item/ammo_box/magazine/tommygunm45
ammo_type = /obj/item/ammo_casing/shotgun/incendiary/dragonsbreath
/obj/item/ammo_box/magazine/toy
name = "foam force SMG magazine"
icon_state = "c20r45"
name = "foam force META magazine"
ammo_type = /obj/item/ammo_casing/caseless/foam_dart
caliber = "foam_force"
max_ammo = 18
multiple_sprites = 2
/obj/item/ammo_box/magazine/toy/riot
/obj/item/ammo_box/magazine/toy/smg
name = "foam force SMG magazine"
icon_state = "smg9mm-20"
max_ammo = 20
/obj/item/ammo_box/magazine/toy/smg/update_icon()
..()
icon_state = "smg9mm-[round(ammo_count(),5)]"
/obj/item/ammo_box/magazine/toy/smg/riot
ammo_type = /obj/item/ammo_casing/caseless/foam_dart/riot
/obj/item/ammo_box/magazine/toy/pistol
@@ -1,12 +1,11 @@
/obj/item/weapon/gun/projectile/automatic/toy
name = "foam force SMG"
desc = "A bullpup three-round burst toy SMG. Ages 8 and up."
desc = "A prototype three-round burst toy submachine gun. Ages 8 and up."
icon = 'icons/obj/guns/toy.dmi'
icon_state = "saber"
item_state = "c20r"
mag_type = /obj/item/ammo_box/magazine/toy
item_state = "gun"
mag_type = /obj/item/ammo_box/magazine/toy/smg
fire_sound = 'sound/weapons/Gunshot_smg.ogg'
fire_delay = 2
force = 0
throwforce = 0
burst_size = 3
@@ -20,7 +19,6 @@
name = "foam force pistol"
desc = "A small, easily concealable toy handgun. Ages 8 and up."
icon_state = "pistol"
item_state = "gun"
w_class = 2
mag_type = /obj/item/ammo_box/magazine/toy/pistol
fire_sound = 'sound/weapons/Gunshot.ogg'
@@ -51,8 +49,10 @@
/obj/item/weapon/gun/projectile/shotgun/toy/crossbow
name = "foam force crossbow"
desc = "A weapon favored by many overactive children. Ages 8 and up."
icon = 'icons/obj/toy.dmi'
icon_state = "foamcrossbow"
item_state = "crossbow"
mag_type = /obj/item/ammo_box/magazine/internal/shot/toy/crossbow
fire_sound = 'sound/items/syringeproj.ogg'
slot_flags = SLOT_BELT
w_class = 2