spawn_random_npcs: type: task debug: false script: ################################################ #CHOISIR LE NOMBRE MINIMUM ET MAXIMUM DE npcs - define min_npc 3.0 - define max_npc 7.0 #CHOISIR L'ID MINIMUM ET MAXIMUM - define min_id 0 - define max_id 29 ################################################ - flag server nb_npc_sp:].to[]> - repeat : - define npc n@].to[]> - spawn persistent - run locally despawn_npcs delay:60m def: despawn_npcs: - despawn actions_npcs: type: world debug: false events: on system time hourly: - run spawn_random_npcs instantly