ah_sce_unpacked/unpacked/Infinite_Bag Berwind's Stat Counters 236fb4.yaml
2021-07-03 14:00:44 -04:00

382 lines
17 KiB
YAML

Autoraise: true
ColorDiffuse:
b: 1.0
g: 0.607843161
r: 0.117646672
ContainedObjects:
- Autoraise: true
ColorDiffuse:
b: 1.0
g: 1.0
r: 1.0
CustomImage:
CustomToken:
MergeDistancePixels: 5.0
Stackable: false
StandUp: false
Thickness: 0.1
ImageScalar: 1.0
ImageSecondaryURL: ''
ImageURL: https://i.imgur.com/i2IDOcO.png
WidthScale: 0.0
Description: 'Left click - Increase
Right click - Decrease'
DragSelectable: true
GMNotes: ''
GUID: 85a8ed
Grid: false
GridProjection: false
Hands: false
HideWhenFaceDown: false
IgnoreFoW: false
LayoutGroupSortIndex: 0
Locked: false
LuaScript: "MIN_VALUE = -99\r\nMAX_VALUE = 999\r\n\r\nfunction onload(saved_data)\r\
\n light_mode = false\r\n val = 0\r\n\r\n if saved_data ~= \"\" then\r\
\n local loaded_data = JSON.decode(saved_data)\r\n light_mode =\
\ loaded_data[1]\r\n val = loaded_data[2]\r\n end\r\n\r\n createAll()\r\
\nend\r\n\r\nfunction updateSave()\r\n local data_to_save = {light_mode, val}\r\
\n saved_data = JSON.encode(data_to_save)\r\n self.script_state = saved_data\r\
\nend\r\n\r\nfunction createAll()\r\n s_color = {0.5, 0.5, 0.5, 95}\r\n\r\n\
\ if light_mode then\r\n f_color = {1,1,1,95}\r\n else\r\n \
\ f_color = {0,0,0,100}\r\n end\r\n\r\n\r\n\r\n self.createButton({\r\n\
\ label=tostring(val),\r\n click_function=\"add_subtract\",\r\n \
\ function_owner=self,\r\n position={0,0.05,0},\r\n height=600,\r\n\
\ width=1000,\r\n alignment = 3,\r\n scale={x=1.5, y=1.5, z=1.5},\r\
\n font_size=600,\r\n font_color=f_color,\r\n color={0,0,0,0}\r\
\n })\r\n\r\n\r\n\r\n\r\n if light_mode then\r\n lightButtonText\
\ = \"[ Set dark ]\"\r\n else\r\n lightButtonText = \"[ Set light ]\"\
\r\n end\r\n \r\nend\r\n\r\nfunction removeAll()\r\n self.removeInput(0)\r\
\n self.removeInput(1)\r\n self.removeButton(0)\r\n self.removeButton(1)\r\
\n self.removeButton(2)\r\nend\r\n\r\nfunction reloadAll()\r\n removeAll()\r\
\n createAll()\r\n\r\n updateSave()\r\nend\r\n\r\nfunction swap_fcolor(_obj,\
\ _color, alt_click)\r\n light_mode = not light_mode\r\n reloadAll()\r\n\
end\r\n\r\nfunction swap_align(_obj, _color, alt_click)\r\n center_mode = not\
\ center_mode\r\n reloadAll()\r\nend\r\n\r\nfunction editName(_obj, _string,\
\ value) \r\n self.setName(value)\r\n setTooltips()\r\nend\r\n\r\nfunction\
\ add_subtract(_obj, _color, alt_click)\r\n mod = alt_click and -1 or 1\r\n\
\ new_value = math.min(math.max(val + mod, MIN_VALUE), MAX_VALUE)\r\n if\
\ val ~= new_value then\r\n val = new_value\r\n updateVal()\r\n \
\ updateSave()\r\n end\r\nend\r\n\r\nfunction updateVal()\r\n\r\n self.editButton({\r\
\n index = 0,\r\n label = tostring(val),\r\n\r\n })\r\nend\r\
\n\r\nfunction reset_val()\r\n val = 0\r\n updateVal()\r\n updateSave()\r\
\nend\r\n\r\nfunction setTooltips()\r\n self.editInput({\r\n index =\
\ 0,\r\n value = self.getName(),\r\n tooltip = ttText\r\n \
\ })\r\n self.editButton({\r\n index = 0,\r\n value = tostring(val),\r\
\n tooltip = ttText\r\n })\r\nend\r\n\r\nfunction null()\r\nend\r\
\n\r\nfunction keepSample(_obj, _string, value) \r\n reloadAll()\r\nend"
LuaScriptState: '[true,0]'
MeasureMovement: false
Name: Custom_Token
Nickname: 'Doom counter
'
Snap: false
States:
'2':
Autoraise: true
ColorDiffuse:
b: 1.0
g: 1.0
r: 1.0
CustomImage:
CustomToken:
MergeDistancePixels: 5.0
Stackable: false
StandUp: false
Thickness: 0.1
ImageScalar: 1.0
ImageSecondaryURL: ''
ImageURL: https://i.imgur.com/sj8GatY.png
WidthScale: 0.0
Description: 'Left click - Increase
Right click - Decrease'
DragSelectable: true
GMNotes: ''
GUID: c1fe65
Grid: false
GridProjection: false
Hands: false
HideWhenFaceDown: false
IgnoreFoW: false
LayoutGroupSortIndex: 0
Locked: false
LuaScript: "MIN_VALUE = -99\r\nMAX_VALUE = 999\r\n\r\nfunction onload(saved_data)\r\
\n light_mode = false\r\n val = 0\r\n\r\n if saved_data ~= \"\" then\r\
\n local loaded_data = JSON.decode(saved_data)\r\n light_mode\
\ = loaded_data[1]\r\n val = loaded_data[2]\r\n end\r\n\r\n createAll()\r\
\nend\r\n\r\nfunction updateSave()\r\n local data_to_save = {light_mode,\
\ val}\r\n saved_data = JSON.encode(data_to_save)\r\n self.script_state\
\ = saved_data\r\nend\r\n\r\nfunction createAll()\r\n s_color = {0.5, 0.5,\
\ 0.5, 95}\r\n\r\n if light_mode then\r\n f_color = {1,1,1,95}\r\
\n else\r\n f_color = {0,0,0,100}\r\n end\r\n\r\n\r\n\r\n \
\ self.createButton({\r\n label=tostring(val),\r\n click_function=\"\
add_subtract\",\r\n function_owner=self,\r\n position={0,0.05,0},\r\
\n height=600,\r\n width=1000,\r\n alignment = 3,\r\n \
\ scale={x=1.5, y=1.5, z=1.5},\r\n font_size=600,\r\n font_color=f_color,\r\
\n color={0,0,0,0}\r\n })\r\n\r\n\r\n\r\n\r\n if light_mode then\r\
\n lightButtonText = \"[ Set dark ]\"\r\n else\r\n lightButtonText\
\ = \"[ Set light ]\"\r\n end\r\n \r\nend\r\n\r\nfunction removeAll()\r\
\n self.removeInput(0)\r\n self.removeInput(1)\r\n self.removeButton(0)\r\
\n self.removeButton(1)\r\n self.removeButton(2)\r\nend\r\n\r\nfunction\
\ reloadAll()\r\n removeAll()\r\n createAll()\r\n\r\n updateSave()\r\
\nend\r\n\r\nfunction swap_fcolor(_obj, _color, alt_click)\r\n light_mode\
\ = not light_mode\r\n reloadAll()\r\nend\r\n\r\nfunction swap_align(_obj,\
\ _color, alt_click)\r\n center_mode = not center_mode\r\n reloadAll()\r\
\nend\r\n\r\nfunction editName(_obj, _string, value) \r\n self.setName(value)\r\
\n setTooltips()\r\nend\r\n\r\nfunction add_subtract(_obj, _color, alt_click)\r\
\n mod = alt_click and -1 or 1\r\n new_value = math.min(math.max(val\
\ + mod, MIN_VALUE), MAX_VALUE)\r\n if val ~= new_value then\r\n \
\ val = new_value\r\n updateVal()\r\n updateSave()\r\n end\r\
\nend\r\n\r\nfunction updateVal()\r\n\r\n self.editButton({\r\n \
\ index = 0,\r\n label = tostring(val),\r\n\r\n })\r\nend\r\n\
\r\nfunction reset_val()\r\n val = 0\r\n updateVal()\r\n updateSave()\r\
\nend\r\n\r\nfunction setTooltips()\r\n self.editInput({\r\n index\
\ = 0,\r\n value = self.getName(),\r\n tooltip = ttText\r\n\
\ })\r\n self.editButton({\r\n index = 0,\r\n value\
\ = tostring(val),\r\n tooltip = ttText\r\n })\r\nend\r\n\r\n\
function null()\r\nend\r\n\r\nfunction keepSample(_obj, _string, value) \r\
\n reloadAll()\r\nend"
LuaScriptState: '[true,0]'
MeasureMovement: false
Name: Custom_Token
Nickname: 'Doom counter
'
Snap: false
Sticky: true
Tooltip: false
Transform:
posX: 29.9546986
posY: 1.48485112
posZ: -16.6340256
rotX: 359.92
rotY: 269.999817
rotZ: 0.0169430766
scaleX: 0.264383852
scaleY: 1.0
scaleZ: 0.264383852
Value: 0
XmlUI: ''
'3':
Autoraise: true
ColorDiffuse:
b: 1.0
g: 1.0
r: 1.0
CustomImage:
CustomToken:
MergeDistancePixels: 5.0
Stackable: false
StandUp: false
Thickness: 0.1
ImageScalar: 1.0
ImageSecondaryURL: ''
ImageURL: https://i.imgur.com/YBjxze6.png
WidthScale: 0.0
Description: 'Left click - Increase
Right click - Decrease'
DragSelectable: true
GMNotes: ''
GUID: 9136c6
Grid: false
GridProjection: false
Hands: false
HideWhenFaceDown: false
IgnoreFoW: false
LayoutGroupSortIndex: 0
Locked: false
LuaScript: "MIN_VALUE = -99\r\nMAX_VALUE = 999\r\n\r\nfunction onload(saved_data)\r\
\n light_mode = false\r\n val = 0\r\n\r\n if saved_data ~= \"\" then\r\
\n local loaded_data = JSON.decode(saved_data)\r\n light_mode\
\ = loaded_data[1]\r\n val = loaded_data[2]\r\n end\r\n\r\n createAll()\r\
\nend\r\n\r\nfunction updateSave()\r\n local data_to_save = {light_mode,\
\ val}\r\n saved_data = JSON.encode(data_to_save)\r\n self.script_state\
\ = saved_data\r\nend\r\n\r\nfunction createAll()\r\n s_color = {0.5, 0.5,\
\ 0.5, 95}\r\n\r\n if light_mode then\r\n f_color = {1,1,1,95}\r\
\n else\r\n f_color = {0,0,0,100}\r\n end\r\n\r\n\r\n\r\n \
\ self.createButton({\r\n label=tostring(val),\r\n click_function=\"\
add_subtract\",\r\n function_owner=self,\r\n position={0,0.05,0},\r\
\n height=600,\r\n width=1000,\r\n alignment = 3,\r\n \
\ scale={x=1.5, y=1.5, z=1.5},\r\n font_size=600,\r\n font_color=f_color,\r\
\n color={0,0,0,0}\r\n })\r\n\r\n\r\n\r\n\r\n if light_mode then\r\
\n lightButtonText = \"[ Set dark ]\"\r\n else\r\n lightButtonText\
\ = \"[ Set light ]\"\r\n end\r\n \r\nend\r\n\r\nfunction removeAll()\r\
\n self.removeInput(0)\r\n self.removeInput(1)\r\n self.removeButton(0)\r\
\n self.removeButton(1)\r\n self.removeButton(2)\r\nend\r\n\r\nfunction\
\ reloadAll()\r\n removeAll()\r\n createAll()\r\n\r\n updateSave()\r\
\nend\r\n\r\nfunction swap_fcolor(_obj, _color, alt_click)\r\n light_mode\
\ = not light_mode\r\n reloadAll()\r\nend\r\n\r\nfunction swap_align(_obj,\
\ _color, alt_click)\r\n center_mode = not center_mode\r\n reloadAll()\r\
\nend\r\n\r\nfunction editName(_obj, _string, value) \r\n self.setName(value)\r\
\n setTooltips()\r\nend\r\n\r\nfunction add_subtract(_obj, _color, alt_click)\r\
\n mod = alt_click and -1 or 1\r\n new_value = math.min(math.max(val\
\ + mod, MIN_VALUE), MAX_VALUE)\r\n if val ~= new_value then\r\n \
\ val = new_value\r\n updateVal()\r\n updateSave()\r\n end\r\
\nend\r\n\r\nfunction updateVal()\r\n\r\n self.editButton({\r\n \
\ index = 0,\r\n label = tostring(val),\r\n\r\n })\r\nend\r\n\
\r\nfunction reset_val()\r\n val = 0\r\n updateVal()\r\n updateSave()\r\
\nend\r\n\r\nfunction setTooltips()\r\n self.editInput({\r\n index\
\ = 0,\r\n value = self.getName(),\r\n tooltip = ttText\r\n\
\ })\r\n self.editButton({\r\n index = 0,\r\n value\
\ = tostring(val),\r\n tooltip = ttText\r\n })\r\nend\r\n\r\n\
function null()\r\nend\r\n\r\nfunction keepSample(_obj, _string, value) \r\
\n reloadAll()\r\nend"
LuaScriptState: '[true,0]'
MeasureMovement: false
Name: Custom_Token
Nickname: 'Doom counter
'
Snap: false
Sticky: true
Tooltip: false
Transform:
posX: 29.9547024
posY: 1.48485112
posZ: -16.6340275
rotX: 359.920074
rotY: 269.999573
rotZ: 0.01686434
scaleX: 0.264383852
scaleY: 1.0
scaleZ: 0.264383852
Value: 0
XmlUI: ''
'4':
Autoraise: true
ColorDiffuse:
b: 1.0
g: 1.0
r: 1.0
CustomImage:
CustomToken:
MergeDistancePixels: 5.0
Stackable: false
StandUp: false
Thickness: 0.1
ImageScalar: 1.0
ImageSecondaryURL: ''
ImageURL: https://i.imgur.com/vXVWwD0.png
WidthScale: 0.0
Description: 'Left click - Increase
Right click - Decrease'
DragSelectable: true
GMNotes: ''
GUID: a0b6df
Grid: false
GridProjection: false
Hands: false
HideWhenFaceDown: false
IgnoreFoW: false
LayoutGroupSortIndex: 0
Locked: false
LuaScript: "MIN_VALUE = -99\r\nMAX_VALUE = 999\r\n\r\nfunction onload(saved_data)\r\
\n light_mode = false\r\n val = 0\r\n\r\n if saved_data ~= \"\" then\r\
\n local loaded_data = JSON.decode(saved_data)\r\n light_mode\
\ = loaded_data[1]\r\n val = loaded_data[2]\r\n end\r\n\r\n createAll()\r\
\nend\r\n\r\nfunction updateSave()\r\n local data_to_save = {light_mode,\
\ val}\r\n saved_data = JSON.encode(data_to_save)\r\n self.script_state\
\ = saved_data\r\nend\r\n\r\nfunction createAll()\r\n s_color = {0.5, 0.5,\
\ 0.5, 95}\r\n\r\n if light_mode then\r\n f_color = {1,1,1,95}\r\
\n else\r\n f_color = {0,0,0,100}\r\n end\r\n\r\n\r\n\r\n \
\ self.createButton({\r\n label=tostring(val),\r\n click_function=\"\
add_subtract\",\r\n function_owner=self,\r\n position={0,0.05,0},\r\
\n height=600,\r\n width=1000,\r\n alignment = 3,\r\n \
\ scale={x=1.5, y=1.5, z=1.5},\r\n font_size=600,\r\n font_color=f_color,\r\
\n color={0,0,0,0}\r\n })\r\n\r\n\r\n\r\n\r\n if light_mode then\r\
\n lightButtonText = \"[ Set dark ]\"\r\n else\r\n lightButtonText\
\ = \"[ Set light ]\"\r\n end\r\n \r\nend\r\n\r\nfunction removeAll()\r\
\n self.removeInput(0)\r\n self.removeInput(1)\r\n self.removeButton(0)\r\
\n self.removeButton(1)\r\n self.removeButton(2)\r\nend\r\n\r\nfunction\
\ reloadAll()\r\n removeAll()\r\n createAll()\r\n\r\n updateSave()\r\
\nend\r\n\r\nfunction swap_fcolor(_obj, _color, alt_click)\r\n light_mode\
\ = not light_mode\r\n reloadAll()\r\nend\r\n\r\nfunction swap_align(_obj,\
\ _color, alt_click)\r\n center_mode = not center_mode\r\n reloadAll()\r\
\nend\r\n\r\nfunction editName(_obj, _string, value) \r\n self.setName(value)\r\
\n setTooltips()\r\nend\r\n\r\nfunction add_subtract(_obj, _color, alt_click)\r\
\n mod = alt_click and -1 or 1\r\n new_value = math.min(math.max(val\
\ + mod, MIN_VALUE), MAX_VALUE)\r\n if val ~= new_value then\r\n \
\ val = new_value\r\n updateVal()\r\n updateSave()\r\n end\r\
\nend\r\n\r\nfunction updateVal()\r\n\r\n self.editButton({\r\n \
\ index = 0,\r\n label = tostring(val),\r\n\r\n })\r\nend\r\n\
\r\nfunction reset_val()\r\n val = 0\r\n updateVal()\r\n updateSave()\r\
\nend\r\n\r\nfunction setTooltips()\r\n self.editInput({\r\n index\
\ = 0,\r\n value = self.getName(),\r\n tooltip = ttText\r\n\
\ })\r\n self.editButton({\r\n index = 0,\r\n value\
\ = tostring(val),\r\n tooltip = ttText\r\n })\r\nend\r\n\r\n\
function null()\r\nend\r\n\r\nfunction keepSample(_obj, _string, value) \r\
\n reloadAll()\r\nend"
LuaScriptState: '[true,0]'
MeasureMovement: false
Name: Custom_Token
Nickname: 'Doom counter
'
Snap: false
Sticky: true
Tooltip: false
Transform:
posX: 29.9547157
posY: 1.48485112
posZ: -16.6340332
rotX: 359.920166
rotY: 269.9991
rotZ: 0.016858859
scaleX: 0.264383852
scaleY: 1.0
scaleZ: 0.264383852
Value: 0
XmlUI: ''
Sticky: true
Tooltip: false
Transform:
posX: 34.4117432
posY: 3.54928732
posZ: -11.0901642
rotX: 359.342377
rotY: 270.0276
rotZ: 359.3455
scaleX: 0.264383852
scaleY: 1.0
scaleZ: 0.264383852
Value: 0
XmlUI: ''
Description: ''
DragSelectable: true
GMNotes: ''
GUID: 236fb4
Grid: true
GridProjection: false
Hands: false
HideWhenFaceDown: false
IgnoreFoW: false
LayoutGroupSortIndex: 0
Locked: false
LuaScript: ''
LuaScriptState: ''
MaterialIndex: -1
MeasureMovement: false
MeshIndex: -1
Name: Infinite_Bag
Nickname: Berwind's Stat Counters
Snap: true
Sticky: true
Tooltip: true
Transform:
posX: 38.3
posY: 1.41
posZ: -17.86
rotX: 359.98
rotY: 0.0
rotZ: 359.92
scaleX: 1.0
scaleY: 1.0
scaleZ: 1.0
Value: 0
XmlUI: ''