David Cernat
dce2d3a0ef
[Utils] Add isEqualTo() method to tableHelper
2018-10-08 19:26:28 +03:00
David Cernat
92ddc00176
[General] Rename confusing method in tableHelper
2018-10-08 17:13:41 +03:00
David Cernat
4caa3a8233
[Utils] Add getArrayOverlap() method to tableHelper
2018-08-26 04:54:02 +03:00
David Cernat
c661e55c01
[Utils] Add getArrayFromIndexes() method to tableHelper
2018-08-24 09:32:41 +03:00
David Cernat
818bc1d9eb
[Utils] Make tableHelper.getIndexByValue() return nil for missing values
2018-08-24 04:36:01 +03:00
David Cernat
9856ddbd2b
[Utils] Make inventoryHelper.removeItem return affected item
...
Additionally, don't clean nils inside it, as that just makes it a slower method.
2018-08-24 04:35:18 +03:00
David Cernat
41432f398b
[Utils] Add getIndexByValue() method to tableHelper
2018-08-21 12:20:19 +03:00
David Cernat
673637320b
[Utils] Add removeItem() method to inventoryHelper
2018-08-21 10:13:15 +03:00
David Cernat
0858eef3c1
[Utils] Revise commaSplit pattern so it ignores spaces after commas
2018-07-29 03:36:06 +03:00
David Cernat
5e187b5c5f
[Utils] Fix commaSplit pattern that was erroneously accepting spaces too
2018-07-28 11:31:43 +03:00
David Cernat
3431a44b16
[Utils] Add getSimplePrintableTable() method to tableHelper
2018-07-28 11:26:48 +03:00
David Cernat
2e3617ee2c
[Utils] Rework printing methods in tableHelper for custom indentation
2018-07-28 05:48:20 +03:00
David Cernat
e3059b99a6
[Utils] Split up tableHelper.print() into getPrintableTable() & print()
2018-07-28 05:00:13 +03:00
David Cernat
37434dce53
[Utils] Fix small issues in tableHelper
...
getTableFromCommaSplit() now uses the correct patterns table again.
concatenateArrayValues() now uses a value of 1 for startIndex if startIndex is nil.
2018-07-28 04:11:55 +03:00
David Cernat
14b1f4ee17
[Utils] Rework inventoryHelper so it accounts for item souls
...
Additionally, clean up the structure of its methods.
2018-07-27 06:18:37 +03:00
David Cernat
1dd45945d6
[TableHelper] Raise log level used for tableHelper.print()
2018-07-17 23:42:53 +03:00
David Cernat
fc9d803d99
[General] Remove unnecessary semicolons for consistency
2018-07-07 13:27:15 +03:00
David Cernat
9071d891c1
[Utils] Use delimiter argument in tableHelper.concatenateTableIndexes()
2018-05-26 04:21:45 +03:00
David Cernat
26f39bb7f1
[Utils] Use clearer method name for concatenating values in tableHelper
...
The previous name can still be used, but should be regarded as deprecated.
2018-05-12 05:55:44 +03:00
David Cernat
e6c84aca15
[Utils] Add concatenateTableIndexes method to tableHelper
2018-05-12 05:47:31 +03:00
David Cernat
1efe8e8efd
[Utils] Add inventoryHelper.addItem() method and use it in menuHelper
2018-03-26 19:44:26 +03:00
David Cernat
cbd2c1d739
[Utils] Add optional enchantmentCharge arg to inventoryHelper methods
2018-03-26 19:40:55 +03:00
David Cernat and GitHub
fac0536d6a
Merge pull request #33 from TES3MP/0.6.2
...
Add 0.6.2 commits up to 9 March 2018
2018-03-09 19:33:34 +02:00
David Cernat
8da243efe4
[Utils] Make charge argument optional in inventoryHelper
2018-03-03 03:30:46 +02:00
David Cernat
83271ffd0f
[Utils] Replace periods in filenames in fileHelper.fixFilename()
2018-02-14 01:58:00 +02:00
David Cernat
c439ece04f
[General] Kick players when their JSON files are not created correctly
...
There are various operating system quirks preventing this from working in all scenarios, but it is an improvement over the previous potential for crashes.
2018-02-14 01:44:57 +02:00
David Cernat
bc5b2c4470
[General] Fix player and cell filenames using fileHelper
2018-02-13 17:24:36 +02:00
David Cernat
6f9da50a4a
[Utils] Create new fileHelper utility script
2018-02-13 17:23:26 +02:00
David Cernat
45e22617d4
[Utils] Move patterns to the lib folder
2018-02-13 17:21:06 +02:00
David Cernat
feab0e5c35
[Utils] Add getAnyValue method to tableHelper
2018-02-10 05:33:27 +02:00
David Cernat
5b01744c04
[Utils] Fix logic problem in tableHelper.fixNumericalKeys()
2018-01-09 18:22:40 +02:00
David Cernat
c0f33e99e9
[Utils] Fix typo in tableHelper.print()
2018-01-09 18:16:00 +02:00
David Cernat
219518959e
[Utils] Fix typo in tableHelper.concatenateFromIndex() & cleanup merge()
2018-01-05 00:34:31 +02:00
David Cernat
66333c0d84
[Utils] Add fixZeroStart argument to tableHelper's fixNumericalKeys()
2018-01-04 21:54:39 +02:00
David Cernat
249a3c8881
[Utils] Bring tableHelper in line with the one from 0.7
2018-01-04 11:25:53 +02:00
David Cernat
29e2aa78b9
[Utils] Add getUnusedNumericalIndex method to tableHelper
2017-12-30 23:44:39 +02:00
David Cernat
eadcec91be
[Utils] Add prefixZeroes method
2017-11-03 19:11:12 +02:00
David Cernat
bfac8f6c49
[Utils] Add delimiter argument to tableHelper's concatenateFromIndex()
2017-11-02 00:31:46 +02:00
David Cernat
ef9d4b8b08
[Commands] Fix arguments for commands that were hastily added
2017-08-01 02:03:42 +03:00
David Cernat
1d92fd7d98
[General] Fix removal of player spells and container items
2017-05-17 14:38:54 +03:00
David Cernat
c7f28c0271
[Utils] Add tableHelper.getCount() and tableHelper.usesNumericalValues()
2017-05-09 05:49:23 +03:00
David Cernat
d772113c18
[Utils] Add tableHelper.cleanNils() for numerical arrays
2017-05-06 07:19:15 +03:00
David Cernat
31df4d0e5f
[General] Fix cell change logic slightly and remove unnecessary spaces
2017-05-06 03:08:40 +03:00
David Cernat
ca8b594f75
[Utils] Add inventoryHelper class
2017-04-26 21:20:15 +03:00
David Cernat
abdf118918
[Utils] Add tableHelper.getIndexByNestedKeyValue()
2017-04-26 20:22:57 +03:00
David Cernat
76c3e43525
[Utils] Add tableHelper.isEmpty()
2017-04-26 19:16:18 +03:00
David Cernat
61c9e2d427
[Utils] Add tableHelper.insertValueIfMissing()
2017-04-26 18:49:03 +03:00
David Cernat
5cda17d38e
[Player] Save root player table keys in a certain order
2017-04-26 16:10:50 +03:00
David Cernat
5f13091161
[Utils] In tableHelper.usesNumericalKeys() return false for empty tables
2017-04-04 02:21:38 +03:00
David Cernat
e698460845
[General] Use tes3mp.LogMessage() instead of print()
2017-04-04 02:01:40 +03:00