Skip to content

Update to CYF v0.6.3!

Latest
Compare
Choose a tag to compare
@Eir-nya Eir-nya released this 19 Sep 00:47

Changes

  • Added wrapper.WrapFile for the new File object in CYF v0.6.3

  • Updated existing properties and functions to match CYF v0.6.3, and added new properties and functions that were added

    • Among these, I added an exception for Misc.OpenFIle so that if a new bool wrapper.autoWrapFile is true, upon calling Misc.OpenFile you will be given a wrapped File object
  • Fixed an error that occurs when you wrap an object but don't give a custom override table, such as by doing wrapper.WrapMisc()

  • Fixed all strange isCYF checks that also checked for Encounter because I was dumb and thought isCYF only existed in the Encounter script but it exists in all scripts actually >w>

Installation

Download userdataWrapper.lua, place it in YOUR MOD/Lua/Libraries and load it in any desired files with

wrapper = require "Libraries/userdataWrapper"