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

Method SetResetRoomId

internal/scripting/party_func.go:129–136  ·  view source on GitHub ↗
(roomId int)

Source from the content-addressed store, hash-verified

127}
128
129func (p ScriptParty) SetResetRoomId(roomId int) {
130 p.each(func(a ScriptActor) {
131 if a.userRecord == nil {
132 return
133 }
134 a.userRecord.Character.RoomIdOnReset = roomId
135 })
136}
137
138func (p ScriptParty) GiveQuest(questId string) {
139 p.each(func(a ScriptActor) {

Callers

nothing calls this directly

Calls 1

eachMethod · 0.95

Tested by

no test coverage detected