Merge pull request #380 from argonui/cyoa-guides
Updated CYOA campaign guides
This commit is contained in:
commit
9ebf23f172
@ -19,17 +19,20 @@
|
||||
"06BTheWebofDreams.1bac4d",
|
||||
"05TheCircleUndone.20d53c",
|
||||
"ReturntoExpansions.2275ed",
|
||||
"10TheFeastofHemlockVale.2e50cf",
|
||||
"02TheDunwichLegacy.38d1cd",
|
||||
"C1DarkMatter.3a08d9",
|
||||
"S2Stand-Alones2020-202.4c47d8",
|
||||
"01NightoftheZealot.56a91d",
|
||||
"P1ChallengeScenarios.8f7e04",
|
||||
"UpdatingtoNewVersions.a1b358",
|
||||
"04TheForgottenAge.d5cd12",
|
||||
"S1Stand-Alones2016-2020.e227ad",
|
||||
"08EdgeoftheEarth.e32dc3",
|
||||
"C2AliceinWonderland.ed1d0c",
|
||||
"06ATheDream-Quest.f03c2d",
|
||||
"07TheInnsmouthConspiracy.f5f3b5"
|
||||
"07TheInnsmouthConspiracy.f5f3b5",
|
||||
"C3CyclopeanFoundations.f72800"
|
||||
],
|
||||
"ContainedObjects_path": "CYOACampaignGuides.e87ea2",
|
||||
"CustomMesh": {
|
||||
@ -74,15 +77,15 @@
|
||||
"Sticky": true,
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 21.012,
|
||||
"posY": 3.161,
|
||||
"posZ": -26.838,
|
||||
"posX": 39.494,
|
||||
"posY": 3.793,
|
||||
"posZ": 41.744,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
"scaleX": 1,
|
||||
"scaleY": 1,
|
||||
"scaleZ": 1
|
||||
"scaleX": 1.25,
|
||||
"scaleY": 1.25,
|
||||
"scaleZ": 1.25
|
||||
},
|
||||
"Value": 0,
|
||||
"XmlUI": ""
|
||||
|
@ -1 +1 @@
|
||||
{"ml":{"06a742":{"lock":false,"pos":{"x":65,"y":1.2494,"z":-31.3},"rot":{"x":0,"y":270,"z":0},"tint":{"a":1,"b":1,"g":1,"r":1}},"11d148":{"lock":false,"pos":{"x":47,"y":1.2494,"z":-25.1},"rot":{"x":0,"y":270,"z":0},"tint":{"a":1,"b":1,"g":1,"r":1}},"1bac4d":{"lock":false,"pos":{"x":56.0004,"y":1.2494,"z":-31.3},"rot":{"x":0,"y":270,"z":0},"tint":{"a":1,"b":1,"g":1,"r":1}},"20d53c":{"lock":false,"pos":{"x":56,"y":1.2494,"z":-18.8953},"rot":{"x":0,"y":270,"z":0},"tint":{"a":1,"b":1,"g":1,"r":1}},"2275ed":{"lock":false,"pos":{"x":56,"y":1.569,"z":-11},"rot":{"x":0,"y":90,"z":0},"tint":{"a":1,"b":1,"g":1,"r":1}},"38d1cd":{"lock":false,"pos":{"x":65,"y":1.2494,"z":-25.1},"rot":{"x":0,"y":270,"z":0},"tint":{"a":1,"b":1,"g":1,"r":1}},"3a08d9":{"lock":false,"pos":{"x":38,"y":1.2494,"z":-25.1},"rot":{"x":0,"y":270,"z":0},"tint":{"a":1,"b":1,"g":1,"r":1}},"4c47d8":{"lock":false,"pos":{"x":47,"y":1.2494,"z":-37.5},"rot":{"x":0,"y":270,"z":0},"tint":{"a":1,"b":1,"g":1,"r":1}},"56a91d":{"lock":false,"pos":{"x":65,"y":1.2494,"z":-18.8955},"rot":{"x":0,"y":270,"z":0},"tint":{"a":1,"b":1,"g":1,"r":1}},"8f7e04":{"lock":false,"pos":{"x":38,"y":1.2494,"z":-18.9},"rot":{"x":0,"y":270,"z":0},"tint":{"a":1,"b":1,"g":1,"r":1}},"d5cd12":{"lock":false,"pos":{"x":65,"y":1.2494,"z":-37.5},"rot":{"x":0,"y":270,"z":0},"tint":{"a":1,"b":1,"g":1,"r":1}},"e227ad":{"lock":false,"pos":{"x":47,"y":1.2494,"z":-31.3},"rot":{"x":0,"y":270,"z":0},"tint":{"a":1,"b":1,"g":1,"r":1}},"e32dc3":{"lock":false,"pos":{"x":47,"y":1.2494,"z":-18.9},"rot":{"x":0,"y":270,"z":0},"tint":{"a":1,"b":1,"g":1,"r":1}},"ed1d0c":{"lock":false,"pos":{"x":38,"y":1.2494,"z":-31.3},"rot":{"x":0,"y":270,"z":0},"tint":{"a":1,"b":1,"g":1,"r":1}},"f03c2d":{"lock":false,"pos":{"x":56.0004,"y":1.2494,"z":-25.1},"rot":{"x":0,"y":270,"z":0},"tint":{"a":1,"b":1,"g":1,"r":1}},"f5f3b5":{"lock":false,"pos":{"x":56.2742,"y":1.2494,"z":-37.5},"rot":{"x":0,"y":270,"z":0},"tint":{"a":1,"b":1,"g":1,"r":1}}}}
|
||||
{"ml":{"06a742":{"lock":false,"pos":{"x":56.8248138427734,"y":1.24943828582764,"z":16.0398769378662},"rot":{"x":0,"y":269.9891,"z":0},"tint":{"a":1,"b":1,"g":1,"r":1}},"11d148":{"lock":false,"pos":{"x":56.8248138427734,"y":1.24943828582764,"z":-25.9601230621338},"rot":{"x":0,"y":270,"z":0},"tint":{"a":1,"b":1,"g":1,"r":1}},"1bac4d":{"lock":false,"pos":{"x":56.8248138427734,"y":1.24943828582764,"z":-7.96012306213379},"rot":{"x":0,"y":270,"z":0},"tint":{"a":1,"b":1,"g":1,"r":1}},"20d53c":{"lock":false,"pos":{"x":56.8248138427734,"y":1.24943828582764,"z":4.03987693786621},"rot":{"x":0,"y":270,"z":0},"tint":{"a":1,"b":1,"g":1,"r":1}},"2275ed":{"lock":false,"pos":{"x":41.8248138427734,"y":1.56903828582764,"z":-32.9601230621338},"rot":{"x":0,"y":90.0118,"z":0},"tint":{"a":1,"b":1,"g":1,"r":1}},"2e50cf":{"lock":false,"pos":{"x":56.8248138427734,"y":1.24943828582764,"z":-31.9601230621338},"rot":{"x":0,"y":270,"z":0},"tint":{"a":1,"b":1,"g":1,"r":1}},"38d1cd":{"lock":false,"pos":{"x":56.8248138427734,"y":1.24943828582764,"z":22.0398769378662},"rot":{"x":0,"y":270,"z":0},"tint":{"a":1,"b":1,"g":1,"r":1}},"3a08d9":{"lock":false,"pos":{"x":39.8248138427734,"y":1.24943828582764,"z":28.0398769378662},"rot":{"x":0,"y":270.0101,"z":0},"tint":{"a":1,"b":1,"g":1,"r":1}},"4c47d8":{"lock":false,"pos":{"x":48.3248138427734,"y":1.24943828582764,"z":22.0398769378662},"rot":{"x":0,"y":270.0195,"z":0},"tint":{"a":1,"b":1,"g":1,"r":1}},"56a91d":{"lock":false,"pos":{"x":56.8248138427734,"y":1.24943828582764,"z":28.0398769378662},"rot":{"x":0,"y":270,"z":0},"tint":{"a":1,"b":1,"g":1,"r":1}},"8f7e04":{"lock":false,"pos":{"x":48.3248138427734,"y":1.24943828582764,"z":4.03987693786621},"rot":{"x":0,"y":270,"z":0},"tint":{"a":1,"b":1,"g":1,"r":1}},"a1b358":{"lock":false,"pos":{"x":35.8248138427734,"y":1.56903828582764,"z":-32.9601230621338},"rot":{"x":0,"y":89.9871,"z":0},"tint":{"a":1,"b":1,"g":1,"r":1}},"d5cd12":{"lock":false,"pos":{"x":56.8248138427734,"y":1.24943828582764,"z":10.0398769378662},"rot":{"x":0,"y":270.0119,"z":0},"tint":{"a":1,"b":1,"g":1,"r":1}},"e227ad":{"lock":false,"pos":{"x":48.3248138427734,"y":1.24943828582764,"z":28.0398769378662},"rot":{"x":0,"y":269.9818,"z":0},"tint":{"a":1,"b":1,"g":1,"r":1}},"e32dc3":{"lock":false,"pos":{"x":56.8248138427734,"y":1.24943828582764,"z":-19.9601230621338},"rot":{"x":0,"y":270,"z":0},"tint":{"a":1,"b":1,"g":1,"r":1}},"ed1d0c":{"lock":false,"pos":{"x":39.8248138427734,"y":1.24943828582764,"z":22.0398769378662},"rot":{"x":0,"y":269.9964,"z":0},"tint":{"a":1,"b":1,"g":1,"r":1}},"f03c2d":{"lock":false,"pos":{"x":56.8248138427734,"y":1.24943828582764,"z":-1.96012306213379},"rot":{"x":0,"y":270,"z":0},"tint":{"a":1,"b":1,"g":1,"r":1}},"f5f3b5":{"lock":false,"pos":{"x":56.8248138427734,"y":1.24943828582764,"z":-13.9601230621338},"rot":{"x":0,"y":270,"z":0},"tint":{"a":1,"b":1,"g":1,"r":1}},"f72800":{"lock":false,"pos":{"x":39.8248138427734,"y":1.24943828582764,"z":16.0398769378662},"rot":{"x":0,"y":270,"z":0},"tint":{"a":1,"b":1,"g":1,"r":1}}}}
|
||||
|
@ -59,9 +59,9 @@
|
||||
"Sticky": true,
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 32.969,
|
||||
"posY": 1.048,
|
||||
"posZ": -73.104,
|
||||
"posX": 56.825,
|
||||
"posY": 1.249,
|
||||
"posZ": 28.04,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
|
@ -27,18 +27,21 @@
|
||||
"IgnoreFoW": false,
|
||||
"LayoutGroupSortIndex": 0,
|
||||
"Locked": false,
|
||||
"LuaScript": "",
|
||||
"LuaScriptState": "",
|
||||
"LuaScript_path": "OptionPanelSource.830bd0/CYOACampaignGuides.e87ea2/01NightoftheZealot.56a91d/NightoftheZealot.276907.ttslua",
|
||||
"MeasureMovement": false,
|
||||
"Name": "Custom_PDF",
|
||||
"Nickname": "Night of the Zealot",
|
||||
"Snap": true,
|
||||
"Sticky": true,
|
||||
"Tags": [
|
||||
"CleanUpHelper_ignore"
|
||||
],
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": -12.985,
|
||||
"posY": 2.511,
|
||||
"posZ": 19.133,
|
||||
"posX": 66.463,
|
||||
"posY": 3.037,
|
||||
"posZ": 36.845,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
|
@ -0,0 +1,53 @@
|
||||
function onLoad()
|
||||
self.createInput({
|
||||
input_function = "jumpToPage",
|
||||
function_owner = self,
|
||||
label = "jump to page",
|
||||
alignment = 3,
|
||||
position = Vector(-1.6,0.1,-2.2),
|
||||
rotation = Vector(0,0,0),
|
||||
scale = Vector(0.5,0.5,0.5),
|
||||
width = 2000,
|
||||
height = 300,
|
||||
font_size = 250,
|
||||
font_color = {0.95,0.95,0.95,0.9},
|
||||
color = {0.3,0.3,0.3,0.6},
|
||||
tooltip = "Type which page you wish to jump to, then click off",
|
||||
value = "",
|
||||
validation = 1,
|
||||
tab = 1,
|
||||
})
|
||||
end
|
||||
|
||||
function jumpToPage(_, _, inputValue, stillEditing)
|
||||
if inputValue == "" or inputValue == nil then return end -- do nothing if input is empty
|
||||
|
||||
if not stillEditing then -- jump to page if not selecting the textbox anymore
|
||||
jump((tonumber(inputValue) + 2)/2)
|
||||
return
|
||||
elseif string.find(inputValue, "%\n") ~= nil then -- jump to page if enter is pressed
|
||||
inputValue = inputValue.gsub(inputValue, "%\n", "")
|
||||
jump((tonumber(inputValue) + 2)/2)
|
||||
return
|
||||
end
|
||||
|
||||
if (tonumber(inputValue:sub(-1)) == nil) then -- check and remove non numeric character
|
||||
Wait.time(function()
|
||||
self.editInput({
|
||||
index = 0,
|
||||
value = inputValue:sub(1,-2)
|
||||
})
|
||||
end, 0.01)
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
function jump(page)
|
||||
self.Book.setPage(page - 1) -- offset since 0 index
|
||||
Wait.time(function() -- clear page search
|
||||
self.editInput({
|
||||
index = 0,
|
||||
value = "",
|
||||
})
|
||||
end, 0.01)
|
||||
end
|
@ -59,9 +59,9 @@
|
||||
"Sticky": true,
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 32.969,
|
||||
"posY": 1.046,
|
||||
"posZ": -79.104,
|
||||
"posX": 56.825,
|
||||
"posY": 1.249,
|
||||
"posZ": 22.04,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
|
@ -27,18 +27,21 @@
|
||||
"IgnoreFoW": false,
|
||||
"LayoutGroupSortIndex": 0,
|
||||
"Locked": false,
|
||||
"LuaScript": "",
|
||||
"LuaScriptState": "",
|
||||
"LuaScript_path": "OptionPanelSource.830bd0/CYOACampaignGuides.e87ea2/02TheDunwichLegacy.38d1cd/TheDunwichLegacy.8df5fc.ttslua",
|
||||
"MeasureMovement": false,
|
||||
"Name": "Custom_PDF",
|
||||
"Nickname": "The Dunwich Legacy",
|
||||
"Snap": true,
|
||||
"Sticky": true,
|
||||
"Tags": [
|
||||
"CleanUpHelper_ignore"
|
||||
],
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 12.25,
|
||||
"posY": 3.029,
|
||||
"posZ": 19.986,
|
||||
"posX": 67.375,
|
||||
"posY": 3.038,
|
||||
"posZ": 30.123,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
|
@ -0,0 +1,53 @@
|
||||
function onLoad()
|
||||
self.createInput({
|
||||
input_function = "jumpToPage",
|
||||
function_owner = self,
|
||||
label = "jump to page",
|
||||
alignment = 3,
|
||||
position = Vector(-1.6,0.1,-2.2),
|
||||
rotation = Vector(0,0,0),
|
||||
scale = Vector(0.5,0.5,0.5),
|
||||
width = 2000,
|
||||
height = 300,
|
||||
font_size = 250,
|
||||
font_color = {0.95,0.95,0.95,0.9},
|
||||
color = {0.3,0.3,0.3,0.6},
|
||||
tooltip = "Type which page you wish to jump to, then click off",
|
||||
value = "",
|
||||
validation = 1,
|
||||
tab = 1,
|
||||
})
|
||||
end
|
||||
|
||||
function jumpToPage(_, _, inputValue, stillEditing)
|
||||
if inputValue == "" or inputValue == nil then return end -- do nothing if input is empty
|
||||
|
||||
if not stillEditing then -- jump to page if not selecting the textbox anymore
|
||||
jump((tonumber(inputValue) + 2)/2)
|
||||
return
|
||||
elseif string.find(inputValue, "%\n") ~= nil then -- jump to page if enter is pressed
|
||||
inputValue = inputValue.gsub(inputValue, "%\n", "")
|
||||
jump((tonumber(inputValue) + 2)/2)
|
||||
return
|
||||
end
|
||||
|
||||
if (tonumber(inputValue:sub(-1)) == nil) then -- check and remove non numeric character
|
||||
Wait.time(function()
|
||||
self.editInput({
|
||||
index = 0,
|
||||
value = inputValue:sub(1,-2)
|
||||
})
|
||||
end, 0.01)
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
function jump(page)
|
||||
self.Book.setPage(page - 1) -- offset since 0 index
|
||||
Wait.time(function() -- clear page search
|
||||
self.editInput({
|
||||
index = 0,
|
||||
value = "",
|
||||
})
|
||||
end, 0.01)
|
||||
end
|
@ -59,9 +59,9 @@
|
||||
"Sticky": true,
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 32.969,
|
||||
"posY": 1.044,
|
||||
"posZ": -85.104,
|
||||
"posX": 56.825,
|
||||
"posY": 1.249,
|
||||
"posZ": 16.04,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
|
@ -27,18 +27,21 @@
|
||||
"IgnoreFoW": false,
|
||||
"LayoutGroupSortIndex": 0,
|
||||
"Locked": false,
|
||||
"LuaScript": "",
|
||||
"LuaScriptState": "",
|
||||
"LuaScript_path": "OptionPanelSource.830bd0/CYOACampaignGuides.e87ea2/03ThePathtoCarcosa.06a742/Custom_PDF.df45c0.ttslua",
|
||||
"MeasureMovement": false,
|
||||
"Name": "Custom_PDF",
|
||||
"Nickname": "",
|
||||
"Snap": true,
|
||||
"Sticky": true,
|
||||
"Tags": [
|
||||
"CleanUpHelper_ignore"
|
||||
],
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 12.252,
|
||||
"posY": 3.009,
|
||||
"posZ": 11.986,
|
||||
"posX": 64.825,
|
||||
"posY": 3.038,
|
||||
"posZ": 24.224,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
|
@ -0,0 +1,53 @@
|
||||
function onLoad()
|
||||
self.createInput({
|
||||
input_function = "jumpToPage",
|
||||
function_owner = self,
|
||||
label = "jump to page",
|
||||
alignment = 3,
|
||||
position = Vector(-1.6,0.1,-2.2),
|
||||
rotation = Vector(0,0,0),
|
||||
scale = Vector(0.5,0.5,0.5),
|
||||
width = 2000,
|
||||
height = 300,
|
||||
font_size = 250,
|
||||
font_color = {0.95,0.95,0.95,0.9},
|
||||
color = {0.3,0.3,0.3,0.6},
|
||||
tooltip = "Type which page you wish to jump to, then click off",
|
||||
value = "",
|
||||
validation = 1,
|
||||
tab = 1,
|
||||
})
|
||||
end
|
||||
|
||||
function jumpToPage(_, _, inputValue, stillEditing)
|
||||
if inputValue == "" or inputValue == nil then return end -- do nothing if input is empty
|
||||
|
||||
if not stillEditing then -- jump to page if not selecting the textbox anymore
|
||||
jump((tonumber(inputValue) + 2)/2)
|
||||
return
|
||||
elseif string.find(inputValue, "%\n") ~= nil then -- jump to page if enter is pressed
|
||||
inputValue = inputValue.gsub(inputValue, "%\n", "")
|
||||
jump((tonumber(inputValue) + 2)/2)
|
||||
return
|
||||
end
|
||||
|
||||
if (tonumber(inputValue:sub(-1)) == nil) then -- check and remove non numeric character
|
||||
Wait.time(function()
|
||||
self.editInput({
|
||||
index = 0,
|
||||
value = inputValue:sub(1,-2)
|
||||
})
|
||||
end, 0.01)
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
function jump(page)
|
||||
self.Book.setPage(page - 1) -- offset since 0 index
|
||||
Wait.time(function() -- clear page search
|
||||
self.editInput({
|
||||
index = 0,
|
||||
value = "",
|
||||
})
|
||||
end, 0.01)
|
||||
end
|
@ -60,9 +60,9 @@
|
||||
"Sticky": true,
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 32.969,
|
||||
"posY": 1.043,
|
||||
"posZ": -91.104,
|
||||
"posX": 56.825,
|
||||
"posY": 1.249,
|
||||
"posZ": 10.04,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
|
@ -27,18 +27,21 @@
|
||||
"IgnoreFoW": false,
|
||||
"LayoutGroupSortIndex": 0,
|
||||
"Locked": false,
|
||||
"LuaScript": "",
|
||||
"LuaScriptState": "",
|
||||
"LuaScript_path": "OptionPanelSource.830bd0/CYOACampaignGuides.e87ea2/04TheForgottenAge.d5cd12/TheForgottenAge.20c2ad.ttslua",
|
||||
"MeasureMovement": false,
|
||||
"Name": "Custom_PDF",
|
||||
"Nickname": "The Forgotten Age",
|
||||
"Snap": true,
|
||||
"Sticky": true,
|
||||
"Tags": [
|
||||
"CleanUpHelper_ignore"
|
||||
],
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": -8.236,
|
||||
"posY": 2.511,
|
||||
"posZ": -5.479,
|
||||
"posX": 65.567,
|
||||
"posY": 3.038,
|
||||
"posZ": 18.74,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
|
@ -0,0 +1,53 @@
|
||||
function onLoad()
|
||||
self.createInput({
|
||||
input_function = "jumpToPage",
|
||||
function_owner = self,
|
||||
label = "jump to page",
|
||||
alignment = 3,
|
||||
position = Vector(-1.6,0.1,-2.2),
|
||||
rotation = Vector(0,0,0),
|
||||
scale = Vector(0.5,0.5,0.5),
|
||||
width = 2000,
|
||||
height = 300,
|
||||
font_size = 250,
|
||||
font_color = {0.95,0.95,0.95,0.9},
|
||||
color = {0.3,0.3,0.3,0.6},
|
||||
tooltip = "Type which page you wish to jump to, then click off",
|
||||
value = "",
|
||||
validation = 1,
|
||||
tab = 1,
|
||||
})
|
||||
end
|
||||
|
||||
function jumpToPage(_, _, inputValue, stillEditing)
|
||||
if inputValue == "" or inputValue == nil then return end -- do nothing if input is empty
|
||||
|
||||
if not stillEditing then -- jump to page if not selecting the textbox anymore
|
||||
jump((tonumber(inputValue) + 2)/2)
|
||||
return
|
||||
elseif string.find(inputValue, "%\n") ~= nil then -- jump to page if enter is pressed
|
||||
inputValue = inputValue.gsub(inputValue, "%\n", "")
|
||||
jump((tonumber(inputValue) + 2)/2)
|
||||
return
|
||||
end
|
||||
|
||||
if (tonumber(inputValue:sub(-1)) == nil) then -- check and remove non numeric character
|
||||
Wait.time(function()
|
||||
self.editInput({
|
||||
index = 0,
|
||||
value = inputValue:sub(1,-2)
|
||||
})
|
||||
end, 0.01)
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
function jump(page)
|
||||
self.Book.setPage(page - 1) -- offset since 0 index
|
||||
Wait.time(function() -- clear page search
|
||||
self.editInput({
|
||||
index = 0,
|
||||
value = "",
|
||||
})
|
||||
end, 0.01)
|
||||
end
|
@ -27,18 +27,21 @@
|
||||
"IgnoreFoW": false,
|
||||
"LayoutGroupSortIndex": 0,
|
||||
"Locked": false,
|
||||
"LuaScript": "",
|
||||
"LuaScriptState": "",
|
||||
"LuaScript_path": "OptionPanelSource.830bd0/CYOACampaignGuides.e87ea2/04TheForgottenAge.d5cd12/TheForgottenAgeReturnto.908cbf.ttslua",
|
||||
"MeasureMovement": false,
|
||||
"Name": "Custom_PDF",
|
||||
"Nickname": "The Forgotten Age (Return to)",
|
||||
"Snap": true,
|
||||
"Sticky": true,
|
||||
"Tags": [
|
||||
"CleanUpHelper_ignore"
|
||||
],
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": -8.079,
|
||||
"posY": 2.511,
|
||||
"posZ": -5.591,
|
||||
"posX": 66.292,
|
||||
"posY": 3.038,
|
||||
"posZ": 17.746,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
|
@ -0,0 +1,53 @@
|
||||
function onLoad()
|
||||
self.createInput({
|
||||
input_function = "jumpToPage",
|
||||
function_owner = self,
|
||||
label = "jump to page",
|
||||
alignment = 3,
|
||||
position = Vector(-1.6,0.1,-2.2),
|
||||
rotation = Vector(0,0,0),
|
||||
scale = Vector(0.5,0.5,0.5),
|
||||
width = 2000,
|
||||
height = 300,
|
||||
font_size = 250,
|
||||
font_color = {0.95,0.95,0.95,0.9},
|
||||
color = {0.3,0.3,0.3,0.6},
|
||||
tooltip = "Type which page you wish to jump to, then click off",
|
||||
value = "",
|
||||
validation = 1,
|
||||
tab = 1,
|
||||
})
|
||||
end
|
||||
|
||||
function jumpToPage(_, _, inputValue, stillEditing)
|
||||
if inputValue == "" or inputValue == nil then return end -- do nothing if input is empty
|
||||
|
||||
if not stillEditing then -- jump to page if not selecting the textbox anymore
|
||||
jump((tonumber(inputValue) + 2)/2)
|
||||
return
|
||||
elseif string.find(inputValue, "%\n") ~= nil then -- jump to page if enter is pressed
|
||||
inputValue = inputValue.gsub(inputValue, "%\n", "")
|
||||
jump((tonumber(inputValue) + 2)/2)
|
||||
return
|
||||
end
|
||||
|
||||
if (tonumber(inputValue:sub(-1)) == nil) then -- check and remove non numeric character
|
||||
Wait.time(function()
|
||||
self.editInput({
|
||||
index = 0,
|
||||
value = inputValue:sub(1,-2)
|
||||
})
|
||||
end, 0.01)
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
function jump(page)
|
||||
self.Book.setPage(page - 1) -- offset since 0 index
|
||||
Wait.time(function() -- clear page search
|
||||
self.editInput({
|
||||
index = 0,
|
||||
value = "",
|
||||
})
|
||||
end, 0.01)
|
||||
end
|
@ -60,9 +60,9 @@
|
||||
"Sticky": true,
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 24.969,
|
||||
"posY": 1.045,
|
||||
"posZ": -73.104,
|
||||
"posX": 56.825,
|
||||
"posY": 1.249,
|
||||
"posZ": 4.04,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
|
@ -27,18 +27,21 @@
|
||||
"IgnoreFoW": false,
|
||||
"LayoutGroupSortIndex": 0,
|
||||
"Locked": false,
|
||||
"LuaScript": "",
|
||||
"LuaScriptState": "",
|
||||
"LuaScript_path": "OptionPanelSource.830bd0/CYOACampaignGuides.e87ea2/05TheCircleUndone.20d53c/TheCircleUndone.692219.ttslua",
|
||||
"MeasureMovement": false,
|
||||
"Name": "Custom_PDF",
|
||||
"Nickname": "The Circle Undone",
|
||||
"Snap": true,
|
||||
"Sticky": true,
|
||||
"Tags": [
|
||||
"CleanUpHelper_ignore"
|
||||
],
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 2.737,
|
||||
"posY": 2.511,
|
||||
"posZ": -7.436,
|
||||
"posX": 67.989,
|
||||
"posY": 3.038,
|
||||
"posZ": 9.81,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
|
@ -0,0 +1,53 @@
|
||||
function onLoad()
|
||||
self.createInput({
|
||||
input_function = "jumpToPage",
|
||||
function_owner = self,
|
||||
label = "jump to page",
|
||||
alignment = 3,
|
||||
position = Vector(-1.6,0.1,-2.2),
|
||||
rotation = Vector(0,0,0),
|
||||
scale = Vector(0.5,0.5,0.5),
|
||||
width = 2000,
|
||||
height = 300,
|
||||
font_size = 250,
|
||||
font_color = {0.95,0.95,0.95,0.9},
|
||||
color = {0.3,0.3,0.3,0.6},
|
||||
tooltip = "Type which page you wish to jump to, then click off",
|
||||
value = "",
|
||||
validation = 1,
|
||||
tab = 1,
|
||||
})
|
||||
end
|
||||
|
||||
function jumpToPage(_, _, inputValue, stillEditing)
|
||||
if inputValue == "" or inputValue == nil then return end -- do nothing if input is empty
|
||||
|
||||
if not stillEditing then -- jump to page if not selecting the textbox anymore
|
||||
jump((tonumber(inputValue) + 2)/2)
|
||||
return
|
||||
elseif string.find(inputValue, "%\n") ~= nil then -- jump to page if enter is pressed
|
||||
inputValue = inputValue.gsub(inputValue, "%\n", "")
|
||||
jump((tonumber(inputValue) + 2)/2)
|
||||
return
|
||||
end
|
||||
|
||||
if (tonumber(inputValue:sub(-1)) == nil) then -- check and remove non numeric character
|
||||
Wait.time(function()
|
||||
self.editInput({
|
||||
index = 0,
|
||||
value = inputValue:sub(1,-2)
|
||||
})
|
||||
end, 0.01)
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
function jump(page)
|
||||
self.Book.setPage(page - 1) -- offset since 0 index
|
||||
Wait.time(function() -- clear page search
|
||||
self.editInput({
|
||||
index = 0,
|
||||
value = "",
|
||||
})
|
||||
end, 0.01)
|
||||
end
|
@ -14,7 +14,7 @@
|
||||
"PDFPage": 0,
|
||||
"PDFPageOffset": 0,
|
||||
"PDFPassword": "",
|
||||
"PDFUrl": "https://github.com/Antimarkovnikov/TTS_AHC_CYOA/blob/master/Dual%20Pages%2005%20The%20Circle%20Undone%20-%20Return%20To.pdf?raw=true"
|
||||
"PDFUrl": "https://github.com/Antimarkovnikov/TTS_AHC_CYOA/blob/master/Dual%20Pages%2005%20The%20Circle%20Undone%20-%20Return%20to.pdf?raw=true"
|
||||
},
|
||||
"Description": "",
|
||||
"DragSelectable": true,
|
||||
@ -27,21 +27,24 @@
|
||||
"IgnoreFoW": false,
|
||||
"LayoutGroupSortIndex": 0,
|
||||
"Locked": false,
|
||||
"LuaScript": "",
|
||||
"LuaScriptState": "",
|
||||
"LuaScript_path": "OptionPanelSource.830bd0/CYOACampaignGuides.e87ea2/05TheCircleUndone.20d53c/TheCircleUndoneReturnto.9e9944.ttslua",
|
||||
"MeasureMovement": false,
|
||||
"Name": "Custom_PDF",
|
||||
"Nickname": "The Circle Undone (Return to)",
|
||||
"Snap": true,
|
||||
"Sticky": true,
|
||||
"Tags": [
|
||||
"CleanUpHelper_ignore"
|
||||
],
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 2.228,
|
||||
"posY": 2.704,
|
||||
"posZ": -9.378,
|
||||
"rotX": 3,
|
||||
"posX": 65.795,
|
||||
"posY": 3.038,
|
||||
"posZ": 11.853,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 2,
|
||||
"rotZ": 0,
|
||||
"scaleX": 1.76,
|
||||
"scaleY": 1,
|
||||
"scaleZ": 1.76
|
||||
|
@ -0,0 +1,53 @@
|
||||
function onLoad()
|
||||
self.createInput({
|
||||
input_function = "jumpToPage",
|
||||
function_owner = self,
|
||||
label = "jump to page",
|
||||
alignment = 3,
|
||||
position = Vector(-1.6,0.1,-2.2),
|
||||
rotation = Vector(0,0,0),
|
||||
scale = Vector(0.5,0.5,0.5),
|
||||
width = 2000,
|
||||
height = 300,
|
||||
font_size = 250,
|
||||
font_color = {0.95,0.95,0.95,0.9},
|
||||
color = {0.3,0.3,0.3,0.6},
|
||||
tooltip = "Type which page you wish to jump to, then click off",
|
||||
value = "",
|
||||
validation = 1,
|
||||
tab = 1,
|
||||
})
|
||||
end
|
||||
|
||||
function jumpToPage(_, _, inputValue, stillEditing)
|
||||
if inputValue == "" or inputValue == nil then return end -- do nothing if input is empty
|
||||
|
||||
if not stillEditing then -- jump to page if not selecting the textbox anymore
|
||||
jump((tonumber(inputValue) + 2)/2)
|
||||
return
|
||||
elseif string.find(inputValue, "%\n") ~= nil then -- jump to page if enter is pressed
|
||||
inputValue = inputValue.gsub(inputValue, "%\n", "")
|
||||
jump((tonumber(inputValue) + 2)/2)
|
||||
return
|
||||
end
|
||||
|
||||
if (tonumber(inputValue:sub(-1)) == nil) then -- check and remove non numeric character
|
||||
Wait.time(function()
|
||||
self.editInput({
|
||||
index = 0,
|
||||
value = inputValue:sub(1,-2)
|
||||
})
|
||||
end, 0.01)
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
function jump(page)
|
||||
self.Book.setPage(page - 1) -- offset since 0 index
|
||||
Wait.time(function() -- clear page search
|
||||
self.editInput({
|
||||
index = 0,
|
||||
value = "",
|
||||
})
|
||||
end, 0.01)
|
||||
end
|
@ -59,9 +59,9 @@
|
||||
"Sticky": true,
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 24.969,
|
||||
"posY": 1.043,
|
||||
"posZ": -79.1,
|
||||
"posX": 56.825,
|
||||
"posY": 1.249,
|
||||
"posZ": -1.96,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
|
@ -27,18 +27,21 @@
|
||||
"IgnoreFoW": false,
|
||||
"LayoutGroupSortIndex": 0,
|
||||
"Locked": false,
|
||||
"LuaScript": "",
|
||||
"LuaScriptState": "",
|
||||
"LuaScript_path": "OptionPanelSource.830bd0/CYOACampaignGuides.e87ea2/06ATheDream-Quest.f03c2d/TheDreamQuestCampaignA.47b9c1.ttslua",
|
||||
"MeasureMovement": false,
|
||||
"Name": "Custom_PDF",
|
||||
"Nickname": "The Dream Quest (Campaign A)",
|
||||
"Snap": true,
|
||||
"Sticky": true,
|
||||
"Tags": [
|
||||
"CleanUpHelper_ignore"
|
||||
],
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": -21.449,
|
||||
"posY": 2.511,
|
||||
"posZ": 14.842,
|
||||
"posX": 66.919,
|
||||
"posY": 3.038,
|
||||
"posZ": 4.633,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
|
@ -0,0 +1,53 @@
|
||||
function onLoad()
|
||||
self.createInput({
|
||||
input_function = "jumpToPage",
|
||||
function_owner = self,
|
||||
label = "jump to page",
|
||||
alignment = 3,
|
||||
position = Vector(-1.6,0.1,-2.2),
|
||||
rotation = Vector(0,0,0),
|
||||
scale = Vector(0.5,0.5,0.5),
|
||||
width = 2000,
|
||||
height = 300,
|
||||
font_size = 250,
|
||||
font_color = {0.95,0.95,0.95,0.9},
|
||||
color = {0.3,0.3,0.3,0.6},
|
||||
tooltip = "Type which page you wish to jump to, then click off",
|
||||
value = "",
|
||||
validation = 1,
|
||||
tab = 1,
|
||||
})
|
||||
end
|
||||
|
||||
function jumpToPage(_, _, inputValue, stillEditing)
|
||||
if inputValue == "" or inputValue == nil then return end -- do nothing if input is empty
|
||||
|
||||
if not stillEditing then -- jump to page if not selecting the textbox anymore
|
||||
jump((tonumber(inputValue) + 2)/2)
|
||||
return
|
||||
elseif string.find(inputValue, "%\n") ~= nil then -- jump to page if enter is pressed
|
||||
inputValue = inputValue.gsub(inputValue, "%\n", "")
|
||||
jump((tonumber(inputValue) + 2)/2)
|
||||
return
|
||||
end
|
||||
|
||||
if (tonumber(inputValue:sub(-1)) == nil) then -- check and remove non numeric character
|
||||
Wait.time(function()
|
||||
self.editInput({
|
||||
index = 0,
|
||||
value = inputValue:sub(1,-2)
|
||||
})
|
||||
end, 0.01)
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
function jump(page)
|
||||
self.Book.setPage(page - 1) -- offset since 0 index
|
||||
Wait.time(function() -- clear page search
|
||||
self.editInput({
|
||||
index = 0,
|
||||
value = "",
|
||||
})
|
||||
end, 0.01)
|
||||
end
|
@ -59,9 +59,9 @@
|
||||
"Sticky": true,
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 24.969,
|
||||
"posY": 1.041,
|
||||
"posZ": -85.1,
|
||||
"posX": 56.825,
|
||||
"posY": 1.249,
|
||||
"posZ": -7.96,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
|
@ -27,18 +27,21 @@
|
||||
"IgnoreFoW": false,
|
||||
"LayoutGroupSortIndex": 0,
|
||||
"Locked": false,
|
||||
"LuaScript": "",
|
||||
"LuaScriptState": "",
|
||||
"LuaScript_path": "OptionPanelSource.830bd0/CYOACampaignGuides.e87ea2/06BTheWebofDreams.1bac4d/TheWebofDreamsCampaignB.ae792e.ttslua",
|
||||
"MeasureMovement": false,
|
||||
"Name": "Custom_PDF",
|
||||
"Nickname": "The Web of Dreams (Campaign B)",
|
||||
"Snap": true,
|
||||
"Sticky": true,
|
||||
"Tags": [
|
||||
"CleanUpHelper_ignore"
|
||||
],
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": -22.574,
|
||||
"posY": 2.51,
|
||||
"posZ": 5.1,
|
||||
"posX": 65.358,
|
||||
"posY": 3.038,
|
||||
"posZ": -1.704,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
|
@ -0,0 +1,53 @@
|
||||
function onLoad()
|
||||
self.createInput({
|
||||
input_function = "jumpToPage",
|
||||
function_owner = self,
|
||||
label = "jump to page",
|
||||
alignment = 3,
|
||||
position = Vector(-1.6,0.1,-2.2),
|
||||
rotation = Vector(0,0,0),
|
||||
scale = Vector(0.5,0.5,0.5),
|
||||
width = 2000,
|
||||
height = 300,
|
||||
font_size = 250,
|
||||
font_color = {0.95,0.95,0.95,0.9},
|
||||
color = {0.3,0.3,0.3,0.6},
|
||||
tooltip = "Type which page you wish to jump to, then click off",
|
||||
value = "",
|
||||
validation = 1,
|
||||
tab = 1,
|
||||
})
|
||||
end
|
||||
|
||||
function jumpToPage(_, _, inputValue, stillEditing)
|
||||
if inputValue == "" or inputValue == nil then return end -- do nothing if input is empty
|
||||
|
||||
if not stillEditing then -- jump to page if not selecting the textbox anymore
|
||||
jump((tonumber(inputValue) + 2)/2)
|
||||
return
|
||||
elseif string.find(inputValue, "%\n") ~= nil then -- jump to page if enter is pressed
|
||||
inputValue = inputValue.gsub(inputValue, "%\n", "")
|
||||
jump((tonumber(inputValue) + 2)/2)
|
||||
return
|
||||
end
|
||||
|
||||
if (tonumber(inputValue:sub(-1)) == nil) then -- check and remove non numeric character
|
||||
Wait.time(function()
|
||||
self.editInput({
|
||||
index = 0,
|
||||
value = inputValue:sub(1,-2)
|
||||
})
|
||||
end, 0.01)
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
function jump(page)
|
||||
self.Book.setPage(page - 1) -- offset since 0 index
|
||||
Wait.time(function() -- clear page search
|
||||
self.editInput({
|
||||
index = 0,
|
||||
value = "",
|
||||
})
|
||||
end, 0.01)
|
||||
end
|
@ -60,9 +60,9 @@
|
||||
"Sticky": true,
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 24.969,
|
||||
"posY": 1.04,
|
||||
"posZ": -91.1,
|
||||
"posX": 56.825,
|
||||
"posY": 1.249,
|
||||
"posZ": -13.96,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
|
@ -27,18 +27,21 @@
|
||||
"IgnoreFoW": false,
|
||||
"LayoutGroupSortIndex": 0,
|
||||
"Locked": false,
|
||||
"LuaScript": "",
|
||||
"LuaScriptState": "",
|
||||
"LuaScript_path": "OptionPanelSource.830bd0/CYOACampaignGuides.e87ea2/07TheInnsmouthConspiracy.f5f3b5/07TheInnsmouthConspiracy-Chronological.c50a3a.ttslua",
|
||||
"MeasureMovement": false,
|
||||
"Name": "Custom_PDF",
|
||||
"Nickname": "07 The Innsmouth Conspiracy - Chronological",
|
||||
"Snap": true,
|
||||
"Sticky": true,
|
||||
"Tags": [
|
||||
"CleanUpHelper_ignore"
|
||||
],
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": -3.487,
|
||||
"posY": 2.511,
|
||||
"posZ": -14.208,
|
||||
"posX": 66.932,
|
||||
"posY": 3.038,
|
||||
"posZ": -8.659,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
|
@ -0,0 +1,53 @@
|
||||
function onLoad()
|
||||
self.createInput({
|
||||
input_function = "jumpToPage",
|
||||
function_owner = self,
|
||||
label = "jump to page",
|
||||
alignment = 3,
|
||||
position = Vector(-1.6,0.1,-2.2),
|
||||
rotation = Vector(0,0,0),
|
||||
scale = Vector(0.5,0.5,0.5),
|
||||
width = 2000,
|
||||
height = 300,
|
||||
font_size = 250,
|
||||
font_color = {0.95,0.95,0.95,0.9},
|
||||
color = {0.3,0.3,0.3,0.6},
|
||||
tooltip = "Type which page you wish to jump to, then click off",
|
||||
value = "",
|
||||
validation = 1,
|
||||
tab = 1,
|
||||
})
|
||||
end
|
||||
|
||||
function jumpToPage(_, _, inputValue, stillEditing)
|
||||
if inputValue == "" or inputValue == nil then return end -- do nothing if input is empty
|
||||
|
||||
if not stillEditing then -- jump to page if not selecting the textbox anymore
|
||||
jump((tonumber(inputValue) + 2)/2)
|
||||
return
|
||||
elseif string.find(inputValue, "%\n") ~= nil then -- jump to page if enter is pressed
|
||||
inputValue = inputValue.gsub(inputValue, "%\n", "")
|
||||
jump((tonumber(inputValue) + 2)/2)
|
||||
return
|
||||
end
|
||||
|
||||
if (tonumber(inputValue:sub(-1)) == nil) then -- check and remove non numeric character
|
||||
Wait.time(function()
|
||||
self.editInput({
|
||||
index = 0,
|
||||
value = inputValue:sub(1,-2)
|
||||
})
|
||||
end, 0.01)
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
function jump(page)
|
||||
self.Book.setPage(page - 1) -- offset since 0 index
|
||||
Wait.time(function() -- clear page search
|
||||
self.editInput({
|
||||
index = 0,
|
||||
value = "",
|
||||
})
|
||||
end, 0.01)
|
||||
end
|
@ -27,18 +27,21 @@
|
||||
"IgnoreFoW": false,
|
||||
"LayoutGroupSortIndex": 0,
|
||||
"Locked": false,
|
||||
"LuaScript": "",
|
||||
"LuaScriptState": "",
|
||||
"LuaScript_path": "OptionPanelSource.830bd0/CYOACampaignGuides.e87ea2/07TheInnsmouthConspiracy.f5f3b5/07TheInnsmouthConspiracy-PlayOrder.f42179.ttslua",
|
||||
"MeasureMovement": false,
|
||||
"Name": "Custom_PDF",
|
||||
"Nickname": "07 The Innsmouth Conspiracy - Play Order",
|
||||
"Snap": true,
|
||||
"Sticky": true,
|
||||
"Tags": [
|
||||
"CleanUpHelper_ignore"
|
||||
],
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 0.847,
|
||||
"posY": 2.818,
|
||||
"posZ": 73.957,
|
||||
"posX": 65.915,
|
||||
"posY": 3.038,
|
||||
"posZ": -7.148,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
|
@ -0,0 +1,53 @@
|
||||
function onLoad()
|
||||
self.createInput({
|
||||
input_function = "jumpToPage",
|
||||
function_owner = self,
|
||||
label = "jump to page",
|
||||
alignment = 3,
|
||||
position = Vector(-1.6,0.1,-2.2),
|
||||
rotation = Vector(0,0,0),
|
||||
scale = Vector(0.5,0.5,0.5),
|
||||
width = 2000,
|
||||
height = 300,
|
||||
font_size = 250,
|
||||
font_color = {0.95,0.95,0.95,0.9},
|
||||
color = {0.3,0.3,0.3,0.6},
|
||||
tooltip = "Type which page you wish to jump to, then click off",
|
||||
value = "",
|
||||
validation = 1,
|
||||
tab = 1,
|
||||
})
|
||||
end
|
||||
|
||||
function jumpToPage(_, _, inputValue, stillEditing)
|
||||
if inputValue == "" or inputValue == nil then return end -- do nothing if input is empty
|
||||
|
||||
if not stillEditing then -- jump to page if not selecting the textbox anymore
|
||||
jump((tonumber(inputValue) + 2)/2)
|
||||
return
|
||||
elseif string.find(inputValue, "%\n") ~= nil then -- jump to page if enter is pressed
|
||||
inputValue = inputValue.gsub(inputValue, "%\n", "")
|
||||
jump((tonumber(inputValue) + 2)/2)
|
||||
return
|
||||
end
|
||||
|
||||
if (tonumber(inputValue:sub(-1)) == nil) then -- check and remove non numeric character
|
||||
Wait.time(function()
|
||||
self.editInput({
|
||||
index = 0,
|
||||
value = inputValue:sub(1,-2)
|
||||
})
|
||||
end, 0.01)
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
function jump(page)
|
||||
self.Book.setPage(page - 1) -- offset since 0 index
|
||||
Wait.time(function() -- clear page search
|
||||
self.editInput({
|
||||
index = 0,
|
||||
value = "",
|
||||
})
|
||||
end, 0.01)
|
||||
end
|
@ -14,7 +14,7 @@
|
||||
"r": 1
|
||||
},
|
||||
"ContainedObjects_order": [
|
||||
"08EdgeoftheEarth.c50a3a"
|
||||
"08EdgeoftheEarth.754904"
|
||||
],
|
||||
"ContainedObjects_path": "08EdgeoftheEarth.e32dc3",
|
||||
"CustomMesh": {
|
||||
@ -59,9 +59,9 @@
|
||||
"Sticky": true,
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 16.97,
|
||||
"posY": 1.063,
|
||||
"posZ": -73.1,
|
||||
"posX": 56.825,
|
||||
"posY": 1.249,
|
||||
"posZ": -19.96,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
|
@ -0,0 +1,54 @@
|
||||
{
|
||||
"AltLookAngle": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"Autoraise": true,
|
||||
"ColorDiffuse": {
|
||||
"b": 1,
|
||||
"g": 1,
|
||||
"r": 1
|
||||
},
|
||||
"CustomPDF": {
|
||||
"PDFPage": 0,
|
||||
"PDFPageOffset": 0,
|
||||
"PDFPassword": "",
|
||||
"PDFUrl": "https://github.com/Antimarkovnikov/TTS_AHC_CYOA/blob/master/Dual%20Pages%2008%20Edge%20of%20the%20Earth.pdf?raw=true"
|
||||
},
|
||||
"Description": "",
|
||||
"DragSelectable": true,
|
||||
"GMNotes": "",
|
||||
"GUID": "754904",
|
||||
"Grid": true,
|
||||
"GridProjection": false,
|
||||
"Hands": false,
|
||||
"HideWhenFaceDown": false,
|
||||
"IgnoreFoW": false,
|
||||
"LayoutGroupSortIndex": 0,
|
||||
"Locked": false,
|
||||
"LuaScriptState": "",
|
||||
"LuaScript_path": "OptionPanelSource.830bd0/CYOACampaignGuides.e87ea2/08EdgeoftheEarth.e32dc3/08EdgeoftheEarth.754904.ttslua",
|
||||
"MeasureMovement": false,
|
||||
"Name": "Custom_PDF",
|
||||
"Nickname": "08 Edge of the Earth",
|
||||
"Snap": true,
|
||||
"Sticky": true,
|
||||
"Tags": [
|
||||
"CleanUpHelper_ignore"
|
||||
],
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 66.88,
|
||||
"posY": 3.038,
|
||||
"posZ": -13.447,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
"scaleX": 1.76,
|
||||
"scaleY": 1,
|
||||
"scaleZ": 1.76
|
||||
},
|
||||
"Value": 0,
|
||||
"XmlUI": ""
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
function onLoad()
|
||||
self.createInput({
|
||||
input_function = "jumpToPage",
|
||||
function_owner = self,
|
||||
label = "jump to page",
|
||||
alignment = 3,
|
||||
position = Vector(-1.6,0.1,-2.2),
|
||||
rotation = Vector(0,0,0),
|
||||
scale = Vector(0.5,0.5,0.5),
|
||||
width = 2000,
|
||||
height = 300,
|
||||
font_size = 250,
|
||||
font_color = {0.95,0.95,0.95,0.9},
|
||||
color = {0.3,0.3,0.3,0.6},
|
||||
tooltip = "Type which page you wish to jump to, then click off",
|
||||
value = "",
|
||||
validation = 1,
|
||||
tab = 1,
|
||||
})
|
||||
end
|
||||
|
||||
function jumpToPage(_, _, inputValue, stillEditing)
|
||||
if inputValue == "" or inputValue == nil then return end -- do nothing if input is empty
|
||||
|
||||
if not stillEditing then -- jump to page if not selecting the textbox anymore
|
||||
jump((tonumber(inputValue) + 2)/2)
|
||||
return
|
||||
elseif string.find(inputValue, "%\n") ~= nil then -- jump to page if enter is pressed
|
||||
inputValue = inputValue.gsub(inputValue, "%\n", "")
|
||||
jump((tonumber(inputValue) + 2)/2)
|
||||
return
|
||||
end
|
||||
|
||||
if (tonumber(inputValue:sub(-1)) == nil) then -- check and remove non numeric character
|
||||
Wait.time(function()
|
||||
self.editInput({
|
||||
index = 0,
|
||||
value = inputValue:sub(1,-2)
|
||||
})
|
||||
end, 0.01)
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
function jump(page)
|
||||
self.Book.setPage(page - 1) -- offset since 0 index
|
||||
Wait.time(function() -- clear page search
|
||||
self.editInput({
|
||||
index = 0,
|
||||
value = "",
|
||||
})
|
||||
end, 0.01)
|
||||
end
|
@ -14,7 +14,8 @@
|
||||
"r": 1
|
||||
},
|
||||
"ContainedObjects_order": [
|
||||
"09TheScarletKeys.c50a3a"
|
||||
"09TheScarletKeysScenariosCaseFiles.c6e8a0",
|
||||
"09TheScarletKeysSetupandDossiers.abf457"
|
||||
],
|
||||
"ContainedObjects_path": "09TheScarletKeys.11d148",
|
||||
"CustomMesh": {
|
||||
@ -59,9 +60,9 @@
|
||||
"Sticky": true,
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 16.969,
|
||||
"posY": 1.062,
|
||||
"posZ": -79.1,
|
||||
"posX": 56.825,
|
||||
"posY": 1.249,
|
||||
"posZ": -25.96,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
|
@ -0,0 +1,54 @@
|
||||
{
|
||||
"AltLookAngle": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"Autoraise": true,
|
||||
"ColorDiffuse": {
|
||||
"b": 1,
|
||||
"g": 1,
|
||||
"r": 1
|
||||
},
|
||||
"CustomPDF": {
|
||||
"PDFPage": 0,
|
||||
"PDFPageOffset": 0,
|
||||
"PDFPassword": "",
|
||||
"PDFUrl": "https://github.com/Antimarkovnikov/TTS_AHC_CYOA/blob/master/Dual%20Pages%2009%20The%20Scarlet%20Keys%202%20Scenarios%20and%20Case%20Files.pdf?raw=true"
|
||||
},
|
||||
"Description": "",
|
||||
"DragSelectable": true,
|
||||
"GMNotes": "",
|
||||
"GUID": "c6e8a0",
|
||||
"Grid": true,
|
||||
"GridProjection": false,
|
||||
"Hands": false,
|
||||
"HideWhenFaceDown": false,
|
||||
"IgnoreFoW": false,
|
||||
"LayoutGroupSortIndex": 0,
|
||||
"Locked": false,
|
||||
"LuaScriptState": "",
|
||||
"LuaScript_path": "OptionPanelSource.830bd0/CYOACampaignGuides.e87ea2/09TheScarletKeys.11d148/09TheScarletKeysScenariosCaseFiles.c6e8a0.ttslua",
|
||||
"MeasureMovement": false,
|
||||
"Name": "Custom_PDF",
|
||||
"Nickname": "09 The Scarlet Keys: Scenarios \u0026 Case Files",
|
||||
"Snap": true,
|
||||
"Sticky": true,
|
||||
"Tags": [
|
||||
"CleanUpHelper_ignore"
|
||||
],
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 66.593,
|
||||
"posY": 3.038,
|
||||
"posZ": -20.295,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
"scaleX": 1.76,
|
||||
"scaleY": 1,
|
||||
"scaleZ": 1.76
|
||||
},
|
||||
"Value": 0,
|
||||
"XmlUI": ""
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
function onLoad()
|
||||
self.createInput({
|
||||
input_function = "jumpToPage",
|
||||
function_owner = self,
|
||||
label = "jump to page",
|
||||
alignment = 3,
|
||||
position = Vector(-1.6,0.1,-2.2),
|
||||
rotation = Vector(0,0,0),
|
||||
scale = Vector(0.5,0.5,0.5),
|
||||
width = 2000,
|
||||
height = 300,
|
||||
font_size = 250,
|
||||
font_color = {0.95,0.95,0.95,0.9},
|
||||
color = {0.3,0.3,0.3,0.6},
|
||||
tooltip = "Type which page you wish to jump to, then click off",
|
||||
value = "",
|
||||
validation = 1,
|
||||
tab = 1,
|
||||
})
|
||||
end
|
||||
|
||||
function jumpToPage(_, _, inputValue, stillEditing)
|
||||
if inputValue == "" or inputValue == nil then return end -- do nothing if input is empty
|
||||
|
||||
if not stillEditing then -- jump to page if not selecting the textbox anymore
|
||||
jump((tonumber(inputValue) + 2)/2)
|
||||
return
|
||||
elseif string.find(inputValue, "%\n") ~= nil then -- jump to page if enter is pressed
|
||||
inputValue = inputValue.gsub(inputValue, "%\n", "")
|
||||
jump((tonumber(inputValue) + 2)/2)
|
||||
return
|
||||
end
|
||||
|
||||
if (tonumber(inputValue:sub(-1)) == nil) then -- check and remove non numeric character
|
||||
Wait.time(function()
|
||||
self.editInput({
|
||||
index = 0,
|
||||
value = inputValue:sub(1,-2)
|
||||
})
|
||||
end, 0.01)
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
function jump(page)
|
||||
self.Book.setPage(page - 1) -- offset since 0 index
|
||||
Wait.time(function() -- clear page search
|
||||
self.editInput({
|
||||
index = 0,
|
||||
value = "",
|
||||
})
|
||||
end, 0.01)
|
||||
end
|
@ -0,0 +1,54 @@
|
||||
{
|
||||
"AltLookAngle": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"Autoraise": true,
|
||||
"ColorDiffuse": {
|
||||
"b": 1,
|
||||
"g": 1,
|
||||
"r": 1
|
||||
},
|
||||
"CustomPDF": {
|
||||
"PDFPage": 0,
|
||||
"PDFPageOffset": 0,
|
||||
"PDFPassword": "",
|
||||
"PDFUrl": "https://github.com/Antimarkovnikov/TTS_AHC_CYOA/blob/master/Dual%20Pages%2009%20The%20Scarlet%20Keys%201%20Setup%20and%20Dossiers.pdf?raw=true"
|
||||
},
|
||||
"Description": "",
|
||||
"DragSelectable": true,
|
||||
"GMNotes": "",
|
||||
"GUID": "abf457",
|
||||
"Grid": true,
|
||||
"GridProjection": false,
|
||||
"Hands": false,
|
||||
"HideWhenFaceDown": false,
|
||||
"IgnoreFoW": false,
|
||||
"LayoutGroupSortIndex": 0,
|
||||
"Locked": false,
|
||||
"LuaScriptState": "",
|
||||
"LuaScript_path": "OptionPanelSource.830bd0/CYOACampaignGuides.e87ea2/09TheScarletKeys.11d148/09TheScarletKeysSetupandDossiers.abf457.ttslua",
|
||||
"MeasureMovement": false,
|
||||
"Name": "Custom_PDF",
|
||||
"Nickname": "09 The Scarlet Keys: Setup and Dossiers",
|
||||
"Snap": true,
|
||||
"Sticky": true,
|
||||
"Tags": [
|
||||
"CleanUpHelper_ignore"
|
||||
],
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 66.336,
|
||||
"posY": 3.038,
|
||||
"posZ": -20.774,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
"scaleX": 1.76,
|
||||
"scaleY": 1,
|
||||
"scaleZ": 1.76
|
||||
},
|
||||
"Value": 0,
|
||||
"XmlUI": ""
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
function onLoad()
|
||||
self.createInput({
|
||||
input_function = "jumpToPage",
|
||||
function_owner = self,
|
||||
label = "jump to page",
|
||||
alignment = 3,
|
||||
position = Vector(-1.6,0.1,-2.2),
|
||||
rotation = Vector(0,0,0),
|
||||
scale = Vector(0.5,0.5,0.5),
|
||||
width = 2000,
|
||||
height = 300,
|
||||
font_size = 250,
|
||||
font_color = {0.95,0.95,0.95,0.9},
|
||||
color = {0.3,0.3,0.3,0.6},
|
||||
tooltip = "Type which page you wish to jump to, then click off",
|
||||
value = "",
|
||||
validation = 1,
|
||||
tab = 1,
|
||||
})
|
||||
end
|
||||
|
||||
function jumpToPage(_, _, inputValue, stillEditing)
|
||||
if inputValue == "" or inputValue == nil then return end -- do nothing if input is empty
|
||||
|
||||
if not stillEditing then -- jump to page if not selecting the textbox anymore
|
||||
jump((tonumber(inputValue) + 2)/2)
|
||||
return
|
||||
elseif string.find(inputValue, "%\n") ~= nil then -- jump to page if enter is pressed
|
||||
inputValue = inputValue.gsub(inputValue, "%\n", "")
|
||||
jump((tonumber(inputValue) + 2)/2)
|
||||
return
|
||||
end
|
||||
|
||||
if (tonumber(inputValue:sub(-1)) == nil) then -- check and remove non numeric character
|
||||
Wait.time(function()
|
||||
self.editInput({
|
||||
index = 0,
|
||||
value = inputValue:sub(1,-2)
|
||||
})
|
||||
end, 0.01)
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
function jump(page)
|
||||
self.Book.setPage(page - 1) -- offset since 0 index
|
||||
Wait.time(function() -- clear page search
|
||||
self.editInput({
|
||||
index = 0,
|
||||
value = "",
|
||||
})
|
||||
end, 0.01)
|
||||
end
|
@ -0,0 +1,74 @@
|
||||
{
|
||||
"AltLookAngle": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"Autoraise": true,
|
||||
"Bag": {
|
||||
"Order": 0
|
||||
},
|
||||
"ColorDiffuse": {
|
||||
"b": 1,
|
||||
"g": 1,
|
||||
"r": 1
|
||||
},
|
||||
"ContainedObjects_order": [
|
||||
"10TheFeastofHemlockValePlaceholder.cecfc9"
|
||||
],
|
||||
"ContainedObjects_path": "10TheFeastofHemlockVale.2e50cf",
|
||||
"CustomMesh": {
|
||||
"CastShadows": true,
|
||||
"ColliderURL": "",
|
||||
"Convex": true,
|
||||
"CustomShader": {
|
||||
"FresnelStrength": 0,
|
||||
"SpecularColor": {
|
||||
"b": 1,
|
||||
"g": 1,
|
||||
"r": 1
|
||||
},
|
||||
"SpecularIntensity": 0,
|
||||
"SpecularSharpness": 2
|
||||
},
|
||||
"DiffuseURL": "https://github.com/Antimarkovnikov/TTS_AHC_CYOA/blob/master/10%20The%20Feast%20of%20Hemlock%20Vale.jpg?raw=true",
|
||||
"MaterialIndex": 3,
|
||||
"MeshURL": "https://github.com/Antimarkovnikov/TTS_AHC_CYOA/blob/master/Book%20Model.obj?raw=true",
|
||||
"NormalURL": "",
|
||||
"TypeIndex": 6
|
||||
},
|
||||
"Description": "Not Released Yet",
|
||||
"DragSelectable": true,
|
||||
"GMNotes": "",
|
||||
"GUID": "2e50cf",
|
||||
"Grid": true,
|
||||
"GridProjection": false,
|
||||
"Hands": false,
|
||||
"HideWhenFaceDown": false,
|
||||
"IgnoreFoW": false,
|
||||
"LayoutGroupSortIndex": 0,
|
||||
"Locked": false,
|
||||
"LuaScript": "",
|
||||
"LuaScriptState": "",
|
||||
"MaterialIndex": -1,
|
||||
"MeasureMovement": false,
|
||||
"MeshIndex": -1,
|
||||
"Name": "Custom_Model_Bag",
|
||||
"Nickname": "10 The Feast of Hemlock Vale",
|
||||
"Snap": true,
|
||||
"Sticky": true,
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 56.825,
|
||||
"posY": 1.249,
|
||||
"posZ": -31.96,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
"scaleX": 1,
|
||||
"scaleY": 1,
|
||||
"scaleZ": 1
|
||||
},
|
||||
"Value": 0,
|
||||
"XmlUI": ""
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
{
|
||||
"AltLookAngle": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"Autoraise": true,
|
||||
"ColorDiffuse": {
|
||||
"b": 1,
|
||||
"g": 1,
|
||||
"r": 1
|
||||
},
|
||||
"CustomPDF": {
|
||||
"PDFPage": 0,
|
||||
"PDFPageOffset": 0,
|
||||
"PDFPassword": "",
|
||||
"PDFUrl": "https://github.com/Antimarkovnikov/TTS_AHC_CYOA/blob/master/Dual%20Pages%2010%20The%20Feast%20of%20Hemlock%20Vale.pdf?raw=true"
|
||||
},
|
||||
"Description": "",
|
||||
"DragSelectable": true,
|
||||
"GMNotes": "",
|
||||
"GUID": "cecfc9",
|
||||
"Grid": true,
|
||||
"GridProjection": false,
|
||||
"Hands": false,
|
||||
"HideWhenFaceDown": false,
|
||||
"IgnoreFoW": false,
|
||||
"LayoutGroupSortIndex": 0,
|
||||
"Locked": false,
|
||||
"LuaScriptState": "",
|
||||
"LuaScript_path": "OptionPanelSource.830bd0/CYOACampaignGuides.e87ea2/10TheFeastofHemlockVale.2e50cf/10TheFeastofHemlockValePlaceholder.cecfc9.ttslua",
|
||||
"MeasureMovement": false,
|
||||
"Name": "Custom_PDF",
|
||||
"Nickname": "10 The Feast of Hemlock Vale: Placeholder",
|
||||
"Snap": true,
|
||||
"Sticky": true,
|
||||
"Tags": [
|
||||
"CleanUpHelper_ignore"
|
||||
],
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 67.349,
|
||||
"posY": 3.037,
|
||||
"posZ": -26.971,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
"scaleX": 1.76,
|
||||
"scaleY": 1,
|
||||
"scaleZ": 1.76
|
||||
},
|
||||
"Value": 0,
|
||||
"XmlUI": ""
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
function onLoad()
|
||||
self.createInput({
|
||||
input_function = "jumpToPage",
|
||||
function_owner = self,
|
||||
label = "jump to page",
|
||||
alignment = 3,
|
||||
position = Vector(-1.6,0.1,-2.2),
|
||||
rotation = Vector(0,0,0),
|
||||
scale = Vector(0.5,0.5,0.5),
|
||||
width = 2000,
|
||||
height = 300,
|
||||
font_size = 250,
|
||||
font_color = {0.95,0.95,0.95,0.9},
|
||||
color = {0.3,0.3,0.3,0.6},
|
||||
tooltip = "Type which page you wish to jump to, then click off",
|
||||
value = "",
|
||||
validation = 1,
|
||||
tab = 1,
|
||||
})
|
||||
end
|
||||
|
||||
function jumpToPage(_, _, inputValue, stillEditing)
|
||||
if inputValue == "" or inputValue == nil then return end -- do nothing if input is empty
|
||||
|
||||
if not stillEditing then -- jump to page if not selecting the textbox anymore
|
||||
jump((tonumber(inputValue) + 2)/2)
|
||||
return
|
||||
elseif string.find(inputValue, "%\n") ~= nil then -- jump to page if enter is pressed
|
||||
inputValue = inputValue.gsub(inputValue, "%\n", "")
|
||||
jump((tonumber(inputValue) + 2)/2)
|
||||
return
|
||||
end
|
||||
|
||||
if (tonumber(inputValue:sub(-1)) == nil) then -- check and remove non numeric character
|
||||
Wait.time(function()
|
||||
self.editInput({
|
||||
index = 0,
|
||||
value = inputValue:sub(1,-2)
|
||||
})
|
||||
end, 0.01)
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
function jump(page)
|
||||
self.Book.setPage(page - 1) -- offset since 0 index
|
||||
Wait.time(function() -- clear page search
|
||||
self.editInput({
|
||||
index = 0,
|
||||
value = "",
|
||||
})
|
||||
end, 0.01)
|
||||
end
|
@ -14,7 +14,7 @@
|
||||
"r": 1
|
||||
},
|
||||
"ContainedObjects_order": [
|
||||
"C1DarkMatter.409b50"
|
||||
"C1DarkMatter.602e48"
|
||||
],
|
||||
"ContainedObjects_path": "C1DarkMatter.3a08d9",
|
||||
"CustomMesh": {
|
||||
@ -59,9 +59,9 @@
|
||||
"Sticky": true,
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 8.969,
|
||||
"posY": 1.074,
|
||||
"posZ": -79.1,
|
||||
"posX": 39.825,
|
||||
"posY": 1.249,
|
||||
"posZ": 28.04,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
|
@ -0,0 +1,54 @@
|
||||
{
|
||||
"AltLookAngle": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"Autoraise": true,
|
||||
"ColorDiffuse": {
|
||||
"b": 1,
|
||||
"g": 1,
|
||||
"r": 1
|
||||
},
|
||||
"CustomPDF": {
|
||||
"PDFPage": 0,
|
||||
"PDFPageOffset": 0,
|
||||
"PDFPassword": "",
|
||||
"PDFUrl": "https://github.com/Antimarkovnikov/TTS_AHC_CYOA/blob/master/Dual%20Pages%20C1%20Dark%20Matter.pdf?raw=true"
|
||||
},
|
||||
"Description": "Designed by Axolotl",
|
||||
"DragSelectable": true,
|
||||
"GMNotes": "",
|
||||
"GUID": "602e48",
|
||||
"Grid": true,
|
||||
"GridProjection": false,
|
||||
"Hands": false,
|
||||
"HideWhenFaceDown": false,
|
||||
"IgnoreFoW": false,
|
||||
"LayoutGroupSortIndex": 0,
|
||||
"Locked": false,
|
||||
"LuaScriptState": "",
|
||||
"LuaScript_path": "OptionPanelSource.830bd0/CYOACampaignGuides.e87ea2/C1DarkMatter.3a08d9/C1DarkMatter.602e48.ttslua",
|
||||
"MeasureMovement": false,
|
||||
"Name": "Custom_PDF",
|
||||
"Nickname": "C1 Dark Matter",
|
||||
"Snap": true,
|
||||
"Sticky": true,
|
||||
"Tags": [
|
||||
"CleanUpHelper_ignore"
|
||||
],
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 47.575,
|
||||
"posY": 3.038,
|
||||
"posZ": 36.067,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
"scaleX": 1.76,
|
||||
"scaleY": 1,
|
||||
"scaleZ": 1.76
|
||||
},
|
||||
"Value": 0,
|
||||
"XmlUI": ""
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
function onLoad()
|
||||
self.createInput({
|
||||
input_function = "jumpToPage",
|
||||
function_owner = self,
|
||||
label = "jump to page",
|
||||
alignment = 3,
|
||||
position = Vector(-1.6,0.1,-2.2),
|
||||
rotation = Vector(0,0,0),
|
||||
scale = Vector(0.5,0.5,0.5),
|
||||
width = 2000,
|
||||
height = 300,
|
||||
font_size = 250,
|
||||
font_color = {0.95,0.95,0.95,0.9},
|
||||
color = {0.3,0.3,0.3,0.6},
|
||||
tooltip = "Type which page you wish to jump to, then click off",
|
||||
value = "",
|
||||
validation = 1,
|
||||
tab = 1,
|
||||
})
|
||||
end
|
||||
|
||||
function jumpToPage(_, _, inputValue, stillEditing)
|
||||
if inputValue == "" or inputValue == nil then return end -- do nothing if input is empty
|
||||
|
||||
if not stillEditing then -- jump to page if not selecting the textbox anymore
|
||||
jump((tonumber(inputValue) + 2)/2)
|
||||
return
|
||||
elseif string.find(inputValue, "%\n") ~= nil then -- jump to page if enter is pressed
|
||||
inputValue = inputValue.gsub(inputValue, "%\n", "")
|
||||
jump((tonumber(inputValue) + 2)/2)
|
||||
return
|
||||
end
|
||||
|
||||
if (tonumber(inputValue:sub(-1)) == nil) then -- check and remove non numeric character
|
||||
Wait.time(function()
|
||||
self.editInput({
|
||||
index = 0,
|
||||
value = inputValue:sub(1,-2)
|
||||
})
|
||||
end, 0.01)
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
function jump(page)
|
||||
self.Book.setPage(page - 1) -- offset since 0 index
|
||||
Wait.time(function() -- clear page search
|
||||
self.editInput({
|
||||
index = 0,
|
||||
value = "",
|
||||
})
|
||||
end, 0.01)
|
||||
end
|
@ -14,7 +14,7 @@
|
||||
"r": 1
|
||||
},
|
||||
"ContainedObjects_order": [
|
||||
"C2AliceinWonderland.409b50"
|
||||
"C2AliceinWonderland.4cf017"
|
||||
],
|
||||
"ContainedObjects_path": "C2AliceinWonderland.ed1d0c",
|
||||
"CustomMesh": {
|
||||
@ -59,9 +59,9 @@
|
||||
"Sticky": true,
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 8.969,
|
||||
"posY": 1.072,
|
||||
"posZ": -85.1,
|
||||
"posX": 39.825,
|
||||
"posY": 1.249,
|
||||
"posZ": 22.04,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
|
@ -0,0 +1,54 @@
|
||||
{
|
||||
"AltLookAngle": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"Autoraise": true,
|
||||
"ColorDiffuse": {
|
||||
"b": 1,
|
||||
"g": 1,
|
||||
"r": 1
|
||||
},
|
||||
"CustomPDF": {
|
||||
"PDFPage": 0,
|
||||
"PDFPageOffset": 0,
|
||||
"PDFPassword": "",
|
||||
"PDFUrl": "https://github.com/Antimarkovnikov/TTS_AHC_CYOA/blob/master/Dual%20Pages%20C2%20Alice%20in%20Wonderland.pdf?raw=true"
|
||||
},
|
||||
"Description": "Designed by Tyler Gotch",
|
||||
"DragSelectable": true,
|
||||
"GMNotes": "",
|
||||
"GUID": "4cf017",
|
||||
"Grid": true,
|
||||
"GridProjection": false,
|
||||
"Hands": false,
|
||||
"HideWhenFaceDown": false,
|
||||
"IgnoreFoW": false,
|
||||
"LayoutGroupSortIndex": 0,
|
||||
"Locked": false,
|
||||
"LuaScriptState": "",
|
||||
"LuaScript_path": "OptionPanelSource.830bd0/CYOACampaignGuides.e87ea2/C2AliceinWonderland.ed1d0c/C2AliceinWonderland.4cf017.ttslua",
|
||||
"MeasureMovement": false,
|
||||
"Name": "Custom_PDF",
|
||||
"Nickname": "C2 Alice in Wonderland",
|
||||
"Snap": true,
|
||||
"Sticky": true,
|
||||
"Tags": [
|
||||
"CleanUpHelper_ignore"
|
||||
],
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 48.535,
|
||||
"posY": 3.038,
|
||||
"posZ": 29.793,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
"scaleX": 1.76,
|
||||
"scaleY": 1,
|
||||
"scaleZ": 1.76
|
||||
},
|
||||
"Value": 0,
|
||||
"XmlUI": ""
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
function onLoad()
|
||||
self.createInput({
|
||||
input_function = "jumpToPage",
|
||||
function_owner = self,
|
||||
label = "jump to page",
|
||||
alignment = 3,
|
||||
position = Vector(-1.6,0.1,-2.2),
|
||||
rotation = Vector(0,0,0),
|
||||
scale = Vector(0.5,0.5,0.5),
|
||||
width = 2000,
|
||||
height = 300,
|
||||
font_size = 250,
|
||||
font_color = {0.95,0.95,0.95,0.9},
|
||||
color = {0.3,0.3,0.3,0.6},
|
||||
tooltip = "Type which page you wish to jump to, then click off",
|
||||
value = "",
|
||||
validation = 1,
|
||||
tab = 1,
|
||||
})
|
||||
end
|
||||
|
||||
function jumpToPage(_, _, inputValue, stillEditing)
|
||||
if inputValue == "" or inputValue == nil then return end -- do nothing if input is empty
|
||||
|
||||
if not stillEditing then -- jump to page if not selecting the textbox anymore
|
||||
jump((tonumber(inputValue) + 2)/2)
|
||||
return
|
||||
elseif string.find(inputValue, "%\n") ~= nil then -- jump to page if enter is pressed
|
||||
inputValue = inputValue.gsub(inputValue, "%\n", "")
|
||||
jump((tonumber(inputValue) + 2)/2)
|
||||
return
|
||||
end
|
||||
|
||||
if (tonumber(inputValue:sub(-1)) == nil) then -- check and remove non numeric character
|
||||
Wait.time(function()
|
||||
self.editInput({
|
||||
index = 0,
|
||||
value = inputValue:sub(1,-2)
|
||||
})
|
||||
end, 0.01)
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
function jump(page)
|
||||
self.Book.setPage(page - 1) -- offset since 0 index
|
||||
Wait.time(function() -- clear page search
|
||||
self.editInput({
|
||||
index = 0,
|
||||
value = "",
|
||||
})
|
||||
end, 0.01)
|
||||
end
|
@ -0,0 +1,74 @@
|
||||
{
|
||||
"AltLookAngle": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"Autoraise": true,
|
||||
"Bag": {
|
||||
"Order": 0
|
||||
},
|
||||
"ColorDiffuse": {
|
||||
"b": 1,
|
||||
"g": 1,
|
||||
"r": 1
|
||||
},
|
||||
"ContainedObjects_order": [
|
||||
"C3CyclopeanFoundations.0be2cd"
|
||||
],
|
||||
"ContainedObjects_path": "C3CyclopeanFoundations.f72800",
|
||||
"CustomMesh": {
|
||||
"CastShadows": true,
|
||||
"ColliderURL": "",
|
||||
"Convex": true,
|
||||
"CustomShader": {
|
||||
"FresnelStrength": 0,
|
||||
"SpecularColor": {
|
||||
"b": 1,
|
||||
"g": 1,
|
||||
"r": 1
|
||||
},
|
||||
"SpecularIntensity": 0,
|
||||
"SpecularSharpness": 2
|
||||
},
|
||||
"DiffuseURL": "https://github.com/Antimarkovnikov/TTS_AHC_CYOA/blob/master/C3%20Cyclopean%20Foundations.jpg?raw=true",
|
||||
"MaterialIndex": 3,
|
||||
"MeshURL": "https://github.com/Antimarkovnikov/TTS_AHC_CYOA/blob/master/Book%20Model.obj?raw=true",
|
||||
"NormalURL": "",
|
||||
"TypeIndex": 6
|
||||
},
|
||||
"Description": "Designed by Tyler Gotch",
|
||||
"DragSelectable": true,
|
||||
"GMNotes": "",
|
||||
"GUID": "f72800",
|
||||
"Grid": true,
|
||||
"GridProjection": false,
|
||||
"Hands": false,
|
||||
"HideWhenFaceDown": false,
|
||||
"IgnoreFoW": false,
|
||||
"LayoutGroupSortIndex": 0,
|
||||
"Locked": false,
|
||||
"LuaScript": "",
|
||||
"LuaScriptState": "",
|
||||
"MaterialIndex": -1,
|
||||
"MeasureMovement": false,
|
||||
"MeshIndex": -1,
|
||||
"Name": "Custom_Model_Bag",
|
||||
"Nickname": "C3 Cyclopean Foundations",
|
||||
"Snap": true,
|
||||
"Sticky": true,
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 43.493,
|
||||
"posY": 3.182,
|
||||
"posZ": -22.799,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
"scaleX": 1,
|
||||
"scaleY": 1,
|
||||
"scaleZ": 1
|
||||
},
|
||||
"Value": 0,
|
||||
"XmlUI": ""
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
{
|
||||
"AltLookAngle": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"Autoraise": true,
|
||||
"ColorDiffuse": {
|
||||
"b": 1,
|
||||
"g": 1,
|
||||
"r": 1
|
||||
},
|
||||
"CustomPDF": {
|
||||
"PDFPage": 0,
|
||||
"PDFPageOffset": 0,
|
||||
"PDFPassword": "",
|
||||
"PDFUrl": "https://github.com/Antimarkovnikov/TTS_AHC_CYOA/blob/master/Dual%20Pages%20C3%20Cyclopean%20Foundations.pdf?raw=true"
|
||||
},
|
||||
"Description": "Designed by Tyler Gotch",
|
||||
"DragSelectable": true,
|
||||
"GMNotes": "",
|
||||
"GUID": "0be2cd",
|
||||
"Grid": true,
|
||||
"GridProjection": false,
|
||||
"Hands": false,
|
||||
"HideWhenFaceDown": false,
|
||||
"IgnoreFoW": false,
|
||||
"LayoutGroupSortIndex": 0,
|
||||
"Locked": false,
|
||||
"LuaScriptState": "",
|
||||
"LuaScript_path": "OptionPanelSource.830bd0/CYOACampaignGuides.e87ea2/C3CyclopeanFoundations.f72800/C3CyclopeanFoundations.0be2cd.ttslua",
|
||||
"MeasureMovement": false,
|
||||
"Name": "Custom_PDF",
|
||||
"Nickname": "C3 Cyclopean Foundations",
|
||||
"Snap": true,
|
||||
"Sticky": true,
|
||||
"Tags": [
|
||||
"CleanUpHelper_ignore"
|
||||
],
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 48.615,
|
||||
"posY": 3.038,
|
||||
"posZ": 22.463,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
"scaleX": 1.76,
|
||||
"scaleY": 1,
|
||||
"scaleZ": 1.76
|
||||
},
|
||||
"Value": 0,
|
||||
"XmlUI": ""
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
function onLoad()
|
||||
self.createInput({
|
||||
input_function = "jumpToPage",
|
||||
function_owner = self,
|
||||
label = "jump to page",
|
||||
alignment = 3,
|
||||
position = Vector(-1.6,0.1,-2.2),
|
||||
rotation = Vector(0,0,0),
|
||||
scale = Vector(0.5,0.5,0.5),
|
||||
width = 2000,
|
||||
height = 300,
|
||||
font_size = 250,
|
||||
font_color = {0.95,0.95,0.95,0.9},
|
||||
color = {0.3,0.3,0.3,0.6},
|
||||
tooltip = "Type which page you wish to jump to, then click off",
|
||||
value = "",
|
||||
validation = 1,
|
||||
tab = 1,
|
||||
})
|
||||
end
|
||||
|
||||
function jumpToPage(_, _, inputValue, stillEditing)
|
||||
if inputValue == "" or inputValue == nil then return end -- do nothing if input is empty
|
||||
|
||||
if not stillEditing then -- jump to page if not selecting the textbox anymore
|
||||
jump((tonumber(inputValue) + 2)/2)
|
||||
return
|
||||
elseif string.find(inputValue, "%\n") ~= nil then -- jump to page if enter is pressed
|
||||
inputValue = inputValue.gsub(inputValue, "%\n", "")
|
||||
jump((tonumber(inputValue) + 2)/2)
|
||||
return
|
||||
end
|
||||
|
||||
if (tonumber(inputValue:sub(-1)) == nil) then -- check and remove non numeric character
|
||||
Wait.time(function()
|
||||
self.editInput({
|
||||
index = 0,
|
||||
value = inputValue:sub(1,-2)
|
||||
})
|
||||
end, 0.01)
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
function jump(page)
|
||||
self.Book.setPage(page - 1) -- offset since 0 index
|
||||
Wait.time(function() -- clear page search
|
||||
self.editInput({
|
||||
index = 0,
|
||||
value = "",
|
||||
})
|
||||
end, 0.01)
|
||||
end
|
@ -66,9 +66,9 @@
|
||||
"Sticky": true,
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 8.971,
|
||||
"posY": 1.076,
|
||||
"posZ": -73.1,
|
||||
"posX": 48.325,
|
||||
"posY": 1.249,
|
||||
"posZ": 4.04,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
|
@ -34,11 +34,14 @@
|
||||
"Nickname": "P1 01 Read or Die",
|
||||
"Snap": true,
|
||||
"Sticky": true,
|
||||
"Tags": [
|
||||
"CleanUpHelper_ignore"
|
||||
],
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 9.656,
|
||||
"posY": 2.859,
|
||||
"posZ": -72.195,
|
||||
"posX": 56.895,
|
||||
"posY": 3.038,
|
||||
"posZ": 11.163,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
|
@ -34,11 +34,14 @@
|
||||
"Nickname": "P1 02 All or Nothing",
|
||||
"Snap": true,
|
||||
"Sticky": true,
|
||||
"Tags": [
|
||||
"CleanUpHelper_ignore"
|
||||
],
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 9.928,
|
||||
"posY": 2.864,
|
||||
"posZ": -71.817,
|
||||
"posX": 56.42,
|
||||
"posY": 3.038,
|
||||
"posZ": 12.967,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
|
@ -34,11 +34,14 @@
|
||||
"Nickname": "P1 03 Bad Blood",
|
||||
"Snap": true,
|
||||
"Sticky": true,
|
||||
"Tags": [
|
||||
"CleanUpHelper_ignore"
|
||||
],
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 9.889,
|
||||
"posY": 2.863,
|
||||
"posZ": -72.852,
|
||||
"posX": 58.344,
|
||||
"posY": 3.038,
|
||||
"posZ": 11.89,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
|
@ -34,11 +34,14 @@
|
||||
"Nickname": "P1 04 By the Book",
|
||||
"Snap": true,
|
||||
"Sticky": true,
|
||||
"Tags": [
|
||||
"CleanUpHelper_ignore"
|
||||
],
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 11.118,
|
||||
"posY": 2.864,
|
||||
"posZ": -72.564,
|
||||
"posX": 58.036,
|
||||
"posY": 3.038,
|
||||
"posZ": 11.817,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
|
@ -34,11 +34,14 @@
|
||||
"Nickname": "P1 05 Red Tide Rising",
|
||||
"Snap": true,
|
||||
"Sticky": true,
|
||||
"Tags": [
|
||||
"CleanUpHelper_ignore"
|
||||
],
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 8.563,
|
||||
"posY": 2.859,
|
||||
"posZ": -73.32,
|
||||
"posX": 56.928,
|
||||
"posY": 3.038,
|
||||
"posZ": 10.527,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
|
@ -27,18 +27,21 @@
|
||||
"IgnoreFoW": false,
|
||||
"LayoutGroupSortIndex": 0,
|
||||
"Locked": false,
|
||||
"LuaScript": "",
|
||||
"LuaScriptState": "",
|
||||
"LuaScript_path": "OptionPanelSource.830bd0/CYOACampaignGuides.e87ea2/P1ChallengeScenarios.8f7e04/P1ChallengeScenarios.409b50.ttslua",
|
||||
"MeasureMovement": false,
|
||||
"Name": "Custom_PDF",
|
||||
"Nickname": "P1 Challenge Scenarios",
|
||||
"Snap": true,
|
||||
"Sticky": true,
|
||||
"Tags": [
|
||||
"CleanUpHelper_ignore"
|
||||
],
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 9.933,
|
||||
"posY": 2.863,
|
||||
"posZ": -70.772,
|
||||
"posX": 55.947,
|
||||
"posY": 3.038,
|
||||
"posZ": 11.905,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
|
@ -0,0 +1,53 @@
|
||||
function onLoad()
|
||||
self.createInput({
|
||||
input_function = "jumpToPage",
|
||||
function_owner = self,
|
||||
label = "jump to page",
|
||||
alignment = 3,
|
||||
position = Vector(-1.6,0.1,-2.2),
|
||||
rotation = Vector(0,0,0),
|
||||
scale = Vector(0.5,0.5,0.5),
|
||||
width = 2000,
|
||||
height = 300,
|
||||
font_size = 250,
|
||||
font_color = {0.95,0.95,0.95,0.9},
|
||||
color = {0.3,0.3,0.3,0.6},
|
||||
tooltip = "Type which page you wish to jump to, then click off",
|
||||
value = "",
|
||||
validation = 1,
|
||||
tab = 1,
|
||||
})
|
||||
end
|
||||
|
||||
function jumpToPage(_, _, inputValue, stillEditing)
|
||||
if inputValue == "" or inputValue == nil then return end -- do nothing if input is empty
|
||||
|
||||
if not stillEditing then -- jump to page if not selecting the textbox anymore
|
||||
jump((tonumber(inputValue) + 2)/2)
|
||||
return
|
||||
elseif string.find(inputValue, "%\n") ~= nil then -- jump to page if enter is pressed
|
||||
inputValue = inputValue.gsub(inputValue, "%\n", "")
|
||||
jump((tonumber(inputValue) + 2)/2)
|
||||
return
|
||||
end
|
||||
|
||||
if (tonumber(inputValue:sub(-1)) == nil) then -- check and remove non numeric character
|
||||
Wait.time(function()
|
||||
self.editInput({
|
||||
index = 0,
|
||||
value = inputValue:sub(1,-2)
|
||||
})
|
||||
end, 0.01)
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
function jump(page)
|
||||
self.Book.setPage(page - 1) -- offset since 0 index
|
||||
Wait.time(function() -- clear page search
|
||||
self.editInput({
|
||||
index = 0,
|
||||
value = "",
|
||||
})
|
||||
end, 0.01)
|
||||
end
|
@ -34,11 +34,14 @@
|
||||
"Nickname": "P1 DC Death Itself",
|
||||
"Snap": true,
|
||||
"Sticky": true,
|
||||
"Tags": [
|
||||
"CleanUpHelper_ignore"
|
||||
],
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 10.16,
|
||||
"posY": 2.863,
|
||||
"posZ": -72.672,
|
||||
"posX": 57.255,
|
||||
"posY": 3.038,
|
||||
"posZ": 11.839,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
|
@ -34,11 +34,14 @@
|
||||
"Nickname": "P1 DC Then it Multiplied",
|
||||
"Snap": true,
|
||||
"Sticky": true,
|
||||
"Tags": [
|
||||
"CleanUpHelper_ignore"
|
||||
],
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 8.449,
|
||||
"posY": 2.859,
|
||||
"posZ": -73.655,
|
||||
"posX": 56.602,
|
||||
"posY": 3.038,
|
||||
"posZ": 10.863,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
|
@ -30,9 +30,9 @@
|
||||
"Sticky": true,
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 29.34,
|
||||
"posY": 1.368,
|
||||
"posZ": -65.808,
|
||||
"posX": 41.825,
|
||||
"posY": 1.569,
|
||||
"posZ": -32.96,
|
||||
"rotX": 0,
|
||||
"rotY": 90,
|
||||
"rotZ": 0,
|
||||
|
@ -65,9 +65,9 @@
|
||||
"Sticky": true,
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 16.968,
|
||||
"posY": 1.06,
|
||||
"posZ": -85.1,
|
||||
"posX": 48.325,
|
||||
"posY": 1.249,
|
||||
"posZ": 28.04,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
|
@ -34,11 +34,14 @@
|
||||
"Nickname": "S01 02 Carinvale of Horrors",
|
||||
"Snap": true,
|
||||
"Sticky": true,
|
||||
"Tags": [
|
||||
"CleanUpHelper_ignore"
|
||||
],
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 9.315,
|
||||
"posY": 2.511,
|
||||
"posZ": -1.398,
|
||||
"posX": 58.336,
|
||||
"posY": 3.038,
|
||||
"posZ": 37.612,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
|
@ -34,12 +34,15 @@
|
||||
"Nickname": "S1 01 Curse of the Rougarou",
|
||||
"Snap": true,
|
||||
"Sticky": true,
|
||||
"Tags": [
|
||||
"CleanUpHelper_ignore"
|
||||
],
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 8.758,
|
||||
"posY": 2.787,
|
||||
"posZ": -0.99,
|
||||
"rotX": 5,
|
||||
"posX": 59.496,
|
||||
"posY": 3.036,
|
||||
"posZ": 38.605,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
"scaleX": 1.76,
|
||||
|
@ -34,11 +34,14 @@
|
||||
"Nickname": "S1 03 The Labyrinths of Lunacy",
|
||||
"Snap": true,
|
||||
"Sticky": true,
|
||||
"Tags": [
|
||||
"CleanUpHelper_ignore"
|
||||
],
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 6.482,
|
||||
"posY": 2.511,
|
||||
"posZ": -0.145,
|
||||
"posX": 58.243,
|
||||
"posY": 3.038,
|
||||
"posZ": 35.677,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
|
@ -34,12 +34,15 @@
|
||||
"Nickname": "S1 04 Guardians of the Abyss",
|
||||
"Snap": true,
|
||||
"Sticky": true,
|
||||
"Tags": [
|
||||
"CleanUpHelper_ignore"
|
||||
],
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 7.318,
|
||||
"posY": 2.658,
|
||||
"posZ": -1.465,
|
||||
"rotX": 3,
|
||||
"posX": 59.32,
|
||||
"posY": 3.037,
|
||||
"posZ": 38.128,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
"scaleX": 1.76,
|
||||
|
@ -34,14 +34,17 @@
|
||||
"Nickname": "S1 05 Murder at the Excelsior Hotel",
|
||||
"Snap": true,
|
||||
"Sticky": true,
|
||||
"Tags": [
|
||||
"CleanUpHelper_ignore"
|
||||
],
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 8.414,
|
||||
"posY": 2.587,
|
||||
"posZ": -0.941,
|
||||
"posX": 57.922,
|
||||
"posY": 3.038,
|
||||
"posZ": 37.362,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 1,
|
||||
"rotZ": 0,
|
||||
"scaleX": 1.76,
|
||||
"scaleY": 1,
|
||||
"scaleZ": 1.76
|
||||
|
@ -34,14 +34,17 @@
|
||||
"Nickname": "S1 06 The Blob that Ate Everything",
|
||||
"Snap": true,
|
||||
"Sticky": true,
|
||||
"Tags": [
|
||||
"CleanUpHelper_ignore"
|
||||
],
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 7.815,
|
||||
"posY": 2.647,
|
||||
"posZ": 0.798,
|
||||
"posX": 56.811,
|
||||
"posY": 3.037,
|
||||
"posZ": 36.984,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 2,
|
||||
"rotZ": 0,
|
||||
"scaleX": 1.76,
|
||||
"scaleY": 1,
|
||||
"scaleZ": 1.76
|
||||
|
@ -27,18 +27,21 @@
|
||||
"IgnoreFoW": false,
|
||||
"LayoutGroupSortIndex": 0,
|
||||
"Locked": false,
|
||||
"LuaScript": "",
|
||||
"LuaScriptState": "",
|
||||
"LuaScript_path": "OptionPanelSource.830bd0/CYOACampaignGuides.e87ea2/S1Stand-Alones2016-2020.e227ad/S1Stand-AloneScenarios2016-2020.00a430.ttslua",
|
||||
"MeasureMovement": false,
|
||||
"Name": "Custom_PDF",
|
||||
"Nickname": "S1 Stand-Alone Scenarios 2016-2020",
|
||||
"Snap": true,
|
||||
"Sticky": true,
|
||||
"Tags": [
|
||||
"CleanUpHelper_ignore"
|
||||
],
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 7.133,
|
||||
"posY": 2.511,
|
||||
"posZ": 0.024,
|
||||
"posX": 57.747,
|
||||
"posY": 3.038,
|
||||
"posZ": 37.913,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
|
@ -0,0 +1,53 @@
|
||||
function onLoad()
|
||||
self.createInput({
|
||||
input_function = "jumpToPage",
|
||||
function_owner = self,
|
||||
label = "jump to page",
|
||||
alignment = 3,
|
||||
position = Vector(-1.6,0.1,-2.2),
|
||||
rotation = Vector(0,0,0),
|
||||
scale = Vector(0.5,0.5,0.5),
|
||||
width = 2000,
|
||||
height = 300,
|
||||
font_size = 250,
|
||||
font_color = {0.95,0.95,0.95,0.9},
|
||||
color = {0.3,0.3,0.3,0.6},
|
||||
tooltip = "Type which page you wish to jump to, then click off",
|
||||
value = "",
|
||||
validation = 1,
|
||||
tab = 1,
|
||||
})
|
||||
end
|
||||
|
||||
function jumpToPage(_, _, inputValue, stillEditing)
|
||||
if inputValue == "" or inputValue == nil then return end -- do nothing if input is empty
|
||||
|
||||
if not stillEditing then -- jump to page if not selecting the textbox anymore
|
||||
jump((tonumber(inputValue) + 2)/2)
|
||||
return
|
||||
elseif string.find(inputValue, "%\n") ~= nil then -- jump to page if enter is pressed
|
||||
inputValue = inputValue.gsub(inputValue, "%\n", "")
|
||||
jump((tonumber(inputValue) + 2)/2)
|
||||
return
|
||||
end
|
||||
|
||||
if (tonumber(inputValue:sub(-1)) == nil) then -- check and remove non numeric character
|
||||
Wait.time(function()
|
||||
self.editInput({
|
||||
index = 0,
|
||||
value = inputValue:sub(1,-2)
|
||||
})
|
||||
end, 0.01)
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
function jump(page)
|
||||
self.Book.setPage(page - 1) -- offset since 0 index
|
||||
Wait.time(function() -- clear page search
|
||||
self.editInput({
|
||||
index = 0,
|
||||
value = "",
|
||||
})
|
||||
end, 0.01)
|
||||
end
|
@ -62,9 +62,9 @@
|
||||
"Sticky": true,
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 16.968,
|
||||
"posY": 1.058,
|
||||
"posZ": -91.1,
|
||||
"posX": 48.325,
|
||||
"posY": 1.249,
|
||||
"posZ": 22.04,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
|
@ -34,11 +34,14 @@
|
||||
"Nickname": "S2 07 Barkham Horror",
|
||||
"Snap": true,
|
||||
"Sticky": true,
|
||||
"Tags": [
|
||||
"CleanUpHelper_ignore"
|
||||
],
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 16.576,
|
||||
"posY": 2.846,
|
||||
"posZ": -90.917,
|
||||
"posX": 57.284,
|
||||
"posY": 3.038,
|
||||
"posZ": 27.325,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
|
@ -34,11 +34,14 @@
|
||||
"Nickname": "S2 08 War of the Outer Gods",
|
||||
"Snap": true,
|
||||
"Sticky": true,
|
||||
"Tags": [
|
||||
"CleanUpHelper_ignore"
|
||||
],
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": -15.976,
|
||||
"posY": 2.511,
|
||||
"posZ": -13.355,
|
||||
"posX": 58.218,
|
||||
"posY": 3.038,
|
||||
"posZ": 27.814,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
|
@ -34,11 +34,14 @@
|
||||
"Nickname": "S2 09 Machinations Through Time",
|
||||
"Snap": true,
|
||||
"Sticky": true,
|
||||
"Tags": [
|
||||
"CleanUpHelper_ignore"
|
||||
],
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": -15.355,
|
||||
"posY": 2.511,
|
||||
"posZ": -15.28,
|
||||
"posX": 57.54,
|
||||
"posY": 3.038,
|
||||
"posZ": 27.504,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
|
@ -34,11 +34,14 @@
|
||||
"Nickname": "S2 10 Fortune and Folly",
|
||||
"Snap": true,
|
||||
"Sticky": true,
|
||||
"Tags": [
|
||||
"CleanUpHelper_ignore"
|
||||
],
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 17.318,
|
||||
"posY": 2.845,
|
||||
"posZ": -92.94,
|
||||
"posX": 55.414,
|
||||
"posY": 3.038,
|
||||
"posZ": 27.01,
|
||||
"rotX": 0,
|
||||
"rotY": 270,
|
||||
"rotZ": 0,
|
||||
|
@ -0,0 +1,45 @@
|
||||
{
|
||||
"AltLookAngle": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"Autoraise": true,
|
||||
"ColorDiffuse": {
|
||||
"b": 1,
|
||||
"g": 1,
|
||||
"r": 1
|
||||
},
|
||||
"Description": "To Update to the latest version of my campaign guides and their respective covers. On windows go to...\nC:\\Users\\[USERNAME]\\Documents\\My Games\\Tabletop Simulator\\Mods\nAnd search for ANTIMARKOVNIKOV.\nDelete all files find with that in the filename and reload the MOD.",
|
||||
"DragSelectable": true,
|
||||
"GMNotes": "",
|
||||
"GUID": "a1b358",
|
||||
"Grid": true,
|
||||
"GridProjection": false,
|
||||
"Hands": false,
|
||||
"HideWhenFaceDown": false,
|
||||
"IgnoreFoW": false,
|
||||
"LayoutGroupSortIndex": 0,
|
||||
"Locked": false,
|
||||
"LuaScript": "",
|
||||
"LuaScriptState": "",
|
||||
"MeasureMovement": false,
|
||||
"Name": "Notecard",
|
||||
"Nickname": "Updating to New Versions",
|
||||
"Snap": true,
|
||||
"Sticky": true,
|
||||
"Tooltip": true,
|
||||
"Transform": {
|
||||
"posX": 35.825,
|
||||
"posY": 1.569,
|
||||
"posZ": -32.96,
|
||||
"rotX": 0,
|
||||
"rotY": 90,
|
||||
"rotZ": 0,
|
||||
"scaleX": 1.25,
|
||||
"scaleY": 1.25,
|
||||
"scaleZ": 1.25
|
||||
},
|
||||
"Value": 0,
|
||||
"XmlUI": ""
|
||||
}
|
@ -912,7 +912,7 @@ function applyOptionPanelChange(id, state)
|
||||
|
||||
-- option: Show CYOA campaign guides
|
||||
elseif id == "showCYOA" then
|
||||
optionPanel[id] = spawnOrRemoveHelper(state, "CYOA Campaign Guides", {65, 1.6, -11})
|
||||
optionPanel[id] = spawnOrRemoveHelper(state, "CYOA Campaign Guides", {39, 1.3, -20})
|
||||
|
||||
-- option: Show custom playmat images
|
||||
elseif id == "showCustomPlaymatImages" then
|
||||
|
Loading…
Reference in New Issue
Block a user