Commit 9a25646e authored by M.A.'s avatar M.A. 💬
Browse files

1.1.1.3 Maintenance update

parent ea1a6ebb
Pipeline #364276082 passed with stage
in 14 seconds
......@@ -14,6 +14,5 @@ charset = utf-8
trim_trailing_whitespace = true
[*.{yml,yaml,json}]
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
foundry.js
gulpfile.js
// eslint-disable-next-line no-undef
module.exports = {
env: {
jquery: true,
browser: true,
es6: true,
es2021: true,
},
extends: 'eslint:recommended',
parserOptions: {
ecmaVersion: 2021, // = 12; redundant with es2021 option
sourceType: 'module',
ecmaFeatures: {
globalReturn: false,
impliedStrict: true,
}
},
rules: {
'class-methods-use-this': ['warn', {
exceptMethods: ['getData', '_updateObject'],
}],
'no-unused-vars': ['warn', {
"argsIgnorePattern": "^_"
}],
'no-shadow': ["error", { "builtinGlobals": true, "hoist": "all", "allow": ["event"] }],
'strict': ['warn', 'global'],
},
globals: {
AudioHelper: 'readonly',
Collection: 'readonly',
Hooks: 'readonly',
KeyboardManager: 'readonly',
ClientSettings: 'readonly',
WorldSettingsStorage: 'readonly',
SetupConfiguration: 'readonly',
SocketInterface: 'readonly',
SortingHelpers: 'readonly',
VideoHelper: 'readonly',
Application: 'readonly',
FormApplication: 'readonly',
BaseEntitySheet: 'readonly',
Localization: 'readonly',
Game: 'readonly',
game: 'readonly',
Die: 'readonly',
FateDie: 'readonly',
DicePool: 'readonly',
Roll: 'readonly',
MersenneTwister: 'readonly',
EntityCollection: 'readonly',
Compendium: 'readonly',
Entity: 'readonly',
Canvas: 'readonly',
CanvasLayer: 'readonly',
PlaceableObject: 'readonly',
PlaceablesLayer: 'readonly',
ContextMenu: 'readonly',
Dialog: 'readonly',
Draggable: 'readonly',
DragDrop: 'readonly',
TextEditor: 'readonly',
FilePicker: 'readonly',
Notifications: 'readonly',
Tabs: 'readonly',
TabsV2: 'readonly',
WebRTC: 'readonly',
WebRTCInterface: 'readonly',
WebRTCSettings: 'readonly',
ActorSheet: 'readonly',
AVConfig: 'readonly',
CombatTrackerConfig: 'readonly',
FolderConfig: 'readonly',
GridConfig: 'readonly',
ImagePopout: 'readonly',
ItemSheet: 'readonly',
JournalSheet: 'readonly',
MacroConfig: 'readonly',
MeasuredTemplateConfig: 'readonly',
PermissionControl: 'readonly',
PlayerConfig: 'readonly',
PlaylistConfig: 'readonly',
PlaylistSoundConfig: 'readonly',
RollTableConfig: 'readonly',
SceneConfig: 'readonly',
EntitySheetConfig: 'readonly',
CameraPopoutAppWrapper: 'readonly',
CameraViews: 'readonly',
ChatBubbles: 'readonly',
HeadsUpDisplay: 'readonly',
SceneControls: 'readonly',
Hotbar: 'readonly',
BasePlaceableHUD: 'readonly',
MainMenu: 'readonly',
SceneNavigation: 'readonly',
Pause: 'readonly',
PlayerList: 'readonly',
DrawingConfig: 'readonly',
DrawingHUD: 'readonly',
LightConfig: 'readonly',
NoteConfig: 'readonly',
AmbientSoundConfig: 'readonly',
TileConfig: 'readonly',
TileHUD: 'readonly',
TokenConfig: 'readonly',
TokenHUD: 'readonly',
WallConfig: 'readonly',
EULA: 'readonly',
InstallPackage: 'readonly',
SetupConfigurationForm: 'readonly',
UpdateNotes: 'readonly',
UserManagement: 'readonly',
WorldConfig: 'readonly',
Sidebar: 'readonly',
SidebarTab: 'readonly',
SidebarDirectory: 'readonly',
Actors: 'readonly',
Actor: 'readonly',
ActorTokenHelpers: 'readonly',
CombatEncounters: 'readonly',
Combat: 'readonly',
Folders: 'readonly',
Folder: 'readonly',
Items: 'readonly',
Item: 'readonly',
Journal: 'readonly',
JournalEntry: 'readonly',
Macros: 'readonly',
Macro: 'readonly',
Messages: 'readonly',
ChatMessage: 'readonly',
Playlists: 'readonly',
Playlist: 'readonly',
Scenes: 'readonly',
Scene: 'readonly',
RollTables: 'readonly',
RollTable: 'readonly',
Users: 'readonly',
User: 'readonly',
UserTargets: 'readonly',
CanvasAnimation: 'readonly',
ControlIcon: 'readonly',
TextureLoader: 'readonly',
MouseInteractionManager: 'readonly',
Ray: 'readonly',
NormalizedRectangle: 'readonly',
ResizeHandle: 'readonly',
SightLayerSource: 'readonly',
BackgroundLayer: 'readonly',
DrawingsLayer: 'readonly',
EffectsLayer: 'readonly',
LightingLayer: 'readonly',
NotesLayer: 'readonly',
SightLayer: 'readonly',
SoundsLayer: 'readonly',
TemplateLayer: 'readonly',
TilesLayer: 'readonly',
TokenLayer: 'readonly',
WallsLayer: 'readonly',
Drawing: 'readonly',
AmbientLight: 'readonly',
Note: 'readonly',
AmbientSound: 'readonly',
MeasuredTemplate: 'readonly',
Tile: 'readonly',
Token: 'readonly',
Wall: 'readonly',
SettingsConfig: 'readonly',
ControlsReference: 'readonly',
InvitationLinks: 'readonly',
ModuleManagement: 'readonly',
PermissionConfig: 'readonly',
ActorDirectory: 'readonly',
ChatLog: 'readonly',
CombatTracker: 'readonly',
CompendiumDirectory: 'readonly',
ItemDirectory: 'readonly',
JournalDirectory: 'readonly',
MacroDirectory: 'readonly',
PlaylistDirectory: 'readonly',
SceneDirectory: 'readonly',
Settings: 'readonly',
FrameViewer: 'readonly',
RollTableDirectory: 'readonly',
Cursor: 'readonly',
DoorControl: 'readonly',
ControlsLayer: 'readonly',
Ruler: 'readonly',
SpecialEffect: 'readonly',
AutumnLeavesWeatherEffect: 'readonly',
RainWeatherEffect: 'readonly',
SnowWeatherEffect: 'readonly',
BaseGrid: 'readonly',
HexagonalGrid: 'readonly',
GridHighlight: 'readonly',
GridLayer: 'readonly',
SquareGrid: 'readonly',
EasyRTCClient: 'readonly',
parent: 'readonly',
opener: 'readonly',
top: 'readonly',
length: 'readonly',
frames: 'readonly',
closed: 'readonly',
location: 'readonly',
self: 'readonly',
window: 'readonly',
document: 'readonly',
name: 'readonly',
customElements: 'readonly',
history: 'readonly',
locationbar: 'readonly',
menubar: 'readonly',
personalbar: 'readonly',
scrollbars: 'readonly',
statusbar: 'readonly',
toolbar: 'readonly',
status: 'readonly',
frameElement: 'readonly',
navigator: 'readonly',
origin: 'readonly',
external: 'readonly',
screen: 'readonly',
innerWidth: 'readonly',
innerHeight: 'readonly',
scrollX: 'readonly',
pageXOffset: 'readonly',
scrollY: 'readonly',
pageYOffset: 'readonly',
visualViewport: 'readonly',
screenX: 'readonly',
screenY: 'readonly',
outerWidth: 'readonly',
outerHeight: 'readonly',
devicePixelRatio: 'readonly',
clientInformation: 'readonly',
screenLeft: 'readonly',
screenTop: 'readonly',
defaultStatus: 'readonly',
defaultstatus: 'readonly',
styleMedia: 'readonly',
onsearch: 'readonly',
isSecureContext: 'readonly',
onabort: 'readonly',
onblur: 'readonly',
oncancel: 'readonly',
oncanplay: 'readonly',
oncanplaythrough: 'readonly',
onchange: 'readonly',
onclick: 'readonly',
onclose: 'readonly',
oncontextmenu: 'readonly',
oncuechange: 'readonly',
ondblclick: 'readonly',
ondrag: 'readonly',
ondragend: 'readonly',
ondragenter: 'readonly',
ondragleave: 'readonly',
ondragover: 'readonly',
ondragstart: 'readonly',
ondrop: 'readonly',
ondurationchange: 'readonly',
onemptied: 'readonly',
onended: 'readonly',
onerror: 'readonly',
onfocus: 'readonly',
onformdata: 'readonly',
oninput: 'readonly',
oninvalid: 'readonly',
onkeydown: 'readonly',
onkeypress: 'readonly',
onkeyup: 'readonly',
onload: 'readonly',
onloadeddata: 'readonly',
onloadedmetadata: 'readonly',
onloadstart: 'readonly',
onmousedown: 'readonly',
onmouseenter: 'readonly',
onmouseleave: 'readonly',
onmousemove: 'readonly',
onmouseout: 'readonly',
onmouseover: 'readonly',
onmouseup: 'readonly',
onmousewheel: 'readonly',
onpause: 'readonly',
onplay: 'readonly',
onplaying: 'readonly',
onprogress: 'readonly',
onratechange: 'readonly',
onreset: 'readonly',
onresize: 'readonly',
onscroll: 'readonly',
onseeked: 'readonly',
onseeking: 'readonly',
onselect: 'readonly',
onstalled: 'readonly',
onsubmit: 'readonly',
onsuspend: 'readonly',
ontimeupdate: 'readonly',
ontoggle: 'readonly',
onvolumechange: 'readonly',
onwaiting: 'readonly',
onwebkitanimationend: 'readonly',
onwebkitanimationiteration: 'readonly',
onwebkitanimationstart: 'readonly',
onwebkittransitionend: 'readonly',
onwheel: 'readonly',
onauxclick: 'readonly',
ongotpointercapture: 'readonly',
onlostpointercapture: 'readonly',
onpointerdown: 'readonly',
onpointermove: 'readonly',
onpointerup: 'readonly',
onpointercancel: 'readonly',
onpointerover: 'readonly',
onpointerout: 'readonly',
onpointerenter: 'readonly',
onpointerleave: 'readonly',
onselectstart: 'readonly',
onselectionchange: 'readonly',
onanimationend: 'readonly',
onanimationiteration: 'readonly',
onanimationstart: 'readonly',
ontransitionend: 'readonly',
onafterprint: 'readonly',
onbeforeprint: 'readonly',
onbeforeunload: 'readonly',
onhashchange: 'readonly',
onlanguagechange: 'readonly',
onmessage: 'readonly',
onmessageerror: 'readonly',
onoffline: 'readonly',
ononline: 'readonly',
onpagehide: 'readonly',
onpageshow: 'readonly',
onpopstate: 'readonly',
onrejectionhandled: 'readonly',
onstorage: 'readonly',
onunhandledrejection: 'readonly',
onunload: 'readonly',
performance: 'readonly',
stop: 'readonly',
open: 'readonly',
alert: 'readonly',
confirm: 'readonly',
prompt: 'readonly',
print: 'readonly',
queueMicrotask: 'readonly',
requestAnimationFrame: 'readonly',
cancelAnimationFrame: 'readonly',
captureEvents: 'readonly',
releaseEvents: 'readonly',
requestIdleCallback: 'readonly',
cancelIdleCallback: 'readonly',
getComputedStyle: 'readonly',
matchMedia: 'readonly',
moveTo: 'readonly',
moveBy: 'readonly',
resizeTo: 'readonly',
resizeBy: 'readonly',
scroll: 'readonly',
scrollTo: 'readonly',
scrollBy: 'readonly',
getSelection: 'readonly',
find: 'readonly',
webkitRequestAnimationFrame: 'readonly',
webkitCancelAnimationFrame: 'readonly',
fetch: 'readonly',
btoa: 'readonly',
atob: 'readonly',
setTimeout: 'readonly',
clearTimeout: 'readonly',
setInterval: 'readonly',
clearInterval: 'readonly',
createImageBitmap: 'readonly',
close: 'readonly',
focus: 'readonly',
blur: 'readonly',
postMessage: 'readonly',
onappinstalled: 'readonly',
onbeforeinstallprompt: 'readonly',
crypto: 'readonly',
indexedDB: 'readonly',
webkitStorageInfo: 'readonly',
sessionStorage: 'readonly',
localStorage: 'readonly',
chrome: 'readonly',
applicationCache: 'readonly',
onpointerrawupdate: 'readonly',
trustedTypes: 'readonly',
speechSynthesis: 'readonly',
webkitRequestFileSystem: 'readonly',
webkitResolveLocalFileSystemURL: 'readonly',
openDatabase: 'readonly',
caches: 'readonly',
ondevicemotion: 'readonly',
ondeviceorientation: 'readonly',
ondeviceorientationabsolute: 'readonly',
Handlebars: 'readonly',
HandlebarsIntl: 'readonly',
HowlerGlobal: 'readonly',
Howler: 'readonly',
Howl: 'readonly',
Sound: 'readonly',
WebFont: 'readonly',
PIXI: 'readonly',
io: 'readonly',
tinymce: 'readonly',
tinyMCE: 'readonly',
easyrtc_lang: 'readonly',
adapter: 'readonly',
easyrtc: 'readonly',
duplicate: 'readonly',
getType: 'readonly',
invertObject: 'readonly',
filterObject: 'readonly',
flattenObject: 'readonly',
expandObject: 'readonly',
isObjectEmpty: 'readonly',
mergeObject: 'readonly',
diffObject: 'readonly',
hasProperty: 'readonly',
getProperty: 'readonly',
setProperty: 'readonly',
encodeURL: 'readonly',
rgbToHsv: 'readonly',
hsvToRgb: 'readonly',
rgbToHex: 'readonly',
hexToRGB: 'readonly',
hexToRGBAString: 'readonly',
colorStringToHex: 'readonly',
isNewerVersion: 'readonly',
randomID: 'readonly',
loadFont: 'readonly',
saveDataToFile: 'readonly',
readTextFromFile: 'readonly',
fromUuid: 'readonly',
_handleMouseWheelInputChange: 'readonly',
getTemplate: 'readonly',
loadTemplates: 'readonly',
renderTemplate: 'readonly',
srcExists: 'readonly',
getTexture: 'readonly',
loadTexture: 'readonly',
CONST: 'readonly',
toDegrees: 'readonly',
normalizeDegrees: 'readonly',
toRadians: 'readonly',
normalizeRadians: 'readonly',
validateForm: 'readonly',
timeSince: 'readonly',
_templateCache: 'readonly',
CONFIG: 'readonly',
socket: 'readonly',
ui: 'readonly',
canvas: 'readonly',
keyboard: 'readonly',
JSHINT: 'readonly',
PreciseText: 'readonly'
},
};
parser: '@babel/eslint-parser',
env: {
node: false,
jquery: true,
browser: true,
es2020: true,
es6: true,
es7: true,
es2021: true,
},
extends: [ 'eslint:recommended', "@typhonjs-fvtt/eslint-config-foundry.js" ],
parserOptions: {
ecmaVersion: 2021, // = 12; redundant with es2021 option
sourceType: 'module',
ecmaFeatures: {
globalReturn: false,
impliedStrict: true,
}
},
rules: {
'class-methods-use-this': ['warn', {
exceptMethods: ['getData', '_updateObject'],
}],
'no-unused-vars': ['warn', {
argsIgnorePattern: '^_'
}],
'no-undef': ['warn', { typeof: true }],
'no-shadow': ['error', { builtinGlobals: true, hoist: 'all', allow: ['event'] }],
strict: ['warn', 'global'],
},
}
......@@ -3,7 +3,6 @@ node_modules/*
foundry*.js
package-lock.json
.vscode
experiment.js
*.tgz
*.zip
*.lock
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
......@@ -59,7 +59,7 @@
line-height: 1.1em;
margin: 2px 0 2px 0;
background: @shaded;
background: rgba(0, 0, 0, 0.1);
border: 2px groove;
:disabled {
......
......@@ -5,7 +5,7 @@
"manifestPlusVersion": "1.1.0",
"version": "1.1.1.2",
"version": "1.1.1.3",
"author": "MKAh",
"authors": [
{ "name": "MKAh", "url": "https://gitlab.com/mkahvi", "discord": "Mana#4176", "ko-fi": "mkahvi" }
......@@ -21,12 +21,8 @@
"system": ["pf1"],
"minimumSystemVersion": "0.77.24",
"dependencies":[
{ "name": "pf1", "type": "system" }
],
"minimumCoreVersion": "0.7.9",
"compatibleCoreVersion": "0.8.7",
"compatibleCoreVersion": "0.8.9",
"conflicts": [
{ "name": "koboldworks", "type": "module", "versionMax": "0.1.12.999", "versonMin": "0.1.0" }
......@@ -36,7 +32,7 @@
"readme": "README.md",
"manifest": "https://gitlab.com/koboldworks/pf1/ammo-recovery/-/raw/latest/module.json",
"download": "https://gitlab.com/koboldworks/pf1/ammo-recovery/-/archive/1.1.1.2/ammo-recovery-1.1.1.2.zip",
"download": "https://gitlab.com/koboldworks/pf1/ammo-recovery/-/archive/1.1.1.3/ammo-recovery-1.1.1.3.zip",
"url": "https://gitlab.com/koboldworks/pf1/ammo-recovery",
"bugs": "https://gitlab.com/koboldworks/pf1/ammo-recovery/-/issues"
}
{
"devDependencies": {
"gulp": "^4.0.2",
"gulp-clean-css": "^4.3.0",
"gulp-less": "^5.0.0"
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment