ModGuy
Content Creator
- Joined
- Feb 17, 2011
Re: sby's loader imports; 8/09/2014: too much stuff to list here
I think it's time to implement external chunks of code with dialogue commands.
Shit how would that even work.
Yeah here's an idea.
Within the dialogue mod push a list of keywords on to a dictionary and make that dictionary publicly accessible.
Whenever another mod is loaded it would reference that same dictionary and push further commands on to it.
Each string in the dictionary would be linked to a corresponding function.
During dialogue parsing you'd query the dictionary and perform the function.
Although that's the worst idea ever and should never be attempted.
If only Kona would implement a dictionary alongside his giant switch statement, then we could just push items on to it without disturbing his code.
Slingerbult said:One thing I'd want to do with this blah, All through scripted dialogue commands.
I think it's time to implement external chunks of code with dialogue commands.
Shit how would that even work.
Yeah here's an idea.
Within the dialogue mod push a list of keywords on to a dictionary and make that dictionary publicly accessible.
Whenever another mod is loaded it would reference that same dictionary and push further commands on to it.
Each string in the dictionary would be linked to a corresponding function.
During dialogue parsing you'd query the dictionary and perform the function.
Although that's the worst idea ever and should never be attempted.
If only Kona would implement a dictionary alongside his giant switch statement, then we could just push items on to it without disturbing his code.