From 9670037eae5899f6d384bdd64f855e599b6ff6e4 Mon Sep 17 00:00:00 2001 From: "Drew C." Date: Thu, 12 Mar 2026 18:19:51 -0500 Subject: [PATCH] Update README.md --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d24f374..3e46ba3 100644 --- a/README.md +++ b/README.md @@ -4,11 +4,11 @@ A powrprof.dll hook which adds custom Lua functions to Forces of Corruption. ## Usage -Drop powrprof.dll and MinHooks.x64.dll into the `/corruption/` folder of your Empire at War installation. +Drop powrprof.dll and MinHooks.x64.dll into the `/corruption` folder of your Empire at War installation. Works with both the debug kit `StarWarsI.exe` and client version `StarWarsG.exe` of the Steam version. Not supported on disc / GoG versions (sorry). -## Functions +## Global Functions - Global `WriteToFile(file, text)` - Appends a line of text specified file in the game directory. - Parameter `file` string - The file name to append. @@ -23,4 +23,8 @@ Not supported on disc / GoG versions (sorry). - Parameter `b` number? - The blue color component. Default: 1 - Parameter `a` number? - The alpha component. Default: 1 - Global `Remove_Tutorial_Text(key)` - Removes the line associated with the key. - - Parameter `key` string - The key used to identify the line when it was added. \ No newline at end of file + - Parameter `key` string - The key used to identify the line when it was added. + +## GameObjectTypeWrapper + +- `Get_Display_Name()` - Returns the localized text string display name of the object type. \ No newline at end of file