* god rays

* fix

* fix?
This commit is contained in:
Red
2025-09-27 22:14:11 +03:00
committed by GitHub
parent ec4a9a59cf
commit 51a3fb53aa
22 changed files with 358 additions and 60 deletions

View File

@@ -1,8 +1,8 @@
[whitelist]
enabled = true
[localization]
language = "en-US"
[loc]
server_language = "en-US"
[log]
path = "logs"

View File

@@ -0,0 +1,32 @@
- type: entity
id: CP14GodRays
categories: [ ForkFiltered ]
name: god rays
components:
- type: Sprite
sprite: _CP14/Effects/god_rays.rsi
drawdepth: Mobs
noRot: true
offset: -0.25, 1.5
layers:
- state: ray
shader: unshaded
- type: CP14SyncColorWithMapLight
- type: PointLight
enabled: true
energy: 1
radius: 5
netsync: true
- type: LightBehaviour
behaviours:
- !type:PulseBehaviour
interpolate: Cubic
maxDuration: 14
startValue: 0.5
endValue: 1.0
property: Energy
isLooped: true
enabled: true
- type: Tag
tags:
- HideContextMenu

View File

@@ -0,0 +1,37 @@
- type: entity
id: CP14RoofMarker
name: Roof enable Marker
categories: [ ForkFiltered ]
parent: MarkerBase
components:
- type: SetRoof
value: true
- type: Sprite
layers:
- state: green
shader: unshaded
- type: entity
id: CP14NoRoofMarker
name: Roof disable Marker
categories: [ ForkFiltered ]
parent: MarkerBase
components:
- type: SetRoof
value: false
- type: Sprite
layers:
- state: red
shader: unshaded
- type: entity
parent: CP14NoRoofMarker
id: CP14NoRoofMarkerGodRays
suffix: God Rays (5%)
components:
- type: RandomSpawner
prototypes:
- CP14GodRays
chance: 0.05
deleteSpawnerAfterSpawn: false

View File

@@ -5,7 +5,7 @@
sprite: _CP14/Interface/Misc/demiplane_locations.rsi
state: caves
levels:
min: 1
min: 0
max: 2
locationConfig: CP14Caves
tags:
@@ -14,6 +14,12 @@
components:
- type: Biome
template: CP14CavesIndestructibleFill
- type: Roof
- type: CP14SetGridRooved
- type: SunShadow
- type: SunShadowCycle
- type: MapLight
ambientLightColor: "#BFEEFFFF"
- type: dungeonConfig
id: CP14Caves

View File

@@ -15,6 +15,12 @@
components:
- type: Biome
template: CP14IceChasmFill
- type: Roof
- type: CP14SetGridRooved
- type: SunShadow
- type: SunShadowCycle
- type: MapLight
ambientLightColor: "#BFEEFFFF"
- type: dungeonConfig
id: CP14IceCaves

View File

@@ -15,6 +15,12 @@
components:
- type: Biome
template: CP14LavaOceanFill
- type: Roof
- type: CP14SetGridRooved
- type: SunShadow
- type: SunShadowCycle
- type: MapLight
ambientLightColor: "#BFEEFFFF"
- type: dungeonConfig
id: CP14MagmaCaves

View File

@@ -15,6 +15,12 @@
components:
- type: Biome
template: CP14ChasmFill
- type: Roof
- type: CP14SetGridRooved
- type: SunShadow
- type: SunShadowCycle
- type: MapLight
ambientLightColor: "#BFEEFFFF"
- type: dungeonConfig
id: CP14MushroomCaves

View File

@@ -17,6 +17,12 @@
components:
- type: Biome
template: CP14CavesIndestructibleFill
- type: Roof
- type: CP14SetGridRooved
- type: SunShadow
- type: SunShadowCycle
- type: MapLight
ambientLightColor: "#BFEEFFFF"
- type: dungeonConfig
id: CP14SwampGeode

View File

@@ -14,14 +14,14 @@
- CP14DemiplaneOpenSky
- CP14DemiplanePeacefulAnimals
components:
- type: Biome
template: CP14SandOceanFill
- type: Roof
- type: SunShadow
- type: SunShadowCycle
- type: MapLight
ambientLightColor: "#BFEEFFFF"
- type: CP14CloudShadows
- type: Biome
template: CP14SandOceanFill
- type: SunShadow
- type: SunShadowCycle
- type: Roof
- type: dungeonConfig
id: CP14GrasslandIsland

