Ok, here is the code. I only have two rooms, as this is essentially my priority right now. As you can see I have "Followers" defined, and that when you ask Delvas about joining, it asks you whether you want him to join you. If you say yes, then it should add him to "Followers", but the same error comes up.
<!--Saved by Quest 5.1.4426.19610-->
<asl version="510">
<include ref="English.aslx" />
<include ref="Core.aslx" />
<game name="Aurinath">
<gameid>7e4d54c0-f950-46a4-abb5-5412c987f86d</gameid>
<version>1.0</version>
<description>An RPG that focuses on the decisions that are made during the course of the game- almost every decision will change the game in some way.</description>
<author>Avram Levitt</author>
<category>RPG</category>
<start type="script">
Followers = NewObjectList()
if (player.parent = The Clearing) {
}
</start>
</game>
<object name="The Clearing">
<inherit name="editor_room" />
<description>A clearing in a meduimly dense forest.</description>
<alias>small clearing</alias>
<usedefaultprefix type="boolean">false</usedefaultprefix>
<prefix>a</prefix>
<enter type="script">
NPCMove (Followers)
</enter>
<exit alias="west" to="The western path">
<inherit name="westdirection" />
</exit>
<object name="Large stick">
<inherit name="editor_object" />
<take />
<takemsg>You pick up the large stick and put in your pack.</takemsg>
<dropmsg>You drop the stick. </dropmsg>
<look>It is a large stick with no defining features. It seems to be a pointless waste of inventory space.</look>
<alias>a large stick</alias>
<inventoryverbs>Look at; Use; Drop</inventoryverbs>
<weight type="int">5</weight>
<speed type="int">6</speed>
<damage type="int">2</damage>
<damage_type>bludgeoning</damage_type>
</object>
</object>
<object name="The western path">
<inherit name="editor_room" />
<alias>path going west</alias>
<usedefaultprefix type="boolean">false</usedefaultprefix>
<prefix>a</prefix>
<exit alias="east" to="The Clearing">
<inherit name="eastdirection" />
</exit>
<object name="Delvas">
<inherit name="editor_object" />
<ask type="scriptdictionary">
<item key="joining">
msg ("Sure, I'll join you. I am good at melee fighting.")
if (Ask("Do you want me to join you?")) {
list add (Followers, Delvas)
}
</item>
</ask>
</object>
</object>
<object name="Beginning">
<inherit name="editor_room" />
<descprefix type="string"></descprefix>
<objectslistprefix type="string"></objectslistprefix>
<usedefaultprefix type="boolean">false</usedefaultprefix>
<exitslistprefix type="string"></exitslistprefix>
<firstenter type="script"><![CDATA[
Followers = NewObjectList()
msg ("You wake up with amnesia in an unfamiliar location. Your memories are limited to your name and your profession.")
msg ("What is your name?")
player.player_name = GetInput()
msg (">"+player.player_name)
msg ("What race are you? You can be an elf, a dwarf, or a dwarf.")
player.race = GetInput()
msg (">"+player.race)
while (player.race <> "elf" and player.race <> "dwarf" and player.race <> "human") {
msg ("That is not a valid race. Please select again.")
player.race = GetInput()
msg (">"+player.race)
}
MoveObject (player, The Clearing)
]]></firstenter>
<object name="player">
<inherit name="defaultplayer" />
<race type="string"></race>
<player_name type="string"></player_name>
</object>
</object>
<command>
<pattern>wield</pattern>
</command>
<function name="NPCMove" parameters="Followers">
foreach (NPC, Followers) {
NPC.parent = player.parent
}
</function>
</asl>