Adds two away missions ghost roles (#7450)

This commit is contained in:
Alberyk
2019-11-21 16:55:59 -03:00
committed by Werner
parent a60804c24f
commit beb35d6fd3
29 changed files with 571 additions and 342 deletions

View File

@@ -4,6 +4,7 @@
icon_state = "cannon"
item_state = "cannon"
caliber = "cannon"
w_class = ITEMSIZE_LARGE
origin_tech = list(TECH_COMBAT = 3, TECH_MATERIAL = 3)
load_method = SINGLE_CASING
handle_casings = DELETE_CASINGS
@@ -29,6 +30,49 @@
/obj/item/gun/projectile/cannon/special_check(mob/user)
if(!wielded)
to_chat(user, "<span class='warning'>You can't fire without stabilizing \the [src]!</span>")
return 0
return ..()
/obj/item/gun/projectile/nuke
name = "nuclear launcher"
desc = "A launcher weapon designated to fire miniaturized nuclear warheads."
icon_state = "blockbuster"
item_state = "blockbuster"
caliber = "nuke"
w_class = ITEMSIZE_LARGE
origin_tech = list(TECH_COMBAT = 5, TECH_MATERIAL = 4)
load_method = MAGAZINE
handle_casings = DELETE_CASINGS
slot_flags = SLOT_BACK
magazine_type = /obj/item/ammo_magazine/nuke
allowed_magazines = list(/obj/item/ammo_magazine/nuke)
fire_delay = 40
fire_sound = 'sound/weapons/empty.ogg'
recoil = 4
auto_eject = TRUE
is_wieldable = TRUE
description_fluff = "The People's Republic of Adhomai is the only Adhomian faction able to master the nuclear fission. Atomic weapons were used before in the tajaran civil war, \
causing the annihilation of the military base of Quizosa. The nuclear launcher was created by republican scientists as way to deploy this destructive force while on the field."
/obj/item/gun/projectile/nuke/update_icon()
if(ammo_magazine)
icon_state = "blockbuster-[(ammo_magazine.stored_ammo.len)]"
else
icon_state = "blockbuster-0"
if(wielded)
item_state = "blockbuster-wielded"
else
item_state = "blockbuster"
update_held_icon()
/obj/item/gun/projectile/nuke/special_check(mob/user)
if(!wielded)
to_chat(user, "<span class='warning'>You can't fire without stabilizing \the [src]!</span>")
return 0

View File

@@ -137,7 +137,7 @@
name = ".50 magnum pistol"
desc = "A robust handgun that uses .50 AE ammo."
icon_state = "deagle"
force = 14.0
force = 10
accuracy = 1
caliber = ".50"
load_method = MAGAZINE
@@ -153,6 +153,11 @@
else
icon_state = "[initial(icon_state)]-e"
/obj/item/gun/projectile/deagle/adhomai
name = "adhomian heavy pistol"
desc = "A bulk handgun used by republican commissars and high-ranking members of the Hadiist Party."
icon_state = "adhomian_heavy_pistol"
/obj/item/gun/projectile/gyropistol
name = "gyrojet pistol"
desc = "A bulky pistol designed to fire self propelled rounds"
@@ -316,7 +321,7 @@
/obj/item/gun/projectile/pistol/adhomai
name = "adhomian service pistol"
desc = "The Adar'Mazy pistol is an adhomian firearm commonly issued to People's Republic officers, government officials and political commissars."
desc = "The Adar'Mazy pistol is an adhomian firearm commonly issued to People's Republic officers, government officials and low-ranking Party members."
icon_state = "adhomian_pistol"
item_state = "pistol"
can_silence = FALSE

View File

@@ -3,7 +3,7 @@
desc = "A marvel of Elyran weapons technology which utilizes superheated plasma to pierce thick armor with gruesome results."
icon_state = "slammer"
item_state = "slammer"
w_class = 3
w_class = ITEMSIZE_LARGE
origin_tech = list(TECH_COMBAT = 3, TECH_MATERIAL = 3)
ammo_type = /obj/item/ammo_casing/plasma_slug
magazine_type = /obj/item/ammo_magazine/plasma
@@ -27,7 +27,7 @@
desc = "A miniaturized, less efficient version of the infamous plasma slammer. Sacrifices much of its power for a more compact frame."
icon_state = "bolter"
item_state = "bolter"
w_class = 2
w_class = ITEMSIZE_NORMAL
ammo_type = /obj/item/ammo_casing/plasma_bolt
magazine_type = /obj/item/ammo_magazine/plasma/light
allowed_magazines = list(/obj/item/ammo_magazine/plasma/light)

View File

@@ -119,7 +119,7 @@
/obj/item/gun/projectile/dragunov
name = "antique sniper rifle"
desc = "An old Dragunov semi-automatic marksman rifle. Smells of vodka and Communism. Uses 7.62mm rounds."
desc = "An old semi-automatic marksman rifle. Uses 7.62mm rounds."
icon_state = "dragunov"
item_state = "dragunov"
w_class = 4