mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-03 14:03:25 +00:00
Woodrat breaks map stuff
Added SC map files for further work. Including hopefully all the related files. New airlock sprite thanks to Virgo, with a alternate non-see through sprite. Changes to the space and transit tiles (ported from bay). Changes done to the NC map that should bring it more up to date with changes (shield defuse stuff and minor bug fixes)
This commit is contained in:
@@ -29,21 +29,22 @@
|
||||
lazors++
|
||||
if (istype(G, /obj/item/weapon/gun/projectile/))
|
||||
shottas++
|
||||
if (lazors || shottas)
|
||||
for (var/i = 0 to 2)
|
||||
for (var/i = 0 to 2)
|
||||
if(lazors || shottas) // only make icons if we have one of the two types.
|
||||
var/image/gun = image(icon(src.icon))
|
||||
|
||||
if (lazors > 0 && (shottas <= 0 || prob(50)))
|
||||
if (lazors > shottas)
|
||||
lazors--
|
||||
gun.icon_state = "laser"
|
||||
else if (shottas > 0)
|
||||
else if (shottas)
|
||||
shottas--
|
||||
gun.icon_state = "projectile"
|
||||
|
||||
gun.pixel_x = i*4
|
||||
overlays += gun
|
||||
|
||||
overlays += icon(src.icon,"door")
|
||||
overlays += icon(src.icon, "door")
|
||||
|
||||
if(welded)
|
||||
overlays += icon(src.icon,"welded")
|
||||
|
||||
if(broken)
|
||||
overlays += icon(src.icon,"broken")
|
||||
@@ -51,3 +52,4 @@
|
||||
overlays += icon(src.icon,"locked")
|
||||
else
|
||||
overlays += icon(src.icon,"open")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user