sorcery  Diff

Differences From Artifact [78ebe4acb9]:

To Artifact [e011f87b11]:

  • File portal.lua — part of check-in [96c5289a2a] at 2020-10-21 03:35:35 on branch trunk — add rune forges, runes, amulet frames, write sacrifice spell, touch up amulet graphics, enable enchantment of amulets (though spells cannot yet be cast), defuckulate syncresis core icon, unfuckitize sneaky leycalc bug that's probably been the cause of some long-standing wackiness, add item classes, add some more textures, disbungle various other asstastrophes, remove sneaky old debug code, improve library code, add utility for uploading merge requests (user: lexi, size: 13799) [annotate] [blame] [check-ins using]

285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
				if vector.equals(v.pos,tune.partner) then
					partner = tune.partner
					break
				end
			end
		end

		if cap.self.minpower ~= cap.self.powerdraw then
			-- print("not enough power")
			return true
		end

		-- clean out user table
		for name,user in pairs(portal_context.users) do
			if user and vector.equals(user.portal, pos) then
				local found = false
				for _,u in pairs(dsp.users) do
					if u.object:get_player_name() == name then







|
<
<
<







285
286
287
288
289
290
291
292



293
294
295
296
297
298
299
				if vector.equals(v.pos,tune.partner) then
					partner = tune.partner
					break
				end
			end
		end

		if cap.self.minpower ~= cap.self.powerdraw then return true end




		-- clean out user table
		for name,user in pairs(portal_context.users) do
			if user and vector.equals(user.portal, pos) then
				local found = false
				for _,u in pairs(dsp.users) do
					if u.object:get_player_name() == name then