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
I'm also here to say I'm working on a new mod that combines this mod, my cold medicine mod, and a couple new features into what I believe should be in the game already for realism. I don't know when it'll be done, but I've already made the changes to this code in the new files. Eager to test them out and play around with more code. Thanks again y'all!
A syntax error in your Lua code causes it. It even says exactly what's the issue: you have extraneous colon after declaring "local inv".
I can tell it's meant to be a semicolon. Except in Lua you don't need them altogether. And that code just seems to add an extra bag when you open a pack? Looks like you don't need the whole file, and you can remove the "OnCreate" fields from the recipes.