Differences From
Artifact [4a5f13d256]:
- File
tools.lua
— part of check-in
[ea6e475e44]
at
2020-10-19 09:52:11
on branch trunk
— continue dev on celestial mechanics, add melding+division spells (resonance), refine itemclasses, add keypunch and punchcards, add paper pulp, add a shitload of visuals, add convenience scripts for working with the wiki, make the flamebolt spell actually useful instead of just a pretty lightshow, add essences, inferno crystal, and other goodies; iterate on wands, lots of shit i can't remember, various bugfixes
(user:
lexi,
size: 2259)
[annotate]
[blame]
[check-ins using]
53 53 local wear = 65535 / dagger_uses
54 54 stack:add_wear(wear)
55 55
56 56 inv:remove_item('main',btl)
57 57 inv:add_item('main',blood)
58 58
59 59 target:punch(user, 1.0, caps, nil)
60 - for i=0, 48 do
61 - minetest.add_particle{
62 - texture = 'sorcery_blood_' .. math.random(5) .. '.png',
63 - size = 7,
64 - expirationtime = 2 + math.random(),
65 - glow = 1,
66 - pos = pos,
67 - velocity = {
68 - x = (math.random() * 3.0) - 1.5,
69 - y = math.random(),
70 - z = (math.random() * 3.0) - 1.5
71 - },
72 - acceleration = {
73 - x = 0,
74 - y = -1,
75 - z = 0
76 - }
77 - }
78 - end
60 + sorcery.vfx.bloodburst(pos)
79 61
80 62 if math.random(3 + sorcery.enchant.strength(stack,'sanctify') * 6) == 1 then
81 63 -- we've used up the consecration
82 64 local unholy = ItemStack("sorcery:dagger")
83 65 unholy:set_wear(stack:get_wear())
84 66 local ench = sorcery.enchant.get(stack)
85 67 if #ench.spells > 0 then