Added world sprite system (#397)

* Added world sprite system

* Added important comment
This commit is contained in:
Tornado Tech
2024-08-20 01:41:56 +10:00
committed by GitHub
parent 34f90f1bce
commit f6d81c04c0
5 changed files with 114 additions and 1 deletions

View File

@@ -0,0 +1,31 @@
- type: entity
parent: BaseItem
id: CP14DebugWorldSprite
name: strange copper bar
suffix: CP, DEBUG
components:
# Just copy me, I am block with name Bob
- type: Appearance
- type: CP14WorldSprite
- type: GenericVisualizer
visuals:
enum.WorldSpriteVisualLayers.Layer:
world:
True:
visible: true
False:
visible: false
content:
True:
visible: false
False:
visible: true
# Just copy me, I am block with name Bob
- type: Sprite
sprite: /Textures/_CP14/Objects/Materials/copper_bar.rsi
layers:
- map: ["world"]
state: bar
- map: ["content"]
state: bar_2