Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
No idea exactly what is happening, I'm guessing some edge case weirdness caused by using "WardrobeWoman = WardrobeGeneric" as a definition within an array making it more like a pointer than a true copy of the object.
Just forgot to add that the formating in ahz_Distributions.lua, should be changed from:
table.insert(ProceduralDistributions.list.WardrobeWoman.items, "Base.ahzshortpleatedskirt");
table.insert(ProceduralDistributions.list.WardrobeWoman.items, 6);
to
table.insert(ProceduralDistributions.list["WardrobeGeneric"].items, "ahzclothing.ahzshortpleatedskirt");
table.insert(ProceduralDistributions.list["WardrobeGeneric"].items, 6);
If you are using note++ or VSD to edit the entries just use '.list.' and replace all to '.list["' and for the other end '.items,' to '"].items,' is easy.
Only WardrobeGeneric and WardrobeClassy exists, this will save you time once they remove this entry in the next updates as they have done so far for other older lists.
These should help you, to avoid the error seen on debugging logs, I would add the comments that are useful to your code to use later as a reminder
in lua "--"makes anything after a comment that will be ignored.
example:
on ahz_2ditems.txt and ahz_clothingitems.txt, add yourself a remainder to try or do later.
-- change module base to module ahzclothing and import Base instead.
--{
--Imports
-- {
-- Base
-- }
If the above change is done add on your ahz_Distributions.lua a comment to do it after the module name is changed:
-- replace "Base." for "ahzclothing." or its "name.", if "module Base" is changed.
You could use your mod name for your clothing instead of Base to avoid compatibility issues.
--module Base
module ahzclothing
{
Imports
{
Base
}
And on your ahz_Distributions.lua , you will need to change that "Base." to "ahzclothing." if you change your clothing name as above.
For your curent procesdural injection list, which is throwing the errors:
--WardrobeWoman
table.insert(ProceduralDistributions.list.WardrobeWoman.items, "Base.ahzshortpleatedskirt");
table.insert(ProceduralDistributions.list.WardrobeWoman.items, 6);
Use WardrobeGeneric instead of WardrobeWoman, reason is that WardrobeWoman does not exist as a distribution list on the base gam,e check ProceduralDistributions.lua for all the existing lists currently in the game.
You will find only the next 2 compatiblity entries that points to it.
WardrobeWoman = WardrobeGeneric or ,
WardrobeWomanClassy = WardrobeClassy,
And line 1 the object stack: require 'Items/ProceduralDistributions' .
Hopefully this is helpful!