Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions SMODS.Center/SMODS.Consumable.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@
- Define custom logic for when a card is allowed to spawn. A card can spawn if `in_pool` returns true and all other checks are met.
- `allow_duplicates` allows this card to spawn when one already exists, even without Showman.
- When called from `generate_card_ui`, the `_append` key is passed as `args.source`.
- `can_sell(self, card, context)`
- Define additional custom logic for when your card is allowed to be sold. By default, the card is usually prevented from being sold during scoring or if it is eternal. If defined, can_sell is then also checked afterwards and if it returns false, the card can't be sold.
- `update(self, card, dt)`
- For actions that happen every frame.
- `set_sprites(self, card, front)`
Expand Down
2 changes: 2 additions & 0 deletions SMODS.Center/SMODS.Joker.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
- Define custom logic for when a card is allowed to spawn. A card can spawn if `in_pool` returns true and all other checks are met.
- `allow_duplicates` allows this card to spawn when one already exists, even without Showman.
- When called from `generate_card_ui`, the `_append` key is passed as `args.source`.
- `can_sell(self, card, context)`
- Define additional custom logic for when your card is allowed to be sold. By default, the card is usually prevented from being sold during scoring or if it is eternal. If defined, can_sell is then also checked afterwards and if it returns false, the card can't be sold.
- `update(self, card, dt)`
- For actions that happen every frame.
- `set_sprites(self, card, front)`
Expand Down