Skip to content

Three‐layered cards

Oinite edited this page Sep 18, 2026 · 2 revisions

(feature from Cryptid)

To add a third layer to a center, define soul_pos.extra, a table with keys x and y, identical in use with pos and soul_pos:

SMODS.Joker {
  -- ...
  pos = {x = 0, y = 0},
  soul_pos = {
    x = 1, y = 0,
    extra = {x = 2, y = 0}
  }
  -- ...
}

This third layer is placed under the soul layer.

soul_extra_atlas can be used to define a separate atlas for the third layer. This parameter takes the key of an atlas, and is identical in functionality to soul_atlas.

Clone this wiki locally