Manual:Modding Notes and Information

New Modding Guide
Due to modding scene's continued evolution and need for an open space to collect and share information, this new resource has been created. Please feel free to add and expand this page with any bits of code that you find interesting or useful.

For code excerpts, please use the "Insert Code Block" function of the wiki and set it to the correct language (Lua, XML, etc.).

There is a full modding guide now on the wiki. Please add your code to this page: Manual:Modding Guide

Base Game Functions and Effects
These are functions and calls you can use in your mod without any additional add-on mods.


 *  Adding a card to the player's deck that doesn't go away after a fight ends (Credit to Lea on the OSFE Discord): 


 *  Removing a card from the player's deck (Credit to Lea on the OSFE Discord): 

The card will still be usable until the fight ends or the next fight starts, so you have to give a self removing spell consume so it can only ever be used once. Remove the "return" if you want to remove all copies of a spell from the deck instead of just 1.


 *  Making a being turn around visually (Credit to Lea on the OSFE Discord) 

The card will still be usable until the fight ends or the next fight starts, so you have to give a self removing spell consume so it can only ever be used once. Remove the "return" if you want to remove all copies of a spell from the deck instead of just 1.


 *  Cast a spell by name through Lua: 


 *  Custom Voice Bubble Text: 

Functions and Effects that require More Powerful Lua
Items listed below will not work without the More Powerful Lua library mod created by Golden Epsilon.