Autoraise: true ColorDiffuse: b: 1.0 g: 0.607843161 r: 0.117646135 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: http://cloud-3.steamusercontent.com/ugc/1698405840710259396/0685A16950C157A5931EFF426BAF5BFCD0D211EC/ WidthScale: 0.0 Description: 'Left click - Increase Right click - Decrease' DragSelectable: true GMNotes: '' GUID: bccff3 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: http://cloud-3.steamusercontent.com/ugc/1698405840709717713/E6EAF496D5F0959ACDE511892D4CD7017B2378F1/ 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: 12.9289513 posY: 1.50777268 posZ: -19.3998337 rotX: 359.9203 rotY: 270.0005 rotZ: 0.0167057049 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: http://cloud-3.steamusercontent.com/ugc/1698405840709718977/5F3EFE85939C5CFFE06275E32BA90BD1C546DC96/ 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: 12.9289541 posY: 1.50777245 posZ: -19.3998337 rotX: 359.9201 rotY: 270.000427 rotZ: 0.0168603361 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: http://cloud-3.steamusercontent.com/ugc/1698405840709719659/474A6FCC064B63E00ACB9D04246CEE1B0B8B364C/ 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: 12.928956 posY: 1.50777233 posZ: -19.3998337 rotX: 359.920135 rotY: 270.000183 rotZ: 0.0168430489 scaleX: 0.264383852 scaleY: 1.0 scaleZ: 0.264383852 Value: 0 XmlUI: '' Sticky: true Tooltip: false Transform: posX: 15.5801849 posY: 3.57657027 posZ: -17.7123756 rotX: 0.7989747 rotY: 270.009338 rotZ: 357.648376 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: 29.16 posY: 2.5 posZ: -43.17 rotX: 359.99 rotY: 0.0 rotZ: 359.97 scaleX: 1.0 scaleY: 1.0 scaleZ: 1.0 Value: 0 XmlUI: ''