mirror of
https://github.com/ershisan99/Fantoms-Preview.git
synced 2026-01-04 20:52:16 +00:00
fixed smods issue and implemented multi jokers
This commit is contained in:
@@ -2,36 +2,33 @@
|
||||
--
|
||||
-- Global values that must be present for the rest of this mod to work.
|
||||
|
||||
if not DV then
|
||||
DV = {}
|
||||
end
|
||||
if not DV then DV = {} end
|
||||
|
||||
DV.PRE = {
|
||||
data = {
|
||||
score = { min = 0, exact = 0, max = 0 },
|
||||
dollars = { min = 0, exact = 0, max = 0 },
|
||||
},
|
||||
text = {
|
||||
score = { l = "", r = "" },
|
||||
dollars = { top = "", bot = "" },
|
||||
},
|
||||
joker_order = {},
|
||||
hand_order = {},
|
||||
data = {
|
||||
score = {min = 0, exact = 0, max = 0},
|
||||
dollars = {min = 0, exact = 0, max = 0}
|
||||
},
|
||||
text = {
|
||||
score = {l = "", r = ""},
|
||||
dollars = {top = "", bot = ""}
|
||||
},
|
||||
joker_order = {},
|
||||
hand_order = {}
|
||||
}
|
||||
|
||||
DV.PRE._start_up = Game.start_up
|
||||
function Game:start_up()
|
||||
DV.PRE._start_up(self)
|
||||
DV.PRE._start_up(self)
|
||||
|
||||
if not G.SETTINGS.DV then
|
||||
G.SETTINGS.DV = {}
|
||||
end
|
||||
if not G.SETTINGS.DV.PRE then
|
||||
G.SETTINGS.DV.PRE = true
|
||||
if not G.SETTINGS.DV then G.SETTINGS.DV = {} end
|
||||
if not G.SETTINGS.DV.PRE then
|
||||
G.SETTINGS.DV.PRE = true
|
||||
|
||||
G.SETTINGS.DV.preview_score = true
|
||||
G.SETTINGS.DV.preview_dollars = true
|
||||
G.SETTINGS.DV.hide_face_down = true
|
||||
G.SETTINGS.DV.show_min_max = true
|
||||
end
|
||||
|
||||
G.SETTINGS.DV.preview_score = true
|
||||
G.SETTINGS.DV.preview_dollars = true
|
||||
G.SETTINGS.DV.hide_face_down = true
|
||||
G.SETTINGS.DV.show_min_max = true
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user