30 |
oxyd_count = 0 |
oxyd_count = 0 |
31 |
oxyd_current_color = 0 |
oxyd_current_color = 0 |
32 |
|
|
33 |
|
------------------------------ |
34 |
|
-- Extensions to C packages -- |
35 |
|
------------------------------ |
36 |
|
|
37 |
|
function options.LevelStat (key, stat) |
38 |
|
local status = LevelStatus:new(stat[1], stat[2], stat[3]) |
39 |
|
gsub(key, "([^#]+)#(.+)", function (pack,lev) |
40 |
|
options.SetLevelStatus(pack,lev, %status) |
41 |
|
end) |
42 |
|
status:delete() |
43 |
|
end |
44 |
|
|
45 |
--------------- |
--------------- |
46 |
-- Functions -- |
-- Functions -- |
47 |
--------------- |
--------------- |