def install
import bendvy-ecs-core@0.1.0.4/ordinary_machine_schedule.bend as OrdinaryMachineScheduleimport Base
import bendvy-ecs-core@0.1.0.4/schedule.bend as Sch
19# Build the fixed four-group schedule retaining actual H owners. Group ids 1..4
20# are internal dispatch slots, not newly registered gameplay system identities.
21def install(~S:Data,~C:Type,~R:Type,~E:Data,~H:Type,~Error:Data,declaration:Declaration<S>,namespace:U32,owners:H) -> Sch.Build<S,C,R,E,H>:
22 match declaration:
23 case Declaration{name}:Sch.build(~S,~C,~R,~E,~H,namespace,name,steps(),[1,2,3,4],owners)