Sacrifice System
Lets living players sacrifice monster corpses to a god for a reward of tickets, with a short cooldown and a blacklist of corpse types that can't be sacrificed. Source: UOD - System Sacrifice.scp.
How it works
The command sac (FUNCTION sac) starts the flow:
- Blocked while in the
e_bashevent, and blocked while dead (hits==0). - Prompts "What corpse would you like to sacrifice?" and targets
f_sac.
f_sac validates the target and the reward:
- Enforces a 1-second cooldown via the timer item
i_sac(restest 1 i_sac). - Rejects: living characters, human corpses (
LINK == 04fffffff), non-corpses (BASEID != i_corpse), targets more than 2 tiles away, or targets without line of sight. - Rejects a blacklist of corpse art IDs (
obj.morexin a fixed set — e.g. 214, 228, 212, 225, 205, 204, 291, 5, 4182, 200, 201, 4193, 217, 4144, 292, 226) with "You feel you should not sacrifice this." - On success: removes the corpse, thanks the player, spawns a reward of
i_ticket×{5..25} into the player's pack, plays the pay sound, and equips a freshi_sac(5s cooldown timer).
Commands / player-facing usage
| Command | Effect |
|---|---|
sac |
Begin sacrificing; target a monster corpse to receive {5 25} tickets |
Key definitions
| DEFNAME | Role |
|---|---|
sac |
Player command; starts the targeting flow |
f_sac |
Validates the corpse and grants the reward |
i_sac |
Equipped cooldown timer (blocks rapid re-use) |
i_ticket |
Reward currency granted ({5 25} per sacrifice) |
i_corpse |
Required BASEID of a valid sacrifice target |
Note: Only non-human monster corpses qualify (human corpses have
LINK == 04fffffff). Themorexblacklist appears to exclude specific creature corpse graphics from being sacrificed.