Skip to content

Commit

Permalink
Remove some leftover train-related cruft.
Browse files Browse the repository at this point in the history
  • Loading branch information
justarandomgeek committed May 8, 2017
1 parent 68deed9 commit 92e199d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
7 changes: 0 additions & 7 deletions prototypes/item-groups.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ data:extend({
group = "color-mod",
order = "l",
},
{
-- row for colored trains
type = "item-subgroup",
name = "color-trains",
group = "color-mod",
order = "t",
},
{
-- row for colored concretes
type = "item-subgroup",
Expand Down
16 changes: 0 additions & 16 deletions prototypes/technologies.lua
Original file line number Diff line number Diff line change
Expand Up @@ -35,20 +35,4 @@ if ENABLE_LAMPS then
table.insert(color_technologies, lamp)
end

if ENABLE_TRAINS then
-- colored trains tech
train = util.table.deepcopy(data.raw["technology"]["railway"])
train.name = "colored-trains"
train.icon = MOD_NAME.."/graphics/locomotive/cyan/icon.png"
train.icon_size = 32
train.prerequisites = {"railway"}
train.unit = {count=30, ingredients={{"science-pack-1",1},{"science-pack-2",1}}, time=20}
train.order = "c-g-ac"
train.effects = {}
for color,rgb in pairs(COLOR_TABLE) do
table.insert(train.effects, { type="unlock-recipe", recipe="diesel-locomotive-"..color })
end
table.insert(color_technologies, train)
end

data:extend(color_technologies)

0 comments on commit 92e199d

Please sign in to comment.