Quote: "Anyway, I get the following error message when starting:scriptbankAcidquest_collect_destroy.lua:38 attempt to index global 'quest_type' (a nil value). I have already tried renaming the objects, but without success."
Yeah, renaming things rarely works.
The script(s) obviously use a global list called quest_type so somewhere in one of them there will be (or should be) a line:
quest_type = {}
In any script that accesses this list you should also add the line:
quest_type = quest_type or {}
(in fact it will do no harm to add that line to the top of all the scripts that access the list)
What that line does is create a global list called quest_type if one does not already exist, if one does exist it simply creates the list and initialises it to the contents of the existing one.
That is the correct way to deal with globals btw.
Been there, done that, got all the T-Shirts!