Skip to main content

Karma

Karma is a hidden score on every character. Players are never sent it and are not told when it changes. It is in place so that later systems have a history to read, and nothing in the game reads it yet.

What changes it​

A creature species can carry a KarmaPenalty. Killing one, directly or through your pet, subtracts that penalty from your karma.

creaturepenalty
Owl1
Crow1

Every other creature has no penalty.

The charge is made by ChargeKarma in Moondog.GameServer/Karma.cs, in the same transaction as the kill, so a kill and its karma cannot come apart.

Where it is kept​

wherewhat
characters.Karmathe current score (integer, default 0)
karma_logone row per change: character, delta, reason (Killed Owl), creature, position and time

Both were added by migration BirdsAndKarma.

Seeing and setting it​

The admin panel's character page (/Players/Character) shows a character's karma and their last 25 log rows, and an admin can set it there.