Nuke fancification (#25297)

Actually use more icon states for deployed/armed/about to explode

Also unlit layer.

Also examine text
This commit is contained in:
Pieter-Jan Briers
2024-02-16 01:26:45 +01:00
committed by GitHub
parent 7e44c50d19
commit 3a45d519dc
9 changed files with 83 additions and 0 deletions

View File

@@ -41,3 +41,7 @@ nuke-codes-fax-paper-name = nuclear authentication codes
# Nuke disk slot
nuke-slot-component-slot-name-disk = Disk
## Examine
nuke-examine-armed = Hey uh, why's that [color=red]red light[/color] blinking?
nuke-examine-exploding = Yeah... I think it's too late buddy.

View File

@@ -11,6 +11,11 @@
noRot: true
layers:
- state: nuclearbomb_base
map: ["enum.NukeVisualLayers.Base"]
- state: nuclearbomb_deployed_unlit
map: ["enum.NukeVisualLayers.Unlit"]
shader: unshaded
visible: false
- state: nukefestive
map: ["christmas"]
visible: false
@@ -24,6 +29,18 @@
enum.HolidayVisuals.Holiday:
christmas:
festive: { visible: true }
enum.NukeVisuals.Deployed:
enum.NukeVisualLayers.Base:
False: { state: nuclearbomb_base }
True: { state: nuclearbomb_deployed }
enum.NukeVisualLayers.Unlit:
True: { visible: true }
False: { visible: false }
enum.NukeVisuals.State:
enum.NukeVisualLayers.Unlit:
Idle: { state: nuclearbomb_deployed_unlit }
Armed: { state: nuclearbomb_timing }
YoureFucked: { state: nuclearbomb_exploding }
- type: Physics
bodyType: Static
- type: Fixtures

View File

@@ -10,6 +10,9 @@
{
"name": "nuclearbomb_deployed"
},
{
"name": "nuclearbomb_deployed_unlit"
},
{
"name": "nukefestive",
"delays": [

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 366 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 113 B