mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-20 20:37:34 +01:00
Ship Weapon Barrels Fixes (#15191)
This commit is contained in:
@@ -257,8 +257,8 @@
|
||||
//The fake objects below handle things like density/opaqueness for empty tiles, since the icons for guns are larger than 32x32.
|
||||
//What kind of dinky ass gun is only 32x32?
|
||||
/obj/structure/ship_weapon_dummy
|
||||
name = "ship weapon"
|
||||
icon = 'icons/obj/machines/ship_guns/ship_weapon_attachments.dmi'
|
||||
name = "ship weapon dummy"
|
||||
icon = 'icons/obj/machines/ship_guns/ship_weapon_dummy.dmi'
|
||||
icon_state = "dummy"
|
||||
mouse_opacity = 2
|
||||
layer = OBJ_LAYER+0.1 //Higher than the gun itself.
|
||||
@@ -270,7 +270,7 @@
|
||||
var/is_barrel = FALSE //Ammo spawns in front of THIS dummy.
|
||||
|
||||
/obj/structure/ship_weapon_dummy/Initialize(mapload)
|
||||
icon_state = "dummy_inv"
|
||||
icon_state = null
|
||||
. = ..()
|
||||
|
||||
/obj/structure/ship_weapon_dummy/examine(mob/user)
|
||||
@@ -312,6 +312,15 @@
|
||||
if(!SD.connected)
|
||||
SD.connect(SW)
|
||||
|
||||
// Ship Weapon Barrel Dummy
|
||||
/obj/structure/ship_weapon_dummy/barrel
|
||||
name = "ship weapon barrel dummy"
|
||||
icon_state = "dummy_barrel"
|
||||
is_barrel = TRUE
|
||||
|
||||
// ^^
|
||||
// Cardinal variants of the "ship weapon barrel dummy" intentionally left out since ship guns only face south and thus only fire south.
|
||||
|
||||
/obj/machinery/computer/ship/targeting
|
||||
name = "targeting systems console"
|
||||
desc = "A targeting systems console using Zavodskoi software."
|
||||
|
||||
Reference in New Issue
Block a user