-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
895 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
{ | ||
"definitions": [ | ||
{ | ||
"type": "/turf/simulated/floor/plating", | ||
"vars": { | ||
"layer": 1.98 | ||
} | ||
}, | ||
{ | ||
"type": "/obj/machinery/navbeacon", | ||
"vars": { | ||
"layer": 1.988 | ||
} | ||
}, | ||
{ | ||
"type": "/obj/structure/disposalpipe", | ||
"vars": { | ||
"layer": 1.99 | ||
} | ||
}, | ||
{ | ||
"type": "/obj/machinery/atmospherics/pipe/simple/hidden", | ||
"vars": { | ||
"layer": 1.999, | ||
"alpha": 255 | ||
} | ||
}, | ||
{ | ||
"type": "/obj/machinery/atmospherics/pipe/manifold/hidden", | ||
"vars": { | ||
"layer": 1.999, | ||
"alpha": 255 | ||
} | ||
}, | ||
{ | ||
"type": "/obj/machinery/atmospherics/pipe/manifold4w/hidden", | ||
"vars": { | ||
"layer": 1.999, | ||
"alpha": 255 | ||
} | ||
}, | ||
{ | ||
"type": "/obj/structure/cable", | ||
"vars": { | ||
"layer": 1.9999 | ||
} | ||
}, | ||
{ | ||
"type": "/obj/machinery/atmospherics/components/unary/vent_scrubber/on", | ||
"vars": { | ||
"icon_state": "{text}on" | ||
} | ||
}, | ||
{ | ||
"type": "/obj/machinery/atmospherics/components/unary/vent_pump/on", | ||
"vars": { | ||
"icon_state": "{text}out" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
render/src/main/resources/scripts/adjust_window_color.var.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
if (!src.isType('/obj/structure/window') && !src.isType('/obj/machinery/door/window')) | ||
return | ||
|
||
def currentArea = dmm.getTile(src.x, src.y).getArea() | ||
def colored = false | ||
|
||
areaColorsLists.each { areaColorList -> | ||
if (colored) return | ||
areaColorList.each { areaList, color -> | ||
if (colored) return | ||
if (currentArea.type in areaList) { | ||
src.color = color | ||
colored = true | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
render/src/main/resources/scripts/airlock_overlay.img.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
if (!src.isType('/obj/machinery/door/airlock')) | ||
return sprite | ||
|
||
def filling_overlay | ||
|
||
if (src.inner_material) { | ||
filling_overlay = getCachedDmi(src.overlays_file).getSprite("${src.inner_material}_closed") | ||
} else { | ||
filling_overlay = getCachedDmi(src.icon).getSprite('fill_closed') | ||
} | ||
|
||
if (filling_overlay) { | ||
sprite.graphics.with { | ||
drawImage(filling_overlay, 0, 0, null) | ||
dispose() | ||
} | ||
} | ||
|
||
return sprite |
Oops, something went wrong.