Jump to content

How do I make this menu pop up?


Recommended Posts

image.thumb.png.4df3332118dac1793b22f43cc2f888af.png

I am trying to make a quest that adds to the vanilla pool of quests from handlers. Problem is, the game seems insistent on saying my locations don't actually exist. Every time I try to test the quest, it pops up this menu and tells me that the locations and a guard are not actually spawned. My main question is where do I find this menu and, if you can, also tell me where the problem is here
 

Spoiler

All the code I have for creating the cast
 

--fellemo. need I say more?
:AddCast{
    cast_id = "giver",
    provider = true,
    no_validation = true,
}

--the owner of the outpost
:AddCast{
    cast_id = "priest",
    condition = function(agent, quest) 
        return agent:GetContentID() == "PRIEST"
    end,
}
:AddCastFallback
{
    cast_fn = function(quest, t)
        table.insert( t, quest:CreateSkinnedAgent( "PRIEST" ) )
    end,
}
    
--the strong goon who leaves if you bring the spark
:AddCast{
    cast_id = "luminari",
    condition = function(agent, quest) 
        return agent:GetContentID() == "LUMINARI"
    end,
}
:AddCastFallback
{
    cast_fn = function(quest, t)
        table.insert( t, quest:CreateSkinnedAgent( "LUMINARI" ) )
    end,
}

--the weak goon who leaves if you leave the spark but still played along/brought the spark.
:AddDefCastSpawn("luminitiate", "LUMINITIATE")

:AddCast{
    cast_id = "guard",
    condition = function(agent, quest) 
        return agent:GetContentID() == "SPARK_BARON_AUTOMECH"
    end,
}

--the outpost
QDEF:AddLocationCast{
    cast_id = "lumin_camp",
    cast_fn = function(quest, t)
        table.insert(t,  quest:SpawnTempLocation("MURDER_BAY_HESH_OUTPOST"))
    end,
}
--generic factory.
:AddLocationCast{
    cast_id = "refinery",
    cast_fn = function(quest, t)
        table.insert(t, TheGame:GetGameState():GetLocation("GB_AUTOMECH_FACTORY"))
    end,
}
 

 

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...