AltLookAngle: x: 0.0 y: 0.0 z: 0.0 Autoraise: true ColorDiffuse: b: 1.0 g: 1.0 r: 1.0 CustomImage: CustomToken: MergeDistancePixels: 15.0 Stackable: false StandUp: false Thickness: 0.1 ImageScalar: 1.0 ImageSecondaryURL: '' ImageURL: http://cloud-3.steamusercontent.com/ugc/2026086584367391757/2E37A1020563AA528471DA7425B8E58343E2BAF7/ WidthScale: 0.0 Description: Change playmat image to a custom one made by Mint Tea Fan. DragSelectable: true GMNotes: '' GUID: 004fe7 Grid: true GridProjection: false Hands: false HideWhenFaceDown: false IgnoreFoW: false LayoutGroupSortIndex: 0 Locked: false LuaScript: !include 'Custom_Token Custom Playmat Images 004fe7.ttslua' LuaScriptState: '[1,{"AltLookAngle":{"x":0,"y":0,"z":0},"Autoraise":true,"ColorDiffuse":{"a":1,"b":1,"g":1,"r":1},"CustomImage":{"CustomToken":{"MergeDistancePixels":15,"Stackable":false,"StandUp":false,"Thickness":0.1},"ImageScalar":1,"ImageSecondaryURL":"","ImageURL":"https://i.ibb.co/YXjvkMn/Arkham-Uptown-Jokubas-Uogintas.jpg","WidthScale":0},"Description":"Click the ''Apply'' button to load this image.","DragSelectable":true,"GMNotes":"","Grid":true,"GridProjection":false,"GUID":"f4a462","Hands":true,"HideWhenFaceDown":false,"IgnoreFoW":false,"LayoutGroupSortIndex":0,"Locked":false,"LuaScript":"function onLoad()\n local params = {}\n params.click_function = ''updatePlayarea''\n params.function_owner = self\n params.label = ''Apply''\n params.tooltip = ''Left-Click: Apply image\\nRight-Click: Revert to default''\n params.position = { 0, 0.06, -1.45 }\n params.height = 300\n params.width = 675\n params.color = { 0, 0, 0 }\n params.font_size = 200\n params.font_color = { 1, 1, 1 }\n self.createButton(params)\nend\n\nfunction updatePlayarea(_, _, isRightClick)\n local imageswapper = getObjectFromGUID(\"b7b45b\")\n\n -- error handling\n if imageswapper == nil then\n printToAll(\"Image swapper could not be found!\", \"Orange\")\n return\n end\n\n -- get default image when right-clicked, else load its own image\n if isRightClick then\n imageswapper.call(\"updateSurface\")\n else\n imageswapper.call(\"updateSurface\", self.getCustomObject().image)\n end\nend\n","LuaScriptState":"","MeasureMovement":false,"Name":"Custom_Token","Nickname":"Uptown","Snap":true,"Sticky":true,"Tags":["ImageSwapperTile"],"Tooltip":true,"Transform":{"posX":0,"posY":2,"posZ":0,"rotX":0,"rotY":270,"rotZ":0,"scaleX":1,"scaleY":1,"scaleZ":1},"Value":0,"XmlUI":""}]' MeasureMovement: false Name: Custom_Token Nickname: Custom Playmat Images Snap: true Sticky: true Tooltip: true Transform: posX: 44.32 posY: 2.29 posZ: -60.49 rotX: 0.0 rotY: 270.0 rotZ: 0.0 scaleX: 1.33 scaleY: 1.0 scaleZ: 1.33 Value: 0 XmlUI: ''