ricky-davis / cozyimprovements Goto Github PK
View Code? Open in Web Editor NEWLethal Company mod that adds some lighting features to the inside of the ship for use with Cozy Lights
Lethal Company mod that adds some lighting features to the inside of the ship for use with Cozy Lights
it doesn't work for my friend when he enters my lobby, when I enter his lobby it doesn't work for me (we both use the mod)
I tried to do this myself but I have no idea what I am doing when it comes to the coding part.
Edit: Managed to figure it out, largely in part to your code though. :D
https://thunderstore.io/c/lethal-company/p/DeathWrench/ScaleableTelevision/
When used together with LethalAutocomplete (https://thunderstore.io/c/lethal-company/p/red_eye/LethalAutocomplete/) this mod will not work, and also all items in the ship disappear for some reason.
I found this error in the log file, I think your mod sends the moons command to the terminal when starting a lobby, correct? Maybe it has something to do with that.
[Info : Unity Log] 3 -- TerminalScript
[Info :Lethal Autocomplete] OnTerminalTextChanged
[Message:Lethal Autocomplete] INPUT:
[Message:Lethal Autocomplete] LAST:
[Message:Lethal Autocomplete] Text submitted: moons Node Returned: MoonsCatalogue (TerminalNode)
[Info :Lethal Autocomplete] >> WARNING! ResetAutocomplete!
[Info :PlayerMapNumbers] TerminalParsePlayerSentence patch run
[Info : Unity Log] isDemo:False ; False
[Info : Unity Log] isDemo:False ; False
[Info : Unity Log] isDemo:False ; False
[Info : Unity Log] isDemo:False ; False
[Info : Unity Log] isDemo:False ; False
[Info : Unity Log] isDemo:False ; False
[Info : Unity Log] isDemo:False ; True
[Info : Unity Log] isDemo:False ; True
[Info :Lethal Autocomplete] OnTerminalTextChanged
[Error : Unity Log] ArgumentOutOfRangeException: StartIndex cannot be less than zero.
Parameter name: startIndex
Stack trace:
System.String.Substring (System.Int32 startIndex, System.Int32 length) (at <787acc3c9a4c471ba7d971300105af24>:0)
System.String.Substring (System.Int32 startIndex) (at <787acc3c9a4c471ba7d971300105af24>:0)
TerminalApi.TerminalApi.GetTerminalInput () (at <412e2ee6b60746158df5e614e6c3d498>:0)
LethalAutocomplete.Plugin.OnTerminalTextChanged (System.Object sender, TerminalApi.Events.Events+TerminalTextChangedEventArgs e) (at <acd52662aad544fd982a4ef1a7269c7d>:0)
TerminalApi.Events.Events.OnTextChanged (Terminal& __instance, System.String newText) (at <412e2ee6b60746158df5e614e6c3d498>:0)
(wrapper dynamic-method) Terminal.DMD<Terminal::TextChanged>(Terminal,string)
UnityEngine.Events.InvokableCall`1[T1].Invoke (T1 args0) (at <e27997765c1848b09d8073e5d642717a>:0)
UnityEngine.Events.UnityEvent`1[T0].Invoke (T0 arg0) (at <e27997765c1848b09d8073e5d642717a>:0)
TMPro.TMP_InputField.SendOnValueChanged () (at <830d2f4cda924be69883be03cc68e010>:0)
TMPro.TMP_InputField.SetText (System.String value, System.Boolean sendCallback) (at <830d2f4cda924be69883be03cc68e010>:0)
TMPro.TMP_InputField.set_text (System.String value) (at <830d2f4cda924be69883be03cc68e010>:0)
Terminal.LoadNewNode (TerminalNode node) (at <44743d9474784365a095189c76175301>:0)
Terminal.OnSubmit () (at <44743d9474784365a095189c76175301>:0)
SpyciBot.LC.CozyImprovements.CozyImprovements.makeObjectsGlow () (at <2f8c57a9f4be4833bd5b585d007af89e>:0)
SpyciBot.LC.CozyImprovements.CozyImprovements.PostfixLoadUnlockables (StartOfRound __instance) (at <2f8c57a9f4be4833bd5b585d007af89e>:0)
(wrapper dynamic-method) StartOfRound.DMD<StartOfRound::LoadUnlockables>(StartOfRound)
(wrapper dynamic-method) StartOfRound.DMD<StartOfRound::Start>(StartOfRound)
I noticed that when I enter the ship terminal it is typing the keys I press, when I interact with the terminal it returns to normal, I haven't tested whether this causes any problems in multiplayer, in singleplayer it is just visual apparently
Narrowed it down to "ChargeStationGlow", when set to false the TooManySuits mod works just fine.
I would love a config option to remove the doors on the Locker Model. I would like the lights to be displayed, and items to be easily accessed at all times.
As Title says. Nothing appears as described in the lobby, and causes weird behaviour in multiplayer, like no effect sounds.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.