wage-system

Calculate and pay worker wages from wage rates, overrides, and attendance data.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Silac1995/My-World-Isekai-Unity --skill wage-system
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wage-system
Source: https://github.com/Silac1995/My-World-Isekai-Unity/tree/main/.agent/skills/wage-system
Command: npx skills add https://github.com/Silac1995/My-World-Isekai-Unity --skill wage-system

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Wage calculation and payment in a game-world economy is error-prone when manually aggregating defaults, per-JobAssignment overrides, and attendance. This skill automates the process by centralizing wage logic and payout.

Core Features & Use Cases

  • Configuration via WageRatesSO per JobType to set default piece-work and fixed-wage values.
  • Per-assignment overrides through JobAssignment wage fields (PieceRate, MinimumShiftWage, FixedShiftWage) editable at runtime.
  • Attendance-aware wage calculation that decides pay on punch-out through the IWagePayer abstraction.
  • Payer-swaps and future treasury-based pay flows, enabling evolution without changing call sites.

Quick Start

Seed new hires with default wages and pay workers at punch-out using the WageSystemService

Frequently Asked Questions about wage-system

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate wage calculation and payout in a Unity game economy?

Automate wage calculation by using a centralized WageSystemService to combine default WageRates.asset configurations, per-JobAssignment overrides, and attendance data. It processes shift-wage computation automatically at punch-out.

Can I override default pay rates for individual worker assignments at runtime?

You can override default pay rates at runtime through JobAssignment wage fields. Editable fields include PieceRate, MinimumShiftWage, and FixedShiftWage to customize individual worker compensation.

How does attendance-aware wage payment work when a worker punches out?

Attendance-aware wage payment works by feeding ShiftSummary inputs into an IWagePayer abstraction at punch-out. The system calculates the final payout by combining attendance data with configured wage rates.

Does this Unity payroll system support both piece-work and fixed-wage job types?

The Unity payroll system supports both piece-work and fixed-wage job types. You can configure default values for each JobType using WageRatesSO ScriptableObjects.

What inputs do I need to calculate worker wages in Unity?

To calculate worker wages you need the WageSystemService, WageRates.asset files, JobAssignment records, and ShiftSummary inputs. These components drive the shift-wage computation at punch-out.

Can I swap the wage payer logic without changing call sites in Unity?

You can swap wage payer logic without changing call sites by using the IWagePayer abstraction. This design enables future treasury-based pay flows and payer evolution seamlessly.