Adds VG weaponry to the server (#243)

* Adds in clothing from the /vg/ rip

* adds clothing from the /vg/ rip

* Adds VG weaponry to the server

Adds VG weaponry to the server, most of it is intended for the bussing
admin so its not obtainable normally.

This also adds in toy megabusters to the arcade machine toy list and two
vending machines intended for adminbus/events/thunderdome.

* aa

fixing even more shit

* aaa

*external code related screaming*

* aaa

funfact: that insistence on modualization broke *EVERYTHING* for the
guns. I doubt I'll fix this.

* Fixes more shit

After I finally worked the salt out from yesterday, I modularized the
code more to the standard required. It seems that the sprites for the
guns/projectiles/vending machines need to be in the titled DMI files, at
least from my observations.

* *internal screaming*

why

* more shit fixed

no impact sounds for the plasmaguns / actual buster. Now there are
sounds.

* (Hopefully) Finaly update with this.

Salty removed, modularized it.

Hope its all good now.

* aaa

Pain.

* final fix

missing sprites fixed
This commit is contained in:
TaxMaster
2017-02-28 07:55:22 -06:00
committed by Poojawa
parent 01841a271b
commit 93782cf716
20 changed files with 234 additions and 2 deletions
@@ -222,3 +222,31 @@
/obj/item/ammo_casing/energy/plasma/adv
projectile_type = /obj/item/projectile/plasma/adv
/obj/item/ammo_casing/energy/plasmagun
projectile_type = /obj/item/projectile/energy/plasmabolt
e_cost = 50
fire_sound = 'sound/weapons/elecfire.ogg'
/obj/item/ammo_casing/energy/plasmagun/rifle
projectile_type = /obj/item/projectile/energy/plasmabolt/rifle
e_cost = 150
/obj/item/ammo_casing/energy/plasmagun/light
projectile_type = /obj/item/projectile/energy/plasmabolt/light
e_cost = 50
/obj/item/ammo_casing/energy/plasmagun/MP40k
projectile_type = /obj/item/projectile/energy/plasmabolt/MP40k
e_cost = 75
/obj/item/ammo_casing/energy/megabuster
projectile_type = /obj/item/projectile/energy/megabuster
fire_sound = 'sound/weapons/megabuster.ogg'
e_cost = 5
/obj/item/ammo_casing/energy/buster
e_cost = 25
projectile_type = /obj/item/projectile/energy/buster
fire_sound = 'sound/weapons/mmlbuster.ogg'
@@ -406,3 +406,5 @@
..()
icon_state = "oldrifle[magazine ? "-[Ceiling(get_ammo(0)/4)*4]" : ""]"
return
@@ -134,3 +134,25 @@
pin = /obj/item/device/firing_pin/tag/red
ammo_x_offset = 2
selfcharge = 1
/obj/item/weapon/gun/energy/laser/rifle
name = "laser rifle"
desc = "A laser rifle issued to high ranking members of a certain shadow corporation."
icon_state = "xcomlasergun"
item_state = null
icon = 'icons/obj/guns/VGguns.dmi'
ammo_type = list(/obj/item/ammo_casing/energy/lasergun)
ammo_x_offset = 4
/obj/item/weapon/gun/energy/laser/LaserAK
name = "Laser AK470"
desc = "A laser AK. Death solves all problems -- No man, no problem."
icon_state = "LaserAK"
item_state = null
icon = 'icons/obj/guns/VGguns.dmi'
ammo_type = list(/obj/item/ammo_casing/energy/laser)
ammo_x_offset = 4
@@ -0,0 +1,25 @@
/obj/item/weapon/gun/energy/megabuster
name = "Mega-buster"
desc = "An arm-mounted buster toy!"
icon_state = "megabuster"
item_state = "megabuster"
w_class = WEIGHT_CLASS_SMALL
ammo_type = list(/obj/item/ammo_casing/energy/megabuster)
clumsy_check = 0
needs_permit = 0
selfcharge = 1
icon = 'icons/obj/guns/VGguns.dmi'
/obj/item/weapon/gun/energy/megabuster/proto
name = "Proto-buster"
icon_state = "protobuster"
item_state = "protobuster"
/obj/item/weapon/gun/energy/mmlbuster
name = "Buster Cannon"
desc = "An antique arm-mounted buster cannon."
icon = 'icons/obj/guns/VGguns.dmi'
icon_state = "mmlbuster"
item_state = "mmlbuster"
w_class = WEIGHT_CLASS_SMALL
ammo_type = list(/obj/item/ammo_casing/energy/buster)
ammo_x_offset = 2
@@ -0,0 +1,40 @@
/obj/item/weapon/gun/energy/plasma //Not intended to be used, use its children instead.
name = "plasma gun"
desc = "A high-power plasma gun. You shouldn't ever see this."
icon_state = "xray"
w_class = WEIGHT_CLASS_NORMAL
ammo_type = list(/obj/item/ammo_casing/energy/plasmagun)
ammo_x_offset = 2
shaded_charge = 1
/obj/item/weapon/gun/energy/plasma/rifle
name = "plasma cannon"
desc = "A state of the art cannon utilizing plasma in a uranium-235 lined core to output hi-power, radiating bolts of energy."
icon_state = "alienrifle"
item_state = null
icon = 'icons/obj/guns/VGguns.dmi'
w_class = WEIGHT_CLASS_BULKY
ammo_type = list(/obj/item/ammo_casing/energy/plasmagun/rifle)
ammo_x_offset = 4
/obj/item/weapon/gun/energy/plasma/light
name = "plasma rifle"
desc = "A state of the art rifle utilizing plasma in a uranium-235 lined core to output radiating bolts of energy."
icon_state = "lightalienrifle"
item_state = null
icon = 'icons/obj/guns/VGguns.dmi'
ammo_type = list(/obj/item/ammo_casing/energy/plasmagun/light)
ammo_x_offset = 2
/obj/item/weapon/gun/energy/plasma/MP40k
name = "Plasma MP40k"
desc = "A plasma MP40k. Ich liebe den geruch von plasma am morgen."
icon_state = "PlasMP"
item_state = null
icon = 'icons/obj/guns/VGguns.dmi'
ammo_type = list(/obj/item/ammo_casing/energy/plasmagun/MP40k)
ammo_x_offset = 3
@@ -188,3 +188,5 @@
/obj/item/projectile/energy/tesla_revolver/Destroy()
qdel(chain)
return ..()
@@ -0,0 +1,15 @@
/obj/item/projectile/energy/buster
name = "buster shot"
icon_state = "buster"
nodamage = 0
damage = 20
damage_type = BURN
hitsound = 'sound/weapons/sear.ogg'
hitsound_wall = 'sound/weapons/effects/searwall.ogg'
icon = 'icons/obj/VGprojectile.dmi'
/obj/item/projectile/energy/megabuster
name = "buster pellet"
icon_state = "megabuster"
nodamage = 1
icon = 'icons/obj/VGprojectile.dmi'
@@ -0,0 +1,28 @@
obj/item/projectile/energy/plasmabolt
icon = 'icons/obj/VGProjectile.dmi'
name = "plasma bolt"
icon_state = "plasma"
weaken = 0
flag = "energy"
damage_type = BURN
hitsound = 'sound/weapons/sear.ogg'
hitsound_wall = 'sound/weapons/effects/searwall.ogg'
/obj/item/projectile/energy/plasmabolt/light
damage = 35
icon_state = "plasma2"
irradiate = 20
weaken = 3
/obj/item/projectile/energy/plasmabolt/rifle
damage = 50
icon_state = "plasma3"
irradiate = 35
weaken = 5
/obj/item/projectile/energy/plasmabolt/MP40k
damage = 35
eyeblur = 4
irradiate = 25
weaken = 4
icon_state = "plasma3"