MCPcopy Create free account
hub / github.com/GoMudEngine/GoMud / GiveQuest

Method GiveQuest

internal/scripting/actor_func.go:238–245  ·  view source on GitHub ↗
(questId string)

Source from the content-addressed store, hash-verified

236}
237
238func (a ScriptActor) GiveQuest(questId string) {
239
240 events.AddToQueue(events.Quest{
241 UserId: a.UserId(),
242 QuestToken: questId,
243 })
244
245}
246
247// Gets a party object that indexes ALL members of the party
248func (a ScriptActor) GetParty(excludeSelf ...bool) ScriptParty {

Callers 15

onAskFunction · 0.45
onGiveFunction · 0.45
onCommand_sayFunction · 0.45
onCommandFunction · 0.45
onCommandFunction · 0.45
onAskFunction · 0.45
onGiveFunction · 0.45
onAskFunction · 0.45
onGiveFunction · 0.45
onAskFunction · 0.45
onGiveFunction · 0.45
onAskFunction · 0.45

Calls 2

UserIdMethod · 0.95
AddToQueueFunction · 0.92

Tested by

no test coverage detected