Lua Libraries for Civ5: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 2: Line 2:




== Data persistence ==
See also [[Persisting data (Civ5)]].
{| cellpadding="4"
{| cellpadding="4"
|-
|-
Line 10: Line 8:
!Description
!Description
|-
|-
|[http://forums.civfanatics.com/showthread.php?t=442249 TableSaverLoader]  
|[http://forums.civfanatics.com/showthread.php?t=474634 Border and Area Plot Iterators]
|''Pazyryk''
|''Whoward69''
|Saves a Lua table into a custom data table.
|Provides iterators to enumerate plots in a given range and in different orders.
|-
|valign="top" |[http://forums.civfanatics.com/showthread.php?p=11394279#post11394279 Modular Diplo Corner]
|valign="top" |''Whoward69''
|Provides a non-conflicting way for mods to register themselves in the diplo corner menu. While G&K now offers a similar functionality this mod prevents compatibility issues with both updated and outdated mods.
|-
|-
|[http://forums.civfanatics.com/showthread.php?t=392958 SaveUtils]  
|[http://forums.civfanatics.com/showthread.php?t=392958 SaveUtils]  
|''Whys''
|''Whys''
|Wrappers around the SetScriptData methods (partially deprecated) for conveniency purpose and mods conflicts prevention.
|Wrappers around the SetScriptData methods (partially deprecated) for conveniency purpose and mods conflicts prevention. See also [[Persisting data (Civ5)]].
|-
|[http://forums.civfanatics.com/showthread.php?t=442249 TableSaverLoader]
|''Pazyryk''
|Saves a Lua table into a custom data table. See also [[Persisting data (Civ5)]].
|}
|}




[[Category:Civ5 API]]
[[Category:Civ5 API]]

Revision as of 15:08, 22 September 2012

This page is a part of the Lua and UI Reference.


Name Author Description
Border and Area Plot Iterators Whoward69 Provides iterators to enumerate plots in a given range and in different orders.
Modular Diplo Corner Whoward69 Provides a non-conflicting way for mods to register themselves in the diplo corner menu. While G&K now offers a similar functionality this mod prevents compatibility issues with both updated and outdated mods.
SaveUtils Whys Wrappers around the SetScriptData methods (partially deprecated) for conveniency purpose and mods conflicts prevention. See also Persisting data (Civ5).
TableSaverLoader Pazyryk Saves a Lua table into a custom data table. See also Persisting data (Civ5).