Skip to content

who knows how to connect inhand sprites in meta.json and yml? #33601

Closed Answered by MilenVolf
onesch asked this question in Questions
Discussion options

You must be logged in to vote

Currently burnt sprite is not used anywhere
We have FloodlightBroken that located in the same file, just a little bit below
Resources/Prototypes/Entities/Objects/Misc/fluff_lights.yml#L243

If you want to use inhand sprites for it, just use something like this:

  - type: Item
    sprite: Objects/Misc/Lights/lights.rsi # Here we locating the folder with inhand sprites

If you need to use custom prefix (for example: we have floodlight-broken-inhand-left.png and floodlight-broken-inhand-right.png) , you can do something like this:

  - type: Item
    sprite: Objects/Misc/Lights/lights.rsi # Here we locating the folder with inhand sprites
    heldPrefix: floodlight-broken # Here we specifying th…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@onesch
Comment options

@muburu
Comment options

@MilenVolf
Comment options

@MilenVolf
Comment options

@onesch
Comment options

Answer selected by onesch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants