Knack gives RPG Maker MZ walking sprites 12 work animations made from their own sheets - PostureCore.js, KnackCore.js, Knack.js
Knack gives RPG Maker MZ walking sprites 12 work animations made from their own sheets(Author:Core Systems Asset Factory) - PostureCore.js, KnackCore.js, Knack.js
https://en.plugin-mz.fungamemake.com/archives/12618
Knack is an RPG Maker MZ plugin that plays work animations for chopping, mining, digging, hoeing, watering, fishing, hammering, sawing, sweeping, reaping, stirring, and gathering on walking sprites. It animates all 4 facings using frames from character sheets you already have. A notetag on a resource event plays the action before running the event page, so it pairs with gathering plugins or plain events. Adding a notetag to an NPC keeps it working until it walks or you talk to it. Cutscenes use a plugin command, and work regions can be painted onto maps. It is a paid plugin on ...
Plugin desc :
Knack is an RPG Maker MZ plugin that plays work animations for chopping, mining, digging, hoeing, watering, fishing, hammering, sawing, sweeping, reaping, stirring, and gathering on walking sprites. It animates all 4 facings using frames from character sheets you already have. A notetag on a resource event plays the action before running the event page, so it pairs with gathering plugins or plain events. Adding a notetag to an NPC keeps it working until it walks or you talk to it. Cutscenes use a plugin command, and work regions can be painted onto maps. It is a paid plugin on ...
License :
・Copyright: Retained
・Commercial Use: Allowed
・Modification: Allowed
・Redistribution: Prohibited (This does not apply to works made using the material.)
・Details: See Download Page / In-plugin documentation
File name : PostureCore.js, KnackCore.js, Knack.js
Help of plugin :
Knack: 12 work animations made from your own walking sprites, in all 4 facings
Twelve jobs: chop, mine, dig, hoe, water, fish, hammer, saw, sweep, reap, stir,
gather. The tool names work too: axe, pick, shovel, can, rod, broom, scythe, ladle.
THE RESOURCE NODE. In an event's Note box or a comment on its page:
⟨knack: axe⟩ Press the action button facing this event: the hero
swings the axe, chips fly, and when the swings are
done the event's page runs as usual.
⟨knack: pick 5 gold⟩ Five swings of a gold pickaxe.
The page runs after the work, so any gathering plugin or plain event gives
the wood. A comment belongs to its page, so a tree cut down on another page
stops asking for the axe. An event page with nothing on it never swings.
THE WORKER. In the Note box or a page comment:
⟨knack worker: hammer⟩ This event works by itself, all the time. It
⟨knack worker: sweep copper⟩ stops when it walks or when you talk to it.
THE COMMAND. Plugin command Work runs any job on the player, an event or a
follower, for cutscenes and for common events other plugins call. Stop Work
ends it. Who 0 means the event running the command: in a common event that no
event called, use -1 or an event id.
WORK REGIONS. Plugin parameter Work Regions: a region id, a job and a common
event. Pressing the action button at such a tile, or tapping one right next
to the hero, works it, then runs the common event.
CSAF.Knack.lastTile() gives you the tile: {x, y}.
Every frame is made when it is first needed from the character's own walking
sheet: the arms are found from its walk and redrawn in its own colours, the
tool is drawn in the sheet's own outline colour, and only whole pixels move.
Script calls:
CSAF.Knack.work(target, 'chop', {swings: 3, material: 'gold'})
CSAF.Knack.stop(target) CSAF.Knack.isWorking(target)
target = $gamePlayer, a character, or the number used by the command.
Copyright (c) Core Systems Asset Factory. See LICENSE.txt.
Parameters (Plugin Manager, Knack.js):
Work speed (percent) (number, default 100)
100 is the normal pace, 200 twice as fast.
Default tool material (select, default iron)
What a tool's metal is made of unless a tag or command says otherwise.
Show effects (boolean, default true)
Chips, sparks, clods, drops, dust, flecks and steam where the tool lands.
Fishing cast (tiles) (number, default 2)
How far out the float lands from the angler.
Fishing wait, shortest (frames) (number, default 90)
The shortest wait for a bite. 60 frames = 1 second.
Fishing wait, longest (frames) (number, default 240)
The longest wait for a bite.
Work regions (struct⟨KnackRegion⟩[], default [])
Press the action button facing a tile of one of these regions and the hero works it, then the common event runs.
Swing the axe with Timber (boolean, default true)
With Timber installed, the OK-button chop also plays a quick axe swing.
Worker sound range (tiles) (number, default 6)
A worker's sound is heard this many tiles from the player, quieter with distance. 0 = workers are silent. The player's own work is always heard.
Sound: chop (file, default Blow1)
Sound: mine (file, default Sword1)
Sound: dig and hoe (file, default Earth1)
Sound: water (file, default Water1)
Sound: the float lands, the fish bites (file, default Water2)
Sound: hammer (file, default Hammer)
Sound: saw (file, default none)
Sound: sweep (file, default none)
Sound: reap (file, default Wind1)
Sound: stir (file, default none)
Sound: gather (file, default none)
Plugin commands:
Work
A character works: one of the 12 jobs, a number of swings, then stops.
argument: Who (number, default -1, -4 to ?)
-1 the player, 0 this event, 1 and up an event id, -2 to -4 the followers.
argument: Job (select, default chop), options: chop, mine, dig, hoe, water, fish, hammer, saw, sweep, reap, stir, gather
argument: Swings (number, default blank, 0 to ?)
How many times round. Blank = the job's own number. 0 = until a Stop Work command.
argument: Tool material (select, default blank), options: iron, copper, gold, steel, crystal, obsidian
Blank = the default in the plugin parameters.
argument: Wait for completion (boolean, default true)
The event waits here until the work ends. Ignored for Swings 0.
Stop Work
A character stops working, and a worker tag stays off until the event's page changes.
argument: Who (number, default 0, -4 to ?)
-1 the player, 0 this event, 1 and up an event id, -2 to -4 the followers.
Load order: PostureCore.js, KnackCore.js, Knack.js (any order works).
Knack is an RPG Maker MZ plugin that plays work animations for chopping, mining, digging, hoeing, watering, fishing, hammering, sawing, sweeping, reaping, stirring, and gathering on walking sprites. It animates all 4 facings using frames from character sheets you already have. A notetag on a resource event plays the action before running the event page, so it pairs with gathering plugins or plain events. Adding a notetag to an NPC keeps it working until it walks or you talk to it. Cutscenes use a plugin command, and work regions can be painted onto maps.
It is a paid plugin on itch. The plugin and sample art are AI authored.