Hello. I have some issues with "In-Game Wiki-Like Glossary or Codex" found on
I have everything setup and working, but when using the "lock system" I must manually do this for all articles I want unlocked:
$ persistent.wiki_unlocked.add("wiki_test1")
$ persistent.wiki_unlocked.add("wiki_test2")
$ persistent.wiki_unlocked.add("wiki_test3")
But how do I have these commands run "directly". Is there not any way to auto-run them?
Another part of the code I don't understand is:
default persistent.wiki_unlocked = { "wiki_index" }
Why does not this line work:
default persistent.wiki_unlocked = { "wiki_index","wiki_test1","wiki_test2","wiki_test3"}
or this:
default persistent.wiki_unlocked = { "wiki_test1" }
default persistent.wiki_unlocked = { "wiki_test2" }
default persistent.wiki_unlocked = { "wiki_test3" }
I am sure there must be some way to get this to work more optimal than how I have it working now
Hmm, is there any way to actually have the entire "In-Game Wiki-Like Glossary or Codex" unlocked from start and instead order a few "articles" locked i.e. a reversed form of the current system.
You must be registered to see the links
I have everything setup and working, but when using the "lock system" I must manually do this for all articles I want unlocked:
$ persistent.wiki_unlocked.add("wiki_test1")
$ persistent.wiki_unlocked.add("wiki_test2")
$ persistent.wiki_unlocked.add("wiki_test3")
But how do I have these commands run "directly". Is there not any way to auto-run them?
Another part of the code I don't understand is:
default persistent.wiki_unlocked = { "wiki_index" }
Why does not this line work:
default persistent.wiki_unlocked = { "wiki_index","wiki_test1","wiki_test2","wiki_test3"}
or this:
default persistent.wiki_unlocked = { "wiki_test1" }
default persistent.wiki_unlocked = { "wiki_test2" }
default persistent.wiki_unlocked = { "wiki_test3" }
I am sure there must be some way to get this to work more optimal than how I have it working now
Hmm, is there any way to actually have the entire "In-Game Wiki-Like Glossary or Codex" unlocked from start and instead order a few "articles" locked i.e. a reversed form of the current system.