3ef575ee
Stefan Wichmann
Initial checkin
|
1
2
3
4
|
-- calc-ui-styles.lua
local default_gui = data.raw["gui-style"].default
|
7b916f12
Stefan Wichmann
Update to be comp...
|
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
default_gui.calcui_icon_button =
{
type = "button_style",
parent = "button",
default_font_color = {},
size = 38,
top_padding = 1,
right_padding = 0,
bottom_padding = 1,
left_padding = 0,
left_click_sound = {{ filename = "__core__/sound/gui-square-button.ogg", volume = 1 }},
default_graphical_set =
{
filename = "__core__/graphics/gui.png",
corner_size = 3,
position = {8, 0},
scale = 1
}
}
|
3ef575ee
Stefan Wichmann
Initial checkin
|
25
26
|
default_gui.calcui_button_style = {
type = "button_style",
|
7b916f12
Stefan Wichmann
Update to be comp...
|
27
|
parent = "calcui_icon_button",
|
3ef575ee
Stefan Wichmann
Initial checkin
|
28
29
30
31
32
33
34
35
|
top_padding = 0,
right_padding = 0,
bottom_padding = 0,
left_padding = 0,
height = 50,
width = 50,
scalable = false
}
|
1eefa090
Stefan Wichmann
visual overhaul i...
|
36
37
38
39
|
default_gui.calcui_button_style_red = {
type = "button_style",
parent = "calcui_button_style",
sprite = "sprite_calcui_red"
|
3ef575ee
Stefan Wichmann
Initial checkin
|
40
|
}
|
1eefa090
Stefan Wichmann
visual overhaul i...
|
41
42
43
44
|
default_gui.calcui_button_style_light = {
type = "button_style",
parent = "calcui_button_style",
sprite = "sprite_calcui_light"
|
3ef575ee
Stefan Wichmann
Initial checkin
|
45
|
}
|
1eefa090
Stefan Wichmann
visual overhaul i...
|
46
47
48
49
|
default_gui.calcui_button_style_dark = {
type = "button_style",
parent = "calcui_button_style",
sprite = "sprite_calcui_dark"
|
3ef575ee
Stefan Wichmann
Initial checkin
|
50
51
|
}
|
423dee08
compilatron
preparing release...
|
52
|
-- sprites
|
3ef575ee
Stefan Wichmann
Initial checkin
|
53
54
55
56
57
58
59
60
61
62
|
data:extend({
{
type = "sprite",
name = "sprite_calcui_rant",
filename = "__calculator-ui__/graphics/nilausRant.png",
width = 56,
height = 56
},
{
type = "sprite",
|
d7b81613
Stefan Wichmann
Minor fixed - rel...
|
63
64
65
66
67
68
69
|
name = "sprite_calcui_think",
filename = "__calculator-ui__/graphics/nilausThink.png",
width = 56,
height = 56
},
{
type = "sprite",
|
3ef575ee
Stefan Wichmann
Initial checkin
|
70
71
72
73
|
name = "sprite_calcui_calculator",
filename = "__calculator-ui__/graphics/calculator.png",
width = 64,
height = 64
|
1eefa090
Stefan Wichmann
visual overhaul i...
|
74
75
76
|
},
{
type = "sprite",
|
2de48216
Stefan Wichmann
Version 0.18.4 pu...
|
77
78
79
80
81
82
83
|
name = "sprite_calcui_backspace",
filename = "__calculator-ui__/graphics/backspace.png",
width = 50,
height = 50
},
{
type = "sprite",
|
1eefa090
Stefan Wichmann
visual overhaul i...
|
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
|
name = "sprite_calcui_red",
filename = "__calculator-ui__/graphics/red.png",
width = 50,
height = 50
},
{
type = "sprite",
name = "sprite_calcui_light",
filename = "__calculator-ui__/graphics/light.png",
width = 50,
height = 50
},
{
type = "sprite",
name = "sprite_calcui_dark",
filename = "__calculator-ui__/graphics/dark.png",
width = 50,
height = 50
|
3ef575ee
Stefan Wichmann
Initial checkin
|
102
|
}
|
423dee08
compilatron
preparing release...
|
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
|
})
-- audio
data:extend({
{
type = "sound",
name = "calcui_home_improvement",
filename = "__calculator-ui__/sounds/homeImprovement.ogg",
category = "alert",
volume = 1.0,
},
{
type = "sound",
name = "calcui_nilaus_fuck1",
filename = "__calculator-ui__/sounds/nilausFuck1.ogg",
category = "alert",
volume = 1.0,
},
{
type = "sound",
name = "calcui_nilaus_fuck2",
filename = "__calculator-ui__/sounds/nilausFuck2.ogg",
category = "alert",
volume = 1.0,
},
{
type = "sound",
name = "calcui_nilaus_fuck3",
filename = "__calculator-ui__/sounds/nilausFuck3.ogg",
category = "alert",
volume = 1.0,
},
{
type = "sound",
name = "calcui_nilaus_really",
filename = "__calculator-ui__/sounds/nilausReally.ogg",
category = "alert",
volume = 1.0,
},
{
type = "sound",
name = "calcui_nilaus_ugghhhh",
filename = "__calculator-ui__/sounds/nilausUgghhhh.ogg",
category = "alert",
volume = 1.0,
},
|
3ef575ee
Stefan Wichmann
Initial checkin
|
149
|
})
|