Skip to content

Commit

Permalink
Merge pull request #3 from timothymtorres/Code-Refactor
Browse files Browse the repository at this point in the history
Code refactor
  • Loading branch information
timothymtorres committed Nov 14, 2016
2 parents f3c4cc8 + 2efa9ce commit 5be401b
Show file tree
Hide file tree
Showing 31 changed files with 275 additions and 814 deletions.
87 changes: 0 additions & 87 deletions code/backup/skills_with_cost_slots/class.lua

This file was deleted.

79 changes: 0 additions & 79 deletions code/backup/skills_with_cost_slots/flags.lua

This file was deleted.

141 changes: 0 additions & 141 deletions code/backup/skills_with_cost_slots/list.lua

This file was deleted.

2 changes: 1 addition & 1 deletion code/item/class.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ local order = require('code.item.order')
local bit = require('plugin.bit')
local lshift, rshift, bor = bit.lshift, bit.rshift, bit.bor
local check = require('code.item.use.check')
local dice = require('code.libs.rl-dice.dice')
local dice = require('code.libs.dice')

local item = class('item')

Expand Down
14 changes: 0 additions & 14 deletions code/item/medical/class.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,6 @@ function medical:getDice() return self.dice end

function medical:getGroup() return self.group end

--function medical:getWeaponID() return self.weapon_ID end

--[[
for obj in pairs(w_list) do
medical[obj] = class(obj, medical)
medical[obj].initialize = function(self)
medical.initialize(self)
end
for field, data in pairs(w_list[obj]) do medical[obj][field] = data end
end
--]]


function medical:dataToClass(...) -- this should be a middleclass function (fix later)
local combined_lists = {...}
for _, list in ipairs(combined_lists) do
Expand Down
26 changes: 0 additions & 26 deletions code/item/medical/search.lua

This file was deleted.

14 changes: 0 additions & 14 deletions code/item/search.lua

This file was deleted.

Loading

0 comments on commit 5be401b

Please sign in to comment.