Artifact c466f67e6eaa91d9503fb6db7917cc0debc01eb2d203bb909cbab42b6e2a0603:
- File data/transmutation.lua — part of check-in [3f6a913e4e] at 2020-09-29 12:40:28 on branch trunk — * remove former hacky registration system, replace with consistent and flexible API; rewrite metal/gem generation to take advantage of this new API; tweaks to init system to enable world-local tweaks to lore and sorcery behavior * initial documentation commit * initial steps towards calendar - add default date format, astrolabe; prepare infra for division/melding/transmutation spells, various tweaks and fixes (user: lexi, size: 410) [annotate] [blame] [check-ins using]
-- transmutation is a mechanic whereby a metal can be sacrificed -- at the enchanter by use of a transmutation wand to get another -- metal unpredictably, possibly increasing in value, possibly -- not. return { gold = { [-2] = {'brass', 5}; [-1] = {'silver', 3}; -- one chance in three of silver - undesirable [1] = {'lithium', 2}; [2] = {'cobalt', 3}; [3] = {'iridium', 50}; fallback = 1; }; }