2022-10-19 19:07:47 -04:00
|
|
|
AltLookAngle:
|
2024-01-06 21:32:07 -05:00
|
|
|
x: 0
|
|
|
|
y: 0
|
|
|
|
z: 0
|
2020-11-28 11:46:13 -05:00
|
|
|
Autoraise: true
|
2021-04-10 00:44:08 -04:00
|
|
|
Bag:
|
|
|
|
Order: 0
|
2020-11-28 11:46:13 -05:00
|
|
|
ColorDiffuse:
|
2024-01-06 21:32:07 -05:00
|
|
|
b: 1
|
|
|
|
g: 1
|
|
|
|
r: 1
|
2020-11-28 11:46:13 -05:00
|
|
|
ContainedObjects:
|
2022-10-19 19:07:47 -04:00
|
|
|
- AltLookAngle:
|
2024-01-06 21:32:07 -05:00
|
|
|
x: 0
|
|
|
|
y: 0
|
|
|
|
z: 0
|
2022-10-19 19:07:47 -04:00
|
|
|
Autoraise: true
|
2020-11-28 11:46:13 -05:00
|
|
|
ColorDiffuse:
|
2024-01-06 21:32:07 -05:00
|
|
|
b: 1
|
|
|
|
g: 1
|
|
|
|
r: 1
|
2020-11-28 11:46:13 -05:00
|
|
|
CustomPDF:
|
|
|
|
PDFPage: 0
|
|
|
|
PDFPageOffset: 0
|
|
|
|
PDFPassword: ''
|
2021-07-12 15:49:54 -04:00
|
|
|
PDFUrl: https://github.com/Antimarkovnikov/TTS_AHC_CYOA/blob/master/Dual%20Pages%2001%20Night%20of%20the%20Zealot.pdf?raw=true
|
2020-11-28 11:46:13 -05:00
|
|
|
Description: ''
|
|
|
|
DragSelectable: true
|
|
|
|
GMNotes: ''
|
2021-07-12 15:49:54 -04:00
|
|
|
GUID: '276907'
|
2020-11-28 11:46:13 -05:00
|
|
|
Grid: true
|
|
|
|
GridProjection: false
|
|
|
|
Hands: false
|
|
|
|
HideWhenFaceDown: false
|
|
|
|
IgnoreFoW: false
|
2021-02-13 12:12:29 -05:00
|
|
|
LayoutGroupSortIndex: 0
|
2020-11-28 11:46:13 -05:00
|
|
|
Locked: false
|
2024-03-10 09:56:22 -04:00
|
|
|
LuaScript: "function onLoad()\r\n self.createInput({\r\n input_function
|
|
|
|
= \"jumpToPage\",\r\n function_owner = self,\r\n label =
|
|
|
|
\"jump to page\",\r\n alignment = 3,\r\n position = Vector(-1.6,0.1,-2.2),\r\n
|
|
|
|
\ rotation = Vector(0,0,0),\r\n scale = Vector(0.5,0.5,0.5),\r\n
|
|
|
|
\ width = 2000,\r\n height = 300,\r\n font_size
|
|
|
|
\ = 250,\r\n font_color = {0.95,0.95,0.95,0.9},\r\n color
|
|
|
|
\ = {0.3,0.3,0.3,0.6},\r\n tooltip = \"Type which page you
|
|
|
|
wish to jump to, then click off\",\r\n value = \"\",\r\n validation
|
|
|
|
\ = 1,\r\n tab = 1,\r\n })\r\nend\r\n\r\nfunction jumpToPage(_,
|
|
|
|
_, inputValue, stillEditing)\r\n if inputValue == \"\" or inputValue == nil
|
|
|
|
then return end -- do nothing if input is empty\r\n \r\n if not stillEditing
|
|
|
|
then -- jump to page if not selecting the textbox anymore\r\n jump((tonumber(inputValue)
|
|
|
|
+ 2)/2)\r\n return\r\n elseif string.find(inputValue, \"%\\n\") ~= nil
|
|
|
|
then -- jump to page if enter is pressed\r\n inputValue = inputValue.gsub(inputValue,
|
|
|
|
\"%\\n\", \"\")\r\n jump((tonumber(inputValue) + 2)/2)\r\n return\r\n
|
|
|
|
\ end\r\n \r\n if (tonumber(inputValue:sub(-1)) == nil) then -- check
|
|
|
|
and remove non numeric character\r\n Wait.time(function()\r\n self.editInput({\r\n
|
|
|
|
\ index = 0,\r\n value = inputValue:sub(1,-2)\r\n
|
|
|
|
\ })\r\n end, 0.01)\r\n return\r\n end\r\nend\r\n\r\nfunction
|
|
|
|
jump(page)\r\n self.Book.setPage(page - 1) -- offset since 0 index\r\n Wait.time(function()
|
|
|
|
-- clear page search\r\n self.editInput({\r\n index = 0,\r\n
|
|
|
|
\ value = \"\",\r\n })\r\n end, 0.01)\r\nend"
|
2020-11-28 11:46:13 -05:00
|
|
|
LuaScriptState: ''
|
|
|
|
MeasureMovement: false
|
|
|
|
Name: Custom_PDF
|
|
|
|
Nickname: Night of the Zealot
|
|
|
|
Snap: true
|
|
|
|
Sticky: true
|
2024-01-06 21:32:07 -05:00
|
|
|
Tags:
|
|
|
|
- CleanUpHelper_ignore
|
2020-11-28 11:46:13 -05:00
|
|
|
Tooltip: true
|
|
|
|
Transform:
|
2024-01-06 21:32:07 -05:00
|
|
|
posX: 66.463
|
|
|
|
posY: 3.037
|
|
|
|
posZ: 36.845
|
|
|
|
rotX: 0
|
|
|
|
rotY: 270
|
|
|
|
rotZ: 0
|
2022-12-13 14:02:30 -05:00
|
|
|
scaleX: 1.76
|
2024-01-06 21:32:07 -05:00
|
|
|
scaleY: 1
|
2022-12-13 14:02:30 -05:00
|
|
|
scaleZ: 1.76
|
2021-04-25 09:57:58 -04:00
|
|
|
Value: 0
|
2020-11-28 11:46:13 -05:00
|
|
|
XmlUI: ''
|
|
|
|
CustomMesh:
|
|
|
|
CastShadows: true
|
|
|
|
ColliderURL: ''
|
|
|
|
Convex: true
|
|
|
|
CustomShader:
|
2024-01-06 21:32:07 -05:00
|
|
|
FresnelStrength: 0
|
2020-11-28 11:46:13 -05:00
|
|
|
SpecularColor:
|
2024-01-06 21:32:07 -05:00
|
|
|
b: 1
|
|
|
|
g: 1
|
|
|
|
r: 1
|
|
|
|
SpecularIntensity: 0
|
|
|
|
SpecularSharpness: 2
|
2021-07-12 15:49:54 -04:00
|
|
|
DiffuseURL: https://github.com/Antimarkovnikov/TTS_AHC_CYOA/blob/master/01%20Night%20of%20the%20Zealot.jpg?raw=true
|
2020-11-28 11:46:13 -05:00
|
|
|
MaterialIndex: 3
|
2021-07-12 15:49:54 -04:00
|
|
|
MeshURL: https://github.com/Antimarkovnikov/TTS_AHC_CYOA/blob/master/Book%20Model.obj?raw=true
|
2020-11-28 11:46:13 -05:00
|
|
|
NormalURL: ''
|
|
|
|
TypeIndex: 6
|
2021-07-12 15:49:54 -04:00
|
|
|
Description: ''
|
2020-11-28 11:46:13 -05:00
|
|
|
DragSelectable: true
|
|
|
|
GMNotes: ''
|
2021-07-12 15:49:54 -04:00
|
|
|
GUID: 56a91d
|
2020-11-28 11:46:13 -05:00
|
|
|
Grid: true
|
|
|
|
GridProjection: false
|
|
|
|
Hands: false
|
|
|
|
HideWhenFaceDown: false
|
|
|
|
IgnoreFoW: false
|
2021-02-13 12:12:29 -05:00
|
|
|
LayoutGroupSortIndex: 0
|
2020-11-28 11:46:13 -05:00
|
|
|
Locked: false
|
|
|
|
LuaScript: ''
|
|
|
|
LuaScriptState: ''
|
|
|
|
MaterialIndex: -1
|
|
|
|
MeasureMovement: false
|
|
|
|
MeshIndex: -1
|
|
|
|
Name: Custom_Model_Bag
|
2021-07-12 15:49:54 -04:00
|
|
|
Nickname: 01 Night of the Zealot
|
2020-11-28 11:46:13 -05:00
|
|
|
Snap: true
|
|
|
|
Sticky: true
|
|
|
|
Tooltip: true
|
|
|
|
Transform:
|
2024-02-04 10:51:51 -05:00
|
|
|
posX: 65
|
2024-01-06 21:32:07 -05:00
|
|
|
posY: 1.25
|
2024-02-04 10:51:51 -05:00
|
|
|
posZ: 35
|
2024-01-06 21:32:07 -05:00
|
|
|
rotX: 0
|
|
|
|
rotY: 270
|
|
|
|
rotZ: 0
|
|
|
|
scaleX: 1
|
|
|
|
scaleY: 1
|
|
|
|
scaleZ: 1
|
2021-04-25 09:57:58 -04:00
|
|
|
Value: 0
|
2020-11-28 11:46:13 -05:00
|
|
|
XmlUI: ''
|