Skip to content

Commit

Permalink
updated to 0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
Choumiko committed Jun 28, 2016
1 parent c1cd77a commit 41b03fc
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 61 deletions.
3 changes: 2 additions & 1 deletion info.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"name": "ModuleInserter",
"version": "{{VERSION}}",
"factorio_version": "0.13",
"title": "Module Inserter",
"author": "Choumiko",
"homepage": "",
"dependencies": ["base >= 0.12.30"],
"dependencies": ["base >= 0.13.0"],
"description": "Mass insert modules into machines with pocket bots"
}
120 changes: 60 additions & 60 deletions prototypes/style.lua
Original file line number Diff line number Diff line change
@@ -1,62 +1,62 @@
data:extend({
{
type = "font",
name = "module-inserter-small-font",
from = "default",
size = 14
}
})
data:extend({
{
type = "font",
name = "module-inserter-small-font",
from = "default",
size = 14
}
})

data.raw["gui-style"].default["module-inserter-small-button"] = {
type = "button_style",
parent = "button_style",
font = "module-inserter-small-font"
}

data.raw["gui-style"].default["module-inserter-small-button"] = {
type = "button_style",
parent = "default",
font = "module-inserter-small-font"
}

data.raw["gui-style"].default["module-inserter-button"] =
{
type = "button_style",
parent = "button_style",
width = 33,
height = 33,
top_padding = 6,
right_padding = 0,
bottom_padding = 0,
left_padding = 0,
font = "module-inserter-small-font",
default_graphical_set =
{
type = "monolith",
monolith_image =
{
filename = "__ModuleInserter__/graphics/gui.png",
priority = "extra-high-no-scale",
width = 32,
height = 32,
x = 64
}
},
hovered_graphical_set =
{
type = "monolith",
monolith_image =
{
filename = "__ModuleInserter__/graphics/gui.png",
priority = "extra-high-no-scale",
width = 32,
height = 32,
x = 96
}
},
clicked_graphical_set =
{
type = "monolith",
monolith_image =
{
filename = "__ModuleInserter__/graphics/gui.png",
width = 32,
height = 32,
x = 96
}
}
data.raw["gui-style"].default["module-inserter-button"] =
{
type = "button_style",
parent = "button_style",
width = 33,
height = 33,
top_padding = 6,
right_padding = 0,
bottom_padding = 0,
left_padding = 0,
font = "module-inserter-small-font",
default_graphical_set =
{
type = "monolith",
monolith_image =
{
filename = "__ModuleInserter__/graphics/gui.png",
priority = "extra-high-no-scale",
width = 32,
height = 32,
x = 64
}
},
hovered_graphical_set =
{
type = "monolith",
monolith_image =
{
filename = "__ModuleInserter__/graphics/gui.png",
priority = "extra-high-no-scale",
width = 32,
height = 32,
x = 96
}
},
clicked_graphical_set =
{
type = "monolith",
monolith_image =
{
filename = "__ModuleInserter__/graphics/gui.png",
width = 32,
height = 32,
x = 96
}
}
}

0 comments on commit 41b03fc

Please sign in to comment.