View File

@@ -11,42 +11,6 @@
- type: MapLight
ambientLightColor: "#000000"
- type: cp14LocationModifier
id: MapLightDarkRed
levels:
min: 3
max: 10
categories:
MapLight: 1
name: cp14-modifier-night
components:
- type: MapLight
ambientLightColor: "#0f0104"
- type: cp14LocationModifier
id: MapLightDarkPurple
levels:
min: 1
max: 10
categories:
MapLight: 1
name: cp14-modifier-night
components:
- type: MapLight
ambientLightColor: "#09010f"
- type: cp14LocationModifier
id: MapLightDarkGreen
levels:
min: 1
max: 10
categories:
MapLight: 1
name: cp14-modifier-night
components:
- type: MapLight
ambientLightColor: "#000502"
- type: cp14LocationModifier
id: MapLightDarkNight
levels:
@@ -69,8 +33,6 @@
categories:
MapLight: 1
generationWeight: 2
requiredTags:
- CP14DemiplaneOpenSky
components:
- type: LightCycle
@@ -83,7 +45,6 @@
MapLight: 1
generationWeight: 2
requiredTags:
- CP14DemiplaneOpenSky
- CP14DemiplaneCold
components:
- type: LightCycle
@@ -99,7 +60,6 @@
categories:
MapLight: 1
requiredTags:
- CP14DemiplaneOpenSky
- CP14DemiplaneHot
components:
- type: LightCycle
@@ -115,7 +75,6 @@
categories:
MapLight: 1
requiredTags:
- CP14DemiplaneOpenSky
- CP14DemiplaneHot
components:
- type: LightCycle
@@ -123,3 +82,19 @@
- type: MapLight
ambientLightColor: "#d68787"
- type: cp14LocationModifier
id: CavesRoofHoles
levels:
min: 0
max: 10
generationProb: 0.8
categories:
MapLight: 0
requiredTags:
- CP14DemiplaneUnderground
layers:
- !type:CP14OreDunGen
entity: CP14NoRoofMarkerGodRays
count: 15
minGroupSize: 10
maxGroupSize: 30

View File

@@ -14,6 +14,8 @@
max: 10
categories:
Weather: 1
requiredTags:
- CP14DemiplaneOpenSky
components:
- type: CP14WeatherController
entries:
@@ -26,8 +28,6 @@
max: 10
categories:
Weather: 1
requiredTags:
- CP14DemiplaneOpenSky
components:
- type: CP14WeatherController
entries:
@@ -48,8 +48,6 @@
name: cp14-modifier-storm
categories:
Weather: 1
requiredTags:
- CP14DemiplaneOpenSky
components:
- type: CP14WeatherController
entries:
@@ -124,6 +122,8 @@
- type: CP14WeatherController
entries:
- visuals: CP14ManaMist
requiredTags:
- CP14DemiplaneOpenSky
layers:
- !type:CP14RoomsDunGen
count: 8
@@ -142,6 +142,8 @@
- type: CP14WeatherController
entries:
- visuals: CP14AntiManaMist
requiredTags:
- CP14DemiplaneOpenSky
layers:
- !type:CP14RoomsDunGen
count: 8
@@ -156,6 +158,7 @@
max: 10
requiredTags:
- CP14DemiplaneHot
- CP14DemiplaneOpenSky
categories:
Weather: 1
components:

View File

@@ -20,5 +20,5 @@
id: CP14CarcatHues
strategy: !type:ClampedHsvColoration
hue: [0.05, 0.10]
saturation: [0.15, 0.35]
saturation: [0.15, 0.7]
value: [0.25, 0.95]

View File

@@ -0,0 +1,95 @@
{
"version": 1,
"size": {
"x": 58,
"y": 100
},
"license": "CC-BY-SA-3.0",
"copyright": "Created by TheShuEd",
"states": [
{
"name": "ray",
"delays": [
[
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
0.12,
5.12
]
]
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB