Expanding Functionality of SMODS.Rank + SMODS.Suit #357
GauntletGames-2086
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, both SMODS.Rank and SMODS.Suit are limited to only functioning as a basic playing card. This is fine if the goal is to make a new suit or rank identical in function, but if you want these ranks or suits to have special mechanics you have to manually implement them yourself. This can get complicated due to how playing card API is designed, and can introduce patch conflicts with multiple mods adding their own implementation.
There was a step forward with the addition of
loc_vars
but there's some limitations (it doesn't account for Wild Card or enhancements withany_suit
), and giving suits/ranks "abilities" would ideally require other functions to work (such asset_base
,calculate
, etc.). This post is meant to discuss what functions should be added + implementation requirements.Beta Was this translation helpful? Give feedback.
All reactions